6 AM
To: MyFaces Discussion
Subject: Re: from-outcome value
David Delbecq wrote:
> example design
>
> public class OutcomeConstants {
> public static final String OUTCOME_CONTINUE="outcome.continue";
> }
> public String someAction(){
> ...
21, 2006 10:58 AM
To: MyFaces Discussion
Subject: Re: from-outcome value
Sorry, but there are 2 places where typos can happen the .xml file the action
method
in you case, you have moved the string from action to a property file.
Typos in your case can happen in 3 places the .xml (typo in @key
NTINUE@
/somepage.jsp
and the Outcomes properties file will contain:
OUTCOME.CONTINUE=continue
While this works, if anyone has a more elegant solution, I would love
to see it.
Thanks for your response.
- Anil.
--------------
--
t;>
>> and the Outcomes properties file will contain:
>>
>> OUTCOME.CONTINUE=continue
>>
>> While this works, if anyone has a more elegant solution, I would love
>> to see it.
>>
>> Thanks for your response.
>> - Anil.
>>
>&g
[mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 9:18 AM
To: MyFaces Discussion
Subject: Re: from-outcome value
Hi,
This all looks to me a bit over-engineering and useless round cycling
(defining constants string reference that resolve to constant string
reference...)
Why could this pack of
Thanks Cristi, will try that approach and report back.
_
From: Grigoras Cristinel [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 9:29 AM
To: MyFaces Discussion
Subject: Re: from-outcome value
Hi,
A better solution is to use custom navigation handler and the outcome
e
While this works, if anyone has a more elegant solution, I would love
to see it.
Thanks for your response.
- Anil.
*From:* Beelen, Marco [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, December 21, 2006 4:01 AM
*To:* MyFaces
> *From:* Beelen, Marco [mailto:[EMAIL PROTECTED]
> *Sent:* Thursday, December 21, 2006 4:01 AM
> *To:* MyFaces Discussion
> *Subject:* RE: from-outcome value
>
> Anil,
>
> There is no way you can specify the name of an outcome just once and
> use a reference to it both
: RE: from-outcome value
Anil,
There is no way you can specify the name of an outcome just once and use a
reference to it both in the java-code of your managed-bean and the
navigation-rules in your faces-config.xml. Since your faces-config.xml
doesn't get build or compile, there is no w
Anil,
There is no way you can specify the name of an outcome just once and use
a reference to it both in the java-code of your managed-bean and the
navigation-rules in your faces-config.xml. Since your faces-config.xml
doesn't get build or compile, there is no way to garantee that the
values used
10 matches
Mail list logo