Read-only dates are not displayed
---------------------------------
Key: JSF-25
URL: http://jira.andromda.org/browse/JSF-25
Project: JSF cartridge
Type: Bug
Reporter: Samuel Solon
Assigned to: Chad Brandon
A date trigger attribute tagged as read-only is not displayed perhaps due to
the lack of Calendar handling with the default ADF date converters.
### Eclipse Workspace Patch 1.0
#P andromda-all
Index: cartridges/andromda-jsf/src/templates/jsf/views/renderActionFormInput.vm
===================================================================
RCS file:
/cvsroot/andromda/cartridges/andromda-jsf/src/templates/jsf/views/Attic/renderActionFormInput.vm,v
retrieving revision 1.1.2.9
diff -u -r1.1.2.9 renderActionFormInput.vm
--- cartridges/andromda-jsf/src/templates/jsf/views/renderActionFormInput.vm
24 Aug 2006 20:32:09 -0000 1.1.2.9
+++ cartridges/andromda-jsf/src/templates/jsf/views/renderActionFormInput.vm
30 Aug 2006 08:30:00 -0000
@@ -22,7 +22,9 @@
#if (!$parameter.table && !($parameter.inputHidden ||
$ownerParameter.inputHidden))
#if ($parameter.type.dateType)
#if ($parameter.readOnly)
- <af:inputText id="$propertyId" value="#{${formValuePropertyName}}"
label="#{messages['$parameter.messageKey']}:" readOnly="true"/>
+ <af:inputText id="$propertyId" value="#{${formValuePropertyName}}"
label="#{messages['$parameter.messageKey']}:" readOnly="true">
+ <a:convertDateTime pattern="$parameter.format"/>
+ </af:inputText>
#else
<af:panelLabelAndMessage label="#{messages['$parameter.messageKey']}:"
for="$propertyId" showRequired="$parameter.required">
<t:inputCalendar id="$propertyId"
value="#{${formValuePropertyName}}" renderAsPopup="true"
popupDateFormat="$parameter.format" required="$parameter.required">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642