On Oct 13, 2008, at 12:46 PM, Freddy Daoud wrote:

> As Chris said, normally you would switch back to beanclass once you
> wrote the action bean. In the meantime, as you said, the href would
> point directly to the JSP. This would break the preaction pattern,
> and wouldn't work if you're placing your JSPs under WEB-INF. You
> could always point the href attribute to a static page in the  
> meantime,
> since you are prototyping at this point.

Or simply do:

<s:link href="com.you.YourActionBean"/>

Since the link is bad no matter what you do, here you only have to  
change "href" to "beanclass" to convert it over.

You won't get any errors until you click the link.

You could even do:

<s:link href="fixmecom.you.YourActionBean"/>

and follow it with a global search and replace:

:s/href="fixme/beanclass="/g

Makes it even simpler to clean up your pages after you get the beans  
implemented.

Regards,

Will Hartung


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to