Re: [Wicket-user] Link behaviour inconsistent

2006-09-11 Thread Imran M Yousuf
Dear Johan, What you said is correct. But I press refresh of the browser it does not give page expired, instead it gets the original page from the Server. But before getting it, it shows pages that is not even in the flow. Can we relate it to browser caching directly and rationally? I have set the

Re: [Wicket-user] CSS problems with DataTable in an AjaxTabbedPanel

2006-09-11 Thread Matej Knopp
Sorry, never mind. Wrong mail :) -Matej Matej Knopp wrote: Per Ejeklint wrote: I'm using 1.2-SNAPSHOT and the problem persists. No big deal, now that I have a workaround. :) What kind of workaround if I may ask? -Matej /Per 10 sep 2006 kl. 23.25 skrev Frank Bille: Hehe I could try.

Re: [Wicket-user] How to fire an onClick event programmatically ? (works in Firefox, not in IE6)

2006-09-11 Thread Igor Vaynberg
you bacported even this into 1.2.2? i thought that was waiting for 1.3 because of api breaks?-IgorOn 9/11/06, Matej Knopp [EMAIL PROTECTED] wrote:Ajax Header contribution is already working in 1.2.2. Scripts in ajax response (scriptfunction() { }/script should work as well.If it doesn't work then

Re: [Wicket-user] How to fire an onClick event programmatically ? (works in Firefox, not in IE6)

2006-09-11 Thread Pierre-Yves Saumont
Sorry Igor, I just clicked Answer and the message was sent to your address :-( Here it is for the list: This might be a better solution than the one I figured (placing the script in the head element. The problem with placing the script in the head element is that there will be one specific

Re: [Wicket-user] How to fire an onClick event programmatically ? (works in Firefox, not in IE6)

2006-09-11 Thread Pierre-Yves Saumont
If you mean placing scriptfunction() { }/script in the Ajax response, it does not work in IE6 but it works in Firefox. (With Wicket 1.2.2) Pierre-Yves Matej Knopp a écrit : Ajax Header contribution is already working in 1.2.2. Scripts in ajax response (scriptfunction() { }/script should

Re: [Wicket-user] inconsistent exception

2006-09-11 Thread Nili Adoram
After a long testing cycle we've discovered the problem. Since we work in development mode, by default Page.checkRendering() verifies that all page components were indeed rendered. When each component is rendered it calls Page.componentRendered(). This method is responsible for adding the calling

Re: [Wicket-user] How to fire an onClick event programmatically ? (works in Firefox, not in IE6)

2006-09-11 Thread Matej Knopp
No, no api breaks there. I've not backported the IHeadContributor and folks, because that would indeed be an API break. But the basic header contribution (like wicket:head/wicket:head for components) is backported. -Matej Igor Vaynberg wrote: you bacported even this into 1.2.2? i thought

Re: [Wicket-user] How to fire an onClick event programmatically ? (works in Firefox, not in IE6)

2006-09-11 Thread Matej Knopp
Is the script not executed at all? How does the script look like? In IE replaceOuterHTML does not executed the script, that's right, but there is a workaround in wicket-ajax that should deal with it (but maybe it doesn't work as it should right now). -Matej Pierre-Yves Saumont wrote: If you

[Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Hi, I am having a problem with submit link. I used to have a form with a regular link on it but then the form data would not get submitted. Now I have replaced this by a SubmitLink and in my onSubmit() I do: validate(); updateFormComponentModels(); // Remove messages cause by

[Wicket-user] Linking dynamic javascript/css

2006-09-11 Thread jan_bar
Hi, on my page I need to link link dynamic javascript. With TextTemplateHeaderContributor the javascript/css is inlined into markup, but how I can have something similiar with linked dynamic javascript/css? Should I use something similar as Image (also places links to image URL) and use

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Johan Compagner wrote: Hmm can you give us a test case for this? Because if you click on the submitlink that call: wicket.markup.html.form.Form.dispatchEvent(Form.java:1205) shouldn't happen at all. Because there shouldn't be something in this url: String url = ""> if

[Wicket-user] Get url of BookmarkablePageLink

2006-09-11 Thread jan_bar
Hi, how can I get url of BookmarkablePageUrl without adding it to the page? Even if getURL() is public it still needs to be added to PageMap, otherwise it throws. Is the BookmarkablePageUrl really public if it depends on PageMap instance? Thanks, Jan

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Johan Compagner wrote: if you could make a case where we can look at? I will try to make a small example tonight. What is the hidden fields value (that is an hidden input field appended to the form) right before you get the error? The hidden form field is: input type=hidden

Re: [Wicket-user] checkboxes in dataview...

2006-09-11 Thread Igor Vaynberg
There is not really a better way i can currently think of. Right now, if I would have to develop a wicket application with full back button support using inexperienced developers, I would probably have to give design rules such as this: do not store any data as instance variables but

Re: [Wicket-user] Linking dynamic javascript/css

2006-09-11 Thread Igor Vaynberg
yep, that works :)-IgorOn 9/11/06, jan_bar [EMAIL PROTECTED] wrote: I don't know if this is the best way, but I managed it with_javascript_Reference with ResourceReference and overriden newResource, thatreturns Resource with PackagedTextTemplate as resource stream.Jan jan_bar [EMAIL PROTECTED]

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Igor Vaynberg
is the submit link ajax? that would do it. that link has to reset the value when it is done processing.-IgorOn 9/11/06, Johan Compagner [EMAIL PROTECTED] wrote:ok so the value == null so the value shouldn't be something when you submit it. Please set a breakpoint on Form.onFormSubmitted linenr:

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Igor Vaynberg wrote: is the submit link ajax? that would do it. that link has to reset the value when it is done processing. I used the standard SubmitLink. Nothing special here. Is there also an ajax version? -Igor -

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Igor Vaynberg
AjaxSubmitLink/Button -IgorOn 9/11/06, Erik Brakkee [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: is the submit link ajax? that would do it. that link has to reset the value when it is done processing.I used the standard SubmitLink. Nothing special here. Is there also anajax version?

Re: [Wicket-user] How to use Javascript Alert

2006-09-11 Thread ali
On Sun, 10 Sep 2006 02:57:29 +0430, Eelco Hillenius [EMAIL PROTECTED] wrote: If you can use Ajax, you could even implement it more transparently. In that case, make a panel for the normal display of the row, and a panel that has the buttons. When the row is clicked, you do an ajax

[Wicket-user] Changing Value of ListItem model object

2006-09-11 Thread ChuckDeal
My Problem: I am trying to make a set of Radio buttons (rendered by a ListView) dynamically update with the selection that is made. I am trying to implement a feature where the status date is cleared when the status changes back to OPEN or the status date is set to today's date when the

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Johan Compagner wrote: if you could make a case where we can look at? I have managed to reproduce the problem using a very simple example. I have a list of submit links with a form. Initially, the list is empty. In addition, there is one link by which an additional submit link can be added to the

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Igor Vaynberg wrote: AjaxSubmitLink/Button AjaxSubmitLink also fails in exactly the same way. -Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Igor Vaynberg
yes, i would imagine that would unless you repaint the form-IgorOn 9/11/06, Erik Brakkee [EMAIL PROTECTED] wrote:Igor Vaynberg wrote: AjaxSubmitLink/ButtonAjaxSubmitLink also fails in exactly the same way. -Igor-Using Tomcat

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Igor Vaynberg wrote: yes, i would imagine that would unless you repaint the form I am still relatively new with wicket and I haven't got a clue what you are talking about :-) Anyway, I managed to reproduce the problem with a very simple example so lets see what comes out of this. -Igor