Re: How dataNeedsToBeWritten() be false in newReosurceResponse

2012-03-28 Thread Martin Grigorov
Hi, You are right! It looks like a bug. Please file a ticket about it. On Wed, Mar 28, 2012 at 3:22 AM, terasaka.k terasak...@gmail.com wrote: How does the conditional statement 'if (resourceResponse.dataNeedsToBeWritten(attributes))' in PackageResource$newResourceResponse turn false?

Re: Adding extra request parameters to AJAX calls

2012-03-28 Thread Martin Grigorov
Hi, On Tue, Mar 27, 2012 at 6:16 PM, gmparker2000 greg.par...@brovada.com wrote: Good to know.  I am planning on making the move some time in the coming months and had anticipated that this may not work exactly like this in 1.5. From what I have described is there any reason to think this

Re: Regarding Stack Overflow exception

2012-03-28 Thread smsmaddy
Hi all, Good news. The Memory Leak issue is fixed by updgrading the wicket version to 1.5.4. Thanks to everyone for the support //Madhusudhan S - //Maddy -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Regarding-Stack-Overflow-exception-tp4203930p4511565.html

Re: How dataNeedsToBeWritten() be false in newReosurceResponse

2012-03-28 Thread terasaka.k
Thank you for your quick reply. I issued as WICKET-4480. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-dataNeedsToBeWritten-be-false-in-newReosurceResponse-tp4510762p4511705.html Sent from the Users forum mailing list archive at Nabble.com.

POST parameters in URL Problem

2012-03-28 Thread Satrix
Hello, I'm facing really strange behaviour in my wicket web application. I have two websites: 1. The first website at some point must send post data to another wicket website. The form code that's gonna transport post data: String form = form id='redirectForm' method='post' action=' + redirectTo

Re: POST parameters in URL Problem

2012-03-28 Thread Martin Grigorov
Hi, Upgrade to 1.5.5. This problem as introduced in 1.5.4 and reverted with https://issues.apache.org/jira/browse/WICKET-4338 in 1.5.5 On Wed, Mar 28, 2012 at 2:15 PM, Satrix satrix...@gmail.com wrote: Hello, I'm facing really strange behaviour in my wicket web application. I have two

Re: POST parameters in URL Problem

2012-03-28 Thread Satrix
Hey Martin, I've tried and changed the wicket version to 1.5.5 but the problem still occurs :/ Any idea what can be wrong ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-in-URL-Problem-tp4512104p4512167.html Sent from the Users forum mailing list

Re: POST parameters in URL Problem

2012-03-28 Thread Martin Grigorov
When the second page (the one that the form action points to) is constructed its PageParameters should not have POST parameters, only GET (extracted from the request url). Create a quickstart that reproduces the problem and attach it to Jira. On Wed, Mar 28, 2012 at 2:42 PM, Satrix

Re: POST parameters in URL Problem

2012-03-28 Thread Satrix
Ahhh! It works :). I had some WAR related issues. I confirm that by uprading wicket version to 1.5.5 the problem with POST parameters in URL is fixed. Martin THANK YOU VERY MUCH, you made my day :) -- View this message in context:

Re: attributeappender not rendered / processed

2012-03-28 Thread nino martinez wael
fyi it was a bug in our code 2012/3/23 nino martinez wael nino.martinez.w...@gmail.com Yes are using ajax, but it's the same when not using ajax.. 2012/3/23 Michal Wegrzyn michal.wegr...@onior.com Are you using ajax? Maybe you are adding appender but form container is not added to the

log4j.properties

2012-03-28 Thread JASON HOLT
I'm new to Java, Tomcat, and Wicket. I apologize in advance for asking the obvious. Tomcat logs complain that log4j is not properly configured. I placed my log4j.properties file in the /WEB-INF/classes folder and errors stop. I would like ALL Wicket applications to share a single

Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
I want to swap panels using the event model in 1.5. This is very similar to the panel swapping code (wicket 1.4.x) found in the Apache Wicket Cookbook but uses the event model instead. The problem is I can't set the panel equal to its replacement, like you would in 1.4.x. This is found on

Re: Event handling and swapping panels

2012-03-28 Thread Igor Vaynberg
OuterPanelClass.this.panel.replaceWith(replacement); OuterPanelClass.this.panel=replacement; -igor On Wed, Mar 28, 2012 at 11:33 AM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I want to swap panels using the event model in 1.5.  This is very similar to the panel swapping code

RE: Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
Thanks. But what does OuterPanelClass refer to in my example? I don't think either of these are right: MyEmptyPanel.this.panel.replaceWith(replacement); -or- MyPage.this.panel.replaceWith(replacement); Or do I need to define workingPanel as a private member of my page class and then have:

Re: Event handling and swapping panels

2012-03-28 Thread Igor Vaynberg
paste your entire panel/page class... -igor On Wed, Mar 28, 2012 at 12:15 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Thanks.  But what does OuterPanelClass refer to in my example? I don't think either of these are right: MyEmptyPanel.this.panel.replaceWith(replacement); -or-

RE: Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
Here it is: public class Admin extends WebPage { private Component workingPanel; public Admin() { super(); init(); } @Override public void renderHead(IHeaderResponse response) {

Re: Event handling and swapping panels

2012-03-28 Thread Igor Vaynberg
that is correct -igor On Wed, Mar 28, 2012 at 12:41 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Here it is: public class Admin extends WebPage {        private Component workingPanel;        public Admin() {                super();                init();        }      

Re: Override BrowserInfoPage

2012-03-28 Thread sudeivas
It worked. I did override BrowserInfoPage.java and BrowserInfoPage.html. Thanks, Suresh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Override-BrowserInfoPage-tp4499400p4513516.html Sent from the Users forum mailing list archive at Nabble.com.

Re: log4j.properties

2012-03-28 Thread Richard W. Adams
This is a log4j issue, not Wicket. However, if memory serves, you can set a system property before starting Tomcat. Something like: -Dlog4j.configuration=name.and.location.of.your.log4j.properties.file A log4j forum is probably the best place to query the current best practice on this.

RE: Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
Only problem is that it is not working. The panels never update to the new panels. I can see that the onEvent fires as the javascript alert is shown. But the javascript is only shown the first time I click a link. After the first click, all the links call their onClick method and send the

Re: Event handling and swapping panels

2012-03-28 Thread Igor Vaynberg
yes, every panel has to have onevent. in this case the panel that has onevent is replaced by a panel that doesnt, so it no longer receives the event. what you should do is put the onevent in the page, not in the panel. -igor On Wed, Mar 28, 2012 at 1:35 PM, Jeffrey Schneller

Re: Event handling and swapping panels

2012-03-28 Thread Francois Meillet
Unless you override the onEvent method for each panel (MyPanel1, MyPanel2 and MyPanel3) , only the first working panel will manage the event. one solution would be : public class Admin extends WebPage { @Override public void onEvent(IEvent? event) { super.onEvent(event);

RE: Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
Thank you Igor and Francois!! This solved my problem and it is working perfectly now. -Original Message- From: Francois Meillet [mailto:qq...@gmail.com] Sent: Wednesday, March 28, 2012 4:45 PM To: users@wicket.apache.org Subject: Re: Event handling and swapping panels Unless

Re: InvalidBehaviorIdException and ComponentNotFoundException for modal windows

2012-03-28 Thread sudeivas
I am not sure what is 'behavior with id: 0' ... I am just trying to use a simple modal window.. But when I try to close the modal window I am getting this error. org.apache.wicket.behavior.InvalidBehaviorIdException: Cannot find behavior with id: 0 on component: [ModalWindow [Component id =

Repalcement of servlets in wicket.

2012-03-28 Thread SudeepShakya
I am trying to build an app which receives http request from client and save the requested data to the database and then reply(http response) the appropriate data again from the database, And it is not a form like application, (just receive the request and then response to it). I don't have

Re: Repalcement of servlets in wicket.

2012-03-28 Thread Martin Grigorov
Hi, Check http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ . This is for Wicket 1.5/6.0. Since you just start it is better to start with the latest version. I'd recommend Apache Wicket Cookbook. It is really good. It is written for 1.4 but most of the examples should work for 1.5+

Re: log4j.properties

2012-03-28 Thread Martin Grigorov
On Wed, Mar 28, 2012 at 10:17 PM, Richard W. Adams rwada...@up.com wrote: This is a log4j issue, not Wicket. However, if memory serves, you can set a system property before starting Tomcat. Something like: -Dlog4j.configuration=name.and.location.of.your.log4j properties.file This is the