myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Mourão" <walter.mou...@gmail.com>
Subject Re: [Trinidad] PPR does not show validation error message
Date Fri, 01 Aug 2008 12:09:32 GMT
Ok, some forms of my application must be very responsive so I need a lot
this feature.
I'm starting to test the application and it should be deployed in 2 months.
Feel free to ask me to write/test anything you think I can help.

Thanks,

On Thu, Jul 31, 2008 at 3:24 PM, Andrew Robinson <
andrew.rw.robinson@gmail.com> wrote:

> There is talk of alternatives at the framework level, but it could be
> a while before I can present the ideas to the entire dev team.
>
> On Thu, Jul 31, 2008 at 11:57 AM, Walter Mourão <walter.mourao@gmail.com>
> wrote:
> > 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
> > <andrew.rw.robinson@gmail.com> 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 <walter@arcadian.com.br> 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 <andrew.rw.robinson@gmail.com>:
> >> >
> >> > > 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 <walter@arcadian.com.br>
> 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
> >
> >
>



-- 
Walter Mourão
http://waltermourao.com.br
http://waltermourao.blogspot.com
http://arcadian.com.br
Mime
View raw message