You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Keith Counsell (JIRA)" <ad...@incubator.apache.org> on 2006/12/15 18:44:21 UTC
[jira] Created: (ADFFACES-333) Label EL not suppoted for required
validation messages
Label EL not suppoted for required validation messages
------------------------------------------------------
Key: ADFFACES-333
URL: http://issues.apache.org/jira/browse/ADFFACES-333
Project: MyFaces ADF-Faces
Issue Type: Bug
Environment: Nightly build for 2006-12-14, Sun RI 1.2_03-b05-FCS
Reporter: Keith Counsell
EL labels are not supported by <tr:messages/> when required inputs are not populated. For example:
<f:loadBundle basename="Labels" var="labels"/>
<tr:messages/>
<tr:inputText label="#{labels['foo']}" required="true"/>
<tr:commandButton text="Submit"/>
The messages tag shows only "- Value Required." if the inputText is not filled in.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (ADFFACES-333) Label EL not suppoted for required
validation messages
Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-333?page=all ]
Adam Winer reopened ADFFACES-333:
---------------------------------
Oops - you're talking about tr:messages! Sorry - I was looking at the label in the client-side validation.
> Label EL not suppoted for required validation messages
> ------------------------------------------------------
>
> Key: ADFFACES-333
> URL: http://issues.apache.org/jira/browse/ADFFACES-333
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Environment: Nightly build for 2006-12-14, Sun RI 1.2_03-b05-FCS
> Reporter: Keith Counsell
>
> EL labels are not supported by <tr:messages/> when required inputs are not populated. For example:
> <f:loadBundle basename="Labels" var="labels"/>
> <tr:messages/>
> <tr:inputText label="#{labels['foo']}" required="true"/>
> <tr:commandButton text="Submit"/>
> The messages tag shows only "- Value Required." if the inputText is not filled in.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (ADFFACES-333) Label EL not suppoted for required
validation messages
Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/ADFFACES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated ADFFACES-333:
----------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> Label EL not suppoted for required validation messages
> ------------------------------------------------------
>
> Key: ADFFACES-333
> URL: https://issues.apache.org/jira/browse/ADFFACES-333
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Affects Versions: 1.0.0-incubating-core
> Environment: Nightly build for 2006-12-14, Sun RI 1.2_03-b05-FCS
> Reporter: Keith Counsell
> Assigned To: Adam Winer
> Fix For: 1.0.0-incubating-core
>
>
> EL labels are not supported by <tr:messages/> when required inputs are not populated. For example:
> <f:loadBundle basename="Labels" var="labels"/>
> <tr:messages/>
> <tr:inputText label="#{labels['foo']}" required="true"/>
> <tr:commandButton text="Submit"/>
> The messages tag shows only "- Value Required." if the inputText is not filled in.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ADFFACES-333) Label EL not suppoted for required
validation messages
Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-333?page=all ]
Adam Winer resolved ADFFACES-333.
---------------------------------
Resolution: Cannot Reproduce
I just tried this with the latest codebase, and it worked fine. Here's my .jspx:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:tr="http://myfaces.apache.org/trinidad" >
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:loadBundle var="nls"
basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
<f:view>
<tr:document>
<tr:form>
<tr:inputText required="true" label="#{nls.MESSAGE_SENT}"/>
<tr:commandButton text="Submit"/>
</tr:form>
</tr:document>
</f:view>
</jsp:root>
> Label EL not suppoted for required validation messages
> ------------------------------------------------------
>
> Key: ADFFACES-333
> URL: http://issues.apache.org/jira/browse/ADFFACES-333
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Environment: Nightly build for 2006-12-14, Sun RI 1.2_03-b05-FCS
> Reporter: Keith Counsell
>
> EL labels are not supported by <tr:messages/> when required inputs are not populated. For example:
> <f:loadBundle basename="Labels" var="labels"/>
> <tr:messages/>
> <tr:inputText label="#{labels['foo']}" required="true"/>
> <tr:commandButton text="Submit"/>
> The messages tag shows only "- Value Required." if the inputText is not filled in.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (ADFFACES-333) Label EL not suppoted for required
validation messages
Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-333?page=all ]
Adam Winer resolved ADFFACES-333.
---------------------------------
Resolution: Fixed
Assignee: Adam Winer
OK, fixed. FWIW, this only comes up when you have client-side validation disabled, as best I can see.
> Label EL not suppoted for required validation messages
> ------------------------------------------------------
>
> Key: ADFFACES-333
> URL: http://issues.apache.org/jira/browse/ADFFACES-333
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Environment: Nightly build for 2006-12-14, Sun RI 1.2_03-b05-FCS
> Reporter: Keith Counsell
> Assigned To: Adam Winer
>
> EL labels are not supported by <tr:messages/> when required inputs are not populated. For example:
> <f:loadBundle basename="Labels" var="labels"/>
> <tr:messages/>
> <tr:inputText label="#{labels['foo']}" required="true"/>
> <tr:commandButton text="Submit"/>
> The messages tag shows only "- Value Required." if the inputText is not filled in.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira