Rafael,

perhaps Tomahawk's updateActionListener may help you:

<h:dataTable value="#{someBeans}" var="currentbean" ...>

<h:commandLink action="outcome">
    <t:updateActionListener property="#{bean2.porperty}"
value="#{currentbean.myPorperty}" />
</h:commandLink>
...

more on:

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

On 10/20/05, Rafael Nami <[EMAIL PROTECTED]> wrote:
> How can I do such a thing? How can I pass the callingId to this
> actionListener????
> I didn't understood quite well what does a ActionListener do. Anybody can
> explain me?
>
> Thanks in advance
>
> Rafael Mauricio Nami
>
>
> 2005/10/20, Andrew robinson <[EMAIL PROTECTED]>:
> > Action listener on the command button?
> >
> >
> >
> > On 10/20/05, Rafael Nami <[EMAIL PROTECTED] > wrote:
> > >
> > > Hi everyone.
> > > Our team have to do something like this:
> > > A calling detail page, where the user can navigate to other pages, like
> assign responsible, and so on.
> > > And we have to pass the callingId to the page Backing Bean - like, if
> the user is in calling detail page,
> > > there's a h:commandButton calling a method on the other page backing
> bean (AssignResponsibleBackingBean), using a h:inputHidden with value="#{
> callingDetailBackingBean.callingDetail.id }" to pass this
> value to the other backingBean. I was wondering if there's another way to do
> this, withou the hidden field?
> > >
> > > Thanks in advance
> > >
> > > Rafael Mauricio Nami
> >
> >
>
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com

Reply via email to