Thiago H. de Paula Figueiredo wrote:
>
>
> What about a Zone and the BeanEditForm zone parameter? :)
>
>
I tried this with in my .tml
<t:beaneditform id="chatLineForm" submitlabel="Send" object="chatLine"
zone="chatLineZone" />
<t:zone id="chatLineZone" visible="false"/>
onSuccess()
gets called the first time I click submit without reloading the page, but
the form doesn't get its values reset and the second time I click submit it
reloads the page.
When I click submit I get the following error from prototype.js from
prototype:
$ is not a function
setOpacity()(div#chatLineZone.t-zone, 0)prototype.js (line 1935)
_methodized()()prototype.js (line 256)
beforeSetup()()effects.js (line 552)
render()effects.js (line 254)
loop()(1225243612761)effects.js (line 285)
loop()()effects.js (line 220)
(?)()()prototype.js (line 214)
[Break on this error] element = $(element);
I'm using jQuery.noConflict(); to stop JQuery stepping on the prototype
injected by using beaneditform. Is this causing the error?
--
View this message in context:
http://www.nabble.com/-T5----Using-a-mixin-on-a-beaneditform-to-do-an-submit-without-a-page-reload-tp20208457p20219417.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]