on 09-09-2010 6:02 PM
Hi...
I used the "custom prompts" sample from [http://wiki.sdn.sap.com/wiki/display/BOBJ/Additional+Samples] to build a page for custom prompt handling.
Everything works like expected, but there is one issue in my page and also in the wiki sample.
Steps to reproduce the issue:
-> Open a document (deski / webi)
-> Go to the custom prompt page
-> Change some values and submit the form
-> Collapse the left panel
-> Expand the left panel
Result: Prompt values are not the expected values - instead the default values are shown.
The default prompt panel doesn't show this behaviour. And even my custom prompt handling works, if you switch the left panel content to the search panel and back.
Any hints??
Thanks in advance.
- Jan
Hello Jan,
Are you referring to how the customPrompts_simple.jsp initializes the values for the prompts by calling prompt.getPreviousValues() method call?
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ted,
well, ok - I didn't check the point in customPrompts_simple.jsp that it always gets the previous value from the prompt.
My jsp looks more like the viewPrompt.jsp - something like
if(prompt.getCurrentValues() ...) then
else if (prompt.getPreviousValues()...) then
else if(prompt.getDefaultValues() ...) then
So I think, it should display the prompt value, with wich the user refreshed the report.
In my opinion, the collapse and expand of the left panel, doesn't submit the least storageToken (sEntry).
I hope you understand what I mean.
Best regards
- Jan
I just used the firebug plugin to read the sEntry parameter from request. This is what I get:
Opening my custom prompt form: re000100003512bf4b3112
Refreshing document (got sEntry from report.jsp): re0002000029526258841f
Collapsing and expanding left panel: re000100003512bf4b3112
The new storage token is generated as expected, but the wrong one is passed to my prompt form after expanding.
Best regards,
- Jan
Just did some more research with the "normal" prompt panel and I think the problem has to be somewhere in the jsp where the prompts are processed and the viewer refreshed.
For my custom prompt page, I use (mostly) the code from customPrompts_simple_process.jsp
The difference between working, and failing has to be the difference between customPrompts_simple_process.jsp and processPrompts.jsp.
I stepped through processPrompts.jsp and checked what I might be missing - but I didn't find anything that would make sense to me.
Maybe you can help me with that information.
Thank you for having a look at my problem!
Best regards,
- Jan
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.