myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From parthiv pradhan <parthiv.prad...@gmail.com>
Subject Re: Blank check validator in Trinidad 1.2
Date Wed, 01 Jun 2011 16:24:12 GMT
thanks Cedric for the reply.
if I set the required and simple attribute to true and try to show a custom
message using tr:message then instead of the message appearing on the page
itself..the message appears on a popup.

have been breaking my head over this but no luck yet.
thanks
Parthiv

On Sun, May 29, 2011 at 1:36 AM, C├ędric Durmont <cdurmont@gmail.com> wrote:

> Hi Prathiv,
> The easiest way to customize the position of your message is to add
> simple="true" to your tr:inputText, then add a tr:message component,
> linked to the inputText. See the Trinidad component guide for more
> details.
> I can't find the selector keys for skinning the messages, but they do
> exist : for instance, af|panelFormLayout:message-cell when the
> inputText is in a panelFormLayout. Check the generated source of your
> page.
>
> Hope this helps,
> Regards,
> Cedric Durmont
>
> 2011/5/28 parthiv pradhan <parthiv.pradhan@gmail.com>:
>  > Hi All,
> >
> > If a tr:inputbox has required="true" then the error message by default
> > appears at the bottom of the text box.
> > i) Can the postion of this in-built error message be changed?
> > ii) Can the appearance of this error message be changed by using a custom
> > stylesheet?
> >
> > I cannot write a custom blank check validator because it would never be
> > called in case the text box is blank, instead the inbuilt blank check
> would
> > be called.
> >
> > thanks
> > Parthiv
>

Mime
View raw message