• 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

html:text inside logic:iterate

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello there again..
this is a continuation on my post earlier about hmtl:multibox

this is my JSP

ActionForm for text

the text "bitrateText" will produce 5 rows..
My problem is when I enter values on Row1 text,
when I click submit, the value I entered is also visible on Row2-5 text.

Maybe, because Im only using one name for html:text which is "bitrateText"
How can I make this different for each text so that only text that has value on it will be submitted?

Please help me guys..
Arigatou..
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can achieve this using indexed property.

Try this link Indexed Property Example
 
Hiroyuki Suzuki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranjit...
Thanks for the info..

Ive made some revision on my JSP



for my html:text, i used item1 for its name...

for my Actionform


i also define bitrateTxt in my actionform

but, when i try to execute it,
an error occurs
avax.servlet.ServletException: Bean items1 のプロパティ bitrateTxt に対するゲッターメソッドがありません
which means no getter method for Bean item1 property bitrate.

What is wrong with my code?
please help me
 
Hiroyuki Suzuki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello guys..
I have already solved this problem


for html:text

↓ changed into this


in my actionform
i declared bitrateTxt as


it works properly now
 
Ranch Hand
Posts: 48
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hiroyuki Suzuki wrote:hello guys..
I have already solved this problem


for html:text

↓ changed into this


in my actionform
i declared bitrateTxt as


it works properly now




If we build the string inside the property attribute, Not working.
But below code is working fine.







 
I love a good mentalist. And so does this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic