[OpenAjaxIDE] <require> type attribute values ...

Jon Ferraiolo jferrai at us.ibm.com
Fri Sep 12 12:24:34 PDT 2008

Yeah, I'm not sure about this either. The effect of the <require> element
is to either add an element into the document's HEAD:

@type="javascript" => Add a SCRIPT tag to HEAD
@type="css" => Add a LINK tag to HEAD

or to cause a file to be copied (usually from the widget source tree) into
the deployment area for the generated Web page, which usually applies to:


Media assets such as .mpeg files (which wasn't listed but is fairly
popular) are parallel to @type='image'. In fact, it would be OK to just
extend @type='image', but the semantics would be better if we added a new
keyword such as:


That's my favorite. We should probably also restore (as Kin suggest):


which would be for a single file for the situation where there is a
single-file asset that needs to be copied into the deployment area where
that file isn't either 'image' or 'media'.


             "Howard Weingram"                                             
             <weingram at tibco.c                                             
             om>                                                        To 
             Sent by:                  "Kin Blas" <jblas at adobe.com>,       
             ide-bounces at opena         <ide at openajax.org>                  
             jax.org                                                    cc 
             09/12/2008 11:48          Re: [OpenAjaxIDE] <require> type    
             AM                        attribute values ...                

The <require> deals with incorporating the portlet's.
dependencies into the canvas outside of the widget's.
own "space". Wouldn't the multimedia files that you
are talking about exist as part of the widget itself, or
else be loaded by a JavaScript dependency or a library?

Best Regards,

 From: ide-bounces at openajax.org [mailto:ide-bounces at openajax.org] On Behalf
 Of Kin Blas
 Sent: Friday, September 12, 2008 11:20 AM
 To: ide at openajax.org
 Subject: [OpenAjaxIDE] <require> type attribute values ...

 The spec currently enumerates these values for the @type attribute of the
 <require> tag:

 library | javascript | image | css | folder

 I think we need to either add some other types, or introduce the notion of
 an “other” value to accommodate other popular file formats such
 as .mov, .avi, mp3, .swf, .flv, etc?


 --== Kin ==--

 IDE mailing list
 IDE at openajax.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080912/3999f57d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080912/3999f57d/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic24025.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080912/3999f57d/attachment-0001.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080912/3999f57d/attachment-0002.gif 

More information about the IDE mailing list