Struts 2 dojo jsonrpc SMD problem

2009-01-04 Thread RajibJana
Hi, I am building a web application using Dojo 1.2.2 and struts 2.0.14 with spring plugin. The application is using Dojo JSONservice to call the remote action methods using JSONPLUGIN. The problem is that while all the interceptors ( defined in default stack) are called during creation of proxy

How to use struts2 tag to a open a new window?

2009-01-04 Thread Gordian Yuan
Hi all,I has see the document http://struts.apache.org/2.0.14/docs/a.html and i can't found html tag A target attribute on s:a now i write the code like this modify It struts2 has a good way to be able to use s:a to open a new window ? Thanks!

Re: struts2-rest-plugin-2.1.5 problem

2009-01-04 Thread Wendy Smoak
On Sun, Jan 4, 2009 at 7:25 PM, Ercan Kayaonu wrote: > Thank you for your quick reply. > I tried using maven, but it couldn't find 2.1.5 one. Summary of mvn > messages: Struts 2.1.5 has not been voted on and is not an official release -- standard disclaimers apply. :) If you didn't intend to ve

Re: struts2-rest-plugin-2.1.5 problem

2009-01-04 Thread Ercan Kayaonu
Thank you for your quick reply. I tried using maven, but it couldn't find 2.1.5 one. Summary of mvn messages: Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-rest-plugin/2.1.5/struts2-rest-plugin-2.1.5.jar [WARNING] An error occurred during dependency resolution. Failed to

Re: struts2-rest-plugin-2.1.5 problem

2009-01-04 Thread Dave Newton
Have you included the dependencies of the REST plugin? - Original Message > From: Ercan Kayaonu > To: user@struts.apache.org > Sent: Sunday, January 4, 2009 8:57:55 PM > Subject: struts2-rest-plugin-2.1.5 problem > > Hi folks, > > I just registered to the user list and new to struts

struts2-rest-plugin-2.1.5 problem

2009-01-04 Thread Ercan Kayaonu
Hi folks, I just registered to the user list and new to struts. I hope i can learn from you and help as much as i can. I would like to ask one question about rest plugin, but i want to detail the steps i've taken in case this might help someone who want to start similar project. I wanted to use

Re: [S2] Easy way to create and place a String into page context built using s:property tags?

2009-01-04 Thread Nils-Helge Garli Hegvik
I'm seriously impressed! On Mon, Jan 5, 2009 at 12:32 AM, Dave Newton wrote: > From: Musachy Barroso > >> > > > Who is John Galt? > > (It's up to you to guess if I'm actually asking, or showing off my literary > chops by quoting ;) > > Dave > > -

Re: [S2] Easy way to create and place a String into page context built using s:property tags?

2009-01-04 Thread Dave Newton
From: Musachy Barroso > Who is John Galt? (It's up to you to guess if I'm actually asking, or showing off my literary chops by quoting ;) Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comm

Re: Doc for s:url tag has wrong "includeParams" default

2009-01-04 Thread Musachy Barroso
It was changed on 2.1.3 as part of this ticket: https://issues.apache.org/struts/browse/WW-2901 I updated the page. thanks for reporting. musachy On Sun, Jan 4, 2009 at 4:07 PM, Wolfgang Knauf wrote: > Hi everybody, > > it seems this page contains an error: > http://struts.apache.org/2.0.14/doc

Re: [S2] Easy way to create and place a String into page context built using s:property tags?

2009-01-04 Thread Musachy Barroso
musachy On Sun, Jan 4, 2009 at 3:42 PM, David Erickson wrote: > Is there a way to use literal strings with s:set? I have tried it and > it appears to only take the name of an ognl variable reference used to > set as the new variable. > > -David > > On Sun, Jan 4, 2009 at 11:59 AM, Dave Newton

Re: How to use a localised enum in a checkboxlist

