Em Mon, 11 Jan 2010 11:04:44 -0200, Richard Hill <[email protected]>
escreveu:
Hi All,
Hi!
I have a very simple web app with a form:
<form t:id="xform">
<input t:type="TextField" t:id="url" size="60" />
<input type="submit" value="Save"/>
</form>
The addition of this results in all the Tapestry-bundled javascript
assets being included in my app (scriptaculous, prototype, blackbird
etc).
Prototype ans Scriptaculous are added when you use some component that
needs JavaScript. For example, they are added by the client-side
validation support in Form when it's enabled (default). You can disable it
by setting the SymbolConstants.FORM_CLIENT_LOGIC_ENABLED symbol to "false"
in your AppModule.
There's no easy way to disable Blackbird yet, but this will be fixed in
the next releases.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]