You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2005/09/24 09:12:41 UTC
svn commit: r291258 -
/lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/site/create.jx
Author: chestnut
Date: Sat Sep 24 00:12:37 2005
New Revision: 291258
URL: http://svn.apache.org/viewcvs?rev=291258&view=rev
Log:
fix to make sample selection selected again on a subsequent screen, thanks to Andreas for pointing this out
Modified:
lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/site/create.jx
Modified: lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/site/create.jx
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/site/create.jx?rev=291258&r1=291257&r2=291258&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/site/create.jx (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/site/create.jx Sat Sep 24 00:12:37 2005
@@ -148,7 +148,14 @@
<label for="sample"><i18n:text>Page Layout</i18n:text>:</label></td>
<td>
<jx:forEach var="item" items="${usecase.getParameter('samples')}">
- <input type="radio" name="sample" value="${item}"/>${item}<br />
+ <jx:choose>
+ <jx:when test="${usecase.getParameter('sample').equals(item)}">
+ <input type="radio" name="sample" value="${item}" checked="checked"/>${item}<br />
+ </jx:when>
+ <jx:otherwise>
+ <input type="radio" name="sample" value="${item}"/>${item}<br />
+ </jx:otherwise>
+ </jx:choose>
</jx:forEach>
</td>
</tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org