shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sarwesh Saurabh (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SHALE-479) Shale Validator is Unable to resolve JSF Expression Language for the first time
Date Tue, 04 Dec 2007 12:53:34 GMT

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

Sarwesh Saurabh updated SHALE-479:
----------------------------------

    Affects Version/s:     (was: 1.0.4)
                       1.1.0-SNAPSHOT

> Shale Validator is Unable to resolve JSF Expression Language for the first time
> -------------------------------------------------------------------------------
>
>                 Key: SHALE-479
>                 URL: https://issues.apache.org/struts/browse/SHALE-479
>             Project: Shale
>          Issue Type: Bug
>          Components: Validator
>    Affects Versions: 1.1.0-SNAPSHOT
>         Environment: JDK15. with Tomcat5, Windows XP
>            Reporter: Sarwesh Saurabh
>
> Shale validator is unable to resolve the JSF Expression language for the first click
and after then it works properly.
> For example for the below code snippet in a jsf file
> <f:loadBundle basename="crud_bundle" var="myCrudBundle"/>
> ......
>  <h:inputText id="text_1" value="" size="15" styleClass="input">
> 		<s:commonsValidator type="integer" arg="#{myCrudBundle.headerColumnId}"  server="true"
/>
>    
>         </h:inputText>  
> The validator is not able to resolve #{myCrudBundle.headerColumnId} on first submission.
> crud_bundle.properties is present in classpath and the key is defined as 
> headerColumnId = ID
> For first submission I get following error
> null - must be an integer.
> and once I refresh this, The error shown is proper
> ID - must be an integer.
> How ever If I change the
> arg="#{myCrudBundle.headerColumnId}"   to arg="ID" in the above validation tag,
> It works properly.
> If required full code can be provided.
> Please let me know If this issue is fixed in any later version or going to be fixed in
any upcoming version.
> Thanks.

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