Call actions from other applications.

2007-07-11 Thread Asaf Paris Mandoki
Is there a way to call an action of another application deployed on the same server using the action tag or maybe a custom tag? I think that it'll really help a lot in my project if I could achieve this. If not possible with a tag, where should I look to have a clue on where to start ? Thanks in

Re: How do we get access to the servlet context from a class that is not an action?

2007-07-11 Thread Asaf Paris Mandoki
Thanks, it worked On 7/10/07, Ing. Andrea Vettori <[EMAIL PROTECTED]> wrote: You can use ServletActionContext.getServletContext() Il giorno 10/lug/07, alle ore 13:19, Asaf Paris Mandoki ha scritto: > Hi, > I have an action class (A) that uses another class (B). Is there a

How do we get access to the servlet context from a class that is not an action?

2007-07-10 Thread Asaf Paris Mandoki
Hi, I have an action class (A) that uses another class (B). Is there a way to get access to the servlet context inside B without injecing it through A? Thanks in advance Asaf - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Action tag with parameters

2007-07-04 Thread Asaf Paris Mandoki
When directly calling an action we can send a petition like .../ActionName.action?var1=val1&var2=val2 using the GET method. I understand that that calls an action with a couple of parameters. Can I do something similar when calling an action from the tag ? that is, Can I call an action using

Re: Bean population

2007-06-30 Thread Asaf Paris Mandoki
h does all the crazy stuff you need. Zarar Asaf Paris Mandoki wrote: > > On the tutorial says that the framework automatically populates the > action beans. How does the framework do this? Is there a way to tweak > the way it populates the the beans? > > For example if a use

Bean population

2007-06-29 Thread Asaf Paris Mandoki
On the tutorial says that the framework automatically populates the action beans. How does the framework do this? Is there a way to tweak the way it populates the the beans? For example if a user sends a number and I, for a strange reason would like to pupulate the bean with twice that number, ho

Re: Nested Struts

2007-06-23 Thread Asaf Paris Mandoki
dressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Asaf Paris Mandoki" <[EMAIL PROTECTED]> To: Sent: Wednesday

Re: Nested Struts

2007-06-20 Thread Asaf Paris Mandoki
Is there a way to use the tag to call actions of other webapps deployed on the same container? Is there a way to get the result of an action from inside another action class? On 6/20/07, Asaf Paris Mandoki <[EMAIL PROTECTED]> wrote: I'm trying to make a web application that organi

Nested Struts

2007-06-19 Thread Asaf Paris Mandoki
I'm trying to make a web application that organizes a bunch of widgets. I want each widget to be programmed using struts and have it's own struts.xml. Each widget should be packed as a war file. I was told on an older thread that I could use a different name space for each widget and also that I

Properties files

2007-06-05 Thread Asaf Paris Mandoki
Is there a standard way to read properties files I create? Maybe a jakarta commons library? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Persistent Database Object

2007-05-13 Thread Asaf Paris Mandoki
Hello, I understand, form reading the Walking Tour of the Struts 2 MailReader Application that they use an object that is created when the application starts, and stays there forever, to manage the data source (XML). I'm planning to make an application that uses a MySQL Database. Should I have

[S2] Dynamically Generated Templates

2007-04-28 Thread Asaf Paris Mandoki
Is there a way that the result of an action is a dynamically generated JSP or FreeMarker template?

Re: Can we *please* havea seperate Struts *2* - User list?

2007-04-10 Thread Asaf Paris Mandoki
How could we get a forum? Is there a way to get a place at opensymphony's forum dedicated to struts users? What other alternatives are there? How difficult would it be to get a forum at struts.apache.org ? - To unsubscribe, e-mai

Re: Can we *please* havea seperate Struts *2* - User list?

2007-04-10 Thread Asaf Paris Mandoki
The webwork forum at www.opensymphony.com looks pretty good. Now that webwork and struts 2 are almost the same thing, couldn't a special forum for struts 2 be created over there? - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Can we *please* havea seperate Struts *2* - User list?

2007-04-10 Thread Asaf Paris Mandoki
Wouldn't a forum be more appropriate for this kind of exchange? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Modeling Struts with UML

2007-04-09 Thread Asaf Paris Mandoki
What kind of UML diagrams are necessary to fully model a complete struts application? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sub-struts

2007-04-07 Thread Asaf Paris Mandoki
ifferent package and cofig file names. As we all know, struts2 is almost the same as webwork. 2007/4/8, Asaf Paris Mandoki <[EMAIL PROTECTED]>: > > The requirement is that the widgets should be very easy to develop. > And be as independent as possible of the application. So they could &

Re: sub-struts

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

Re: sub-struts

2007-04-07 Thread Asaf Paris Mandoki
truts.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. On 4/7/07, Piero Sartini <[EMAIL PROTECTED]> wrote: On Sunday 08 April 2007 0

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

sub-struts

2007-04-07 Thread Asaf Paris Mandoki
I want to create an application that makes use of sub-applications (Widgets). The applications job is to call a bunch of widgets and return the result of all of them to the user on a single page. I want each widget to be programmed with struts, meaning that: Each widget must have it's own control