[cvs] expresso commit by lhamel: modify wording
JCorporate Ltd
jcorp at jcorp2.servlets.net
Wed Nov 3 11:27:55 PST 2004
Log Message:
-----------
modify wording
Modified Files:
--------------
expresso/expresso-web/expresso/doc/edg:
jsp.xml
Revision Data
-------------
Index: jsp.xml
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/expresso/doc/edg/jsp.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -Lexpresso-web/expresso/doc/edg/jsp.xml -Lexpresso-web/expresso/doc/edg/jsp.xml -u -r1.23 -r1.24
--- expresso-web/expresso/doc/edg/jsp.xml
+++ expresso-web/expresso/doc/edg/jsp.xml
@@ -1225,12 +1225,14 @@
</indexterm>
<para>
-How to make the URLs in links shorter: JSTL does this, and I added a feature
-to the Expresso tag library to omit the controller parameter if you know
+How to make the URLs in links shorter: JSTL does this by default, or an option
+in the Expresso tag library will omit the controller parameter if you know
you do not want it. Here's the deal: In JSTL, the URL is generated in whole
-by "fullUrl", and is "optimized" to remove the controller parameter if
-it is unnecessary:
- <programlisting><![CDATA[<a href="<c:out value='${anAttrib.nestedMap[attribCustom].fullUrl}'/>"><small>View</small></a>]]></programlisting>
+by "fullUrl", and is automatically "optimized" to remove the controller parameter if
+it is unnecessary. For example, if you have a Transition object
+with name "attribCustom" in the response, then the following will provide
+ a nice HTML link:
+ <programlisting><![CDATA[<a href="<c:out value='${controllerResponse.nestedMap['attribCustom'].fullUrl}'/>"><small>View</small></a>]]></programlisting>
However, with the old Expresso tag library, links are created partly from
'naked' text in the JSP and partly from the Expresso tag:
More information about the cvs
mailing list