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 13:28:02 GMT
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