Why not just use the <s:link> in a loop?

But if you must create links in Java code you can use the UrlBuilder class. 
Example code:


Locale locale = getContext().getRequest().getLocale();
UrlBuilder urlBuilder = new UrlBuilder(locale, HomePageAction.class, true);
String url = urlBuilder.toString();

See also:
http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/util/UrlBuilder.html

"Jay Paulson" <[email protected]> wrote in 
message news:[email protected]...
I've been looking at the Stripes API documentation and I can't quite figure
out if this is even possible.  I have a need to create an <s:link> in our
java code and then be out put in our jsp through a loop.

Can this be done?  If so where would I start?

Thanks,
Jay

-- 
"Innovation is the enemy of the status quo - it puts people out of
business."
--John PiƱa Craven



--------------------------------------------------------------------------------


> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and 
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev


--------------------------------------------------------------------------------


> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 




------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to