The requirement is that the widgets should be very easy to develop.
And be as independent as possible of the application. So they could
even be uploaded by users. The widgets should be able to make use of
other, more general systems, like user management. I was thinking of
doing this by implementing an interface on the widgets action classes.
Something like the SessionAware interface.

I'm really new to struts so I'll try to get more familiar with it so i
can post more specific questions.

On 4/7/07, Piero Sartini <[EMAIL PROTECTED]> wrote:
On Sunday 08 April 2007 02:01:24 Asaf Paris Mandoki wrote:
> I forgot to say that the directory structure i wrote on my first post
> (which was wrong [forgot the web-inf directory]), should be inside a
> directory of the application. So each widget should have it's own
> "classes" directory, struts.xml, etc.
>
> The directory nesting is not necessary, but the widgets will work as
> children to the main application will be nested so it makes more sense
> to me.
>
> The objective is to have struts within struts.

Yes, I did understand that. Just did not understand why you would want that
and tried to show other solutions that may solve your needs :-)

If you really want to make several struts2 applications and "compose" them
somehow, you could use sitemesh to do so. But I think configuring and
developing several stand-alone webapps is much more work than developing
everything within one s2 application.

Piero

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to