Re: [S2] Issues running Struts 2.0.6 on Resin 3.0.21

2007-02-21 Thread mraible
This issue turned out to be a bug in Spring's RequestContextLoader and will be fixed in Spring 2.0.3: http://forum.springframework.org/showthread.php?t=33874 Matt mraible wrote: > > I get the following error when I try to deploy a Struts 2.0.6 application > on Resin 3.0.21: > > java.lang.Nul

Re: Nested tags confusion

2007-02-21 Thread Nuwan Chandrasoma
hi, try remvoing the 'name' attribute from the nested text tasg. eg: Regards, Nuwan. - Original Message - From: "David Miller" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 21, 2007 11:39 PM Subject: Nested tags confusion Greetings. I'm having extreme difficulty getting my

Nested tags confusion

2007-02-21 Thread David Miller
Greetings. I'm having extreme difficulty getting my application to work with nested tags. My form is very simple: it consists of a string and a DTO Object. The DTO Object in turn contains a List that holds another DTO Object: Form -> Bean -> List. Currently I can display data with no trouble but

RE: Please Help: Problem in implementing Tiles Controller

2007-02-21 Thread Strachan, Paul
I can't see "q1Choice" defined in your tiles, it looks like you have defined the attribute only on request scope. "header","contact","footer" are tiles attributes - just comment out the and you might be OK. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thur

Re: [S2] struts2-blank-2.0.6.war doesn´t work ?

2007-02-21 Thread Pedro Herrera
I´m so sorry !!! I´ve made a new installation of jboss, and the blank application works fine !! Herrera husted wrote: > > It works for me. Are you sure there isn't another issue? > > On 2/21/07, Pedro Herrera <[EMAIL PROTECTED]> wrote: >> >> I´ve moved struts2-blank-2.0.6.war to my dep

Re: struts2-blank-2.0.6.war doesn´t work ?

2007-02-21 Thread Ted Husted
It works for me. Are you sure there isn't another issue? On 2/21/07, Pedro Herrera <[EMAIL PROTECTED]> wrote: I´ve moved struts2-blank-2.0.6.war to my deploy location in jboss(405) to see struts2 working but it doesn´t work. Anybody has tested this ?? Tks Herrera ---

struts2-blank-2.0.6.war doesn´t work ?

2007-02-21 Thread Pedro Herrera
I´ve moved struts2-blank-2.0.6.war to my deploy location in jboss(405) to see struts2 working but it doesn´t work. Anybody has tested this ?? Tks Herrera -- View this message in context: http://www.nabble.com/struts2-blank-2.0.6.war-doesn%C2%B4t-work---tf3269121.html#a9088618 Se

[S2] configuring velocity toolbox

2007-02-21 Thread bob
I'm trying to use the velocity toolbox with struts2. It seems that there some problem getting the velocity toolbox configured. None of the tools I configure in the toolbox.xml file are available in the velocity templates. The wierd thing is that the output from the velocity servlet init cod

Problem with action tag - Bug in result handling for actions rendered with

2007-02-21 Thread Rich Thornett
I am using the action tag -- View this message in context: http://www.nabble.com/Problem-with-action-tag---Bug-in-result-handling-for-actions-rendered-with-tf3268979.html#a9088100 Sent from the Struts - User mailing list archive at Nabble.com. --

Re: Validate phone question 1.2.9

