Re: Relative link in JavaScript

2010-09-11 Thread Martin Grigorov
see ContextImage class On Sat, Sep 11, 2010 at 12:59 AM, Itun itun@yandex.ru wrote: I have JavaScript text in which there are links to pictures. They can not be changed. There are folder with pictures: /WEB-INF/.../images I don`t want to change their position How can I contact links

Re: Close modal window on session timeout

2010-09-11 Thread Ernesto Reinaldo Barreiro
Do you mean put this script on your home page? So that modal window is closed and parent is redirected to home? Nice trick;-) Ernesto On Sat, Sep 11, 2010 at 6:09 AM, Alexander Morozov alexander.v.moro...@gmail.com wrote: Have you try to close modal window with JS ?      script

Re: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-11 Thread vladimir.kovalyuk
You're not alone. I upgraded to wicket 1.4.11 and noticed that the ajax handling was broked. Rolled back to 1.4.10 and ajax handling was broken. Ctrl+R in FF helped. Probably something is wrong in wicket-ajax.js? -- View this message in context:

Re: Close modal window on session timeout

2010-09-11 Thread Alexander Morozov
Yep, just put it to home (base) page. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Close-modal-window-on-session-timeout-tp2534936p2535578.html Sent from the Wicket - User mailing list archive at Nabble.com.

What is the best slideshow?

2010-09-11 Thread Paolo
I found this: http://lazydev.ildella.net/wicket-slides-080-released-with-smoothgallery Is it the best solution to show a sequence of image? I don't like to use flash. And this use javascript, so it may be OK. thank you. - To

Re: Relative link in JavaScript

2010-09-11 Thread Itun
It does not help. ContextImage attaches to the component. I need simple declaration that, for example, link images/new.gif in this page relate with source in /WEB-INF/.../images/new.gif. -- View this message in context:

Re: Could not find root ajax-response element

2010-09-11 Thread Adrian Wiesmann
On 9/9/10 6:43 PM, Igor Vaynberg wrote: very strange indeed. do you have any behaviors that write directly to the response? even that, i dont think, would cause this. create a quickstart and attach it to a jira issue. I guess I found the error. I have a UI engine which takes an XML formatted

Re: Relative link in JavaScript

2010-09-11 Thread Igor Vaynberg
you cannot stream anything out of web-inf, so you will have to change them, unless you map a servlet that will do the sreaming for you. -igor On Sat, Sep 11, 2010 at 5:49 AM, Itun itun@yandex.ru wrote: It does not help. ContextImage attaches to the component. I need simple declaration

Re: Relative link in JavaScript

2010-09-11 Thread Itun
You do not understand. http://apache-wicket.1842946.n4.nabble.com/file/n2535721/Untitled.png This is a structure of my project (part). In News.java (WebPage) I connect javascript files (from folder /WEB-INF/js/DocumentEditor/). Javascript is well connected. Everything works. Until this moment

Re: Relative link in JavaScript

2010-09-11 Thread Igor Vaynberg
and so you have a servlet that streams files out of WEB-INF? because servlet containers will not do that for you. -igor On Sat, Sep 11, 2010 at 7:51 AM, Itun itun@yandex.ru wrote: You do not understand. http://apache-wicket.1842946.n4.nabble.com/file/n2535721/Untitled.png This is a

Re: Relative link in JavaScript

2010-09-11 Thread Itun
No, I have not. I was hoping that Wicket has, because it is engaged in the distribution of resources. If Wicket has those funds gone, could you suggest how to do it. I would be grateful to you if you will send an example to email itun@yandex.ru. -- View this message in context:

Re: What is the best slideshow?

2010-09-11 Thread Daniel Frisk
I really like Exposure that a friend of mine has made. There is no Wicket wrapper for it (yet) but you can easily integrate it yourself. http://exposureforjquery.wordpress.com/ // Daniel On 11 sep 2010, at 13:27, Paolo wrote: I found this:

Re: Relative link in JavaScript

2010-09-11 Thread Igor Vaynberg
serving anything out of WEB-INF is a security risk because it contains configuration files. i suggest you rearrange your site so your resources are not in WEB-INF, or if they are they are in your java package structure - then wicket can serve them for you. -igor On Sat, Sep 11, 2010 at 8:52 AM,

Re: Relative link in JavaScript

2010-09-11 Thread Itun
So You propose to move the folder (img, css, html, js) into /WEB-INF/class folder. Wicket help me to stream image from here? Can you tell me some means how to do this in Wicket? Because on the Internet there is nothing. -- View this message in context:

Re: Relative link in JavaScript

2010-09-11 Thread Martin Grigorov
Put the resources next to the .class files, then in your .html use wicket:linkimg src=name.gif//wicket:link Wicket magically will load the image for you. On Sat, Sep 11, 2010 at 6:20 PM, Itun itun@yandex.ru wrote: So You propose to move the folder (img, css, html, js) into /WEB-INF/class

Re: Relative link in JavaScript

2010-09-11 Thread Itun
Read from the beginning. I have link to images from JavaScript. So You propose to move folders (img, css, html, js) into /WEB-INF/classes folder. Wicket help me to stream image from here? Can you tell me some means how to do this in Wicket? Because on the Internet there is nothing. -- View

Re: Relative link in JavaScript

2010-09-11 Thread Martin Grigorov
What's the reason not to put the images/ next to WEB-INF/ ? Like a normal application On Sat, Sep 11, 2010 at 6:45 PM, Itun itun@yandex.ru wrote: Read from the beginning. I have link to images from JavaScript. So You propose to move folders (img, css, html, js) into /WEB-INF/classes

Re: Relative link in JavaScript

2010-09-11 Thread James Carman
On Sat, Sep 11, 2010 at 6:45 PM, Itun itun@yandex.ru wrote: Read from the beginning. I have link to images from JavaScript. So You propose to move folders (img, css, html, js) into /WEB-INF/classes folder. Wicket help me to stream image from here? Can you tell me some means how to do

Re: Header requiring to be contributed through page load and not ajax...

2010-09-11 Thread Alexander Morozov
Hi! Check this jQ plugin http://docs.jquery.com/Plugins/livequery -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Header-requiring-to-be-contributed-through-page-load-and-not-ajax-tp2533526p2535816.html Sent from the Wicket - User mailing list archive at

Re: StringResourceModel - On the Fly

2010-09-11 Thread msantos
Hi there. Is really this that i was looking for. Passing the Panel instance to the component variable, it finds the respective property file and returns the value. Thanks a lot man 5* to your help See ya -- View this message in context:

Re: Relative link in JavaScript

2010-09-11 Thread Itun
Thank you all. Solved the problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Relative-link-in-JavaScript-tp2535193p2535961.html Sent from the Wicket - User mailing list archive at Nabble.com.