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] inputText and partialSubmit
Date Wed, 16 Apr 2008 16:57:32 GMT
Have you checked that it is not PPRing correctly and that a navigation
rule is somehow being run? I know it may be a stretch, but maybe worth
asking.

You aren't hitting enter in the field to submit it are you?

-Andrew

On Wed, Apr 16, 2008 at 2:42 AM, Mathias Walter <mathias.walter@gmx.net> wrote:
> Hi,
>
>  I'm trying to get PPR work with an inputText component as follow:
>
>  <tr:inputText id="testId" label="something" value="#{something}"
>  partialSubmit="true" autoSubmit="true"
>  valueChangeListener="#{backingBean.idHasChanged}" immediate="true" />
>  <tr:selectOneChoice label="choose" value="#{something}" binding="#{choise}"
>  partialTriggers="testId">
>         <f:selectItems value="#{someItems}" />
>  </tr:selectOneChoice>
>
>  Unfortunatelly, the whole page gets refreshed. I tried lots of combinations
>  w/wo partialSubmit, autoSubmit, valueChangeListener, but couldn't get it
>  partially rendered.
>
>  If I just use partialSubmit and no autoSubmit (as I saw in many examples),
>  nothing happends, even if a valueChangeListener is assigned.
>
>  I also tried a tr:subform.
>
>  How can I get a selectOneChoise partially rendered depending on an
>  inputText?
>
>  I'm using Trinidad 1.2.7.
>
>  --
>  Kind regards,
>  Mathias
>
>

Mime
View raw message