« Return to Thread: [Facelets][Trinidad] Re: Announcement: Open Source Jawr library available for Facelets users

Re: [Facelets][Trinidad] Re: Announcement: Open Source Jawr library available for Facelets users

by Scott O'Bryan :: Rate this Message:

Reply to Author | View in Thread

I think Matthias misunderstood.  <trh:script> is a replacement for the
<script> tag in html.  :)  I believe you are asking why we don't have an
option to disable loading our scripts automatically.

I guess my answer to that question would be why?  Wouldn't such an
option just cause errors unless people really knew what they were
doing?  I mean the trinidad components REQUIRE the script to be there.  
So make users even know about it?  I'm also still questioning why we
would need Jawr to load our javascripts in the first place.

That said, I wouldn't mind supporting a plugable "script loader" in
Trinidad  if people were really wanting to plug in Jawr, but we should
still ask what it gains us.

Scott

Jordi Hernandez wrote:

> Well, actually I know nothing about Trinidad. Scott said "currently there is
> no way to
> have trinidad NOT link to the common js". I imagined that it means that some
> files will be always linked automatically. So you could not link the common
> js with Jawr. Maybe I misunderstood?
>
>
> Regards, Jordi.
>
>
> Mathias Walter wrote:
>  
>> Hi,
>>
>>    
>>> I hope I'm not too pretentious by saying this, but maybe
>>> Trinidad should
>>> offer an option to let users load the scripts themselves. Not
>>>      
>> Indeed, Trinidad has such an option: <trh:script>
>>
>> --
>> Kind regards,
>> Mathias
>>
>>
>>
>>    
>
>  

 « Return to Thread: [Facelets][Trinidad] Re: Announcement: Open Source Jawr library available for Facelets users