From: Pant, A. <ash...@ib...> - 2004-02-05 18:50:12
|
hi, I am using the piece of code below to render a text box. The bean currentRow has methods getRegion() and getObjectId. I am using the value attribute so that i can identift each and every text box sice i dont know at design time how many text boxes are to be generated. My problem is that the statement "value="${MyGrid.currentRow.objectId}" is not getting evaluated, This is getting printed as is, inside the text box. Please see the code snippets below. code in JSP -------------------------------- <html:text name="MyGrid.currentRow" value="${MyGrid.currentRow.objectId}" property="region" size="10" maxLength="19" /> HTML generated ---------------------- <input type="text" name="region" maxlength="19" size="10" value="${MyGrid.currentRow.objectId}"> thanks ashish ************************************************************************** This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are solely for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. If you have received this communication in error, please notify the sender immediately and delete this message from your system. ***************************************************************************** |