2009-01-04 Thread Musachy Barroso
deja vu, see my comment on the ticket that you opened: https://issues.apache.org/struts/browse/WW-2763 musachy On Sun, Jan 4, 2009 at 2:49 PM, Stephan Schröder wrote: > > i have a checkboxlist which entries are derived from possible values of an > enum (named TrainingAttribute). > > This usage o

Doc for s:url tag has wrong "includeParams" default

2009-01-04 Thread Wolfgang Knauf
Hi everybody, it seems this page contains an error: http://struts.apache.org/2.0.14/docs/url.html The sentence "As of Struts 2.0.11.3/2.0.12/2.1.3 the includeParams constant defaults to 'none'." seems to be wrong: In file "org\apache\struts2\default.properties" in "struts2-core-2.0.14.jar" it

Re: Struts 2 + JBoss5: error with init-param "actionPackages"

2009-01-04 Thread Wolfgang Knauf
Filed in JIRA: https://issues.apache.org/struts/browse/WW-2948 Wolfgang Wolfgang Knauf wrote: I added an "init-param" "actionPackages" to the FilterDispatcher in web.xml. This worked with JBoss 4.2, but in 5.0 it raises an exception on deploy. --

Re: Struts 2 + JBoss5: URI scheme is not "file"

2009-01-04 Thread Wolfgang Knauf
Ooops, my sample still included 2.0.11 libraries. After updating to 2.0.14, it works. Wolfgang Wolfgang Knauf wrote: Hi all, I have a small sample which uses this ...-validation.xml config file: ... When calling the action, this results in the exception below. 17:57:16,578 ERROR [[default]]

Re: [S2] Convention plugin + Spring

2009-01-04 Thread Lukasz Lenart
Hi, I think I found the best solution, I can use short actions names and standard JDK proxies, the only thing is to set autowire-candidate attribute to false for real managers implementation, like below: Regards -- Lukasz http://www.lenart.org.

Re: [S2] Easy way to create and place a String into page context built using s:property tags?

2009-01-04 Thread David Erickson
Is there a way to use literal strings with s:set? I have tried it and it appears to only take the name of an ognl variable reference used to set as the new variable. -David On Sun, Jan 4, 2009 at 11:59 AM, Dave Newton wrote: > Couldn't you just use and concatenate the strings using OGNL? > > Da

Re: [S2] Easy way to create and place a String into page context built using s:property tags?

2009-01-04 Thread Dave Newton
Couldn't you just use and concatenate the strings using OGNL? Dave - Original Message > From: David Erickson > To: user@struts.apache.org > Sent: Sunday, January 4, 2009 2:28:06 PM > Subject: [S2] Easy way to create and place a String into page context built > using s:property tags?

How to use a localised enum in a checkboxlist

2009-01-04 Thread Stephan Schröder
i have a checkboxlist which entries are derived from possible values of an enum (named TrainingAttribute). This usage of the checkboxlist works <@s.checkboxlist label="Attribute" name="trainingAttributes" list="@domainobjects.util.trainingattrib...@values()}"/> "trainingAttributes" gives an ar

[S2] Easy way to create and place a String into page context built using s:property tags?

2009-01-04 Thread David Erickson
Hi all, I would like to use the struts tag libraries to instantiate a String that is composed of static text as well as multiple other struts properties, something akin to: aProp: '', aProp2: '' However I see no way to set the constructor on the Strin

Re: maven2 and new struts 2 project

2009-01-04 Thread Wes Wannemacher
I have been working off of s2.1.x, so I'm not sure if the same applies, but I have a few reference projects up here for a book I'm working on - http://code.google.com/p/struts2inpractice/source/browse/#svn/trunk I would think that you could grab one of those and change the version numbers on the

RE: maven2 and new struts 2 project

2009-01-04 Thread Michael Finney
Here is how I successfully maven2-ized my existing struts2 project: I used the m2eclipse plugin to add maven to the project (m2 Maven/"Enable Dependency Management" option on right click of project). I followed this blog which contained struts2 information for using maven2 and struts2: