myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Korherr <jakob.korh...@gmail.com>
Subject Re: composite components: optional method-expression-attributes
Date Thu, 11 Nov 2010 16:46:51 GMT
You're welcome.

I hardly think that there's an easy way to do this unless you return
different outcomes in your action methods.

Regards,
Jakob

2010/11/10 Thomas Möller <thomas.moeller@continentale.de>:
>
> Thank you. I tried this but with this solution it is not possible to use the
> action-expression in navigation rules  because for every button panel it is
> "#{cc.attrs.button1.myaction}".
>
> If I use
>
> <my:buttonPanel button1="#{mybean.button1}" />
>
> and
>
> <my:buttonPanel button1="#{mybean.anotherButton1}" />
>
> in my page I want to differentiate somehow between the actions of the button
> panels in navigation rules. The resulting expression should be something
> like "#{mybean.button1.myaction}" and "#{mybean.anotherButton1.myaction}".
>
> Is there a solution for this?
>
>
> --
> View this message in context: http://old.nabble.com/composite-components%3A-optional-method-expression-attributes-tp30067392p30178406.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



-- 
Jakob Korherr

blog: http://www.jakobk.com
twitter: http://twitter.com/jakobkorherr
work: http://www.irian.at

Mime
View raw message