Re: problem mapping values from the jsp to the action

2011-01-03 Thread developer researcher
 Hello, thanks for all your answers, finally I can find a solution.

- there is nothing rare or special in the generated HTML, it is identical to
jsp
- when I change the method to get I can see that not all parameters are sent
- finally the problem es solved when include an dijit.form.Form element
within the dijit.Dialog Element.

Thanks and regards,

2010/12/28 Maurizio Cucchiara 

> It's definitely a dojo/dijit miss-configuration issue.
> We can't help you, there is not an html form. I've ever disliked the dojo
> way.
>
> My suggestion is: change the method from post to get and see what
> happens (see if get variables appear to the address bar)
>
> 2010/12/28 developer researcher :
> >  Hello Dave, Tito; thanks for answering
> >
> >  Apparently there was a problem for the file extensions; I attach the
> > example code.
> >
> >  I hope this information serve to you can help me identify the
> problem.
> >
> > Thanks in advance,
> >
> > 2010/12/27 tito 
> >>
> >> You forgot to attach the code.
> >>
> >> On 12/28/10, Dave Newton  wrote:
> >> > No code, no help. Struts doesn't know about HTML, so a property's
> >> > location
> >> > in the DOM is unlikely to be the problem-but we have zero clue
> regarding
> >> > your implementation, so I'm not sure what kind of help you expect.
> >> >
> >> > Dave
> >> >  On Dec 27, 2010 4:28 PM, "developer researcher" <
> >> > java.developer.researc...@gmail.com> wrote:
> >> >> Hello,
> >> >>
> >> >> I have problems to map fields value when the fields are within
> elements
> >> >> . As example attached an JSP page, this jsp have three fields
> >> >> (campo1,campo2 and campo3). When I trying of print the values of
> these
> >> >> fields from the corresponding action, the following is displayed:
> >> >> "Campo1:
> >> >> null - Campor2: null - Campo3: Value 3".
> >> >>
> >> >> The only difference is that campo1 and campo2 are in a  within
> of
> >> >> another  (see SimpleDialogTemplate.jsp). I also attached the
> >> >> example
> >> >> Action.
> >> >>
> >> >> How can I solved this problem?
> >> >>
> >> >> Thanks in advance,
> >> >
> >>
> >> --
> >> Sent from my mobile device
> >>
> >> regards,
> >> Tito Cheriachan
> >> http://www.titocheriachan.com
> >>
> >>
> >> ___
> >> Automate Twittering using AutoTweeter
> >> http://www.autotweeter.in
> >> Follow twitter users automatically with
> >> AutoFollower
> >> http://www.twitterautofollower.com
> >>
> >>
> >>
> >> 10 litres of water is required to produce a sheet of paper.
> >> --
> >>
> >> -
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >
> >
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
>
>
>
> --
> Maurizio Cucchiara
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: problem mapping values from the jsp to the action

2010-12-28 Thread Maurizio Cucchiara
It's definitely a dojo/dijit miss-configuration issue.
We can't help you, there is not an html form. I've ever disliked the dojo way.

My suggestion is: change the method from post to get and see what
happens (see if get variables appear to the address bar)

2010/12/28 developer researcher :
>  Hello Dave, Tito; thanks for answering
>
>  Apparently there was a problem for the file extensions; I attach the
> example code.
>
>  I hope this information serve to you can help me identify the problem.
>
> Thanks in advance,
>
> 2010/12/27 tito 
>>
>> You forgot to attach the code.
>>
>> On 12/28/10, Dave Newton  wrote:
>> > No code, no help. Struts doesn't know about HTML, so a property's
>> > location
>> > in the DOM is unlikely to be the problem-but we have zero clue regarding
>> > your implementation, so I'm not sure what kind of help you expect.
>> >
>> > Dave
>> >  On Dec 27, 2010 4:28 PM, "developer researcher" <
>> > java.developer.researc...@gmail.com> wrote:
>> >> Hello,
>> >>
>> >> I have problems to map fields value when the fields are within elements
>> >> . As example attached an JSP page, this jsp have three fields
>> >> (campo1,campo2 and campo3). When I trying of print the values of these
>> >> fields from the corresponding action, the following is displayed:
>> >> "Campo1:
>> >> null - Campor2: null - Campo3: Value 3".
>> >>
>> >> The only difference is that campo1 and campo2 are in a  within of
>> >> another  (see SimpleDialogTemplate.jsp). I also attached the
>> >> example
>> >> Action.
>> >>
>> >> How can I solved this problem?
>> >>
>> >> Thanks in advance,
>> >
>>
>> --
>> Sent from my mobile device
>>
>> regards,
>> Tito Cheriachan
>> http://www.titocheriachan.com
>>
>>
>> ___
>> Automate Twittering using AutoTweeter
>> http://www.autotweeter.in
>> Follow twitter users automatically with
>> AutoFollower
>> http://www.twitterautofollower.com
>>
>>
>>
>> 10 litres of water is required to produce a sheet of paper.
>> --
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>



