Re: [S2] Tree lazy loading

2007-05-07 Thread Petit Pas De Lune
Ok. I'm going to load Struts 2.1 and work on it. Thanks a lot. PPDL. On 5/6/07, Musachy Barroso [EMAIL PROTECTED] wrote: Following up on this: https://issues.apache.org/struts/browse/WW-1910 implemented for 2.1 musachy On 5/5/07, Musachy Barroso [EMAIL PROTECTED] wrote: I'm planning to

Re: Too many open files

2007-05-07 Thread Antonio Petrelli
2007/5/7, Jon Wynacht [EMAIL PROTECTED]: Hi, I've got an app that, when it gets heavy usage, often dies with this message: May 5, 2007 5:38:36 PM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: accept: java.net.SocketException: Too many open files Maybe it's a

AW: Too many open files

2007-05-07 Thread Andreas Solarik
you can also try checking if you have any restrictions in place for your userspace processes -- ulimit as -Ursprüngliche Nachricht- Von: Antonio Petrelli [mailto:[EMAIL PROTECTED] Gesendet: Montag, 07. Mai 2007 09:15 An: Struts Users Mailing List Betreff: Re: Too many open files

Internationalization

2007-05-07 Thread Ruben Hartenstein
Dear Struts2 Community, Project: Struts 2 Affects Versions: 2.0.6 Environment: Glassfish AS Version 40 Reporter: Ruben Hartenstein we got the following problem in our web app: In order to internationalize our web app we put some

Re: Internationalization

2007-05-07 Thread Dave Newton
--- Ruben Hartenstein wrote: I know that the getText() method is only available if the jsp is loaded after an action. But before the login.jsp for example there is no action. Do I have to call a dummy action only to make the getText() method available or are there better solutions? As

problem in optiontransferselect tag in Struts2.0.6

2007-05-07 Thread Vijay Prajapati
Hi, This is Vijay and currently using Struts2.0.6 production viersion in my application development. I have been used almost all tags in Struts2.0.6 but there are problem in s:optiontransferselect tag. It doesn't include cssClass and cssStyle of Second Select box at run time. So Is there any

Is it possible to unit test validatiors in xml?

2007-05-07 Thread Gunnar.Bostrom
Hi, Is it possible to unit test validations created in xml? I.e. like this: validators !-- Plain Validator Syntax -- validator type=stringlength param name=fieldNamemyPurchaseCode/param param name=minLength10/param param

Problems with number convertion on s:input

2007-05-07 Thread André Faria
Hi All, I have the follow problem: I am using the Portuguese Brazil Localization on Struts 2, so the format to decimal numbers is (1.000.000,00) equals (1,000,000.00) in american localization. If you fill the s:input fields with the brazilian format, the struts converts the numbers

[S2] Error in File Download in struts-showcase application

2007-05-07 Thread Struts2 Fan
Hi all, I checked out the struts2 source codes and run struts2-showcase app but /struts2-showcase/filedownload/download.action is not working. It gives the following error. Can not find a java.io.InputStream with the name [inputStream] in the invocation stack. Check the param name=inputName tag

[S2] concurrency issues

2007-05-07 Thread meeboo
Hey all We just launched a webapp using Hibernate/Spring/S2. The architecture is pretty standard with a DAO, Service and a Web layer. Our problem is that we are receiving massive traffic which pretty much kills the application after just a couple of seconds. I am guessing this is since our S2

Re: Is it possible to unit test validatiors in xml?

2007-05-07 Thread Martin Gilday
http://wiki.opensymphony.com/display/WW/Testing+Validation describes how to do it for WebWork. The process should be very similar for Struts 2. Thanks, Martin. - Original message - From: [EMAIL PROTECTED] To: user@struts.apache.org Date: Mon, 7 May 2007 12:52:40 +0200 Subject: Is it

Re: [S2] concurrency issues

2007-05-07 Thread Dave Newton
--- meeboo [EMAIL PROTECTED] wrote: We just launched a webapp using Hibernate/Spring/S2. The architecture is pretty standard with a DAO, Service and a Web layer. Our problem is that we are receiving massive traffic which pretty much kills the application after just a couple of seconds. A

Re: Help to configure Data Source in Struts 1.3.8

2007-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Paul Benedict wrote: Use the Spring Framework or configure it in code. You can also define the data source in your servlet container, which is more natural than specifying it in your webapp IMO. - -chris -BEGIN PGP SIGNATURE-

Re: Problems with number convertion on s:input

2007-05-07 Thread André Faria
The problem occurs from the action to view. from the view to action its ok Please I anyone can help... Thank's a lot André Faria escreveu: Hi All, I have the follow problem: I am using the Portuguese Brazil Localization on Struts 2, so the format to decimal numbers is

Re: [s2] Tabindex not working on s:submit

2007-05-07 Thread Musachy Barroso
I logged a jira ticket for it: https://issues.apache.org/struts/browse/WW-1914 musachy On 5/6/07, Jason Wyatt [EMAIL PROTECTED] wrote: Hi Struts 2 developers, It seems the tabindex isn't working on the s:submit tag for Struts2 v2.0.6. The jsp tag I am using: s:submit tabindex=7

Re: [S2] concurrency issues

2007-05-07 Thread meeboo
We have about 10 visits a day so it takes a small mistake to break the app completely (it's happened before, maybe I should have a talk with our server people). I found the mistake though, some methods were using handrolled SQL and creating the session directly from a DaoSupport class instead

Re: [S2] Error in File Download in struts-showcase application

2007-05-07 Thread Musachy Barroso
If you create an issue here: https://issues.apache.org/struts/ it probably will. Thanks for reporting it. musachy On 5/7/07, Struts2 Fan [EMAIL PROTECTED] wrote: Hi all, I checked out the struts2 source codes and run struts2-showcase app but /struts2-showcase/filedownload/download.action

Re: Too many open files

2007-05-07 Thread Jon Wynacht
Whoops, sorry. 1.5 On May 6, 2007, at 3:27 PM, Martin Gainty wrote: JRE/JDK version??? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message

Re: Too many open files

2007-05-07 Thread Mike Baroukh
Hi. If you are runnig on unix, couldn't you do something like lsof -p processid to list wich files are actually opened by your app ? It may help to find wich part open so many files ... From my experience, each times I had this problem, it was because of Lucene ... Mike Jon Wynacht a

[S2] Spring Bean + s:iterator ?

2007-05-07 Thread Paul
Hi, Having some issues getting this the above working. I have a defined spring bean as follows: bean id=roleDao class=com.paul.project.system.dao.impl.RoleDaoImpl property name=entityManagerFactory ref=entityManagerFactory/ /bean Now the RoleDaoImpl contains a method 'findAll()' which I

formating the s:textfield tag value

2007-05-07 Thread meissa . sakho
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez à la mise à jour de votre carnet d'adresses. Hi all, I would like to format the value rendered by my texfield which is of date type. Here

Re: [S2] Spring Bean + s:iterator ?

2007-05-07 Thread Dave Newton
Why not just supply a list getter in your action and set its value to the roleDao's findAll result? In general I don't think using DAO functionality on the view side is a particularly good idea anyway, but that's just me :) d. --- Paul [EMAIL PROTECTED] wrote: Hi, Having some issues

Re: [S2] Error in File Download in struts-showcase application

2007-05-07 Thread Struts2 Fan
Ok I created the issue https://issues.apache.org/struts/browse/WW-1915 Musachy Barroso wrote: If you create an issue here: https://issues.apache.org/struts/ it probably will. Thanks for reporting it. musachy On 5/7/07, Struts2 Fan [EMAIL PROTECTED] wrote: Hi all, I checked

Re: [S2] Error in File Download in struts-showcase application

2007-05-07 Thread Martin Gilday
Just to confirm I have tried it on the SVN head and had the same error using Jetty. - Original message - From: Struts2 Fan [EMAIL PROTECTED] To: user@struts.apache.org Date: Mon, 7 May 2007 06:52:10 -0700 (PDT) Subject: Re: [S2] Error in File Download in struts-showcase application Ok

Re: [S2] Error in File Download in struts-showcase application

2007-05-07 Thread Martin Gilday
I've attached a patch to the JIRA issue. The file paths were using \ rather than / in the filedownload.xml. Could someone try it on Windows. Thanks, Martin. - Original message - From: Martin Gilday [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Date: Mon, 07 May

error on struts 1.1

2007-05-07 Thread maya
hi, on this pg of struts 1.1 documentation, http://localhost/struts-documentation/userGuide/installation.html (don't know on-line equiv. of this page, as link to 1.1 on this page http://struts.apache.org/downloads.html#PriorReleases gets you a 404..) it says where to put jar's, tld's, etc..

Re: error on struts 1.1

2007-05-07 Thread Antonio Petrelli
2007/5/7, maya [EMAIL PROTECTED]: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya [EMAIL PROTECTED]: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's I went to Google and typed dtd, this is the first result:

Re: error on struts 1.1

2007-05-07 Thread Dave Newton
--- maya [EMAIL PROTECTED] wrote: what are dtd's and where do they go? They're XML document type definitions. They shouldn't need to go anywhere, although it's been a *long* time since I've thought about S1.1. org.apache.struts.tiles.taglib.InsertTag this error tells me absolutely nothing..

Re: [S2] sending multiple 'bank account' objects to view page

2007-05-07 Thread Patrick J Kobly
MarcusFenix wrote: All the time, I was thinking about that staticly instatiate means - instatiate the object without using a new operator. And I was wrong :/// could U tell me what`s static instatiate? I`m search in google, but i don`t find answer... This`s connotated with getInstanceOf method?

Re: [S2] Error in File Download in struts-showcase application

2007-05-07 Thread Musachy Barroso
I will check it out this afternoon. thank you guys. musachy On 5/7/07, Martin Gilday [EMAIL PROTECTED] wrote: I've attached a patch to the JIRA issue. The file paths were using \ rather than / in the filedownload.xml. Could someone try it on Windows. Thanks, Martin. - Original

Re: Trouble with DispatchAction

2007-05-07 Thread Michael Jouravlev
On 5/6/07, zuban [EMAIL PROTECTED] wrote: Laurie Harper wrote: zuban wrote: It is working if I type manualy ExampleSubmit.do?method=delete (The delete-method in the action-class ist calling) It is also working with this submit-button: html:submit property=method value=delete/ But why

date conversion with s:textfield value tag

2007-05-07 Thread meissa . sakho
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez à la mise à jour de votre carnet d'adresses. I would like my date property to be rendered in a defined date format(dd/MM/). I try to

Re: error on struts 1.1

2007-05-07 Thread maya
Antonio Petrelli wrote: 2007/5/7, maya [EMAIL PROTECTED]: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya [EMAIL PROTECTED]: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's I went to Google and typed dtd, this is

Re: error on struts 1.1

2007-05-07 Thread Dave Newton
--- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied w/ the binary download. d. __ Do You

problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Hello Everyone, I'm new to Tomcat5 and Struts2, and I'm having problem setting up struts. I installed Tomcat 5, and checked that http://localhost:8080/ is working fine. Then I copied the sample war file struts2-blank-2.0.6.war from struts into to the webapps directory under tomcat

Re: error on struts 1.1

2007-05-07 Thread maya
Antonio Petrelli wrote: 2007/5/7, maya [EMAIL PROTECTED]: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya [EMAIL PROTECTED]: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's I went to Google and typed dtd, this is

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Mike Baroukh
May be you can first check - if the war as been deployed - if it has bean deployed with the expected path (/struts2-blank-2.0.6/) - if there is any error on context start in catalina.out ? Mike Jack Yu a écrit : Hello Everyone, I'm new to Tomcat5 and Struts2, and I'm having problem

Re: error on struts 1.1

2007-05-07 Thread maya
Dave Newton wrote: --- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied w/ the binary download. d.

Re: error on struts 1.1

2007-05-07 Thread Dave Newton
Weird; I just downloaded 1.3.8-all and all the docs are in the docs directory for me. --- maya [EMAIL PROTECTED] wrote: Dave Newton wrote: --- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Hi, Yes, the war as deployed with the expected path. But when I go into the tomcat manger, and fond out this webapps was deployed, but it didn't start/running. When I try to start this webapps, I having the following problem now: FAIL - Application at context path /struts2-blank-2.0.6

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Musachy Barroso
There should be an error in the /logs directory (not sure on which file). musachy On 5/7/07, Jack Yu [EMAIL PROTECTED] wrote: Hi, Yes, the war as deployed with the expected path. But when I go into the tomcat manger, and fond out this webapps was deployed, but it didn't start/running. When

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Patrick J Kobly
Download a more recent JVM for Tomcat to use. Looks like struts needs 1.5+... PK Jack Yu wrote: Ok, I found the error from the log == 2007-05-07 12:51:55 StandardContext[/manager]HTMLManager: start: Starting web application at

Re: error on struts 1.1

2007-05-07 Thread maya
my gosh, you are right hmm.. interesting.. ok, so I need to know certain basic things.. I assume general rule, regardless of version, is jars always go in WEB-INF/lib, tld's, go in WEB-INF/.. but couldn't find tld's, so searched for them.. found them in different directories, some in

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
--- Patrick J Kobly [EMAIL PROTECTED] wrote: Looks like struts needs 1.5+... Correct; S2 needs 1.5 unless you're using the converted J4 jars. d. Now that's room service! Choose from over 150,000 hotels in

Re: error on struts 1.1

2007-05-07 Thread Dave Newton
--- maya [EMAIL PROTECTED] wrote: (I just downloaded struts-1.3.8-lib.zip, doesn't even come with tld's.. how is this possible? TLDs can be in JARs. same thing w/dtd's -- are they needed? In general, no. hen search for dtd's in src download find a million of them, in different folders...

RE: Re: error on struts 1.1

2007-05-07 Thread Karr, David
You don't need to store tld files anywhere. They are already stored inside the taglib jar file (like struts.jar). You also don't need the taglib elements in your web.xml. The uri element in the taglib directive in your JSP should reference the standard URI associated with each taglib (which you

[S2/S1?] TldLocationsCache: invalid entry C RC???

2007-05-07 Thread Paul
Anyone ever encountered something similar with tag libraries? Javax.servlet.ServletException: /login.jsp(1,1) Unable to initialize TldLocationsCache: invalid entry CRC (expected 0xc4b93308 but got 0xc582bd77) org.apache.struts2 etc etc etc. I am getting this on every page now

does the DateTimePicker have issues with Date type properties?

2007-05-07 Thread אלחנן מעין
hi.. while attempting to use the dateTimePicker set to time mode and binding it to getter setters of type Date (and init them fields with new Date() ) , i always get 00:00 in field, only when i turn getters setters to string i get an actuall time.

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Ok, I'm using JDK 1.6 and JVM 1.6 now, and I still have the same problem. I also tried to use JDK 1.5, but still have the same problem. === 007-05-07 14:55:21 StandardContext[/manager]HTMLManager: start: Starting web application

[S2] s2:iterator needs refresh to work properly

2007-05-07 Thread Diego Yasuhiko Kurisaki
Hi i've written the following in a JSP. s:iterator id=ca value=clients tr td${ca.name}/td td${ca.description}/td tdremove/td tdedit/td /tr /s:iterator I have a method in my action called getClients. When i first load the page, the

Re: [S2/S1?] TldLocationsCache: invalid entry CRC???

2007-05-07 Thread Martin Gainty
Good Afternoon Paul CRC is Cyclic Redudancy Check do you have the latest version jgroups.jar in $JBOSS_HOME/server/all/lib? http://sourceforge.net/project/showfiles.php?group_id=6081package_id=94868release_id=504126 ? Martin This email message and any files transmitted with it contain

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Musachy Barroso
That problem is definitely a jvm version issue. Run: java -showversion to see what version you have in the path and make sure it is 1.5 (1.6 should be fine also) musachy On 5/7/07, Jack Yu [EMAIL PROTECTED] wrote: Ok, I'm using JDK 1.6 and JVM 1.6 now, and I still have the same problem. I

Re: does the DateTimePicker have issues with Date type properties?

2007-05-07 Thread Martin Gainty
curious if you use either DateFormat.parse(Date) or Date.toString() ? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please

Re: does the DateTimePicker have issues with Date type properties?

2007-05-07 Thread Musachy Barroso
Do you have the same problem on date mode? musachy On 5/7/07, אלחנן מעין [EMAIL PROTECTED] wrote: hi.. while attempting to use the dateTimePicker set to time mode and binding it to getter setters of type Date (and init them fields with new Date() ) , i always get 00:00 in field, only when

RE: [S2/S1?] TldLocationsCache: invalid e ntry CRC???

2007-05-07 Thread Paul
Thanks for the link martin. Replacing that seems to have work, although it still doesn't explain how in the world it become corrupt. Everything was working fine the other day. Thanks again, Paul -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007

Re: [S2] s2:iterator needs refresh to work properly

2007-05-07 Thread Adam Ruggles
have you tried using the property tag instead? s:property value=ca.name / Diego Yasuhiko Kurisaki wrote: Hi i've written the following in a JSP. s:iterator id=ca value=clients tr td${ca.name}/td td${ca.description}/td tdremove/td tdedit/td

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Ok, I can start my webapps now, by using JVM 1.6. (The mistakes was that I configured tomcat to point to the jre1.4 directory. ) However, I encounter a new problem, when I go to http://localhost:8080/struts2-blank-2.0.6/, I get the following error. I read compile each java src files and

Re: Trouble with DispatchAction

2007-05-07 Thread zuban
Michael Jouravlev wrote: Simple ways don't work for you, eh? Why would not you just use plain old input type=submit name=method value=delete / No, because of using resource bundles to set the value of the buttons for different languages. Michael Jouravlev wrote: Do you need to have

Re: does the DateTimePicker have issues with Date type properties?

2007-05-07 Thread אלחנן מעין
no only on time mode, date mode seems to be ok. From: Musachy Barroso [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: does the DateTimePicker have issues with Date type properties? Date: Mon, 7 May

does dwr setup on struts2 requires jsf?

2007-05-07 Thread אלחנן מעין
hi.. i'ved looked in struts2 docs about dwr, and it describes a typical web.xml setup, which includes faces, however on dwr site itself, it describes no such configurations. _ FREE pop-up blocking with the new MSN Toolbar - get

Re: [s2] problem with action chaining returning input result

2007-05-07 Thread Allen Gilliland
Thanks Laurie, that was what I needed to do. Turns out that my action was setting an action error before doing its chaining and so when validation was triggered on the chained action it was thinking an error had occurred and forcing the input result. So, now all I really need to know is if

Re: does dwr setup on struts2 requires jsf?

2007-05-07 Thread Martin Gainty
I see jsf integration via JSFCreator and FacesServletFilter extension points http://getahead.org/dwr/server/jsf Am I missing something? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
Clean out your work directory so the JSPs are re-compiled. --- Jack Yu [EMAIL PROTECTED] wrote: Ok, I can start my webapps now, by using JVM 1.6. (The mistakes was that I configured tomcat to point to the jre1.4 directory. ) However, I encounter a new problem, when I go to

Re: does dwr setup on struts2 requires jsf?

2007-05-07 Thread Dave Newton
DWR and JSF are completely unrelated. --- ××œ×—× ×Ÿ מעין [EMAIL PROTECTED] wrote: hi.. i'ved looked in struts2 docs about dwr, and it describes a typical web.xml setup, which includes faces, however on dwr site itself, it describes no such configurations.

Re: [s2] problem with action chaining returning input result

2007-05-07 Thread Dave Newton
--- Allen Gilliland [EMAIL PROTECTED] wrote: So, now all I really need to know is if there is a way that I can just flat out disable all of struts2's validation stuff but still have my actions extend ActionSupport? Create an interceptor stack without the validation stuff. I would also

Re: does dwr setup on struts2 requires jsf?

2007-05-07 Thread Dave Newton
--- Martin Gainty [EMAIL PROTECTED] wrote: Am I missing something? The title of the OP which was whether or not DWR on S2 *requires* JSF. d. Sucker-punch spam with award-winning protection. Try the free

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Yeah, I have tried this, but it still give me the same problem. Thanks. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 4:55 PM To: Struts Users Mailing List Subject: RE: problem with Struts 2 setup -The requested resource

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
--- Jack Yu [EMAIL PROTECTED] wrote: Yeah, I have tried this, but it still give me the same problem. Thanks. ?! I hate to ask, but are you sure? If the compilation is happening with one version and the execution with another something seems horribly wrong. You say you're using 1.6, but the

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Martin Gainty
what happens when you clean the work dir (as earlier suggested) and recompile the webapp under 6??? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email

how to assign bean:write...to jsp variable ?

2007-05-07 Thread john lee
Anyone help for the following? inside jsp, i try to do the following, but cause error, what is the solution? tks in advance % String pid=%bean:write name=partlist property=pid/ %% but give the error String literal is not properly closed by double-quote. john

Re: [S2] s2:iterator needs refresh to work properly

2007-05-07 Thread Diego Yasuhiko Kurisaki
Well, using the property tag i got no output at all. s:property value=ca.name / I'll try to use the webwork stuff. Is this really how it works? On 5/7/07, Adam Ruggles [EMAIL PROTECTED] wrote: have you tried using the property tag instead? s:property value=ca.name / Diego Yasuhiko Kurisaki

Struts 2 StringLengthFieldValidator maxLength attr is a String!?

2007-05-07 Thread Caine Lai
So what's up with the Struts 2 StringLengthFieldValidator's maxLength property being a String? This completely screws up my ability to define the field length in an int constant. Does anyone have a workaround for this? Thanks.

Re: Struts 2 StringLengthFieldValidator maxLength attr is a String!?

2007-05-07 Thread Dave Newton
--- Caine Lai [EMAIL PROTECTED] wrote: So what's up with the Struts 2 StringLengthFieldValidator's maxLength property being a String? What? http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.html#setMaxLength(int)

Re: Struts 2 StringLengthFieldValidator maxLength attr is a String!?

2007-05-07 Thread Caine Lai
Yes, the Struts API is fine. It's the struts annotations that specify a String value. Since I'm using annotations to set my validators, I have to use a String to specify field length, which seems silly to me.

Re: [S2] s2:iterator needs refresh to work properly

2007-05-07 Thread Diego Yasuhiko Kurisaki
Well i spent a hour to realize that when i used the property tag and go no output, i was mistyping the name :/ it worked using just the name of the method that i want. s:property value=name/ Thanks On 5/7/07, Diego Yasuhiko Kurisaki [EMAIL PROTECTED] wrote: Well, using the property tag i

Correct usage of datetimepicker?

2007-05-07 Thread Torsten Römer
I'm a bit unsure about a few things around datetimepicker. What type should the fields in my action class be? I am currently using java.util.Date, it works fine for request_locale=de_DE but I get a Invalid field value for field ... error for request_locale=en_UK and the date redisplayed is

Re: [S2] s2:iterator needs refresh to work properly

2007-05-07 Thread Adam Ruggles
do this s:iterator value=clients tr tds:property value=name//td tds:property value=description//td tdremove/td tdedit/td /tr /s:iterator This is assuming you have a public getClients() method that returns an array/list of objects that have public getName() and

Re: Correct usage of datetimepicker?

2007-05-07 Thread Musachy Barroso
Using Date for the action field is the way to go. The selected value is submited in RFC 3339 format (that can me modified using the saveFormat attribute, which shouldn't have been public on the first place). I'm not really sure how it would work if the client has javascript disabled. musachy On

Re: Re: error on struts 1.1

2007-05-07 Thread Paul Benedict
What an email chain!! So much speak, so little investigation There is an all jar which contains everything (libraries, source, documentation, etc.) and also a doc jar which contains only the documentation. Also Struts 1.3 does not need the TLD files as separate entities; they are included

Re: Correct usage of datetimepicker?

2007-05-07 Thread Martin Gainty
please display contents of struts.date.format for both *en_UK.properties and *de_DE.properties files Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this

Re: how to assign bean:write...to jsp variable ?

2007-05-07 Thread Michael Jouravlev
On 5/7/07, john lee [EMAIL PROTECTED] wrote: Anyone help for the following? inside jsp, i try to do the following, but cause error, what is the solution? tks in advance % String pid=%bean:write name=partlist property=pid/ %% but give the error String literal is not properly closed

Re: how to assign bean:write...to jsp variable ?

2007-05-07 Thread john lee
it works, tks very much john Michael Jouravlev [EMAIL PROTECTED] wrote: On 5/7/07, john lee wrote: Anyone help for the following? inside jsp, i try to do the following, but cause error, what is the solution? tks in advance but give the error String literal is not properly

Re: does dwr setup on struts2 requires jsf?

2007-05-07 Thread אלחנן מעין
thanks, btw, whish dwr version should i download for struts2? version 1.1.4? or version 2.0? From: Dave Newton [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org, Martin Gainty [EMAIL PROTECTED] Subject: Re:

Re: how to assign bean:write...to jsp variable ?

2007-05-07 Thread Nuwan Chandrasoma
hi, try this. bean:define id=pid bean:write name=partlist property=pid/ /bean:define Thanks, Nuwan - Original Message - From: john lee [EMAIL PROTECTED] To: user@struts.apache.org Sent: Monday, May 07, 2007 10:06 PM Subject: how to assign bean:write...to jsp variable ? Anyone

is ajax validation broken?

2007-05-07 Thread אלחנן מעין
i've looked at the struts showcase samples, and where it says validation (ajax) it says broken, i running it, and it looks fine i think, (still don't know how to make it work on my application though , i clicked submit and moved away and it doesn't do anything.

disable back button

2007-05-07 Thread jalal udeen
how to disable back button

how to disable refresh button and back button

2007-05-07 Thread jalal udeen
hi all can any one explain me how to disable both back button and refresh button thanks jalaludeen

Re: how to disable refresh button and back button

2007-05-07 Thread Adam Ruggles
I don't believe you can. jalal udeen wrote: hi all can any one explain me how to disable both back button and refresh button thanks jalaludeen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: how to disable refresh button and back button

2007-05-07 Thread Michael Jouravlev
On 5/7/07, jalal udeen [EMAIL PROTECTED] wrote: hi all can any one explain me how to disable both back button and refresh button This is browser-dependent and does not relate to Struts. - To unsubscribe,

FileName characters.

2007-05-07 Thread Kapil Sharma
Hii I am using struts, jboss 4.0.1 and downloading file from the JSP as an atachment.. My file has japanese and chinese characters... The problem is that when i m directly opening this file on the fly from the Dialog box by clicking on the open button, it is showing me some characters like