Re: Datetamepicker: problems with dojo

2009-01-05 Thread Andras Balogh
Hi, If Struts 2.0.14 still uses dojo 0.4 than the problem (and the fix) is described here: http://dojotoolkit.org/forum/dojo-0-4-x-legacy/dojo-0-4-x-support/firefox-3-and-struts-2-theme-ajax-render-issues#comment-17067 BR, Andras Tom Pop wrote: Hello, I have page with datetimepicker and deb

Re: Pls covert this code to struts 2.1

2009-01-05 Thread Bert Van den Brande
You assign the value 'documentTypes' to the property 'name' of the bean tag. >From the documentation : http://struts.apache.org/2.0.14/docs/bean.html name => The class name of the bean to be instantiated (must respect JavaBean specification) So that is the reason for the ClassNotFoundExce

Pls covert this code to struts 2.1

2009-01-05 Thread taj uddin
Hi, My application was developed on struts 1.2 and i was struck up with a problem when i try to convert that code into struts 2.1 version. So, pls convert the code given below which was developed using struts 1.2 api into struts 2.1. The code is:   Select Where- documentTypes is a

Re: list inside nested iterate, but in the same level as list1

2009-01-05 Thread dusty
I think you can use the "top" keyword to jump out to the 1st level. List 1 --List 2 List 3 I don't remember if you need a # in front like this #top. laes1 wrote: > > Hello > i have an anction form , where i declared two liste > list1 and list2 > to loop through liste1 , i used nested

Re: [s2] Making textfield input optional

2009-01-05 Thread Milan Milanovic
Does anyone has solution for making textfield optional ? When I define method such as show below then I don't get ERROR in log when user don't enter any value, but in this case my custom converter for this field is overriden and value in textfield is not formatted at all. -- Thanks, Milan Gabri

reading resource bundle from JSP to variable

2009-01-05 Thread Tom Pop
Hello, please, I can't find any solution how to read message from resource bundle to variable in JSP page. First I call the action and then display results in JSP, tags and form tags reads resource bundle perfectly, but I don't know how to do something like this (in Struts1) now in Struts2:

Re: list inside nested iterate, but in the same level as list1

2009-01-05 Thread Paweł Wielgus
Hi Elyes, try property="../" just like in directory structure. Best greetings, Paweł Wielgus. 2009/1/5 elyes sallem : > Hello > i have an anction form , where i declared two liste > list1 and list2 > to loop through liste1 , i used nested:iterate > inside this iterate, i wanna have an access to l

Datetamepicker: problems with dojo

2009-01-05 Thread Tom Pop
Hello, I have page with datetimepicker and debug mode in head tag causes some error lines with this content: [SyntaxError: syntax error, file: http://localhost:8080/tomis/struts/dojo/dojo.js, line: 115] Do you have any idea what should be wrong in dojo.js? My configuration: Struts 2.0.14 all

Re: struts 2.1.5 listed on http://struts.apache.org/2.x/

2009-01-05 Thread Chris Pratt
That is the official page, in fact 2.1.5 isn't actually on the page that button is linked to. My guess would be something in the CI Script updates the blue button automatically and it was unintentionally triggered. (*Chris*) On Mon, Jan 5, 2009 at 9:14 AM, bradcupit wrote: > > > Wendy Smoak-3

Re: struts 2.1.5 listed on http://struts.apache.org/2.x/

2009-01-05 Thread bradcupit
Wendy Smoak-3 wrote: > > From http://struts.apache.org, that page is linked under 'Development' > as 'Struts 2.x Draft Docs' > Oh wow, I didn't realize that page was a development page. That actually explains a bit. :-) Wendy Smoak-3 wrote: > > I'm curious, how did you get to that page? >

Re: struts 2.1.5 listed on http://struts.apache.org/2.x/

2009-01-05 Thread Wendy Smoak
On Mon, Jan 5, 2009 at 8:30 AM, Brad A Cupit wrote: > http://struts.apache.org/2.x/ lists 2.1.5 as the version to download (in > the big, blue Download Now 'button'). However, I could find no > announcement or vote on any of the struts mailing lists mentioning that > 2.1.5 is GA. > > Is this a bug

list inside nested iterate, but in the same level as list1

2009-01-05 Thread elyes sallem
Hello i have an anction form , where i declared two liste list1 and list2 to loop through liste1 , i used nested:iterate inside this iterate, i wanna have an access to list2 which is not inside list1, but in the same level as list 1 any one has an idea how can i do this? if i use nested, it would a

struts 2.1.5 listed on http://struts.apache.org/2.x/

2009-01-05 Thread Brad A Cupit
http://struts.apache.org/2.x/ lists 2.1.5 as the version to download (in the big, blue Download Now 'button'). However, I could find no announcement or vote on any of the struts mailing lists mentioning that 2.1.5 is GA. Is this a bug in the http://struts.apache.org/2.x/ page? Or did Struts 2.1.5

S2: Advice on debugging jsp/action interactions..

2009-01-05 Thread Eric D Nielsen
This is an off-shoot of an unanswered question I posted about 10 days ago (during the holidays, I know...) The orginal email is repeated below, but I'm asking a more general question now. I've been getting very frustrated with trying to figure out why some of my jsp's are not retrieving propertie

Re: maven2 and new struts 2 project

2009-01-05 Thread Randy Burgess
With m2eclipse I've noticed that if I remove the compiler plugin from a project then the build settings in Eclipse gets changed to the Maven defaults of JDK 1.3 and 1.1 compliance. If I create a project from a Maven archetype, like Struts 2.0.14 starter, then the compiler plugin is in the pom and t

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

2009-01-05 Thread Dave Newton
Gordian Yuan wrote: 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 ? The tag is really more for the Ajax theme--using the HTML tag is probably the best way to do this. Dave --

Convention plugin mapAllMatches

2009-01-05 Thread Ercan Kayaonu
Hi guys, I'm using convention plugin. There's no rest and codebehind plugins in lib folder. I want to call all the methods in my class from the url. As far as i understand from the documentation i need to set struts.convention.action.mapAllMatches to true in struts.xml. But it didn't work. I can't

Turning freemarker logging off

2009-01-05 Thread nodje
Hi, I'm using Struts 2.1.2. I've configured log4j logging with the following line log4j.logger.com.opensymphony.xwork2.ognl=ERROR in order to turn off what seemed to be xwork logging. However, I'm still getting hundreds of line like these: Could not find template in cache, creating new one; id

Re: struts2-rest-plugin-2.1.5 problem

2009-01-05 Thread Lukasz Lenart
2009/1/5 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: Try to use that http://people.apache.org/builds/struts/2.1.5/ it works for me Regards -- Lukasz http://www.lenart.org.pl/ ---