• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

are there any known bugs with struts html:hidden tag?

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am trying to use 3 hidden fields in form but they cannot be passed with struts html tags. when i pass with simple html hidden it gets through without any errors.
 
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
q: are there any known bugs with struts html:hidden tag?
a: none that I know of.

request: I probably set things up incorrectly, but I won't show you what I did...please fix it.
response: fix what?
 
Sheriff
Posts: 17735
302
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am trying to use 3 hidden fields in form but they cannot be passed with struts html tags

Liz,

As a point of clarification, you will always be submitting requests using "simple HTML" since custom tags get translated into Java code that generate simple HTML which is then sent to the client as part of the response. For example, an html:hidden tag will render an input type="hidden" tag in the response sent to the client.

When you use the html:hidden tags, check the rendered HTML (view source in your web browser) to see what the differences are with the HTML that you used successfully. As implied by the previous poster, you probably just need to tweak the tag settings a little bit. It would also help us help you if you posted snippets from your JSP where you use html:hidden tags and the "simple HTML" so we can get a better idea of what's going on.
 
Liz Brown
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks. got it.
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders
https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing
reply
    Bookmark Topic Watch Topic
  • New Topic