facebook

using struts

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #224769 Reply

    sienaluke
    Member

    this might not be right for this forum but, i have a form that i would like to prepopulate with info that i have stored in a bean in a session.

    i usually use this to write to the screen

    <bean:write name=”com.mlmic.physreg.physicianinfo” property=”firstName”/>

    this is what i have for my field

    <html:text property=”shipFirstName” size=”15″ maxlength=”15″ />

    how do i prepopulate the text field with that value in the bean

    #224780 Reply

    Riyad Kalla
    Member

    Moving to OT > Software Dev (this isn’t ME related).

    Also, you are missing a name attribute on yout html:text tag that will tell it WHICH object in the page to use to call the ‘shipFirstName’ method on it to populate the value of the text field.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: using struts

You must be logged in to post in the forum log in