Interesting... One way to get rid of the jsp:useBean in the output
would be to wrap it in a <t:block>.

Josh

On Thu, Mar 20, 2008 at 8:05 AM, Bob Hopwood <[EMAIL PROTECTED]> wrote:
> Of course, duh, you now have that jsp tag with class name in the html
> file.
>
>
> On Mar 20, 2008, at 11:00 AM, Bob Hopwood wrote:
>
> > I remember a thread about editing .tml files in IntelliJ 7.  Just
> > thought maybe I'd throw this out there as I've found it useful so
> > far (I'm new to Tapestry tho).  I actually set .tml files to be
> > viewed as a JSP.   The following allows auto-completion and
> > suggestions on tapestry attributes and also expressions (for example
> > t:source, ${user.name}, etc. below).  Is this crazy? Sacrilege?
> >
> > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> > <!--
> > <jsp:useBean id="user" scope="page" type="t5first.entities.User"/>
> > -->
> > <head>
> >    <title>Hibernate Example</title>
> > </head>
> > <body>
> >    <h1>User List</h1>
> >    <table>
> >        <tr t:type="loop" t:source="users" t:value="user">
> >            <td> ${user.name} </td>
> >        </tr>
> >    </table>
> > </body>
> > </html>
> >
> > ---------------------------------------------------------------------
> > 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]
>
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to