Re: [Stripes-users] View component inclusion

2011-01-04 Thread Jonathan
Hello. Yes you're right its a kind of useActionBean but as written in the best practices wiki page (http://www.stripesframework.org/display/stripes/Best+Practices) Prefer pre-actions over stripes:useActionBean ... /. What I want to do is to include the pre-action forward resolution in a jsp. If I

Re: [Stripes-users] View component inclusion

2011-01-04 Thread Jonathan
This seems to be the solution to first order, but Stripes keeps some informations in the request (the action bean, the name of the event) that prevents this method to function (event name conflict in some cases, impossible to make multiple inclusions of same action bean since it's cached). Based

Re: [Stripes-users] View component inclusion

2011-01-04 Thread Jonathan
The jsp:include works for simple case but if one of the main action bean parameters has the same name that a parameter of the included action bean there is a collision (for example an parameters named entryId). Another problem, if you use the inclusion in a loop (for example to render a line of a

Re: [Stripes-users] View component inclusion

2011-01-04 Thread Jonathan
Yes it works. But I can not reuse the logic in getSearchFields() if I need it for other pages (for the sake of modularizing presentation). I need to duplicate the code or creating a class that hold the code and delegate to it but it can be considered as the lesser of two evils.

Re: [Stripes-users] View component inclusion

2011-01-03 Thread Jonathan
Hello. Thanks for you response. I'm using kind of page pieces (call it pagelets, composed of an action bean and e jsp) that ca be loaded by Ajax or server side if javascript is not enabled. For example, a widget of most viewed related contents on the right side of the page (like on Youtube). It

[Stripes-users] View component inclusion

2011-01-02 Thread Jonathan
of thing? Thanks. Jonathan. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade

[Stripes-users] Is XSS filter still needed?

2009-02-06 Thread Jonathan Scher
Hello, Is the xssFilter still needed with Stripes 1.5? http://www.stripesframework.org/display/stripes/XSS+filter Regards, Jonathan Scher -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM

Re: [Stripes-users] Is XSS filter still needed?

2009-02-06 Thread Jonathan Scher
Mike McNally emmecin...@... writes: On Fri, Feb 6, 2009 at 8:49 AM, Newman, John W newma...@... wrote: it's a gross oversimplification to assume that the transformation to be applied to user data is to HTML escape it Can you elaborate on this please? If I put script into a field and

Re: [Stripes-users] SPRING + MockServletContext

2008-12-17 Thread Jonathan Scher
After a few hours, I got my solution. I putted it on the wiki page, but plz check for improvement and english mistakes... Regards, Jonathan Scher -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas

Re: [Stripes-users] SPRING + MockServletContext

2008-12-17 Thread Jonathan Scher
After a few more search... @Before public void init() { context = new MockServletContext(test); // Add the Stripes Filter MapString, String filterParams = new HashMapString, String(); filterParams.put(ActionResolver.Packages, com.xxx.front.action);