Hi Andrew (and folks),
I'm back to this issue... I'm going to try the components.Are you (or
somebody else) using them ? do you see another solution ?
Thanks in advance,
On Wed, Dec 19, 2007 at 6:57 PM, Andrew Robinson <
[EMAIL PROTECTED]> wrote:
> Yes, that is the issue. I made 2 new components to handle these
> situations. They were not accepted by the community, so now they sit
> in the branch indefinitely. I may re-visit this issue again with the
> dev list with a different approach at a later time.
>
> -Andrew
>
> On Dec 19, 2007 9:29 AM, Walter Mourão <[EMAIL PROTECTED]> wrote:
> > Thank you Andrew, but I confess I didn't understand.
> > The code I'm using:
> >
> > ...
> > <tr:subform id="manageGrupoForm_edit" >
> > <tr:panelFormLayout>
> > <tr:inputText id="descricao"
> value="#{manageGrupoForm.descricao}"
> > label="#{messages['grupo.descricao']}:" required="true" readOnly="false"
> > partialTriggers="saveAction">
> > </tr:inputText>
> > <h:inputHidden id="id" value="#{manageGrupoForm.id}"/>
> > <f:facet name="footer">
> > <tr:panelButtonBar>
> > <tr:commandButton id="saveAction" text="#{messages['
> > action.save']}" action="#{grupoController.save}"
> > accessKey="#{messages['action.save.access.key']}" blocking="true"
> > partialSubmit="true" />
> > <tr:commandButton id="cancelAction"
> > text="#{messages['action.cancel']}" action="#{grupoController.cancel}"
> > accessKey="#{messages[' action.cancel.access.key']}" immediate="true"
> > partialSubmit="true" blocking="true"/>
> > </tr:panelButtonBar>
> > </f:facet>
> > </tr:panelFormLayout>
> > </tr:subform>
> > ...
> >
> > When clicking the "saveAction" commandButton without filling the
> "descricao"
> > inputText, I was expecting a "is required" error message below the
> > inputText. When using PPR the message does not appear. Is it related with
> > the issue you described ?
> >
> >
> > Thanks in advance,
> >
> >
> > --
> > Walter Mourão
> > http://waltermourao.com.br
> >
> > 2007/12/7, Andrew Robinson <[EMAIL PROTECTED]>:
> >
> > > https://issues.apache.org/jira/browse/TRINIDAD-663
> > >
> > > There is no built in way. I plan on bringing this back up some day.
> > >
> > > You can use my branch to see components that will let you do this
> > >
> > > -Andrew
> > >
> > > On Dec 6, 2007 9:03 AM, Walter Mourão <[EMAIL PROTECTED]> wrote:
> > > > Hi folks,
> > > > I have a facelets/trinidad page with one form, two subforms and
> client
> > side
> > > > validation=false. Without the PPR everything works fine, with the PPR
> > the
> > > > "<field name> is required." message below the tr:inputText does not
> > appear.
> > > > The other PPR manipulations are ok (components showing/hiding, for
> > example).
> > > >
> > > > Any hints ?
> > > >
> > > > Thanks in advance,
> > > >
> > > > --
> > > > Walter Mourão
> > > > http://arcadian.com.br
> > > > http://waltermourao.com.br
> > >
> > >
> >
> >
> >
> >
>
>
--
Walter Mourão
http://waltermourao.com.br
http://waltermourao.blogspot.com
http://arcadian.com.br