Link to home
Start Free TrialLog in
Avatar of dkim18
dkim18

asked on

Creating dynamic link( html:link - paramProperty)

hi!

I am working on creating dynamic link and this works, but
+++++++++++++++++

    <logic:present name="personalForm">
      
       <html:link page="/personalUpdate.do?method=update" paramId="personalParamID"
             paramName="PersonalFormBean" paramProperty="firstName">
             
            Personal<br>
        </html:link>
      </logic:present>

++++++++++
this doesn't work
++++++++++++

    <logic:present name="personalForm">
      
       <html:link page="/personalUpdate.do?method=update" paramId="personalParamID"
             paramName="PersonalFormBean" paramProperty="recordNo">
             
            Personal<br>
        </html:link>
      </logic:present>

++++++++++++++
"firstName" and " recordNo" are the names of a property of the bean specified by the paramName attribute.

thanks in advance
Avatar of bloodredsun
bloodredsun
Flag of Australia image

and do they both have getter methods
e.g.
getFirstName() and getRecordNo() in the PersonalFormBean
Avatar of dkim18
dkim18

ASKER

yes they have.
ASKER CERTIFIED SOLUTION
Avatar of bit1023
bit1023

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial