Re: [S2] s:action in value stack?

2009-01-28 Thread Alexander Baetz
Hi, are you sure about the tag-action beeing on top of the stack during the execution of its result? i use an action-tag to generate a view component (a little info box on my page) and on one of my pages there is the situation that the tag-action is of the same class as the original action.

Using the Action-Tag with action "x" on the result-page of action "x"

2009-01-27 Thread Alexander Baetz
Hi, on the result-page of one of my actions (action "x") i'm using the action-tag to invoce an action and show its result. Now i wanted to call action "x" like this, just with different parameters (for a different result-page) on its own result page. I tried it like this: ignoreContextParams

Re: Spring Error without Spring

2009-01-13 Thread Alexander Baetz
se it. (It's also best to explicitly state which version of S2 you're using.) Dave Alexander Baetz wrote: i currently updated the struts version of my projekt to the new GA. Unfortunately i got the following error upon startup. 17:34:05,355 INFO [BasicTilesContainer] Initializing Ti

Spring Error without Spring

2009-01-12 Thread Alexander Baetz
Hi, i currently updated the struts version of my projekt to the new GA. Unfortunately i got the following error upon startup. 17:34:05,355 INFO [BasicTilesContainer] Initializing Tiles2 container. . . 17:34:05,836 WARN [BasicTilesContainer] Unable to find configured definition '/WEB-INF/til

Method calls with ognl with ValueStack Objects as Parameters

2008-11-25 Thread Alexander Baetz
Hi, Following scenario: i have an object on the value-stack and a function on the action named = "getTest". The function returns a boolean. Now i want to do a struts-if like that: But this doesn't work. How can i use OGNL to call a function on the stack using a parameter from the stack?

Re: Passing parameters through a form

2008-11-04 Thread Alexander Baetz
Solved with the help of the hidden-tag. Greetings, Alexander Alexander Baetz schrieb: Hi, i'm using a formular (struts form) to edit attributs of my model objects. The intention is that prepare gets the correct model-object, model driven puts it on the stack and params sets all attri

Passing parameters through a form

2008-11-03 Thread Alexander Baetz
Hi, i'm using a formular (struts form) to edit attributs of my model objects. The intention is that prepare gets the correct model-object, model driven puts it on the stack and params sets all attributes. Sounds simple, but prepare needs some informations to work. these have to be set before p

Re: How to putt objects on the valuestack from INSIDE an action?

2008-10-29 Thread Alexander Baetz
derstand from me, sorry... regards Sébastien Alexander Baetz a écrit : Hi, currently i'm trying to use my own Class to store configuration data for my application. To access the options from within the jsp page i want to use the struts 2 value stack. I somehow like the stack more than

How to putt objects on the valuestack from INSIDE an action?

2008-10-28 Thread Alexander Baetz
Hi, currently i'm trying to use my own Class to store configuration data for my application. To access the options from within the jsp page i want to use the struts 2 value stack. I somehow like the stack more than i like the session. My problem is the following: i can put objects in the sess

ModelDriven interceptor after execute

2008-10-28 Thread Alexander Baetz
Hi, inside the execute method of an action i'm retrieving an Object. I want the ModelDriven-Interceptor, to put it on the Stack when execute is done. One solution would be to put the execute code into prepare and use the paramsprepareparams-stack instead of the default-stack. Is there a bette

how to get the Name of the executed Action

2008-09-29 Thread Alexander Baetz
Hi, is it possible to get the Mapped Name of the action that was executed from within JSP or Java? example:: if http://localhost/hello.action is executed i want to get "hello". Greetings, Alexander - To unsubscribe, e-mail

IDE for Tiles 2?

2008-09-26 Thread Alexander Baetz
Hi, since my tiles definition file is getting a little big and complex, i'm looking for tools that make it easier to work with tiles. is there any kind of IDE (eclipse plugin would be great) that is worth a try? greetings, Alexander ---

Re: How to access request & session objects in jsp using struts2 tags

2008-09-25 Thread Alexander Baetz
Gurpreet-Singh schrieb: Hi All, I am developing WML application using struts2 and tiles on weblogic server 10. Struts2 version: 2.0.11 I am facing 2 problems: 1. I am generating a url to the external site using and as follows: http://localhost:8080/test"; encode="true">

Re: Is there an Eclipse-Plugin like Nitrox was?

2008-09-25 Thread Alexander Baetz
I dont know nitrox but currently i'm using alveole http://mvcwebproject.sourceforge.net/ it's strongly beta, but quickly supported. There are some missing functions yet. but it works pretty good. Greetings, Alexander Pitt Leidner schrieb: Hi ML, after a long break without using struts, I'm

Re: quest on dynamic redirect

2008-09-23 Thread Alexander Baetz
ction) Particulary I can't understand what it means: ${redirectTo} Do you have a sample? Gianluca 2008/9/23 Alexander Baetz <[EMAIL PROTECTED]>: I thought of the same problem some time ago. - during the execution of I all information for the correct redirect is

