Hello again, I'm write some code to allow paging for users. In essense, a user performs a search, which returns 10 pages of results (and 10 is save in session as "pageCount"), and we always know what page the user is on (there is a method on the action called "public int getPage()" that lists the current page).
What I am doing right now, is loop through (from 1 to 10), and printing out the numbers as links, such as below. <webwork:bean name="'webwork.util.Counter'"> <webwork:param name="'last'" value="@pageCount"/> <webwork:iterator id="colcount"> <a href="webtest.PageDecorator.action?page=<webwork:property />"><font id="smallblack"><webwork:property /></font></a> </webwork:iterator> </webwork:bean> And this works fine. However, if I want to "highlight" the number of the currentPage (eg instead of just printing it out, I want to bold it), I don't know how to perform the test... I have tried something like this: <webwork:if test="../page=='<webwork:property />'">Do Highlight</webwork:if> and <webwork:if test="'../page==<webwork:property />'">Do Highlight</webwork:if> and nothing. I can't do the test... how can I perform the test (calling a method "getPage" on the action and compare it to a looping variable)?? of course, I put the "test" lines within <ww:iterator> .. </ww:iterator>... Thank you very much, James ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork