Jonathan,
What is the logic that you are trying to include? A lot of times, you can
just use "Helper" objects or what not and just use a plain-old
<jsp:useBean>. Especially if the logic provided is fairly static or
non-stateful. What is the kind of view component?
We've talked about this a few times in IRC and I know there are a couple of
ways to solve it. But it depends really on what exactly the component is...
i.e. the use case.
-- Rick
On Sun, Jan 2, 2011 at 6:11 PM, Jonathan <jesuisjonat...@gmx.fr> wrote:
> Hello.
>
> I'm using Stripes for 3 years now and I never answered this question :
> "What is
> the good way to include a view component (stripes action bean) into a jsp
> ?", in
> other words : how to make a "layout-definition" with a action bean.
>
> I often need it to reuse presentation logic that is too complex for a
> "simple"
> jsp. I've coded a custom tag that can do that but it's not clean since I
> have to
> isolate the action bean from the "parent" one (event name, parameters ...)
> Something tells me that I'm doing something wrong, not in the Stripes
> mindset.
>
> So what's the solution, or how do you do this kind 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 to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
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 to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users