Re: [WARN]Falling back to Redirect_To_Buffer render

2012-08-29 Thread Martin Grigorov
Put a breakpoint at WebPageRenderer#respond() and see. It is not always possible to use ONE_PASS_RENDER because in this case the Url in the address bar will become invalid for the currently renderer page. And then if for example your user use F5 to refresh the page he will see completely different

Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable" error.

2012-08-29 Thread Vignesh Palanisamy
Hi martin, As well as i had implement the Serializable in Anonymous inner class (DefaultObjectAutoCompleteBuilder.class) of HomePage now the Exception didn't come but one warning message came like this. WARN - WebSession - Component-targetted feedback message was left

Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable" error.

2012-08-29 Thread Sven Meier
Check the first anonymous class inside HomePage, it is not serializable. Sven On 08/30/2012 06:12 AM, Vignesh Palanisamy wrote: hi martin.. i implement Serializable for searchOption then i run It and gives error on status class and i had implement serializable to status class too, Now it give

Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable" error.

2012-08-29 Thread Vignesh Palanisamy
hi martin.. i implement Serializable for searchOption then i run It and gives error on status class and i had implement serializable to status class too, Now it gives this error exception. ERROR - JavaSerializer - Error serializing object class org.apache.wicket.quickstart.HomeP

override wicket mark up

2012-08-29 Thread ramlael
Hi Friends, I would like to override wicket page, will have same wicket id's with different parent ids. Is it possible in wicket please help me... http://apache-wicket.1842946.n4.nabble.com/file/n4651624/wikcet-problem.png Regards, Rambabu -- View this message in context: http://apache-w

Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable" error.

2012-08-29 Thread Vignesh Palanisamy
while implementing Serializable also the same error came martin! On Wed, Aug 29, 2012 at 6:17 PM, Martin Grigorov wrote: > This line says it all: > > private java.lang.Object > org.apache.wicket.model.CompoundPropertyModel.target > [class=org.apache.wicket.quickstart.HomePage$SearchOptions] <---

Re: [WARN]Falling back to Redirect_To_Buffer render

2012-08-29 Thread sudeivas
is it possible to find why its not using 'ONE_PASS_RENDER' ? I just want to make sure that I am not missing any configuration. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WARN-Falling-back-to-Redirect-To-Buffer-render-tp4651567p4651622.html Sent from the Users fo

Re: Css for panel

2012-08-29 Thread Mansour Al Akeel
Thank you all. On Wed, Aug 29, 2012 at 1:49 PM, Paul Bors wrote: > See "Including CSS resources" at: > https://cwiki.apache.org/WICKET/including-css-resources.html > > This is also covered by all of the books on Wicket: > http://wicket.apache.org/learn/books/ > > You should invest into such a Bo

RE: Css for panel

2012-08-29 Thread Paul Bors
See "Including CSS resources" at: https://cwiki.apache.org/WICKET/including-css-resources.html This is also covered by all of the books on Wicket: http://wicket.apache.org/learn/books/ You should invest into such a Book. Personally I suggest "Wicket in Action" since its authors are Wicket develop

RE: Css for panel

2012-08-29 Thread Ronny.Voss
Hi Actually I am pretty new with Wicket, but I give it a shot... :-) @Override public void renderHead(IHeaderResponse response) { super.renderHead(response); response.renderCSSReference(YOUR_CSS_REF); } private static final ResourceReferenc

Css for panel

2012-08-29 Thread Mansour Al Akeel
I have a component that extends panel. I need to add css customization to this panel. I can include the css in the over all site CSS, but I like to separate the CSS for this panel. For example, MyPanel.java MyPanel.html MyPanel.css I like to have MyPanel.css included in the header of the html whe

Re: ajax and browser back button in wicket 6

2012-08-29 Thread Alec Swan
I found the following class which adds back button support to AJAX components: http://grepcode.com/file/repo1.maven.org/maven2/org.wicketstuff/jquery-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBackButton.java Is this the recommended solution for 1.4.x? What are other alternativ

Re: Best practices for passing configurations, such as Facebook app_id, to JavaScript

2012-08-29 Thread Alec Swan
I implemented the solution proposed by Fergal, but I think I will redo it with Pointbreak's approach which seems to be cleaner. Thanks! Alec On Wed, Aug 29, 2012 at 7:20 AM, Pointbreak wrote: > I would use PackageTextTemplate to render the javascript, e.g. put your > javascript in MyPage.js alo

RE: Nested form submit problem

2012-08-29 Thread Sandor Feher
Many thanks Paul, I will go ahead. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nested-form-submit-problem-tp4651565p4651608.html Sent from the Users forum mailing list archive at Nabble.com. - T

RE: Nested form submit problem

2012-08-29 Thread Paul Bors
Looking over your model_copy.png I feel that my original suggestion holds. * Have each of the rows holding on to the questions as Panels that extend an interface you come up with to persist the question. * Have the Repeating view's model be a list of Panels (I usually use DataTables for this). * W

wicket jquery

2012-08-29 Thread Pratibha
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-jquery-tp4651606.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.