2007-02-21 Thread Dave Newton
So... define three regexps? (Well, two, but you know what I mean :) --- Jim Reynolds <[EMAIL PROTECTED]> wrote: > If I am reading you correctly, you are saying to use > that for one > field. Which is actually what I just did. > EG: > > > phone > ^\(?(\d{3})\)?[-| ]?(\d{3})[-| >

Re: Validate phone question 1.2.9

2007-02-21 Thread Jim Reynolds
If I am reading you correctly, you are saying to use that for one field. Which is actually what I just did. EG: phone ^\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$ but the client wants to see 3 textfield boxes separated with hyphens, etc. So that is where I ran into issues. I was t

Re: Validate phone question 1.2.9

2007-02-21 Thread Dave Newton
Regexp ("mask") validator? http://struts.apache.org/1.2.9/userGuide/dev_validator.html --- Jim Reynolds <[EMAIL PROTECTED]> wrote: > Best way to validate a phone that has 3 textfields. > > Scope wants 3 textfields (areacode, phoneexchange, > phone4) on a form. > We need to validate that the pho

Tomcat locks jars after undeploying web application

2007-02-21 Thread Juan Espinosa
Hi to all im having problems with tomcat and windows. The struts2-core jar get locked when i do an undeploy of my web application. I found that in tomcat you can put a property to avoid lock of jars…also i found a lot of posts that say that this property is not working… Anyone has "fight" with is

Validate phone question 1.2.9

2007-02-21 Thread Jim Reynolds
Best way to validate a phone that has 3 textfields. Scope wants 3 textfields (areacode, phoneexchange, phone4) on a form. We need to validate that the phone has all digits in each of the fields. But upon looking at the docs, I do not see a clean way to handle this. I am sure this is done often,

Re: [S2] struts2 validation for only one method in action

2007-02-21 Thread ros
Java Script validation fro button disabled by ros wrote: > > If I have in one form DELETE and SAVE buttons, how to turn off client side > validation for DELETE button? > -- View this message in context: http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267302.html

Please Help: Problem in implementing Tiles Controller

2007-02-21 Thread sriharsha . chevuru
__ Hi Dave, Thanks for pointing me towards the link, it was of great help. Here is what i did. And i am also pasting the error i am getting. Step1: I created the following definition in my tiles-defs.xml tiles-defs.xml Step2: I have the code of the controller i

Re: [S2] struts2 validation for only one method in action

2007-02-21 Thread ros
I assume for action: public class TicketAction extends com.opensymphony.xwork2.ActionSupport { ... public string save() { ... } ... } the file name should be TicketAction-save-validation.xml ??? File with such name is ignored on form submit. Only TicketAction-validation.xml is valid file name

Re: Usage of Struts - Tiles using tile controllers (Please help asi couldn't find enough documentation on it)

2007-02-21 Thread sriharsha . chevuru
If you can post some demo, that would be of great help Ray. Basically, i am trying to use tiles action or tiles controller. I would wait for your reply on this. Thanks again. Sri [EMAIL PROTECTED] Ray Clough <[EMAIL PROTECTED]> 02/20/2007 08:04 PM Please respond to "Struts Users Mailing Li

Re: [S2] struts2 validation for only one method in action

2007-02-21 Thread André Faria
Ok, but what about annotations without xmls? Musachy Barroso escreveu: See here: http://struts.apache.org/2.x/docs/validation.html you can add a file ActionName-MethodName-validation.xml with the validation for that method. regards musachy On 2/21/07, cilquirm <[EMAIL PROTECTED]> wrote:

Re: [S2] struts2 validation for only one method in action

2007-02-21 Thread Musachy Barroso
See here: http://struts.apache.org/2.x/docs/validation.html you can add a file ActionName-MethodName-validation.xml with the validation for that method. regards musachy On 2/21/07, cilquirm <[EMAIL PROTECTED]> wrote: I believe you can use validation annotation to specify validation routines

Re: [S2] struts2 validation for only one method in action

2007-02-21 Thread cilquirm
I believe you can use validation annotation to specify validation routines at the method level. ros wrote: > > Hi! > > How to configure struts2 validation for only one method in action? > > Thanks. > -- View this message in context: http://www.nabble.com/struts2-validation-for-only-one-

client side validation on included form

2007-02-21 Thread C. Adams
I have a form that I access via an action on an ajax-ish page. (Form and results are on same page) It's working great, but I can't figure out the validation. The page looks like this now: with the form looking like this: Between and With validation false, it works g

struts2 validation for only one method in action

2007-02-21 Thread ros
Hi! How to configure struts2 validation for only one method in action? Thanks. -- View this message in context: http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267302.html#a9082687 Sent from the Struts - User mailing list archive at Nabble.com. -

Issues running Struts 2.0.6 on Resin 3.0.21

2007-02-21 Thread mraible
I get the following error when I try to deploy a Struts 2.0.6 application on Resin 3.0.21: java.lang.NullPointerException at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50) at _jsp._error__jsp._jspService(common/messages.jsp:2) >From this,

Fw: FileUpload problem

2007-02-21 Thread Nagraj Rao
Also i think i'm using the right set of dependencies commons-io-1.3.1 commons-collection 3.2 commons-fileupload-1.1.1 - Original Message - From: Nagraj Rao To: Struts Users Mailing List Sent: Wednesday, February 21, 2007 5:04 PM Subject: FileUpload problem Hi I've recently upgraded

FileUpload problem

2007-02-21 Thread Nagraj Rao
Hi I've recently upgraded my app to work with Struts 2.0.5. Sometimes i'm getting this problem, specially when i try to upload 2 or more files concurrently java.lang.RuntimeException: Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest () - [unknown location] com.ope

servlet null when integrating with spring

2007-02-21 Thread anoe
Hi, i am integrating my struts based app with spring, and have a weird problem, when configuring the controller to be org.springframework.web.struts.DelegatingRequestProcessor in order to manage my Action classes as spring beans, i can no more access the servlet attribute from my Action classes (i