On Sat, 2003-03-29 at 00:58, Puneet Agarwal wrote:
>
> Oh Yes I did, But I work in JDeveloper it did not run giving error as
> illegal start of expression
> I then tried all combinations like escaping the double quote, single quote
> etc etc but to no rescue..
Oops, forgot one thing...
> <bean:define id="myType">
> <bean:write name="txtInput"/>
^
> </bean:define>
> <logic:iterate id="idDataClass" property="vData" type="<%=myType%>">
//do your stuff here
</logic:iterate>
>
> Regards,
> Puneet Agarwal
> Ext: 1031
>
> Struts ... Action ... Struts in Action ... Action in Struts ... Action
> "with" Struts ...
>
>
>
>
> James
>
> Mitchell To: Struts Users Mailing List <[EMAIL
> PROTECTED]>
> <[EMAIL PROTECTED] cc:
>
> ache.org> Subject: Re: Can This work
>
>
>
> 03/29/03
>
> 10:49 AM
>
> Please
>
> respond to
>
> "Struts Users
>
> Mailing List"
>
>
>
>
>
>
>
>
>
> On Sat, 2003-03-29 at 00:11, Puneet Agarwal wrote:
> > Can this work
> >
> > <logic:iterate id="idDataClass" property="vData" type="<bean:write
> > name=txtInput>">
>
> Did you try this?
>
> <bean:define id="myType">
> <bean:write name="txtInput">
> </bean:define>
> <logic:iterate id="idDataClass" property="vData" type="<%=myType%>">
>
>
> >
> > 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>
> >
> ------------------------------------------------------------------------------------------------------------------------------------
>
> >
> > Regards,
> > Puneet Agarwal
> > Ext: 1031
> >
> > Struts ... Action ... Struts in Action ... Action in Struts ... Action
> > "with" Struts ...
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://www.open-tools.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]