-- 
Maurizio Cucchiara

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: problem mapping values from the jsp to the action

2010-12-27 Thread li wei

can you show the generated html file?

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: problem mapping values from the jsp to the action

2010-12-27 Thread developer researcher
 Hello Dave, Tito; thanks for answering

 Apparently there was a problem for the file extensions; I attach
the example
code.

 I hope this information serve to you can help me identify the problem.

Thanks in advance,

2010/12/27 tito 

> You forgot to attach the code.
>
> On 12/28/10, Dave Newton  wrote:
> > No code, no help. Struts doesn't know about HTML, so a property's
> location
> > in the DOM is unlikely to be the problem-but we have zero clue regarding
> > your implementation, so I'm not sure what kind of help you expect.
> >
> > Dave
> >  On Dec 27, 2010 4:28 PM, "developer researcher" <
> > java.developer.researc...@gmail.com> wrote:
> >> Hello,
> >>
> >> I have problems to map fields value when the fields are within elements
> >> . As example attached an JSP page, this jsp have three fields
> >> (campo1,campo2 and campo3). When I trying of print the values of these
> >> fields from the corresponding action, the following is displayed:
> "Campo1:
> >> null - Campor2: null - Campo3: Value 3".
> >>
> >> The only difference is that campo1 and campo2 are in a  within of
> >> another  (see SimpleDialogTemplate.jsp). I also attached the
> example
> >> Action.
> >>
> >> How can I solved this problem?
> >>
> >> Thanks in advance,
> >
>
> --
> Sent from my mobile device
>
> regards,
> Tito Cheriachan
> http://www.titocheriachan.com
>
>
> ___
> Automate Twittering using AutoTweeter
> http://www.autotweeter.in
> Follow twitter users automatically with
> AutoFollower
> http://www.twitterautofollower.com
>
>
>
> 10 litres of water is required to produce a sheet of paper.
> --
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


ExampleCode.rar
Description: application/rar

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Re: problem mapping values from the jsp to the action

2010-12-27 Thread tito
You forgot to attach the code.

On 12/28/10, Dave Newton  wrote:
> No code, no help. Struts doesn't know about HTML, so a property's location
> in the DOM is unlikely to be the problem-but we have zero clue regarding
> your implementation, so I'm not sure what kind of help you expect.
>
> Dave
>  On Dec 27, 2010 4:28 PM, "developer researcher" <
> java.developer.researc...@gmail.com> wrote:
>> Hello,
>>
>> I have problems to map fields value when the fields are within elements
>> . As example attached an JSP page, this jsp have three fields
>> (campo1,campo2 and campo3). When I trying of print the values of these
>> fields from the corresponding action, the following is displayed: "Campo1:
>> null - Campor2: null - Campo3: Value 3".
>>
>> The only difference is that campo1 and campo2 are in a  within of
>> another  (see SimpleDialogTemplate.jsp). I also attached the example
>> Action.
>>
>> How can I solved this problem?
>>
>> Thanks in advance,
>

-- 
Sent from my mobile device

regards,
Tito Cheriachan
http://www.titocheriachan.com


___
Automate Twittering using AutoTweeter
http://www.autotweeter.in
Follow twitter users automatically with
AutoFollower
http://www.twitterautofollower.com



10 litres of water is required to produce a sheet of paper.
--

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: problem mapping values from the jsp to the action

2010-12-27 Thread Dave Newton
No code, no help. Struts doesn't know about HTML, so a property's location
in the DOM is unlikely to be the problem-but we have zero clue regarding
your implementation, so I'm not sure what kind of help you expect.

Dave
 On Dec 27, 2010 4:28 PM, "developer researcher" <
java.developer.researc...@gmail.com> wrote:
> Hello,
>
> I have problems to map fields value when the fields are within elements
> . As example attached an JSP page, this jsp have three fields
> (campo1,campo2 and campo3). When I trying of print the values of these
> fields from the corresponding action, the following is displayed: "Campo1:
> null - Campor2: null - Campo3: Value 3".
>
> The only difference is that campo1 and campo2 are in a  within of
> another  (see SimpleDialogTemplate.jsp). I also attached the example
> Action.
>
> How can I solved this problem?
>
> Thanks in advance,


problem mapping values from the jsp to the action

2010-12-27 Thread developer researcher
 Hello,

 I have problems to map fields value when the fields are within elements
. As example attached an JSP page, this jsp have three fields
(campo1,campo2 and campo3). When I trying of print the values of these
fields from the corresponding action, the following is displayed: "Campo1:
null - Campor2: null - Campo3: Value 3".

 The only difference is that campo1 and campo2 are in a  within of
another  (see SimpleDialogTemplate.jsp). I also attached the example
Action.

 How can I solved this problem?

Thanks in advance,

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org