Re: sub-struts

2007-04-07 Thread Piero Sartini
I want each widget to be programmed with struts, meaning that: Each widget must have it's own control configuration (struts.xml) and it's own set of classes. If you are using struts2, you could develop your widgets within their own packages and namespaces within your main application. See

Re: sub-struts

2007-04-07 Thread Asaf Paris Mandoki
How can I call an action of a widget form an action of the application and have the result returned as a string? On 4/7/07, Piero Sartini [EMAIL PROTECTED] wrote: I want each widget to be programmed with struts, meaning that: Each widget must have it's own control configuration (struts.xml)

Re: sub-struts

2007-04-07 Thread Piero Sartini
On Sunday 08 April 2007 01:13:33 Asaf Paris Mandoki wrote: How can I call an action of a widget form an action of the application and have the result returned as a string? Look at the action tag [1]. You can execute an action and store its result within a request property. Piero [1]

Re: sub-struts

2007-04-07 Thread Asaf Paris Mandoki
Thanks a lot for the replies. I'll look into it. 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

Re: sub-struts

2007-04-07 Thread Piero Sartini
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,

Re: sub-struts

2007-04-07 Thread Asaf Paris Mandoki
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

Re: sub-struts

2007-04-07 Thread WongTseng
If you want to learn more about struts2, you can read the book 'webwork in action' which covers almost 90% of the knowledge about struts2 except for different package and cofig file names. As we all know, struts2 is almost the same as webwork. 2007/4/8, Asaf Paris Mandoki [EMAIL PROTECTED]:

Re: sub-struts

2007-04-07 Thread Asaf Paris Mandoki
Thanks for the tip. This reminds me of other questions I have. While trying to have client-side validation i ran into the problem that my server wasn't serving static content. I found this while looking for the solution. http://issues.apache.org/struts/browse/WW-1718 How do I fix this not a