myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Robinson <andrew.rw.robin...@gmail.com>
Subject Re: trinidad ppr issue: ajax submit does not work in partially refreshed region
Date Wed, 10 Jun 2009 18:34:35 GMT
Where are your partial triggers? If no components trigger off of the
command link, then nothing will be updated on the client. Also, with
action and not actionListener make sure you never match a navigation
rule. Navigation will invalidate the PPR.

-Andrew

On Wed, Jun 10, 2009 at 10:21 AM, Dave<javaone9@yahoo.com> wrote:
> <t:div id="region1">
>
> <tr:commandLink text="updateRegion2" action="#{bean.updateRegion2}"
> partialSubmit="true" ... />
>
> </t:div>
>
> <t:div id="region2">
>  ....
>
> </t:div>
>
> After clicking the updateRegion2 commandLink using ajax submit, the region2
> content is refreshed successfully.  But the <tr:commandLink
> partialSubmit="true" ...> ajax submit in refreshed region2 content did not
> work. When clicking the commandLink, nothing happened. It seems that ajax
> request was not sent to server.
>
> If I changed the the updateRegion2 commandLink as normal submit(not ajax),
> the <tr:commandLink partialSubmit="true" ...> ajax submit in refreshed
> region2 content worked.
>
> I cound not figure out what is the cause. Thanks for any ideas and help.
>
> Dave
>
>

Mime
View raw message