I use the default naming rule in Ebase, so my page names are "PAGE_1", "PAGE_2", "PAGE_3" etc for every form, in which case lots of the scripts like "goto PAGE_1" are reusable.
But in the progress tracker, the navigation texts are names of the pages, like "PAGE_1","PAGE_2", which look kind of ugly at the left hand side, and won't make sense to the user.
the jsp code to get the page name value is
//------------start-----
Object[] pages= form.getPages(showUnchainedPages);
for(...)
{
String pageName = (String) pages;
}
//-------------end----
Is there anyway to access the page header text value in the left hand side JSP, so the I can keep my default naming rules, and have a user-friendly progress tracker at the sometime?
Thanks
How to access page heading text from progress tracker JSP?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 4
- Joined: Fri Dec 14, 2007 10:36 am
- Wai
- Moderator
- Posts: 165
- Joined: Wed Sep 12, 2007 9:04 am
- Location: Sandy, UK
- Contact:
Unfortunately there is currently no option to get the page header text using the UFSFormInterface.
However, you can have a form field (e.g. PAGE_NAME) on every form where you set the page name in a before-page event script. You can then get the value of this form field in your JSP using getFieldValue(fieldName).
You can also then just substitute this field into the page header text as well.
Hope that helps.
However, you can have a form field (e.g. PAGE_NAME) on every form where you set the page name in a before-page event script. You can then get the value of this form field in your JSP using getFieldValue(fieldName).
You can also then just substitute this field into the page header text as well.
Hope that helps.
Last edited by Wai on Thu Dec 20, 2007 12:41 pm, edited 1 time in total.
0 x
-
- Ebase User
- Posts: 4
- Joined: Fri Dec 14, 2007 10:36 am
Who is online
Users browsing this forum: No registered users and 9 guests