Re: Accessing ActionMessages from Tag Library

2007-12-26 Thread Pablo Vázquez Blázquez
Hi Chris, I had the same problem as you and I couldn´t find a good solution. My workaround was sending to the Tag the things I need, for example, the errors. At the JSP, my tag looks like this: myTag:myTag ... errors=${fieldErrors} .../ So I suppose you can send to your Tag Library (through

html:javascript tag generate two JavaScript functions with same name

2007-12-26 Thread Eric Xin Zhang
The circumstance is: 1) One JSP with only one form tag can be submitted to two different actions, and the two actions have different validation rules. 2) In struts-config.xml, the two actions shares same form bean, and the form bean's class is DynaValidatorActionForm. 3) In validation.xml, two

DateTimePicker + onchange

2007-12-26 Thread Pablo Vázquez Blázquez
Hi! I´ve read there is a bug with dateTimePicker component, as it does not get fired when an 'onchange' event occurs. I´ve also found a workaround using dojo.event.connect and dojo.addOnLoad(function) but I can´t get it working. When I change the date, nothing happens. Any idea? I have

Re: form + file problem

2007-12-26 Thread Pablo Vázquez Blázquez
I have not found yet a solution to my problem. Any help would be grateful. If you need more information to help you solving my problem, please ask me. Thanks. Pablo Vázquez Blázquez escribió: I have the following form: jsp:root xmlns=http://www.w3.org/1999/xhtml;

Re: Accessing ActionMessages from Tag Library

2007-12-26 Thread Chris Pratt
I may have to do something like that, but there's obviously a prettier way to do it, since the standard taglib makes it happen. I'm hoping someone here knows how that's done. Thanks for your help. (*Chris*) On Dec 26, 2007 12:05 AM, Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote: Hi Chris,

StrutsObjectFactory

2007-12-26 Thread stanlick
I have a baby web application *not* using Spring for DI and I'm having a problem where StrutsObjectFactory is running through its buildAction() routine. It seems to defer to its parent class ObjectFactory to have the action instance created, and this behavior is *not* injecting the bean into the

RE: Exception Handling keeping user input

2007-12-26 Thread Jeremy JGR. Grumbach
Hi Adam, The chosen result is defined in your exception definition (in the struts config file) - exactly like the default exception interceptor of struts, nothing has changed about that. See http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork

No replies in the struts forum [via Nabble]

2007-12-26 Thread Skip Hollowell
Is it just my imagination, or are there no replies showing up on this forum anymore? Is this just a Nabble issue? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Setting Session time out

2007-12-26 Thread David Durham, Jr.
On Dec 25, 2007 1:56 AM, Raghuveer [EMAIL PROTECTED] wrote: If session of login user expires or left unused for 15 minutes application should fire session expire page automatically. This is something that is best accomplished from a client. HTML allows you to specify meta data about a

appending tags

2007-12-26 Thread Henry Park
How can I append the values in a list to a struts tag? For example, in the example below, how can I append 'lastname' into 'AppendedList'? s:set name=AppendedList value=/ s:iterator value=resultList status=status s:property name=lastname/ /s:iterator I have tried s:append id=AppendedList

Re: html:javascript tag generate two JavaScript functions with same name

2007-12-26 Thread Paul Benedict
Eric, If you think this is a bug, please create a JIRA ticket for it so it can be tracked. You can copy the contents of your email in for the description. Also if you have a sample webapp I can test with, that will allow me to diagnose the problem. Just attach it to the ticket. Paul On Dec 26,

Struts Tiles (1.3.8) - NoSuchMethodError Exception

2007-12-26 Thread Mohamed Mohideen
Hello there, I am trying the basic template example from Struts Tiles(1.3.8) website. I started with struts-blank-1.3.8.war. Getting the following exception. Looks like it's failing in the following line... tiles:insert beanName=templateDefinition / Some one suggested to replace it beanName

Re: Struts Tiles (1.3.8) - NoSuchMethodError Exception

2007-12-26 Thread Greg Reddin
On Dec 26, 2007 4:45 PM, Mohamed Mohideen [EMAIL PROTECTED] wrote: Hello there, I am trying the basic template example from Struts Tiles(1.3.8) website. I started with struts-blank-1.3.8.war. Getting the following exception. Looks like it's failing in the following line... tiles:insert

Re: html:javascript tag generate two JavaScript functions with same name

2007-12-26 Thread Eric Xin Zhang
Dear Paul, Thanks. I think it shall be a improvement. And before creating JIRA ticket, please give me some time to extract this portion from the big codes repository. My project probably could not wait until the bug is resolved. Do you know is there any alternative to resolve this problem? I'm

Using Log4j in struts for application logs

2007-12-26 Thread Raghuveer
Hello, Question 1 I have placed log4j.properties in WEB-INF of my struts application. With this application logs test.log is created in the directory. I found in all the logs were created for java files in package com.testapp.test to test.log In addition to this there is one more log

Application logs

2007-12-26 Thread Raghuveer
Is there way in struts to use logging configuration by declaratively.? What is the role of commons logging.. How to use this directly in code ..in java files and jsp files?