Thanks ....how do i read the value of the parameter tabhead.focus in the tabhead.jsp snippet?
>>> CJJennings@Semprautilities.com 06/11/02 01:34PM >>>
I've found the following to work well and simply.
========== TabHead.jsp start snip ============
<table width="100%" border="0" cellpadding="0"><tr><td>
<table border="0" cellpadding="0" align="left" cellspacing="0">
<tr valign="bottom">
<!-- <td> entries should be one-liners or you might get weird gaps -->
<logic:equal parameter="tabHead.focus" value="search">
<td> <img src="/img/searchOn.gif" width="142" height="21"
align="absbottom" border="0"></td>
</logic:equal>
<logic:notEqual parameter="tabHead.focus" value="search">
<td> <a href="/mayApp/search.do"><img src="/img/searchOff.gif"
width="142" height="21" align="absbottom" border="0"></a></td>
</logic:notEqual>
<!-- alternate <td> entries for other tabs in this table will be nicely
alligned -->
</tr>
</table>
</td></tr></table>
========== TabHead.jsp end snip ==============
========== Search.jsp start snip =============
<table><tr><td>
<jsp:include page="TabHead.jsp" flush="true">
<jsp:param name="tabHead.focus" value="search" />
</jsp:include>
</td></tr>
... rest of page
</table>
========== Search.jsp end snip ===============
Make sense?,
boz
-----Original Message-----
From: Akash Munjal [mailto:amunjal@fedmilk1.com]
Sent: Tuesday, June 11, 2002 9:16 AM
To: struts-user@jakarta.apache.org
Subject: could anyone suggest an example to use tabs in a struts
application
hi,
Could anyone suggest any working examples/tips on how to go about using
tabs in a struts application. What is the best way to carry out the UI
design using tabs.
thanks,
akash.
--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
|