[jboss-user] [JBoss Seam] - Re: Evaluation of action attibute in s:link

wise_guybg do-not-reply at jboss.com
Thu Jul 26 10:14:54 EDT 2007


Exactly, thank you... I guess my explanation was a bit confusing, I don't know.

As of now, I think of making some modifications to the way Seam works with action's MethodBinding value so that it's inner parts are scanned for variables . Then they could be evaluated at the rendering stage. If I succeed I will post the code here for comments or post it directly to jira.

I think that the following syntax:
<s:link action="#{someBean.doSomeWork(#{valueToEvaluate})}" .../>

makes sense because action is a MethodBinding. It won't be evaluated at rendering stage. The path for valueToEvaluate is clear.

I have posted the same question in Facelets' forum:
http://www.nabble.com/RepeatTag-variable-cannot-be-used-with-MethodBinding-tf4147933.html

I did not received any help from the Seam team so I guess it is up to me now to drill into the problem. I am sure that there are other people that will pop into it. Someone on the internet commented that what I'm trying to do is simply impossible at the moment. My guess is that JBoss EL is a good ground for making some changes. Not sure though if it's worth the trouble anymore :D


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067821



More information about the jboss-user mailing list