Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel
The exception : java.lang.IndexOutOfBoundsException: Index: 0 at java.util.Collections$EmptyList.get(Unknown Source) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:88) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1031) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1107) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1176) -- View this message in context: http://www.nabble.com/have-problems-with-AjaxSelfUpdatingTimerBehavior-and-AjaxTabbedPanel-tf3724059.html#a11604895 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel
I am still having exceptions with this. Im using wicket-1.3 snapshots. (btw, I'm not using wicket's AjaxTabbedPanel, but my own implementations - altough I don't think that's the problem). Help is much appreciated -- View this message in context: http://www.nabble.com/have-problems-with-AjaxSelfUpdatingTimerBehavior-and-AjaxTabbedPanel-tf3724059.html#a11604894 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicketShow(id) : ajax indicators
Right! I found the thing. My indicator was hidden with a style embedded in a css class. When I removed that and put the style attribute inline ... it does business. dx igor.vaynberg wrote: > > On 7/6/07, dx74a19 <[EMAIL PROTECTED]> wrote: >> >> >> Hi >> >> In wicket-ajax.js, the functions wicketShow, wich is supposed to display >> the >> indicator, does this like this: e.style.display = ""; >> >> I had to change this to: e.style.display = "inline";, because the empty >> string was not working for me. The "inline", or "block" does. >> >> Btw, I am not using the indicator-aware stuff from wicket-extensions. I >> wanted one big indicator to be displayed per page, on top z-index - so I >> wrote my AjaxIndicatingWebPage. >> >> comments? > > > dont use wicketShow() :) > > display="" seems to work fine for our usecases, maybe some other style you > have on your usecase interferes. > > -igor > > > > > bye >> >> -- >> View this message in context: >> http://www.nabble.com/wicketShow%28id%29-%3A-ajax-indicators-tf4037325.html#a11470180 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/wicketShow%28id%29-%3A-ajax-indicators-tf4037325.html#a11470545 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicketShow(id) : ajax indicators
Hi In wicket-ajax.js, the functions wicketShow, wich is supposed to display the indicator, does this like this: e.style.display = ""; I had to change this to: e.style.display = "inline";, because the empty string was not working for me. The "inline", or "block" does. Btw, I am not using the indicator-aware stuff from wicket-extensions. I wanted one big indicator to be displayed per page, on top z-index - so I wrote my AjaxIndicatingWebPage. comments? bye -- View this message in context: http://www.nabble.com/wicketShow%28id%29-%3A-ajax-indicators-tf4037325.html#a11470180 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Strange content serialized
Great! Thank u very much! Martijn Dashorst wrote: > > If you run in DEVELOPMENT mode, we try to give you meaningful messages > when you fail to put a component definition in your html file. This is > done by creating a stack trace at the moment of component creation and > addition. This gives you line precise error messages in this case: > > java: > > public MyPage() { > add(new Label("foo", "Hello, World")); > } > > html: > > > Foo > > (note the missing wicket:id in the html file) > > You can turn this off by selecting either: DEPLOYMENT mode in your > web.xml, or by disabling the component use check in your > application#init() method (default on for DEVELOPMENT and default off > for DEPLOYMENT) > > Martijn > > On 7/5/07, dx74a19 <[EMAIL PROTECTED]> wrote: >> >> Hi, I have a question about session files. (second level cache store) >> I was courious, why some of theese file are so big (100k +) so I opened >> one. >> I saw full of partial stack traces - like this: >> >> The ajaxsubmitbutton with id 'updateButton' that failed to render was >> added >> at >> com.panteon.wicket.markup.html.data.CRUDForm$Toolbar.(CRUDForm.java:290) >> at >> com.panteon.wicket.markup.html.data.CRUDForm.newToolbarPanel(CRUDForm.java:25) >> at >> com.panteon.wicket.markup.html.data.DataForm.(DataForm.java:23) >> at >> com.panteon.wicket.markup.html.data.RecordForm.(RecordForm.java:17) >> at >> com.panteon.wicket.markup.html.data.CRUDForm.(CRUDForm.java:10) >> at >> com.panteon.wicket.markup.html.data.CRUDForm.(CRUDForm.java:17) >> at >> com.panteon.em1.panel.client.ClientForm.(ClientForm.java:10) >> at >> com.panteon.em1.panel.client.ClientDetail.(ClientDetail.java:15) >> >> >> All the files are full of this, hundreds of kb, probably for every >> component >> on my pages. It says: failed to render. (???) >> Yet, the application works perfectly fine, the console is quiet, the logs >> are ok... Why / What is this? >> >> Thx >> >> -- >> View this message in context: >> http://www.nabble.com/Strange-content-serialized-tf4028146.html#a11442083 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > > -- > Wicket joins the Apache Software Foundation as Apache Wicket > Apache Wicket 1.3.0-beta2 is released > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Strange-content-serialized-tf4028146.html#a11442535 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Strange content serialized
Hi, I have a question about session files. (second level cache store) I was courious, why some of theese file are so big (100k +) so I opened one. I saw full of partial stack traces - like this: The ajaxsubmitbutton with id 'updateButton' that failed to render was added at com.panteon.wicket.markup.html.data.CRUDForm$Toolbar.(CRUDForm.java:290) at com.panteon.wicket.markup.html.data.CRUDForm.newToolbarPanel(CRUDForm.java:25) at com.panteon.wicket.markup.html.data.DataForm.(DataForm.java:23) at com.panteon.wicket.markup.html.data.RecordForm.(RecordForm.java:17) at com.panteon.wicket.markup.html.data.CRUDForm.(CRUDForm.java:10) at com.panteon.wicket.markup.html.data.CRUDForm.(CRUDForm.java:17) at com.panteon.em1.panel.client.ClientForm.(ClientForm.java:10) at com.panteon.em1.panel.client.ClientDetail.(ClientDetail.java:15) All the files are full of this, hundreds of kb, probably for every component on my pages. It says: failed to render. (???) Yet, the application works perfectly fine, the console is quiet, the logs are ok... Why / What is this? Thx -- View this message in context: http://www.nabble.com/Strange-content-serialized-tf4028146.html#a11442083 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Model.getObject & non-processing form submits
Thank god, I fixed it :) I had to iterate trough FormComponents and call valid(). modelChanged() shoud work also, I think. -- View this message in context: http://www.nabble.com/Model.getObject---non-processing-form-submits-tf4025837.html#a11435495 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Model.getObject & non-processing form submits
Hi How do I make that IModel.getObject of FormComponets gets called on every request? I have a form, wich dislpays a record from a database. On the form I have put buttons for navigation - previos and next records and so on. These buttons have DefaultFormProcessing set to false (needs to be, dont want validation when navigating away from the record) - and then... the form values are not updated from the model .. I must be missing something. ??? Thanks -- View this message in context: http://www.nabble.com/Model.getObject---non-processing-form-submits-tf4025837.html#a11435288 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ajax update for header
Ok, now I think I found what was going on... Previously I tought I resolved the thing by upgrading to latest 1.3, but it was only sporadic behaviour.. I wrote my own TabbedPanel. Just because I needed that sometimes its ajax, and sometimes not, based on a constructor boolean (and I wanted that because I was trying to get rid of the error that pops up when AjaxSelfUpdatingTimerBehavior is on one tab and when switching to another - btw, a non-ajax tabbedpanel does not help, but anyway...). And on top of that, I want to switch tabbedPanel tabs, also by setting a session variable, without the caller referencing the panel directly. When doing that, the only place, where I can call panel.replace(..), to switch the tab content, is inside onBeforeRender - and that appears to be "too late" - the css does not get included. I resolved now the problem in that way: my session "variable", wich hold the selected tab index, gets bound with the TabbedPanel - it holds a SoftReference to the Panel - that way, when setting the tab index, the session object knows to call setSelectedTab, which in turn calls panel.replace - all before onBeforeRender. And looks like that works. Sorry, if this post is so verbose. Bye dx74a19 wrote: > > Hi all, > When I call ajaxRequestTarget.addComponent(theUpdatedComponent), and that > component has associated markup, AND it includes Css (via > add(.forCss("x")) ... does the ajax request take care of the css (add it > to the page's styles somehow, automatique')? > > Dont know how or why, I found that issue in my app just now, after 3 > months of developing... Hope it's just my err somewhere.. > > Btw, wicket is great. I choose it after evaluating many, many, MANY > frameworks. > Just keep it cool & tidy. Thx ;) > > -- View this message in context: http://www.nabble.com/ajax-update-for-header-tf3791286.html#a10762427 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ajax update for header
That was one quick response. Thanks. Now I got the latest wicket-1.3-SNAPSHOT - and it works ok. I'll investigate further if I find something again... igor.vaynberg wrote: > > yes wicket should take care of that for you. if it doesnt file a bug with > a > reproducable test case. > > -igor > > > On 5/21/07, dx74a19 <[EMAIL PROTECTED]> wrote: >> >> >> Hi all, >> When I call ajaxRequestTarget.addComponent(theUpdatedComponent), and that >> component has associated markup, AND it includes Css (via >> add(.forCss("x")) >> ... does the ajax request take care of the css (add it to the page's >> styles >> somehow, automatique')? >> >> Dont know how or why, I found that issue in my app just now, after 3 >> months >> of developing... Hope it's just my err somewhere.. >> >> Btw, wicket is great. I choose it after evaluating many, many, MANY >> frameworks. >> Just keep it cool & tidy. Thx ;) >> >> -- >> View this message in context: >> http://www.nabble.com/ajax-update-for-header-tf3791286.html#a10721912 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/ajax-update-for-header-tf3791286.html#a10722587 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] ajax update for header
Hi all, When I call ajaxRequestTarget.addComponent(theUpdatedComponent), and that component has associated markup, AND it includes Css (via add(.forCss("x")) ... does the ajax request take care of the css (add it to the page's styles somehow, automatique')? Dont know how or why, I found that issue in my app just now, after 3 months of developing... Hope it's just my err somewhere.. Btw, wicket is great. I choose it after evaluating many, many, MANY frameworks. Just keep it cool & tidy. Thx ;) -- View this message in context: http://www.nabble.com/ajax-update-for-header-tf3791286.html#a10721912 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user