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.
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
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
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
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?
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
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
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
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
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
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
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
---
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">
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
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
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
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
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
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?
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
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
-
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
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
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
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
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
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
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
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
29 matches
Mail list logo