Hello,
Basically, I have 2 pages.
1st page has bunch of elements with required='true'.
At the end of this 1st page, I have a Cancel (tr:commandButton with
immediate='true').
This Cancel's action is supposed to navigate to page 2.
When I press Cancel button in this 1st page, without putting anything for
required fields of that 1st page,
I get to navigate to page 2, but "A selection is required" Error message
shows up on top that page 2.
How can I avoid this Error message due to missing required fields in 1st
page showing up in the 2nd page ?
Regards,
-- ilker
BTW, I'm using Myfaces Trinidad 1.2.x (10 I believe).
Here is the code segment with Cancel button in page 1;
<tr:subform>
<tr:commandButton text="Cancel" action=
"#{bfeDetails.goToBfeSummary}" shortDesc="bla bla" immediate="true"></
tr:commandButton>
</tr:subform>
Here is the code segment with tr:messages in page 2;
<trh:tableLayout width="67%" borderWidth="0" halign="center">
<trh:rowLayout>
<trh:cellFormat>
<tr:messages/>
</trh:cellFormat>
</trh:rowLayout>
</trh:tableLayout>
Information Classification: Public
******************************************************
IMPORTANT: Any information contained in this communication is intended for the
use of the named individual or entity. All information contained in this
communication is not intended or construed as an offer, solicitation, or a
recommendation to purchase any security. Advice, suggestions or views presented
in this communication are not necessarily those of Pershing LLC nor do they
warrant a complete or accurate statement.
If you are not an intended party to this communication, please notify the
sender and delete/destroy any and all copies of this communication. Unintended
recipients shall not review, reproduce, disseminate nor disclose any
information contained in this communication. Pershing LLC reserves the right to
monitor and retain all incoming and outgoing communications as permitted by
applicable law.
Email communications may contain viruses or other defects. Pershing LLC does
not accept liability nor does it warrant that email communications are virus or
defect free.
******************************************************