Hi list,

I am currently working on an application to generate database queries. This creation dialog is distributed over several pages ... From the 2nd page on I want to display a "back"-nutton and until the last but one page I want a "next"-button to be displayed.

The first thing is not so difficult:

<logic:greaterThan name="STANDARDQUERY" property="currentStep" value="1">
        <html:submit property="submit.stepBackward"> <bean:message 
key="standardquery.button.stepBackward"/></html:submit>
</logic:greaterThan>

this works quite fine. But how can I distinguish whether the last page is already reached or not? To say this I need to compare the values currentStep and steps (for both of which an attribute in the bean is available). But in all <logic:...> tags I need to specify a constant value. Here's my problem - both values I want to compare are not constant but bean attributes.


Is there a way to get it working the way I want (without rewriting the entire app ;-) )?

Help would be appreciated

TIA

Christian

--
To reply to this posting directly use the following address and
remove the 'NO-SPAM' part: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to