Hi Paul.



     I had been investigating a very similar (if not the same) issue
recently.  What skin are you using?  minimal, simple, your own?  I
noticed this problem happening with either the simple skin or my own...
but everything was OK using minimal.  If I added the following into my
own skin, then the issue went away.



af|panelFormLayout::message-cell {

    padding:  1px 0px;

}



     The value that the message-cell was getting without this selector
specified was "padding:  0px;".  I have to admit, I don't know exactly
what that's all about since CSS isn't my strongest subject.  Hopefully
it helps...



Dave

> Date: Wed, 5 Mar 2008 02:25:40 -0800
> From: [email protected]
> To: [email protected]
> Subject: [jira] Created: (TRINIDAD-992) Validator as child of tr:inputText 
> causes "label jumping" when client side validation enabled
> 
> Validator as child of tr:inputText causes "label jumping" when client side 
> validation enabled
> ---------------------------------------------------------------------------------------------
> 
>                  Key: TRINIDAD-992
>                  URL: https://issues.apache.org/jira/browse/TRINIDAD-992
>              Project: MyFaces Trinidad
>           Issue Type: Bug
>     Affects Versions: 1.0.6-core
>          Environment: IE7
>             Reporter: Paul Mander
>             Priority: Minor
> 
> 
> Using panelFormLayout, an inputText and a validator causes labels to jump if 
> client side validation is enabled.
> 
> Consider the following markup
> 
>       <ui:composition>
>               <tr:form>
>                      <tr:panelFormLayout>
>                            <tr:inputText id="cardNumberInputText" label="Card 
> Number"
>                                   value="#{pageBean.cardNumber}">
>                                   <tr:validateRegExp pattern="^[0-9]+" />
>                            </tr:inputText>
>                      </tr:panelFormLayout>
>                      <tr:commandButton text="Next" action="#{pageBean.next}"/>
>               </tr:form>
>        </ui:composition>
> 
> If the minimal skin is used or client validation is disabled (amounts to the 
> same thing), then labels appear to jump when the page is submitted.
> 
> See attached screen shots
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 

_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star 
power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan

Reply via email to