You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Warner Onstine <sw...@warneronstine.com> on 2004/08/06 23:03:11 UTC

a way to do @import for stylesheets?

Is there a way to do @import for stylesheets? Both the stylesheet and 
stylesheets attributes create links rather than import.

-wwarner


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: a way to do @import for stylesheets?

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Aug 6, 2004, at 6:50 PM, Warner Onstine wrote:
>
> On Aug 6, 2004, at 2:52 PM, Erik Hatcher wrote:
>
>> On Aug 6, 2004, at 5:24 PM, Warner Onstine wrote:
>>> Thanks, will do! Do you know of any plans to incorporate that type 
>>> of behavior (ie - @import) back into Tapestry main?
>>
>> No plans that I know of, especially given the flexibility is 
>> available with the @Shell delegate.  I'm not sure it'd be worth the 
>> extra effort - what benefit would you get from having slightly more 
>> explicit syntax?
>
> To stop questions like mine ;-). I guess it's really a balance of 
> figuring out what needs to be done by the developer and what should 
> come wit the framework. If we are forced to use Shell then we should 
> be able to do everything we can do with normal HTML.

You're not forced to use @Shell, though.  In fact, feel free to create 
@WarnerShell which does the @import thing like you want, and send us 
the diffs :)

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: a way to do @import for stylesheets?

Posted by Warner Onstine <sw...@warneronstine.com>.
On Aug 6, 2004, at 2:52 PM, Erik Hatcher wrote:

> On Aug 6, 2004, at 5:24 PM, Warner Onstine wrote:
>> Thanks, will do! Do you know of any plans to incorporate that type of  
>> behavior (ie - @import) back into Tapestry main?
>
> No plans that I know of, especially given the flexibility is available  
> with the @Shell delegate.  I'm not sure it'd be worth the extra effort  
> - what benefit would you get from having slightly more explicit  
> syntax?

To stop questions like mine ;-). I guess it's really a balance of  
figuring out what needs to be done by the developer and what should  
come wit the framework. If we are forced to use Shell then we should be  
able to do everything we can do with normal HTML.

-warner

>
> 	Erik
>
>>
>> -warner
>>
>> On Aug 6, 2004, at 2:19 PM, Erik Hatcher wrote:
>>
>>> Look at the delegate capability of @Shell, which allows you to write  
>>> your own custom stuff there.  We use it for doing some dynamic style  
>>> sheet craziness.
>>>
>>> 	Erik
>>>
>>>
>>> On Aug 6, 2004, at 5:03 PM, Warner Onstine wrote:
>>>
>>>> Is there a way to do @import for stylesheets? Both the stylesheet  
>>>> and stylesheets attributes create links rather than import.
>>>>
>>>> -wwarner
>>>>
>>>>
>>>> -------------------------------------------------------------------- 
>>>> -
>>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail:  
>>>> tapestry-user-help@jakarta.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail:  
>>> tapestry-user-help@jakarta.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: a way to do @import for stylesheets?

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Aug 6, 2004, at 5:24 PM, Warner Onstine wrote:
> Thanks, will do! Do you know of any plans to incorporate that type of 
> behavior (ie - @import) back into Tapestry main?

No plans that I know of, especially given the flexibility is available 
with the @Shell delegate.  I'm not sure it'd be worth the extra effort 
- what benefit would you get from having slightly more explicit syntax?

	Erik

>
> -warner
>
> On Aug 6, 2004, at 2:19 PM, Erik Hatcher wrote:
>
>> Look at the delegate capability of @Shell, which allows you to write 
>> your own custom stuff there.  We use it for doing some dynamic style 
>> sheet craziness.
>>
>> 	Erik
>>
>>
>> On Aug 6, 2004, at 5:03 PM, Warner Onstine wrote:
>>
>>> Is there a way to do @import for stylesheets? Both the stylesheet 
>>> and stylesheets attributes create links rather than import.
>>>
>>> -wwarner
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: 
>>> tapestry-user-help@jakarta.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: a way to do @import for stylesheets?

Posted by Warner Onstine <wa...@warneronstine.com>.
Thanks, will do! Do you know of any plans to incorporate that type of 
behavior (ie - @import) back into Tapestry main?

-warner

On Aug 6, 2004, at 2:19 PM, Erik Hatcher wrote:

> Look at the delegate capability of @Shell, which allows you to write 
> your own custom stuff there.  We use it for doing some dynamic style 
> sheet craziness.
>
> 	Erik
>
>
> On Aug 6, 2004, at 5:03 PM, Warner Onstine wrote:
>
>> Is there a way to do @import for stylesheets? Both the stylesheet and 
>> stylesheets attributes create links rather than import.
>>
>> -wwarner
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: a way to do @import for stylesheets?

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
Look at the delegate capability of @Shell, which allows you to write 
your own custom stuff there.  We use it for doing some dynamic style 
sheet craziness.

	Erik


On Aug 6, 2004, at 5:03 PM, Warner Onstine wrote:

> Is there a way to do @import for stylesheets? Both the stylesheet and 
> stylesheets attributes create links rather than import.
>
> -wwarner
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org