struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From developer researcher <java.developer.researc...@gmail.com>
Subject Re: problem mapping values from the jsp to the action
Date Mon, 03 Jan 2011 23:11:01 GMT
     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 <maurizio.cucchiara@gmail.com>

> 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 <java.developer.researcher@gmail.com>:
> >      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 <titomc@gmail.com>
> >>
> >> You forgot to attach the code.
> >>
> >> On 12/28/10, Dave Newton <davelnewton@gmail.com> 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.researcher@gmail.com> wrote:
> >> >> Hello,
> >> >>
> >> >> I have problems to map fields value when the fields are within
> elements
> >> >> <div>. 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 <div>
within
> of
> >> >> another <div> (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
> >> <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-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
>
>
>
> --
> Maurizio Cucchiara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message