You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ben Gidley <be...@gidley.co.uk> on 2007/10/27 16:03:49 UTC
T5 page without a class (only a template)
Hi,
Is it possible to create a T5 page that doesn't have a class - only a
template.
For example I have a simple case of a page that simply uses other
components, so the java class for it is basically empty. However if I don't
create the class T5 doesn't seem to find the page.
Is there a way round this?
Thanks
Ben
Re: T5 page without a class (only a template)
Posted by Kevin Menard <km...@servprise.com>.
Heh, I conveniently ignored that. I should have stated that I'm unaware of
any Web project that suffered. While unfortunate that Spindle died, as it
turned out, it wasn't as necessary for T4 as it was for T3. Likewise, other
apps, like HandyTapestry demonstrated that with a different scope, a good
plugin could still be accomplished.
The net of it is that I'd rather not see it simpler for tools at the price
of making it harder to do by hand. That leads to the requirement of tools
that don't exist yet.
--
Kevin
On 10/30/07 5:48 PM, in article
26A04CE9-F0D6-4A76-93D8-353708C7975E@scazdl.org, "Robert Zeigler"
<ro...@scazdl.org> wrote:
> There was a project which suffered, and that was spindle.
> One of the big reasons Geoff gave up trying to add support for T4 to
> spindle was due to the template/class mismatch.
>
> Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5 page without a class (only a template)
Posted by Robert Zeigler <ro...@scazdl.org>.
There was a project which suffered, and that was spindle.
One of the big reasons Geoff gave up trying to add support for T4 to
spindle was due to the template/class mismatch.
Robert
On Oct 30, 2007, at 10/302:31 PM , Kevin Menard wrote:
> That's unfortunate. In T4 you could map multiple templates to a
> single
> class or have no class at all. It was quite nice and I'm unaware
> of any
> projects that suffered as a result.
>
> To me, being a Web application framework, the class should
> complement the
> page, providing the server side logic as necessary. If not
> necessary, you
> shouldn't need to have empty artifacts kicking around.
>
> C'est la vie, I suppose.
>
> --
> Kevin
>
>
> On 10/27/07 11:36 AM, in article 47235AF1.4020908@key-
> planning.co.jp, "Nick
> Westgate" <ni...@key-planning.co.jp> wrote:
>
>> No. The class defines the page. This is implicit in the design.
>> The alternatives are a slippery slope to configuration complexity.
>>
>> Cheers,
>> Nick.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5 page without a class (only a template)
Posted by Marcus <mv...@gmail.com>.
Hi Kevin,
It's not implemented yet.
But your java class could be very simple.
Marcus
Re: T5 page without a class (only a template)
Posted by Kevin Menard <km...@servprise.com>.
That's unfortunate. In T4 you could map multiple templates to a single
class or have no class at all. It was quite nice and I'm unaware of any
projects that suffered as a result.
To me, being a Web application framework, the class should complement the
page, providing the server side logic as necessary. If not necessary, you
shouldn't need to have empty artifacts kicking around.
C'est la vie, I suppose.
--
Kevin
On 10/27/07 11:36 AM, in article 47235AF1.4020908@key-planning.co.jp, "Nick
Westgate" <ni...@key-planning.co.jp> wrote:
> No. The class defines the page. This is implicit in the design.
> The alternatives are a slippery slope to configuration complexity.
>
> Cheers,
> Nick.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5 page without a class (only a template)
Posted by Nick Westgate <ni...@key-planning.co.jp>.
No. The class defines the page. This is implicit in the design.
The alternatives are a slippery slope to configuration complexity.
Cheers,
Nick.
Ben Gidley wrote:
> Hi,
>
> Is it possible to create a T5 page that doesn't have a class - only a
> template.
>
> For example I have a simple case of a page that simply uses other
> components, so the java class for it is basically empty. However if I don't
> create the class T5 doesn't seem to find the page.
>
> Is there a way round this?
>
> Thanks
>
> Ben
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
T5 : How to use checkbox inside of the grid components
Posted by Penyihir Kecil <pe...@yahoo.com>.
hi...
i have list of daya displayed by grid component
now i want to add checkbox for each row
could anyone give me an example how to do it ?
thnx
Dwi Ardi Irawan
~ ...and the story goes ~
Blog : http://dwiardiirawan.blogspot.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
T5 : How to use checkbox inside of the grid components
Posted by Penyihir Kecil <pe...@yahoo.com>.
hi...
i have list of daya displayed by grid component
now i want to add checkbox for each row
could anyone give me an example how to do it ?
thnx
dwi ardi irawan
http://dwiardiirawan.blogspot.com
Dwi Ardi Irawan
~ ...and the story goes ~
Blog : http://dwiardiirawan.blogspot.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com