Re: Best practices for passing configurations, such as Facebook app_id, to JavaScript

2012-08-29 Thread Pointbreak
I would use PackageTextTemplate to render the javascript, e.g. put your javascript in MyPage.js along with the other templates, and use ${facebookId} for the id, then add this to your class: @Override public void renderHead(IHeaderResponse response) { super.renderHead(response); PackageTex

Re: Best practices for passing configurations, such as Facebook app_id, to JavaScript

2012-08-29 Thread Fergal Keating
*HTML* * * /* script will be rendered here */ *JAVA* String FacbookJS = " var facebookID = \"" + this.getfacebookID(CurrentDomain) + "\"); "; Label FacebookLabel = new Label("Facebookjs", FacbookJS ); addOrReplace( FacebookLabel.setEscapeModelStrings(false)); On 27 August 2012 15:33, Alec Swan

Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable" error.

2012-08-29 Thread Martin Grigorov
This line says it all: private java.lang.Object org.apache.wicket.model.CompoundPropertyModel.target [class=org.apache.wicket.quickstart.HomePage$SearchOptions] <- field that is not serializable HomePage$SearchOptions is not Serializable On Wed, Aug 29, 2012 at 11:20 AM, Vignesh Palanisamy

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
I second that Vineet. On Wed, Aug 29, 2012 at 4:12 PM, vineet semwal wrote: > passing Requestcycle is kind of useless.., PageRequestHandlerTracker > can itself get the current requestcycle,i think separate methods like > getLastHandler() and getFirstHandler() can be added , they can just > delega

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread vineet semwal
passing Requestcycle is kind of useless.., PageRequestHandlerTracker can itself get the current requestcycle,i think separate methods like getLastHandler() and getFirstHandler() can be added , they can just delegate to the respectve getMethod(RequestCycle) On Wed, Aug 29, 2012 at 1:32 PM, Martin G

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread Martin Grigorov
Thanks ! On Wed, Aug 29, 2012 at 10:00 AM, James Eliyezar wrote: > Updated the wiki "Request Cycle in Wicket > 1.5 > " > > On Wed, Aug 29, 2012 at 3:31 PM, James Eliyezar wrote: > >> That was fast Martin. I'm working

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
Updated the wiki "Request Cycle in Wicket 1.5 " On Wed, Aug 29, 2012 at 3:31 PM, James Eliyezar wrote: > That was fast Martin. I'm working on the wiki now. > > > On Wed, Aug 29, 2012 at 3:27 PM, Martin Grigorov wrote:

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
That was fast Martin. I'm working on the wiki now. On Wed, Aug 29, 2012 at 3:27 PM, Martin Grigorov wrote: > > https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=a5a1fe98e3b76110c6827b5744bf83f45ab0aac4 > > On Wed, Aug 29, 2012 at 9:19 AM, James Eliyezar > wrote: > >

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread Martin Grigorov
https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=a5a1fe98e3b76110c6827b5744bf83f45ab0aac4 On Wed, Aug 29, 2012 at 9:19 AM, James Eliyezar wrote: > I like that deal.. :-) > > On Wed, Aug 29, 2012 at 3:09 PM, Martin Grigorov wrote: > >> I'll improve the javadoc. You i

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
I like that deal.. :-) On Wed, Aug 29, 2012 at 3:09 PM, Martin Grigorov wrote: > I'll improve the javadoc. You improve the wiki page ;-) > > On Wed, Aug 29, 2012 at 9:07 AM, James Eliyezar > wrote: > > Thanks Martin for the info. > > A note in PageRequestHandlerTracker's javadoc can be very usef

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread Martin Grigorov
I'll improve the javadoc. You improve the wiki page ;-) On Wed, Aug 29, 2012 at 9:07 AM, James Eliyezar wrote: > Thanks Martin for the info. > A note in PageRequestHandlerTracker's javadoc can be very useful. > And it will be great if this is reflected in the wiki page "Request Cycle > in wicket

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
Thanks Martin for the info. A note in PageRequestHandlerTracker's javadoc can be very useful. And it will be great if this is reflected in the wiki page "Request Cycle in wicket 1.5 ". On Wed, Aug 29, 2012 at 3:03 PM, Martin Grigorov

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread Martin Grigorov
Hi, Yes, you have to register it. It is not registered by default because not everyone needs it. On Wed, Aug 29, 2012 at 9:01 AM, James Eliyezar wrote: > Guys, > > From the javadoc of IRequestCycleListener, I found that we have to > explicitly register the implementations. > I thought PageReques

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-29 Thread James Eliyezar
Guys, >From the javadoc of IRequestCycleListener, I found that we have to explicitly register the implementations. I thought PageRequestHandlerTracker would have been registered by default as that's from wicket. So, when I registered it manually, it worked as expected. This is how I registered it

RE: Nested form submit problem

2012-08-29 Thread Sandor Feher
Paul Bors wrote > > Must you really have a nested form here? > I think yes. I tried to sketch what I need for better understanding. For example there is a quiestionnarie has five questions. Every question has id and max points can be given and so one. I store the result in a result table and get