On 7/26/07, Kirk Israel <[EMAIL PROTECTED]> wrote:
>
> (I started moving myself to the other list but am not quite there yet)
>
> Empirically, it looks like there might have been a change in behavior
> from 1.2, but I couldn't verify that on
> http://cwiki.apache.org/WICKET/migrate-13.html --
>
> if you're writing custom javascript (in this case an arbitrary form
> element that needs to submit a hidden form for an ajax interaction),
> is there a way that preserves the id as set in the .html
> wicket:id="XYZ" as the HTML element's id? In this case, when the .html
> is processed by Wicket, the resulting id is something like "XYZ6"


http://issues.apache.org/jira/browse/WICKET-694
i guess there were problems when implementing this, maybe eelco can
ellaborate more on the "unforeseen side effects"


> Googling on
>   wicket getElementById
> it seems that might be deprecated for javascript inside Wicket,
> there's that Wicket.$(id) syntax instead? But I couldn't find
> documentation on that, and both getElementById() and Wicket.$() worked
> with "XYZ6" but not the original XYZ.


tbh, you are not meant to use anything inside wicket-ajax.js directly.

-igor


Pointers to the documentation I wasn't able to find appreciated as
> well as direct advise and or corrections of assumptions ...
>
> Thanks!
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> IMPORTANT NOTICE:
>
> This mailing list is shutting down. Please subscribe to the Apache Wicket
> user list. Send a message to: "users-subscribe at wicket.apache.org" and
> follow the instructions.
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: "users-subscribe at wicket.apache.org" and follow the 
instructions.
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to