Hi Michael,
only for clarification: t5componets dont use extJs for now.
i have tried out to implement it some months ago, but i struggled
with diffrent prototype versions that tapestry/extJs used.
i think the best way to standardize the symbol abstraction is,
that howard (or any one else) implements that in a small optional
tapestry module
that linked formal into the tapestry project, so everybody who wants to
implements an extJs-based library and guarantee his/her user the best
compatibility
is good advised to use this officicial module.
i think its important, that this will central controlled by the parent
project.
best regards
S.Homburg
Michael Lake schrieb:
Let's say Sven, Chris, and I each are creating component libraries for
re-use and each of us are using the ExtJs library.
And supposing that a T5 project used all of our libraries, then there
could potentially be a conflict on the client side
because multiple javascript files of the same library (with different
package locations) might get included on the same page.
(i suppose it might depend on the specific js library and how it might
handle onPageLoad events for example)
wouldn't it make sense to have a single ExtJs library that could be
shared by each of our component libraries?
A library with just Ext might look something like this:
public class ExtModule {
public static void
contributeFactoryDefaults(MappedConfiguration<String, String>
configuration) {
configuration.add("tapestry.ext2",
"classpath:${tapestry.ext2.path}");
configuration.add("tapestry.ext2.path",
"net/sourceforge/mtc/ext_2_0");
}
}
And could then be used in each of our libraries in the following way
(after adding the dependency in maven):
@Inject
@Path("${tapestry.ext2}/resources/css/ext-all.css")
private Asset _extAllStyle;
Does this make sense? are there things to look out for in the
licenses? What's the future in this?
-mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]