• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem with using percentage in html:text

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,
while using % symbol in <html:text tag it is truncating as null. And whatever be the string suffix with %, in action we are getting it as null. This could be problem with struts frame work.
If anyone come across with this kind of problem, please help out.
 
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know I've entered % into fields generated by <nested:text> (1.2.7)many times and its worked fine. Struts is able to populate the data in the field to the proper field in the form.

If you use a value with out a % does it populate? What is the data type of the variable you are trying top populate with this field? Post the getters and setters for it as well. Are you modifing its value in the validate method of your form?
 
reply
    Bookmark Topic Watch Topic
  • New Topic