Unfortunately, this did not work, mostly because this will substitute the
value at a later stage than required.
We need some other solution to this....
Any more clues !!!
------------James Mitchell Suggested:
------------------------------------------------
Did you try this?
<bean:define id="myType">
<bean:write name="txtInput">
</bean:define>
<logic:iterate id="idDataClass" property="vData" type="<%=myType%>">
------------Original Problem
--------------------------------------------------------
Can this work
<logic:iterate id="idDataClass" property="vData" type="<bean:write
name=txtInput>">
I want to give the "type" at run time to make a re-usable TILE for our
application.
Complete code is shown below.
--------------------
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>
<html:html locale="true">
<head>
<html:base/>
</head>
<BODY class="BodyClass">
<html:form name="FormTableRO" action="/pages/TableRO.do"
type="com.tiger.inf.forms.FormTableRO">
<logic:iterate id="idDataClass" property="vData" type="<bean:write
name=txtInput>">
<bean:write name="idDataClass" property="time"/>
<bean:write name="idDataClass" property="day"/>
</logic:iterate>
</html:form>
</body>
</html:html>
------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]