Re: EJB Injection for Struts 2 Actions

2008-08-03 Thread Marc Ende
Hi, I've followed this article and it works great for me. http://blogs.cuetech.eu/roller/psartini/entry/in_struts2_auf_ejb3_session Marc � schrieb: i'm looking for a possibility to realize EJB injection for struts actions. The simpler the better. I know that there is a EJB plugin in the

Re: Multiple action declarations with the same Action class

2008-06-27 Thread Marc Ende
Hello Chandramouli P schrieb: Hi,This is my first post to the user list.We have started working in struts recently.Is it possible to use one Action class for multiple action declarations in the struts-config.xml?Consider the code below:action path=/action1 type=com.sample.app.TestAction

Re: Newbie: Call a servlet in another application and set attribute

2008-06-25 Thread Marc Ende
Hi Mustafa, if I understand you correctly you're trying to pass an object in another webapp. That's not a really struts-usecase. I think you're looking for a webservice or another kind of procedurecalls (like rmi). I think you should look for axis, cxf or another project which are more helpful

Re: Multiple Struts2 WAR in a single EAR

2008-06-11 Thread Marc Ende
Hello, do you deploy the struts.jar in the ear or in the WEB-INF/lib folders of the war-files? if they're in the WEB-INF/lib folders they should be seperate. Marc Hugo de Paix de Coeur schrieb: Hello, I'm currently trying to deploy two Struts2 enabled .war in a single .ear on Glassfish.

Re: Multiple Struts2 WAR in a single EAR

2008-06-11 Thread Marc Ende
.. at runtime. What is the correct installation scheme for struts.jar with this configuration ? Thx... On Wed, Jun 11, 2008 at 02:31:13PM +0200, Marc Ende wrote: Hello, do you deploy the struts.jar in the ear or in the WEB-INF/lib folders of the war-files? if they're in the WEB-INF/lib folders

Re: formatting s:textfield data

2008-04-30 Thread Marc Ende
name=value value=model.price / /s:text s:textfield name=text.message value=%{model.currency}/ (*Chris*) On Tue, Apr 29, 2008 at 10:27 PM, Marc Ende [EMAIL PROTECTED] wrote: Hi, the examples are for output formatting in s:text but this doesn't work for s:textfield

formatting s:textfield data

2008-04-29 Thread Marc Ende
Hi, I've got a s:textfield where I show an double value. But I wanted to change the value to an currency (EUR). But I only get the standard 100.00 instead of 100,00. When I only wants to publish it in a website I use s:text name=format.currency s:param name=value

Re: formatting s:textfield data

2008-04-29 Thread Marc Ende
Hi, the examples are for output formatting in s:text but this doesn't work for s:textfield. This... s:textfield name=text.message s:param value=userName/ /s:textfield doesn't work... :( Regards Marc Okan Özeren schrieb: This is the another page:

Re: s:if question

2008-04-23 Thread Marc Ende
Hi David, it's true the docs aren't that good as expected. What you've been looking for is s:if test=action == 'MY_ACTION' /s:if yours Marc Hernandez, David schrieb: Sorry for such a n00bie question, but I'm having trouble finding any good documentation on this: I want to check in my jsp

Re: s2 in tomcats shared lib/

2008-04-20 Thread Marc Ende
not hurt (in theory at least) 2008/4/19, Marc Ende [EMAIL PROTECTED]: Hi, a few years ago everyone told that's not good to have the sturts.jar's in a shared location in a tomcat-instance. What about now (struts 2)? I'm asking because I've got several webapps which belongs together and most

s2 in tomcats shared lib/

2008-04-19 Thread Marc Ende
Hi, a few years ago everyone told that's not good to have the sturts.jar's in a shared location in a tomcat-instance. What about now (struts 2)? I'm asking because I've got several webapps which belongs together and most of them are build using struts 2 and spring. After assembling the war

Re: Url-Parameters only set once

2008-04-06 Thread Marc Ende
: --- Marc Ende [EMAIL PROTECTED] wrote: I've got a list with several items which are linked to a details-action. If I klick on an item after the restart of the webapp a link like http://.../details.action?id=123 is called. Everything is fine. I can see the correct details site. When I go back

html:link Parameters and URL

2005-09-20 Thread Marc Ende
Hi, I've got a little question regarding the html:link-Tag. Is it correct when I have this in a jsp: html:link action=admin_objekte_new.do?USER_ACTION=EDIT_FORM paramName=objekt paramId=objekteId paramProperty=objekteId and the result looks like this: (?) a

html:link Parameters and URL II

2005-09-20 Thread Marc Ende
Sorry I've send too fast... Hi, I've got a little question regarding the html:link-Tag. Is it correct when I have this in a jsp: html:link action=admin_objekte_new.do?USER_ACTION=EDIT_FORM paramName=objekt paramId=objekteId paramProperty=objekteId and the result looks like this: (?) a

html:optioncollection

2005-09-19 Thread Marc Ende
Hi, I'm using the html:optioncollection ... only with collections. Now I need to order the contents. It's possible to assign anything else (orderable/sortable) than collections to this tag? marc

AW: AW: AW: struts on jboss

2005-09-19 Thread Marc Ende
Hi Adam, OK, I think I might have seen problem too, but at this time, I am deploying my struts webapp war as a war file by copying it into the deploy directory and it causes no problem but redeploys nicely. Now I'm deploying the webapp as a .war-file not as an exploded war anymore. So I'm

AW: AW: struts on jboss

2005-09-17 Thread Marc Ende
on jboss Marc, I've never had that problem with JBoss locking up the struts.jar. If it just a webapp with no EJB, then basically you are just using tomcat and I can't see what would make it lock the jars. Did you remove the struts.jar from the shared lib dir? Marc Ende on 16/09/05 18:49

AW: struts on jboss

2005-09-16 Thread Marc Ende
Hello Tremal, 2005/9/16, mlists [EMAIL PROTECTED]: Is this an configuration-issue? (It's not very comfortable to restart the server everytime after a change). what version of Jboss? Jboss Version: 4.0.2 And what the message you are receiving? See end of mail :) Is your

AW: struts on jboss

2005-09-16 Thread Marc Ende
Betreff: Re: struts on jboss From: Marc Ende [EMAIL PROTECTED] In the war are no other classes included than the sources of my application. The jars of struts are directly in the server/default/lib directory of jboss. I don't know whether it's causing the particular problem