incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Smith" <unobri...@gmail.com>
Subject Re: partialTriggers for a tr:table from inside this table?
Date Fri, 13 Oct 2006 14:00:08 GMT
Glad I could help.  Thanks for the patch on the actions facet for the
tr:table as well. I hope it makes it into the build soon.

Cheers,
-Brian

On 10/13/06, Günther, Thorsten <Thorsten.Guenther@medocino.de> wrote:
>
> Works like a charm. Thank you Brian!
>
> -----Ursprüngliche Nachricht-----
> Von: Brian Smith [mailto:unobriani@gmail.com]
> Gesendet: Freitag, 13. Oktober 2006 15:28
> An: adffaces-user@incubator.apache.org
> Betreff: Re: partialTriggers for a tr:table from inside this table?
>
> I had a similar problem using ADF Faces.  Not sure if it applies to
> Trinidad
> or not but have a look here
> http://forums.oracle.com/forums/thread.jspa?threadID=428798.  I could not
> get the partialTriggers to work on the table.  I had a selectOneChoice box
> in the "actions" facet of the table.  I wanted the user to be able to
> select
> the number of rows to display on the page.  Once selected, the table to
> change to reflect this.  I had to do this during the valueChangeListener
> of
> the selectOneChoice
>
> AdfFacesContext.getCurrentInstance().addPartialTarget(getTable());
> AdfFacesContext.getCurrentInstance().partialUpdateNotify(getTable());
>
> getTable() gets an instance of the af:table.
>
> To adapt this to Trinidad, use
>
> RequestContext.getCurrentInstance().addPartialTarget(getTable());
> RequestContext.getCurrentInstance().partialUpdateNotify(getTable());
>
> On 10/13/06, Günther, Thorsten <Thorsten.Guenther@medocino.de> wrote:
> >
> > Hi!
> >
> > While using the new actions facet in tr:table I found that a
> > partialTrigger for this table which worked while located outside the
> table
> > does not work when placed inside the action facet.
> > Is this a bug or perhaps a missing feature? Is there a workaround,
> perhaps
> > a way to reload the whole page in a valueChangeListener together with
> > autoSubmit="true"?
> >
> > Thanks,
> > Thorsten
> >
> >
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message