Hi,

Am 06.03.2012 10:48, schrieb Lance Java:
For the record, I don't think that it's an error to have two stacks sharing
the same artifact in your application.

I think the error exists when a page is attempting to import two stacks
which share the same artifact.

Correct, but that can only be checked upon the page's construction, not upon the JavaScriptStackSource's initialization. But maybe that's a better approach anyway as it would line up nicely with the component id validation that was added in 5.3. However, it's only a matter of where the "error" is detected anyway. So I'd say JavaScriptSupportImpl.addAssetsFromStack(String) would be the best place to do it, just in case I should get bored and write a patch. ;-)

Jochen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to