The other component, did you write the reference to wicket-event in html
or via and header contributer..?
Tomasz Prus wrote:
I have inluded gmap component which adds wicket-event and i have other
component with:
<script type="text/javascript"
src="/resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
<script type="text/javascript">
Wicket.Event.add(window, "domready", function() {
var gallery = new iCarousel("gallery_content", {
idPrevious: "gallery_previous",
idNext: "gallery_next",
idToggle: "undefined",
item: {
klass: "gallery_item",
size: 284
},
animation: {
type: "fadeNscroll",
duration: 600,
amount: 1
}
});
var i = 0;
while($("thumb" + i) != false) {
$("thumb" + i).addEvent("click", function(event){ new
Event(event).stop(); gallery.goTo(this.id.replace(/thumb/,'')); });
i++;
}
});
</script>
and i think that wicket event object is recreated. Please give me some
advise?
2008/8/28 Tomasz Prus <[EMAIL PROTECTED]>
In which Wicket version should be filtered?
2008/8/28 Tomasz Prus <[EMAIL PROTECTED]>
Heh :) Lightbox, not livebox
2008/8/28 Tomasz Prus <[EMAIL PROTECTED]>
Wicket 1.3.4
When i add livebox JS script and google maps then livebox doesn't work
properly because wicket-event is added twice.
2008/8/27 Matej Knopp <[EMAIL PROTECTED]>
What wicket version? This should be filtered by wicket.
-Matej
On Wed, Aug 27, 2008 at 4:13 PM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
show us some code..:)
Tomasz Prus wrote:
Hi
I have problem because wicket-event.js is added twice and couse
error.
(each
component with wicket-event.js adds it)
Please help, how can i add it only one?
Similar problem is with css files
Best regards,
Tomek
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
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]
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]