[OpenAjaxIDE] Did you mean <library> instead of <resource>?

Jon Ferraiolo jferrai at us.ibm.com
Thu Dec 6 11:18:52 PST 2007


Hi Jonathan,
Question about your entry on the following wiki page:

* http://www.openajax.org/member/wiki/IDE_Issue_1

One of your examples says:
-----------------
<resource Id="acbCompany" xmlns="http://ns.openajax.org/library"
  ...
  baseDirectory="...relative URL to root folder for library..."
  ...
  >
  ...
  <resources>
    <resource type="javascript|css|..." uri="<url>"/> <!-- from Adobe -->
    <!-- etc -->
  </resources>
  ...
  <preload> <!-- from jMaki -->
    ...javascript logic...
  </preload>
  ...
</resource>
-----------------

Should the outermost tag be <library> instead of <resource>? For example:
-----------------
<library Id="acbCompany" xmlns="http://ns.openajax.org/library"
  ...
  baseDirectory="...relative URL to root folder for library..."
  ...
  >
  ...
  <resources>
    <resource type="javascript|css|..." uri="<url>"/> <!-- from Adobe -->
    <!-- etc -->
  </resources>
  ...
  <preload> <!-- from jMaki -->
    ...javascript logic...
  </preload>
  ...
</library>
-----------------

Thanks.
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20071206/b8b39380/attachment.html 


More information about the IDE mailing list