Thank you for the reply Gavin. I'm sorry that I have reopened the issue so many 
times but no one from the community understood what I have written at first 
place and no one commented.

This is the first time that someone actually wrote to respond to my question. I 
wouldn't really open it as a feature request at first place but this was the 
only way to get an answer. You can draw your conclusions from that fact.

I don't have your understanding of the inner-workings and this is why I'm 
asking for help. Sure I can drill into it but I thought someone in the 
community can give me a hint if I'm doing something wrong.

Nether you, neither anyone else has done so for now. In JIRA you have noted:
anonymous wrote : This cannot be implemented, and I'm really bored with this 
discussion. You have a workaround now, so please stop reopening this issue. 
Thanks.

The workaround is easy. I knew about it at the time I saw the problem. I had to 
use it because there was no one to help. Anyways, how can you have a workaround 
of a feature request :D This is ridiculous.

Finally to the question:

  | <s:link value="#{localeProvider.getDisplayString(sel.value)}"
  |   action="#{localeSelector.selectLanguage(sel.value)}"
  |   rendered="#{not localeSelector.locale.toString().equals(sel.value)}"/>
  | 

anonymous wrote : Otherwise how on earth can the EL expression (which is 
evaluated during the invoke phase of the second request) possibly know about 
the JSF page variable (which is only defined during the render phase of the 
first request)?? 

Well:

#{sel.label}  ->  can be evaluated
#{localeProvider.getDisplayString(sel.value)}  ->  can be evaluated
#{not localeSelector.locale.toString().equals(sel.value)}  ->  can be evaluated

My question is:

action="#{localeSelector.selectLanguage(sel.value)}"

How can sel.value be evaluated and the MethodBinding be constructed the 
Seam-way with a literal string?

PS OK, to stop irritating people on the staff I'll not post to JIRA about this 
issue anymore. I'll only comment in the forum. Wit teh nubz. If finally you 
decide that this makes sense to be reopened, whatever, you'll do it, not me. If 
no one pays attention to my post here, I'll be a bit disappointed but I'll make 
it through :) Peace

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067548#4067548

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067548
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to