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
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)
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]
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
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,
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
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]:
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
8 matches
Mail list logo