[jboss-cvs] jboss-seam/trinidad/examples/seamdiscs/view ...
Peter Muir
peter at bleepbleep.org.uk
Wed Apr 18 09:07:58 EDT 2007
User: pmuir
Date: 07/04/18 09:07:58
Modified: trinidad/examples/seamdiscs/view artist.xhtml
Log:
Minor changes
Revision Changes Path
1.3 +3 -4 jboss-seam/trinidad/examples/seamdiscs/view/artist.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: artist.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/trinidad/examples/seamdiscs/view/artist.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- artist.xhtml 18 Apr 2007 12:06:28 -0000 1.2
+++ artist.xhtml 18 Apr 2007 13:07:58 -0000 1.3
@@ -39,7 +39,8 @@
<tr:inputText simple="true" value="#{artist.description}" rendered="#{identity.loggedIn}" rows="4" columns="60" id="description">
<a:support event="onkeyup" reRender="description_preview" requestDelay="3000" ignoreDupResponces="true" eventsQueue="previewQueue" />
</tr:inputText>
- <s:div style="width: 300px;" id="description_preview">
+ <s:div style="width: 300px" id="description_preview">
+
<s:formattedText value="#{artist.description}" rendered="#{not empty artist.description}" />
<tr:outputText value="None known" rendered="#{empty artist.description}" />
</s:div>
@@ -56,9 +57,7 @@
<f:facet name="header">
Released
</f:facet>
- <tr:inputText value="#{disc.release}" readOnly="#{not identity.loggedIn}" columns="5">
- <s:convertDateTime pattern="yyyy"/>
- </tr:inputText>
+ <tr:inputNumberSpinbox label="Release Date" value="#{disc.release}" minimum="1900" maximum="2010" stepSize="1" readOnly="#{not identity.loggedIn}" />
</tr:column>
<f:facet name="detailStamp">
<s:div style="width: 300px;">
More information about the jboss-cvs-commits
mailing list