iterating over trees

2001-09-03 Thread Andreas Leitner
Dear list, given that I have a JavaBean Strutcture that exposes a tree of some form. Each node contains a String and any number of children. I would like to render such a Bean into a site-map like html page via jsp code. The interesting part, though, would be a tree-pendant to logic:iterate.

including other actions

2001-08-20 Thread Andreas Leitner
Hi, From within Action.perform, I can return an ActionForward. This way I can subsequentially go from one action to the other. That's fine, but how can I include other actions. I would like to activate several other actions from within one action, and at the end return a final forward to a jsp.

Retrieving browser locale

2001-07-30 Thread Andreas Leitner
Hi, (Not sure if this belongs to struts or tomcat). How do I find out what language the user (resp. html-browser) preferes? Second, I read at various places about users and roles in tomcat and struts, where can i find out more about that mechanism and how to use it? Many thanks in advance,

Multiple actions based triggered by one action-mapping

2001-07-30 Thread Andreas Leitner
Hi, I would like to have one action-mapping trigger multiple actions and then after the last one has performed forward to some view. What is the preferred way to do that? Many thanks in advance, Andreas

AW: AW: Struts and Frames

2001-07-27 Thread Andreas Leitner
-Ursprüngliche Nachricht- Von: Matthias Bauer [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 27. Juli 2001 07:47 An: [EMAIL PROTECTED] Betreff: Re: AW: Struts and Frames Andreas, in the application we are currently developing we have a similar problem: We have three

AW: Accessing nested attributes using bean:write

2001-07-26 Thread Andreas Leitner
-Ursprüngliche Nachricht- Von: David Winterfeldt [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 25. Juli 2001 22:57 An: [EMAIL PROTECTED] Betreff: Re: Accessing nested attributes using bean:write This is the same as getFather().getName(). You can also use nested properties

Struts and Frames

2001-07-26 Thread Andreas Leitner
I would like to use Stuts together with HTML frames. Are there any tag libraries available? Has anybody done that before? Has anybody had good/bad experience with it? Tia, Andreas

AW: Struts and Frames

2001-07-26 Thread Andreas Leitner
-Ursprüngliche Nachricht- Von: Peter Alfors [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 26. Juli 2001 15:54 An: [EMAIL PROTECTED] Betreff: Re: Struts and Frames The struts tags have a target attribute that you may set to point to the desired frame. Since the target is

DataSource and Factories

2001-07-25 Thread Andreas Leitner
Hi again, I would like to seperate my buisness logic from the data layer. Say I have an object Person, that has the fields id, firstName and lastName. The only constructor I provide is one which takes two arguments (id, firstName and lastName). The person objects will be stored in a certain

AW: DataSource and Factories

2001-07-25 Thread Andreas Leitner
Take a look to the Castor project - http://castor.exolab.org That does indeed look awesome! Do you have experience with it? Is it ready for production use? Many thanks for that great hint! Andreas