Forums Register Login
obtaining the JSP Tag Attributes from a bean
I am retrieving values from a bean and trying to set those to the
attributes of a custom tag.
<mytag:textfield myFieldValue="abcd" />
Here instead of the string "abcd" ... I would like to populate it from a value obtained by querying a bean.
What is the correct syntax?
I am able to obtain the value from the bean as follows:
<jsp:useBean id="screenBean" class="sg.com.apex.sampleapp.screenbean.DemoScreenBean" scope="session" />
<jsp:getProperty name="screenBean" property="fieldValue" />

However i am unable to get the correct way of setting this value to the custom tag's attribute.
Thanks for any help...
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 667 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jun 25, 2018 07:47:56.