How to assign a bean message to a jsp parameter -
how can assign bean message, example: <bean:message key="leftmenu.dailyreport"/>
jsp
parameter? tried:
<jsp:include page="/pages/common/common006-tabmenu.jsp" flush="true"> <jsp:param name="uppermenu1" value=<bean:message key="leftmenu.dailyreport"/> > </jsp:param> </jsp:include>
but not work.
you can utilize this,in case using bean message show message "enter email" , assigned in email property , next , take input value of email user.
<table border="0" cellspacing="1" cellpadding="3" align="center" width="100%"> <tr> <td class="back" width="38%"><bean:message key="createuser.email"/></td> <td class="tableback" width="62%"> <html:text property="email" value='<%=email%>' readonly="true" onkeydown="return false;" onfocus = "return false;" onkeypress="return false;"/> </td> </tr>
jsp message param jspinclude
No comments:
Post a Comment