UI Page Processing Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2008 08:51 PM
Hello,
I am trying to do a postback form in a UI page such that selecting some of the inputs will generate specific reports. My problem is that when I select thse report and when the user clicks on a g_button, the form action on it is actually "ui_page_process.do?sys_id=43r83hfnd8iq32r" instead of "my_ui_page.do"
I can do the postback on my_ui_page.do by doing a form action="my_ui_page.do" but then I have no real way of determining whether it was a postback and to get the postback data. Essentially I want to be able to do something like the following in the HTML for the UI page (and not the Processing script)
HTML:
[code]
<% if (isPostBack) { %>
Its PostBack time 🙂
<% } else { %>
<% } %>
[code]
That was ASP notation is someone's wondering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2008 10:58 PM
I'm not sure I quite understand what the goal is here. I think that maybe a little more explanation of what the goal is here and what the end result will look like might make it easier for everyone to provide useful suggestions. That said:
If all that you are trying to do is give users the ability to retrieve a report then I would encourage you to consider using the out of the box UI available for doing so. If you absolutely must have some functionality that is not available with the OOB UI then I would recommend embedding an Iframe in the page that would be used to display the reports.
Look forward to hearing a little more about what you're trying to do here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2008 10:17 AM
Hmm... I essentially want to just be able to detect POSTBACK vars in UI pages... For example, if my UI page had:
I want to be able to check whether the values ${my_text} and ${Submit} are defined which will be true when the user presses the submit button. I would thus like to do some server-side scripting on my ui_page...