Struts2 s:form to html form changes id attribute

2010-12-16 Thread webmeiker
Hi, Does somebody know what could be happening here? I have exactly same Struts2 web app deployed in two Tomcats but tag behaves strange in one of them. Lets explain myself… The next line of code in my JSP: …generates correct html form code in ‘A’ environment: …BUT generate

Re: Parameter manipulation

2010-12-16 Thread Steven Yang
is your user object initialized when the param interceptor is run? here i might be wrong, but what i know is if your object is initialized then Struts or OGNL will call getUser().setEmail(...) otherwise create a new User then setEmail then setUser then the second case should fail for you again, i

Re: Struts2 IDE, eclipse plugins to manage struts2 xml file, areyou interested?

2010-12-16 Thread Hantsy Bai
于 2010/12/17 10:17, Frans Thamura 写道: > Right > > Is the source available also? > /m/ > > -Original Message- > From: Johannes Geppert > Date: Thu, 16 Dec 2010 11:35:50 > To: > Reply-To: "Struts Users Mailing List" > Subject: Re: Struts2 IDE, eclipse plugins to manage struts2 xml file,

Re: Struts2 IDE, eclipse plugins to manage struts2 xml file, areyou interested?

2010-12-16 Thread Frans Thamura
Right Is the source available also? /m/ -Original Message- From: Johannes Geppert Date: Thu, 16 Dec 2010 11:35:50 To: Reply-To: "Struts Users Mailing List" Subject: Re: Struts2 IDE, eclipse plugins to manage struts2 xml file, are you interested? Hi Angelo, this looks great. When

Re: Problem with action mapping

2010-12-16 Thread Dave Newton
Older Struts/Tiles was notorious (at least in my experience) for swallowing exceptions whole. My first guess is that something is broken in one of your JSPs used by the tile. That's one good reason not to use such old technology for new development: you lose the benefits of hundreds of thousands o

Re: Problem with action mapping

2010-12-16 Thread Anjib Mulepati
There was space at the beginning. That is solved. I'm getting something but not whole page just logo and header. I though name should be body in tiles def file. so I change all to bosy as tiles.jsp has attribute="body" Still same problem. Anjib On 12/16/2010 2:15 PM, Dave Newton wrote: A sta

Re: Struts2 IDE, eclipse plugins to manage struts2 xml file, are you interested?

2010-12-16 Thread Johannes Geppert
Hi Angelo, this looks great. When do you think is this available? Is there a Beta version available for tests? Best Regards Johannes Geppert azerr wrote: > > Hi Struts2 Team, > > I introduce to me. I'm Angelo ZERR and I'm developping a generic XML > search > engine Eclipse plugins that I wo

Re: Problem with action mapping

2010-12-16 Thread Dave Newton
You'll probably want to turn your logging up to DEBUG. Dave On Thu, Dec 16, 2010 at 2:27 PM, Anjib Mulepati wrote: > Tomcat Log in Netbeans says > > Dec 16, 2010 2:26:03 PM org.apache.catalina.core.ApplicationDispatcher > invoke > WARNING: Servlet action is currently unavailable > > Anjib > > >

Re: Problem with action mapping

2010-12-16 Thread Anjib Mulepati
Tomcat Log in Netbeans says Dec 16, 2010 2:26:03 PM org.apache.catalina.core.ApplicationDispatcher invoke WARNING: Servlet action is currently unavailable Anjib On 12/16/2010 2:15 PM, Dave Newton wrote: A startup error. Check the logs. Dave On Thu, Dec 16, 2010 at 1:59 PM, Anjib Mulepati

Re: Problem with action mapping

2010-12-16 Thread Dave Newton
A startup error. Check the logs. Dave On Thu, Dec 16, 2010 at 1:59 PM, Anjib Mulepati wrote: > This is the problem I am facing everytime I am creating new project in > Netbeans and modify the default pages. Am I missing some sequence of action > or parameters. To make it clear I am including mo

Problem with action mapping

2010-12-16 Thread Anjib Mulepati
This is the problem I am facing everytime I am creating new project in Netbeans and modify the default pages. Am I missing some sequence of action or parameters. To make it clear I am including most of the code which I think are related. Can any one suggets me why I am getting following error w

Convention Plugin, Inheriting from existing projects action

2010-12-16 Thread Arne Stabenau
Hello, We are developing here a fairly generic web tool, which for many of our projects we just want to customize a little. We are using the convention plugin, since I have a little dislike of XML config files and want to keep them to a minimum. Ideally I would like a way to just include the base

Re: Struts 2 Conditional Validators?

2010-12-16 Thread RogerV
Dave Newton-6 wrote: > > Validators aren't called when *you* call a method, its not like they > cause byte-code to be inserted. > > Dave > Ok - bad choice of words. Validation annotations are processed by the AnnotationValidationInterceptor. How it decides what to process I find a bit hazy.

Re: unicode breaks s:select?

2010-12-16 Thread Alex Rodriguez Lopez
Have you got this on top of JSPs? <%@ page contentType="text/html; charset=UTF-8" %> Patrick Cosmo, 15-12-2010 17:40: Hi! When using "s:select", if the list of data returned by my java class contains strings that have unicode characters in them, "s:select" fails to generate the entire tag, it

Re: Struts 2 Conditional Validators?

2010-12-16 Thread Dave Newton
Validators aren't called when *you* call a method, its not like they cause byte-code to be inserted. Dave On Thursday, December 16, 2010, RogerV wrote: > > Hi > > Is it possible to "conditionally" trigger a validator such that if > conditionA then use ValidatorX else use ValidatorY within the va

Struts 2 Conditional Validators?

2010-12-16 Thread RogerV
Hi Is it possible to "conditionally" trigger a validator such that if conditionA then use ValidatorX else use ValidatorY within the validation framework out of the box? I have a scenario where a user is entering a serial number as a license key. They can either enter a full serial number which

Re: execAndWait Interceptor

2010-12-16 Thread Zoran Avtarovski
Sorry about the delayed response. I have been busy with xmas crap (ba humbug). The way we implement an ajax solution is to create a new thread, with a flag stored in the session and poll the server using a jquery ajax call every 10 seconds. The ajax call returns a json response which has the flag