Re: Struts2 2.0.11 problem with url and parameters

2008-12-02 Thread Tomi21
If someone has experienced problems with struts2 applications running on oc4j please give a hand. What tests can I do in order to identify de precise problem with oc4j? Thanks!! Tomi21 wrote: > > OK, good news!! > > I've installed a fresh apache tomcat 6.018 and everythi

Re: Struts2 2.0.11 problem with url and parameters

2008-11-27 Thread Tomi21
y plugin) and see if you get the same behaviour there. > > Nils-H > > On Thu, Nov 27, 2008 at 11:58 AM, Tomi21 <[EMAIL PROTECTED]> wrote: >> >> I know, but I did it just in case I found something out. >> In my previous example the println it is being execute

Re: Struts2 2.0.11 problem with url and parameters

2008-11-27 Thread Tomi21
newton.dave wrote: > > --- On Wed, 11/26/08, Tomi21 <[EMAIL PROTECTED]> wrote: >> What I've done next is changing 'struts.xml' so >> there are no interceptors configured. >> The packagedoes not extend struts-default anymore. >> The action is still b

Re: Struts2 2.0.11 problem with url and parameters

2008-11-26 Thread Tomi21
Hi, I've try that but interceptors dont say anything. What I've done next is changing 'struts.xml' so there are no interceptors configured. The packagedoes not extend struts-default anymore. The action is still being executed but the parameter is not being set anyway.:( Any ideas from this point

Re: Struts2 2.0.11 problem with url and parameters

2008-11-26 Thread Tomi21
I suggest that > you try to create a sample app from scratch with just one jsp and one > action and see if you can reproduce the error somehow. > > Nils-H > > On Tue, Nov 25, 2008 at 11:41 AM, Tomi21 <[EMAIL PROTECTED]> wrote: >> >> These interceptors

Re: Method calls with ognl with ValueStack Objects as Parameters

2008-11-25 Thread Tomi21
Try: test will look for a function with prototype 'getTest' in the value stack. Alexander Baetz wrote: > > Hi, > > Following scenario: i have an object on the value-stack and a function > on the action named = "getTest". The function returns a boolean. > > Now i want to do a struts-if

Re: Method calls with ognl with ValueStack Objects as Parameters

2008-11-25 Thread Tomi21
Try: test will look for a function with prototype 'getTest' in the value stack. Alexander Baetz wrote: > > Hi, > > Following scenario: i have an object on the value-stack and a function > on the action named = "getTest". The function returns a boolean. > > Now i want to do a struts-if

Re: Struts2 2.0.11 problem with url and parameters

2008-11-25 Thread Tomi21
} } private void addFieldError(ActionInvocation invocation, String field,String message) { Object action = invocation.getAction(); if(action instanceof ValidationAware) { ((ValidationAware) action).addFieldError(field,

Re: Struts2 2.0.11 problem with url and parameters

2008-11-25 Thread Tomi21
These interceptors are not configured for 'EliminarSuscripcion' action. If interceptors have something to do with this issue only the ones defined in the default stack are concerned. Thanks!!! Lukasz Lenart wrote: > > I noticed two custom interceptors, maybe that's the source of problem > ex

Re: Struts2 2.0.11 problem with url and parameters

2008-11-25 Thread Tomi21
#x27; is NULL. Any ideas from this point? Thanks in advance. Nils-Helge Garli wrote: > > What does your jsp look like? Have you tried implementing > ParameterAware and see if any parameters are passed at all? > > Nils-H > > On Tue, Nov 25, 2008 at 10:04 AM, Tomi21 <[EMA

Re: Struts2 2.0.11 problem with url and parameters

2008-11-25 Thread Tomi21
Can Someone give me a hand please? Thanks very much!! Tomi21 wrote: > > I've changed the type to Integer and is still not working. If I set the > parameteres with a form and POST method everything works fine but if I use > tag (GET method) the setter is never called.

Re: Struts2 2.0.11 problem with url and parameters

2008-11-20 Thread Tomi21
I've changed the type to Integer and is still not working. If I set the parameteres with a form and POST method everything works fine but if I use tag (GET method) the setter is never called. Has it maybe something to do with interceptors? Thanks for helping. I'm going crazy with this issue!!.

Re: Struts2 2.0.11 problem with url and parameters

2008-11-20 Thread Tomi21
.xml look like? > > Nils-H > > On Thu, Nov 20, 2008 at 10:01 AM, Tomi21 <[EMAIL PROTECTED]> wrote: >> >> I'm sorry!!it seems to be too early for me. >> I have both getter and setter of course: >> >> >>public int getIndice(

Re: Struts2 2.0.11 problem with url and parameters

2008-11-20 Thread Tomi21
od is not being called. Thanks for the help. Nils-Helge Garli wrote: > > That's not a setter but a getter. Unless you have a setIndice method > in your action it won't be set. > > Nils-H > > On Thu, Nov 20, 2008 at 9:32 AM, Tomi21 <[EMAIL PROTECTED]> wro

RE: Struts2 2.0.11 problem with url and parameters

2008-11-20 Thread Tomi21
This is my complete URL: http://localhost:/ConfiguracionDTX2Web/EliminarSuscripcion.action?indice=4 And this this is my setter: public int getIndice() { return indice; } Any ideas? Thanks!!. Volker Karlmeier wrote: > > Hi, > > what does your parameter look like

Struts2 2.0.11 problem with url and parameters

2008-11-19 Thread Tomi21
Hi all, I have a url with a parameter. This parameter is sent to the action via HTTP Get Method(i.e appended at the end of the url --> ?parameter_value). My problem is that I can't reach the parameter value in the action because the setter method is not being called. I can't get the value through

Re: DateTimePicker "time" type not working in 2.0.11

2008-11-14 Thread Tomi21
Ive the same problem. Did you find the solution? Thanks. Jon Wilmoth-2 wrote: > > I've tried using the datetimepicker with the type attribute set to "time" > (), but > nothing shows up. There was a email thread this past spring on this > subject, but it appears the tag was broken and to be f

Problem with debug mode

2008-11-13 Thread Tomi21
Hello everyone, I wanted to know how to turn on the debug mode in struts2(2.10.12 GA). I use and it seems not working because no messages are shown. Thanks in advance. -- View this message in context: http://www.nabble.com/Problem-with-debug-mode-tp20478652p20478652.html Sent from the Struts

Migrating to 2.0.12 General Availability Release

2008-11-12 Thread Tomi21
Hi everyone, I've migrated my web application to the last release 2.0.12 and all things that require 'dojo' are not working correctly(datetimepicker, tooltip, etc.). The error message is "dojo is not defined". Does anyone know how can I solve the problem? With version 2.0.11 everything was worki