shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary VanMatre (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SHALE-452) f:validator not mapped
Date Sat, 28 Jul 2007 03:21:06 GMT

     [ https://issues.apache.org/struts/browse/SHALE-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary VanMatre resolved SHALE-452.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0-SNAPSHOT
                   1.0.5-SNAPSHOT

Fix in the 20070728 nightly build.

> f:validator not mapped 
> -----------------------
>
>                 Key: SHALE-452
>                 URL: https://issues.apache.org/struts/browse/SHALE-452
>             Project: Shale
>          Issue Type: Bug
>          Components: Clay
>    Affects Versions: 1.0.4
>            Reporter: Ian Priest
>            Assignee: Gary VanMatre
>             Fix For: 1.0.5-SNAPSHOT, 1.1.0-SNAPSHOT
>
>
> Raised at request of GVM..
> > I've hit a problem trying to set up a validator on an input text field. 
> > Here's the HTML... 
> > 
> > 
> >
> ><div class="content"
> >      xmlns:t="http://myfaces.apache.org/tomahawk" 
> >      xmlns:h="http://java.sun.com/jsf/html"
> >      xmlns:f="http://java.sun.com/jsf/core">
> >
> > 
> > 
> > ... 
> > 
> >
> > <h:inputText styleClass="x-large" size="20" maxlength="20"
> >                  value="#{@managed-bean-name.customer.user.username}"
> >                  id="username"
> >                  validator="#{@managed-bean-name.validateUsername}" 
> >                  required="true" >
> > 
> >   <f:validator validatorId="com.scn.Regex" suppliedRegex="[A-Za-z0-9]*"
> >        errorMessage="#{messages['customer.username_invalid_chars']}" 
> >/> </h:inputText>
> >
> >
> > 
> > And here's the error message.... 
> > 
> >
> There are a couple issues here.  The first issue is that the mapping logic is only looking
for a "validator" and not a "f:validator".  This one is a bug.  Please log a JIRA ticket if
you get a chance.

-- 
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