Re: Component includes

2005-05-04 Thread Andreas Andreou
Robert wrote: Hi! Thanks for your replies so far. Maybe I was not clear enough. I will try to explain what I want using an imaginary example. I create a component for including a datepicker on a webpage. The styling of the datepicker is done with CSS. To seperate the styling and structure I wan

Re: Component includes

2005-05-04 Thread Robert
Hi! Thanks for your replies so far. Maybe I was not clear enough. I will try to explain what I want using an imaginary example. I create a component for including a datepicker on a webpage. The styling of the datepicker is done with CSS. To seperate the styling and structure I want to use an ex

RE: Component includes

2005-05-03 Thread Patrick Casey
-Original Message- From: Andreas Andreou [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 2:17 PM To: Tapestry users Subject: Re: Component includes You can always create a myscript.script file having: <include-script resource-path="/myscript.js"/> and then

RE: Component includes

2005-05-03 Thread Shing Hing Man
> I really feel like there should be an option for > the @Script > component that just says "embed a link to this > script. Don't rewrite it, Have you looked at the element of the Tapestry script specification. It generates : Shing --- Patrick Casey <[EMAIL PROTECTED]> wrote: > >

Re: Component includes

2005-05-03 Thread Andreas Andreou
Patrick Casey wrote: If I recall though @Script really wants to rewrite your javascript for you on the fly and has some weird requirements (like you have to block your whole script inside a big-old CDATA area). I looked at it and couldn't find a way to make it just put out a script *exactly

RE: Component includes

2005-05-03 Thread Patrick Casey
to:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 9:05 AM To: Tapestry users Subject: Re: Component includes @Script is a component that does that explicitly. Robert wrote: > Hi, > > Is it possible to let a Tapestry component cause a webpage to include > an external javascript and/or css file? > So putting a component on your page will also cause a

Re: Component includes

2005-05-03 Thread euphobot
@Script is a component that does that explicitly. Robert wrote: Hi, Is it possible to let a Tapestry component cause a webpage to include an external javascript and/or css file? So putting a component on your page will also cause a

RE: Component includes

2005-05-03 Thread Karthik Abram
This has been suggested before - the Shell component should behave like the Body component accepts form event handlers. Also, the shell should provide support for media and other attributes of stylesheets. +1 from me for including it in Tapestry 4.0 Any takers? -Original Message- From: