This content has been marked as final.
Show 2 replies
-
1. Re: Outjected variable as parameter for enhanced EL
pmuir Dec 20, 2007 6:22 AM (in response to mahbe)"mahbe" wrote:
<h:commandLink id="back-customerdetails" value="Back to details" action="#{ChooseCustomer.showDetails(choosenCustomer)}"/>
This is the one that should work. What scope do you outject the chosenCustomer to? -
2. Re: Outjected variable as parameter for enhanced EL
mahbe Dec 20, 2007 8:22 AM (in response to mahbe)By now, I solved the problem with page id.
What scope do you outject the chosenCustomer to?
I did outject it at standard scope (only with @Out). The page with the commandLink is generated from an @End annotated action method. Oddly enough<s:link id="back-customerdetails" value="Back to details" action="#{ChooseCustomer.showDetails(null)}"> <f:param name="custno" value="#{choosenCustomer.customerNo}"/> </s:link>
does work now, but<h:commandLink id="back-customerdetails" value="Back to details" action="#{ChooseCustomer.showDetails(choosenCustomer)}"/>
did not.
And don't nail me down to it, but I'm quite sure that I used commandLink inside form tags.