myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-992) Validator as child of tr:inputText causes "label jumping" when client side validation enabled
Date Fri, 14 Nov 2008 10:26:44 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647565#action_12647565
] 

Matthias Weßendorf commented on TRINIDAD-992:
---------------------------------------------

applied the provided patch from Paul Mander. Thanks for the patch, paul!

> 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
>            Assignee: Matthias Weßendorf
>             Fix For:  1.0.11-core,  1.2.11-core
>
>         Attachments: pre submit.jpg, submit.jpg
>
>
> 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 do not 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.


Mime
View raw message