<h:commandLink action="#{MyBean.navigate}">
<f:actionListener type="net.java.OrderActionListener" />
</h:commandLink>

How dose MyBean.navigate know about the "YourBeanClass tmpBean = null;"
set in OrderActionListener?  Seems to me that you can't connect the
two very easily.

On 7/8/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
This page is nice

http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters

It describes the *problem* and updateActionListener as a solution

On 7/8/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
> Can you go into how to use t:updateActionListener and 
setPropertyActionListener?
>
> Shawn
> -----------------------Original
> Message----------------------------------------------
> > Also is there an easy way to pass to the action which product it is
> > when you click on the link?
>
> t:updateActionListener from MyFaces (or setPropertyActionListener is JSF 1.2).
>
> you can pass the complete *current* object to another backing bean property.
>
> -Matthias
>
> > Thanks for any help you can provide.
> > Shawn
> >
>


--
Matthias Wessendorf

futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to