Re: Problem in using logic:iterate in struts

2008-09-23 Thread Alexander Baetz
UITOT schrieb: Hello all, I have developed 1 application using struts.I am getting this error in my JSP.I have used logic:iterate.I have populated an arraylist in action class which I am using in my JSP.I am able to see the data from the arraylist in my JSP but I am getting error when I am clicki

Re: quest on dynamic redirect

2008-09-22 Thread Alexander Baetz
I thought of the same problem some time ago. - during the execution of I all information for the correct redirect is stored (session, bean... whatsoever) - during the login action, after the login is confirmed the action realizes that a redirect is requestet (to a.action) now the login action

Re: Accessing a bean on the value stack from within an action

2008-09-22 Thread Alexander Baetz
de, i solve my own problems. why can't i do that before i send a mail to the list? Greetings, Alexander Alexander Baetz schrieb: Hi, i want to save some special settings inside a bean and use them to change things on my jsp pages. for that i created a singleton usersettingsbean. I know i

Accessing a bean on the value stack from within an action

2008-09-22 Thread Alexander Baetz
Hi, i want to save some special settings inside a bean and use them to change things on my jsp pages. for that i created a singleton usersettingsbean. I know i can create the bean with the help of a struts-tag. but how can i access/create the bean from within the execute method of an action?

Re: Problem with deployment using Eclipse

2008-09-21 Thread Alexander Baetz
ect specific setting. Greetings, Alex Alexander Baetz schrieb: Hi, i'm using eclipse 3.4 with jboss-tools to develop my application. Unfortunately sometimes the deployment doesnt work. The xml configuration isnt copied. Does anybody have an idea if there is a way to f

Problem with deployment using Eclipse

2008-09-21 Thread Alexander Baetz
Hi, i'm using eclipse 3.4 with jboss-tools to develop my application. Unfortunately sometimes the deployment doesnt work. The xml configuration isnt copied. Does anybody have an idea if there is a way to fix that? Greetings, Alex -

Dynamic include of a CSS stylesheet

2008-09-01 Thread Alexander Baetz
Hi, ok, this is not really a struts question but we came to it while creating tiles pages. it might be that i'm thinking wrong. scenario: in writing a tiles template. there i want to include an external stylesheet x. when an action (domain/namespace/myAction.action) is executed the result cr

Re: Extending EJBInjection interceptor

2008-08-30 Thread Alexander Baetz
As i mentioned, i want to avoid doing the lookup every time. Thats why i wanted to write that interceptor. But there doesnt seem to be a good way to get Beans without doing the lookup directly in the action. At least i didnt find one. Greetings, Alexander Martin Gainty schrieb: did you get a

Re: Extending EJBInjection interceptor

2008-08-30 Thread Alexander Baetz
Thats a pretty good explanation of how the plugin works I was going to use this method because it was recommended by another user on the mailing list. EJB3 is no necessity, but i want to avoid making jndi lookups in every action i have. Is there another way to achive that? Greetings, Alex

Re: Extending EJBInjection interceptor

2008-08-28 Thread Alexander Baetz
I hate to admit it, but i dont unterstand that question... if it helps, i'm using JBoss 5 rc1 and the Interceptor i'm writing naturally runs in the same container as my struts application. Greetings Alexander Martin Gainty schrieb: which EJB container are you using to implement the @EJB fun

Re: Extending EJBInjection interceptor

2008-08-27 Thread Alexander Baetz
great idea. Jeromy Evans schrieb: Alexander Baetz wrote: Hi, i'm currently working on a new Interceptor for EJB Injection on Actions. I allready extendet it to work on fields and methods. But since i dont like to make my own Annotation type i wanted to use the javax.ejb.ejb anotation

Re: Extending EJBInjection interceptor

2008-08-27 Thread Alexander Baetz
ld the one instance so it shouldnt matter. but i'm not sure. Greetings Alexander Jeromy Evans schrieb: Alexander Baetz wrote: Hi, i'm currently working on a new Interceptor for EJB Injection on Actions. I allready extendet it to work on fields and methods. But since i dont like to ma

Re: Extending EJBInjection interceptor

2008-08-27 Thread Alexander Baetz
Correct me if i'm wrong but afaik beans (with bean-name) are defined via @stateless and @statefull and @entity @EJB (in servelett context) does the injection for me. and this doesnt work with struts. based on the code from the plugin i thought i would have take care of the instances. but maybe

Extending EJBInjection interceptor

2008-08-27 Thread Alexander Baetz
Hi, i'm currently working on a new Interceptor for EJB Injection on Actions. I allready extendet it to work on fields and methods. But since i dont like to make my own Annotation type i wanted to use the javax.ejb.ejb anotation. But there is a small problem with that: the annotation used by