style/variation
First of all: Sorry that I posted my issue so often. But as you've seen, the mail body wasn't shown. Nevertheless, is anyone well versed in styles and variations? Please have a look at my last posting or http://markmail.org/search/?q=liz+huber#query:liz%20huber+page:1+mid:ad6axeezpk6ktzbl+state:results Liz -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to make a popup page for exception handling?
what is the type of the errorWindow? Is the errorWindow a new page or a part of the existing page? Best regards, Mo Newgro wrote: I know how to show the exception in a feedback panel. But how to make the popup dependent on the results of submission You could add the errorWindow to your page and in your catch you can show it. But it's only working with ajax. add errorWindow to markup and in class. try { exceptionalCode(); } catch (TheExpectedException e) { errorWindow.setModel(new Model(e)); errorWindow.show(); } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/How-to-make-a-popup-page-for-exception-handling--tp21588129p21600597.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Tooltip on IE7
Hello, I'm using a tooltip as described here: http://cwiki.apache.org/WICKET/how-to-add-tooltips.html and it works fine on Firefox 3.0.5. But on Internet Explorer 7 i've got a strange behaviour when i try to add the tooltip on a td element: the tooltip is displayed but after the label there is a string with null value. For instance if i set the label Hello World on a td element i've got on the tooltip the text Hello World null (with null that is in a new line). Any clue ? The html is rendered fine with no null string. I'm using wicket 1.3.4. Thanks, Emanuele - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to make a popup page for exception handling?
Its a ModalWindow. Sorry for being unclear here. Check this for usage http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 There you can find the sources (right upper corner) on howto use it with page in it and so on. HTH Per -- View this message in context: http://www.nabble.com/How-to-make-a-popup-page-for-exception-handling--tp21588129p21601120.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Howto test clicking a CheckboxMultipleChoice
Hi *, can someone tell me how i can click a choice in CheckboxMultipleChoice component. I use a Formtester, but can't get the path to the input related to choice. There is no wicketid assigned to the input. So i can't use click. Cheers Per -- View this message in context: http://www.nabble.com/Howto-test-clicking-a-CheckboxMultipleChoice-tp21601616p21601616.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Retrieve RemoteUser from HttpServletRequest
On Wed, Jan 21, 2009 at 14:37, Luca Provenzani eufor...@gmail.com wrote: Thank You for answer Bert I'll try to retrieve remoteAddress in this way(tomorrow morning, ehm for Italy ;-), because now i'm working for an other project). that would be the same timezone as me (germany) but... i need to retrieve the authenticated remoteUser, not the UserAgent, how can i do this? what do you mean with remoteUser? the Authentification the user has on his PC? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
DefaultDataTable and AjaxEditableLabel
Dear all, I try to create an editable column using DefaultDataTable and AjaxEditableLabel. My current version is posted below but it's quite a hack and I wonder whether there's an official good solution for that before I go on with my work. Thanks al lot for your help Philipp HTML:table class=tablename cellspacing=0 wicket:id=termTable[table]/table Java: columns = new ArrayListIColumn(); columns.add(new AbstractColumn(new Model(ColumnName)) { public void populateItem(Item cellItem, String componentId, final IModel model) { cellItem.setModel(model); ObjectToDisplay to = (ObjectToDisplay )cellItem.getModelObject(); String attribute1= to.getAttribute1(); cellItem.add(new AjaxEditableLabel(componentId, new Model(attribute1)) { @Override protected void onSubmit(AjaxRequestTarget target) { super.onSubmit(target); String newAttribute1 = (String) getModelObject(); ObjectToDisplay obj = (ObjectToDisplay ) getParent().getModelObject(); obj.setAttribute1(newAttribute1); System.out.println(New Attribute for + obj .getId() + : + obj .getAttribute1(); } }); } add(new DefaultDataTable(tablename, columns, provider, 20)); SortableDataProvider provider = new SortableDataProvider() { public int size() { return resultList.getEntries().size(); } public IModel model(Object object) { TableObject entry = (TableObject) object; return new Model((Serializable) entry); } /*public Iterator iterator(int first, int count) { return resultList.selectEntries(first, count).iterator(); }*/ public Iterator iterator(int first, int count) { SortParam sp = getSort(); return resultList.selectEntries(first, count, sp).iterator(); } }; -- Averbis GmbH c/o Klinikum der Albert-Ludwigs-Universität Stefan-Meier-Strasse 26 D-79104 Freiburg Fon: +49 (0) 761 - 203 6707 Fax: +49 (0) 761 - 203 6800 E-Mail: dau...@averbis.de Geschäftsführer: Dr. med. Philipp Daumke, Kornél Markó Sitz der Gesellschaft: Freiburg i. Br. AG Freiburg i. Br., HRB 701080 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to make a popup page for exception handling?
To show the ModalWindow you need an AjaxRequestTarget. where do you get that from? Newgro wrote: Its a ModalWindow. Sorry for being unclear here. Check this for usage http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 There you can find the sources (right upper corner) on howto use it with page in it and so on. HTH Per -- View this message in context: http://www.nabble.com/How-to-make-a-popup-page-for-exception-handling--tp21588129p21604441.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to make a popup page for exception handling?
Fkleinko wrote: To show the ModalWindow you need an AjaxRequestTarget. where do you get that from? AjaxLink theLinkThatWillShowTheModalWindowIfItsClicked = new AjaxLink(...) { public void onClick(AjaxRequestTarget target) { myModalWindow.show(target); } } Please check the examples i gave you. It's all there. Cheers Per -- View this message in context: http://www.nabble.com/How-to-make-a-popup-page-for-exception-handling--tp21588129p21604547.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket presentation at Bulgarian JUG
Hey Martin, That's a great idea. Only that I don't know if there's a wicket group or anything in Romania. I'm already a huge fan of Wicket and use it all the time for the stuff I do in my own private company, but I really don't know about any community, any interest. But I cannot make it in February. I'm happily stuck in Buenos Aires at an Oracle client till the middle of the year, my regular employee. Hope we get another chance though, Cristi Manole On Thu, Jan 22, 2009 at 5:09 AM, Martin Grigorov mcgreg...@e-card.bgwrote: Thanks for the kind words, everyone ! @Cristi: there is a chance I could be in Bucharest next month, around 13-16 Feb. If you are interested I could make the presentation again for you guys. El dom, 18-01-2009 a las 14:38 -0200, Cristi Manole escribió: Yeah, absolutely, good stuff. Congrats. I wish we'd be having one presentation like this in Romania too. Cristi Manole On Sun, Jan 18, 2009 at 2:34 PM, Peter Thomas ptrtho...@gmail.com wrote: On Sun, Jan 18, 2009 at 8:42 PM, Martin Grigorov martin.grigo...@fredhopper.com wrote: Hi all, I just uploaded the presentation that me and a colleague of mine did last Wednesday at Bulgarian Java user group. The event was quite a success. I hope we refactored some of the JSF supporters :-) The interesting thing about this presentation is that it was made with Wicket itself. Yes, the presentation is a web application that shows the Wicket concepts in action. Just looked at it. Really neat, congratulations ! Thanks for making the source available as well. Just wanted to mention for the benefit of others that I initially did not notice the link to the English version - but was glad to find it at the bottom of the page. Oh and a very minor nit-pick - the title of the last slide (English) says Q amp; A You could see the presentation at http://marto.homeunix.org:8080/presentation And download the application from http://groups.google.com/group/bg-jug/web/20090114-bgjug-wicket.tgz Cheers martin-g P.S. As a source of inspiration we used all the presentations we found out there. Credits shared with their authors ! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AjaxRequestTarget.prependJavascript () seems to not evaluate a javascript
Hi there, Actually I have a behavior which implemented like the following @Override public void onRendered (Component component) { String scr = null; if (isAjaxRequest ()) { AjaxRequestTarget t = (AjaxRequestTarget)RequestCycle.get ().getRequestTarget (); if ((scr = getStartupJavascript ()) != null) { t.appendJavascript (scr); // WORKS FINE } if ((scr = getCleanupJavascript ()) != null) { t.prependJavascript (scr); // IS DEFINITELY CALLED! I SENDS JUST 'ALERT (1);' } } } And I cannot find the script it is supposed to send to a browser in the wicket ajax console. Am I doing something wrong? Vitaly - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to make a popup page for exception handling?
I tried them, I can generate the modal Window. but the AjaxLink is not submit link for a form. I need to show the error message only if there is form processing error. Should I use AjaxSubmitLink instead? or do you have some examples similar to this condition? cheers, :) Mo Newgro wrote: Fkleinko wrote: To show the ModalWindow you need an AjaxRequestTarget. where do you get that from? AjaxLink theLinkThatWillShowTheModalWindowIfItsClicked = new AjaxLink(...) { public void onClick(AjaxRequestTarget target) { myModalWindow.show(target); } } Please check the examples i gave you. It's all there. Cheers Per -- View this message in context: http://www.nabble.com/How-to-make-a-popup-page-for-exception-handling--tp21588129p21605575.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: DefaultDataTable and AjaxEditableLabel
Philipp Daumke schrieb: I try to create an editable column using DefaultDataTable and AjaxEditableLabel. My current version is posted below but it's quite a hack and I wonder whether there's an official good solution for that before I go on with my work. i think the passing of your models is a little weird. anyhow, you might want to take a look at this example: http://wicketstuff.org/wicket13/nested/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.ajax.builtin.tree.EditableTreeTablePage cu uwe -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 0 F + 49 761 3 85 59 550 E schae...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947 Registrieren Sie sich unter http://morningnews.thomas-daily.de für die kostenfreien TD Morning News, eine Auswahl aktueller Themen des Tages morgens um 9:00 in Ihrer Mailbox. Hinweis: Der Redaktionsschluss für unsere TD Morning News ist täglich um 8:30 Uhr. Es werden vorrangig Informationen berücksichtigt, die nach 16:00 Uhr des Vortages eingegangen sind. Die Email-Adresse unserer Redaktion lautet redakt...@thomas-daily.de. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket presentation at JUGPadova
Ehr someone not anyone :) On Wed, 2009-01-21 at 22:46 +0100, Emanuele Gesuato wrote: Maybe anyone could find it useful. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket presentation at JUGPadova
from Bari to Padova isn't that easy. We'll do our best :D 2009/1/22 Emanuele Gesuato egesu...@ibc.it Ehr someone not anyone :) On Wed, 2009-01-21 at 22:46 +0100, Emanuele Gesuato wrote: Maybe anyone could find it useful. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: DefaultDataTable and AjaxEditableLabel
Hi Uwe, thanks for the link. I agree that my model passing is weird. Your link to the example explains an editable TreeTable but I look for a DataTable example. In that tree table example I cannot use the tree.table.PropertyEditableColumn as as the DefaultDataTable I want to use requires data.table.IColumns (not tree.table.IColumns) , or am I wrong? Or can I just cast them? Another ideas? Not to be mentioned I'm a wicket newbie and there's maybe a very simple solution for that Thanks, Philipp Philipp Daumke schrieb: I try to create an editable column using DefaultDataTable and AjaxEditableLabel. My current version is posted below but it's quite a hack and I wonder whether there's an official good solution for that before I go on with my work. i think the passing of your models is a little weird. anyhow, you might want to take a look at this example: http://wicketstuff.org/wicket13/nested/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.ajax.builtin.tree.EditableTreeTablePage cu uwe -- Averbis GmbH c/o Klinikum der Albert-Ludwigs-Universität Stefan-Meier-Strasse 26 D-79104 Freiburg Fon: +49 (0) 761 - 203 6707 Fax: +49 (0) 761 - 203 6800 E-Mail: dau...@averbis.de Geschäftsführer: Dr. med. Philipp Daumke, Kornél Markó Sitz der Gesellschaft: Freiburg i. Br. AG Freiburg i. Br., HRB 701080 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Duplicate objects in db4o with back button
I am using wicket 1.3.5 and db4o 7.4.63.11890. My objects are being passed between pages using a subclass of LoadableDetachableModel (see below) My problem is: 1. I edit an object on PageA 2. I use the back button and then re-submit the form I edited and now I have two objects in the database. Any ideas on why this is happening? Cheers, Pieter package com.musmato.wicket.model; import org.apache.wicket.model.LoadableDetachableModel; import com.musmato.dao.BaseFactory; public abstract class BaseWebModelT extends LoadableDetachableModel { private static final long serialVersionUID = 1L; protected Long id; public abstract ClassT getBaseClass(); public abstract BaseFactoryT getFactory(); public BaseWebModel(Long id) { this.id = id; } public BaseWebModel(T object) { this.id = getFactory().getID(object); } @Override protected Object load() { if (id == null) { return getFactory().getNewObject(); } return getFactory().getById(id); } }
Wicket/Salve/Hibernate Examples
Can anyone point me to any example applications that are along the lines of Wicketstuff Phonebook, but that utilize Salve and Hibernate? Does anything like that exist? Thanks, Tauren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Duplicate objects in db4o with back button
when you save the entity, make sure you update the ID in the LDM to point to the newly created object. Martijn On Thu, Jan 22, 2009 at 5:05 PM, pieter claassen pie...@claassen.co.uk wrote: I am using wicket 1.3.5 and db4o 7.4.63.11890. My objects are being passed between pages using a subclass of LoadableDetachableModel (see below) My problem is: 1. I edit an object on PageA 2. I use the back button and then re-submit the form I edited and now I have two objects in the database. Any ideas on why this is happening? Cheers, Pieter package com.musmato.wicket.model; import org.apache.wicket.model.LoadableDetachableModel; import com.musmato.dao.BaseFactory; public abstract class BaseWebModelT extends LoadableDetachableModel { private static final long serialVersionUID = 1L; protected Long id; public abstract ClassT getBaseClass(); public abstract BaseFactoryT getFactory(); public BaseWebModel(Long id) { this.id = id; } public BaseWebModel(T object) { this.id = getFactory().getID(object); } @Override protected Object load() { if (id == null) { return getFactory().getNewObject(); } return getFactory().getById(id); } } -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Retrieve RemoteUser from HttpServletRequest
my application works on an apache-tomcat server. And on this server my client has his authentication system that is similar to the Apache Basic Authentication. Than, i need to read remoteUser that contains the id of the user. thank you for your attention Luca 2009/1/22 Bert taser...@gmail.com On Wed, Jan 21, 2009 at 14:37, Luca Provenzani eufor...@gmail.com wrote: Thank You for answer Bert I'll try to retrieve remoteAddress in this way(tomorrow morning, ehm for Italy ;-), because now i'm working for an other project). that would be the same timezone as me (germany) but... i need to retrieve the authenticated remoteUser, not the UserAgent, how can i do this? what do you mean with remoteUser? the Authentification the user has on his PC? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Retrieve RemoteUser from HttpServletRequest
servlethttprequest r=((webrequest)getrequestcycle().getrequest()).gethttpservletrequest(); -igor On Thu, Jan 22, 2009 at 8:40 AM, Luca Provenzani eufor...@gmail.com wrote: my application works on an apache-tomcat server. And on this server my client has his authentication system that is similar to the Apache Basic Authentication. Than, i need to read remoteUser that contains the id of the user. thank you for your attention Luca 2009/1/22 Bert taser...@gmail.com On Wed, Jan 21, 2009 at 14:37, Luca Provenzani eufor...@gmail.com wrote: Thank You for answer Bert I'll try to retrieve remoteAddress in this way(tomorrow morning, ehm for Italy ;-), because now i'm working for an other project). that would be the same timezone as me (germany) but... i need to retrieve the authenticated remoteUser, not the UserAgent, how can i do this? what do you mean with remoteUser? the Authentification the user has on his PC? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Duplicate objects in db4o with back button
http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ notice the deatch() implementation -igor On Thu, Jan 22, 2009 at 8:05 AM, pieter claassen pie...@claassen.co.uk wrote: I am using wicket 1.3.5 and db4o 7.4.63.11890. My objects are being passed between pages using a subclass of LoadableDetachableModel (see below) My problem is: 1. I edit an object on PageA 2. I use the back button and then re-submit the form I edited and now I have two objects in the database. Any ideas on why this is happening? Cheers, Pieter package com.musmato.wicket.model; import org.apache.wicket.model.LoadableDetachableModel; import com.musmato.dao.BaseFactory; public abstract class BaseWebModelT extends LoadableDetachableModel { private static final long serialVersionUID = 1L; protected Long id; public abstract ClassT getBaseClass(); public abstract BaseFactoryT getFactory(); public BaseWebModel(Long id) { this.id = id; } public BaseWebModel(T object) { this.id = getFactory().getID(object); } @Override protected Object load() { if (id == null) { return getFactory().getNewObject(); } return getFactory().getById(id); } } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: DefaultDataTable and AjaxEditableLabel
columns.add(new AbstractColumn(new Model(ColumnName)) { public void populateItem(Item cellItem, String componentId, final IModel model) { cellItem.add(new AjaxEditableLabel(componentId, new PropertyModel(model, 'attribute1')); } -igor On Thu, Jan 22, 2009 at 4:59 AM, Philipp Daumke dau...@averbis.de wrote: Dear all, I try to create an editable column using DefaultDataTable and AjaxEditableLabel. My current version is posted below but it's quite a hack and I wonder whether there's an official good solution for that before I go on with my work. Thanks al lot for your help Philipp HTML:table class=tablename cellspacing=0 wicket:id=termTable[table]/table Java: columns = new ArrayListIColumn(); columns.add(new AbstractColumn(new Model(ColumnName)) { public void populateItem(Item cellItem, String componentId, final IModel model) { cellItem.setModel(model); ObjectToDisplay to = (ObjectToDisplay )cellItem.getModelObject(); String attribute1= to.getAttribute1(); cellItem.add(new AjaxEditableLabel(componentId, new Model(attribute1)) { @Override protected void onSubmit(AjaxRequestTarget target) { super.onSubmit(target); String newAttribute1 = (String) getModelObject(); ObjectToDisplay obj = (ObjectToDisplay ) getParent().getModelObject(); obj.setAttribute1(newAttribute1); System.out.println(New Attribute for + obj .getId() + : + obj .getAttribute1(); } }); } add(new DefaultDataTable(tablename, columns, provider, 20)); SortableDataProvider provider = new SortableDataProvider() { public int size() { return resultList.getEntries().size(); } public IModel model(Object object) { TableObject entry = (TableObject) object; return new Model((Serializable) entry); } /*public Iterator iterator(int first, int count) { return resultList.selectEntries(first, count).iterator(); }*/ public Iterator iterator(int first, int count) { SortParam sp = getSort(); return resultList.selectEntries(first, count, sp).iterator(); } }; -- Averbis GmbH c/o Klinikum der Albert-Ludwigs-Universität Stefan-Meier-Strasse 26 D-79104 Freiburg Fon: +49 (0) 761 - 203 6707 Fax: +49 (0) 761 - 203 6800 E-Mail: dau...@averbis.de Geschäftsführer: Dr. med. Philipp Daumke, Kornél Markó Sitz der Gesellschaft: Freiburg i. Br. AG Freiburg i. Br., HRB 701080 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to make a popup page for exception handling?
Hi Mo, I tried them, I can generate the modal Window. but the AjaxLink is not submit link for a form. I need to show the error message only if there is form processing error. Should I use AjaxSubmitLink instead? or do you have some examples similar to this condition? If the alerts you want to show are tied to the existence of form processing errors then prehaps you should subclass FeedbackPanel to add in a javascript popup alert in addition to/replacing the standard behavior of displaying the form errors in an unordered list? Or you could create a panel consisting of the modal window and the activation link but tied to the existence of feedback messages. If there are zero feedback messages (the form not submitted yet case) you can have the panel invisible to start with (i.e. the link would not be there or say something like 'No Errors'). When there are errors present the link would be visible (or say something link 'There are X errors') clicking the link would show the modal window with the errors. Normally feedback messages are expected to be consumed by the feedback panels during the rendering phase so they are cleared at the end of the form submission request; you might have to cache it somewhere so that the modal window will have the data available it since it populates itself via an ajax update after the form submitting request that generated the errors has already finished. Regards, Mike cheers, :) Mo Newgro wrote: Fkleinko wrote: To show the ModalWindow you need an AjaxRequestTarget. where do you get that from? AjaxLink theLinkThatWillShowTheModalWindowIfItsClicked = new AjaxLink(...) { public void onClick(AjaxRequestTarget target) { myModalWindow.show(target); } } Please check the examples i gave you. It's all there. Cheers Per
Re: Wicket/Salve/Hibernate Examples
Francisco, Thanks! Actually, I was just reading that post of Igor's which prompted my question. But I was hoping there might be an integrated sample app (or maven archetype would be even better!) to experiment with to save me the time of putting it all together. Anyone else know of any samples or open projects using this combination that I could check out? Thanks, Tauren On Thu, Jan 22, 2009 at 8:46 AM, francisco treacy francisco.tre...@gmail.com wrote: not an app, but maybe this helps: http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ francisco On Thu, Jan 22, 2009 at 5:06 PM, Tauren Mills tau...@tauren.com wrote: Can anyone point me to any example applications that are along the lines of Wicketstuff Phonebook, but that utilize Salve and Hibernate? Does anything like that exist? Thanks, Tauren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket/Salve/Hibernate Examples
http://code.google.com/p/elephas/source/browse/#svn/trunk for instance, http://code.google.com/p/elephas/source/browse/trunk/src/main/java/org/elephas/model/Blog.java francisco On Thu, Jan 22, 2009 at 6:09 PM, Tauren Mills tau...@tauren.com wrote: Francisco, Thanks! Actually, I was just reading that post of Igor's which prompted my question. But I was hoping there might be an integrated sample app (or maven archetype would be even better!) to experiment with to save me the time of putting it all together. Anyone else know of any samples or open projects using this combination that I could check out? Thanks, Tauren On Thu, Jan 22, 2009 at 8:46 AM, francisco treacy francisco.tre...@gmail.com wrote: not an app, but maybe this helps: http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ francisco On Thu, Jan 22, 2009 at 5:06 PM, Tauren Mills tau...@tauren.com wrote: Can anyone point me to any example applications that are along the lines of Wicketstuff Phonebook, but that utilize Salve and Hibernate? Does anything like that exist? Thanks, Tauren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: style/variation
Liz, We have completely customized the location of resources in Wicket. Here's what I learned on the subject: http://mail-archives.apache.org/mod_mbox/wicket-users/200804.mbox/8ee6dd5c0804221651h70660293pb505d19c2c21e...@mail.gmail.com - Scott On Thu, Jan 22, 2009 at 12:22 AM, Liz Huber liz.hu...@gmx.net wrote: First of all: Sorry that I posted my issue so often. But as you've seen, the mail body wasn't shown. Nevertheless, is anyone well versed in styles and variations? Please have a look at my last posting or http://markmail.org/search/?q=liz+huber#query:liz%20huber+page:1+mid:ad6axeezpk6ktzbl+state:results Liz -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket stuff core, archetypes?
your plan makes sense to me. it seems like moving ahead with a wicket component metadata standard would be a good thing to do in parallel though. +1 the problem here though is that for things to work in parallel, well, by definition, you need more than 1 person doing stuff :) i guess the question is... who wants to move ahead with the component metadata standard while i develop stuff into wickethub? it would be also nice to have at least one example of wicket component with metadata to play with. for a list of things i plan to do, check the issues tab of the project home - and feel free to add. regards francisco On Wed, Jan 21, 2009 at 8:07 AM, Jonathan Locke jonathan.lo...@gmail.com wrote: that's too bad. i was hoping nexus was a centralized index of all known public repos. your plan makes sense to me. it seems like moving ahead with a wicket component metadata standard would be a good thing to do in parallel though. jon francisco treacy-2 wrote: hi jon, it would be nice to enable other parties to build similar wicket component searching technologies that are not linked to wicket hub definitely my simplistic understanding was that nexus could search for jars with certain files in them. not unless you extend it it ought to be extended so that it can do that. it would be worth talking to them about our needs to see if they could help us i have contacted them: see the thread http://nexus.sonatype.org/mailing-list-user-archives.html#nabble-f34835 basically it is technically possible to do what we need with nexus. the problem is that this wicket-aware extended nexus version has to be installed in every single repo we may want to synchronize with. so once we have done the coding we'll have to contact maven central (and other) repo owners. so it boils down to diplomacy rather than programming =) so: for now i will focus on submit jar url support that we will need anyway (for non-mavenized wicket components). at the moment this also will be useful for components in maven repos. and the day we manage to have an automatic 'discovery' process - people won't be required to submit wicket-enabled-repo urls anymore. how does that sound? francisco On Sat, Jan 17, 2009 at 10:02 PM, Jonathan Locke jonathan.lo...@gmail.com wrote: i think maven searching is an ideal way to publish and discover wicket components at present. i never meant to imply that that should be the only way to do this or that the idea of a wicket component jar should be tied to something like a repository or a transport. i also don't think it should be tied to a specific repo of discovered meta information like wicket hub. that creates a centralized architecture and as much as i like the idea of wicket hub a lot, it would be nice to enable other parties to build similar wicket component searching technologies that are not linked to wicket hub. for example, someone could gather wicket components for an IDE plugin, to store in some other type of repository than maven or to create an index for some future google search plugin. my simplistic understanding was that nexus could search for jars with certain files in them. all we need from nexus is the ability to get a list of jar artifacts which contain the file META-INF/wicket/components.xml because all such files will be wicket component jars (subject to downloading and parsing, of course). if nexus can't do that, i think that's a flaw in nexus and it ought to be extended so that it can do that. it would be worth talking to them about our needs to see if they could help us. i think that a nexus driven wicket component repository would be beneficial advertising for the nexus project, and it should not be too hard to achieve. jon francisco treacy-2 wrote: you're certainly free to go in whatever direction you want, to be clear, i fully agree on the decentralized model for: - people and the development of this app, and data contributed by wicket users: this should be as democratic as possible - artifacts / components: there may someday be wicket components in central or elsewhere, even outside maven repos (downloadable via HTTP like matej's inmethod stuff was for a while) we should support any mavenized or non-mavenized artifacts, wherever those may live - you're right there (however i thought you said before you were interested at present only by components delivered by maven). parsing the metadata would be done after you download the artifact that you found. okay, fair enough. i have some doubts though: 1. in this scenario, downloading every artifact on earth just to open it and see if there's some wicket info inside is... impossible. 2. you just need to find the artifact with nexus. in your original blog post you say Basically, I'd like to see us crawl maven repos looking for JAR'ed Wicket components with a particular set of meta-data i don't see how
wicket jmx panel
Hello, I am interested in bringing the wicket-stuff's jmx panel up to date (that upgrade it to 1.4). How do I go about this? Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Page Maps and Expirations
In some of our Wicket applications, as the number of users has started to ramp up, we seem to be experiencing a scalability issue. Some users have had problems with pages expiring quickly. This is second-hand information so I can't elaborate much but supposedly, during peak times, pages are expiring after just a few minutes of inactivity. It would be nice to be able to set a minimum retention time but I don't seem to see an option like that. I've found information about how Wicket stores pages and revisions (http://cwiki.apache.org/WICKET/page-maps.html) but I haven't been able to find much on how Wicket manages that data when things start filling up. Are there any good explanations out there on the web? -Brandon -- View this message in context: http://www.nabble.com/Page-Maps-and-Expirations-tp21610595p21610595.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Duplicate objects in db4o with back button
Thanks for both responses. I can see what I am supposed to do, what I don't understand is what is going wrong. Why when I click on the back button, does the id of my object become invalid? Any pointers in the wicket docs to understand this better? Regards, Pieter BTW Thanks for a great framework. On Thu, Jan 22, 2009 at 5:44 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ notice the deatch() implementation -igor On Thu, Jan 22, 2009 at 8:05 AM, pieter claassen pie...@claassen.co.uk wrote: I am using wicket 1.3.5 and db4o 7.4.63.11890. My objects are being passed between pages using a subclass of LoadableDetachableModel (see below) My problem is: 1. I edit an object on PageA 2. I use the back button and then re-submit the form I edited and now I have two objects in the database. Any ideas on why this is happening? Cheers, Pieter package com.musmato.wicket.model; import org.apache.wicket.model.LoadableDetachableModel; import com.musmato.dao.BaseFactory; public abstract class BaseWebModelT extends LoadableDetachableModel { private static final long serialVersionUID = 1L; protected Long id; public abstract ClassT getBaseClass(); public abstract BaseFactoryT getFactory(); public BaseWebModel(Long id) { this.id = id; } public BaseWebModel(T object) { this.id = getFactory().getID(object); } @Override protected Object load() { if (id == null) { return getFactory().getNewObject(); } return getFactory().getById(id); } } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Duplicate objects in db4o with back button
when you click the back button you go to a previous version of the page (a snapshot as it existed when rendered). in that version the id inside the model is still null. -igor On Thu, Jan 22, 2009 at 10:48 AM, pieter claassen pieter.claas...@gmail.com wrote: Thanks for both responses. I can see what I am supposed to do, what I don't understand is what is going wrong. Why when I click on the back button, does the id of my object become invalid? Any pointers in the wicket docs to understand this better? Regards, Pieter BTW Thanks for a great framework. On Thu, Jan 22, 2009 at 5:44 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ notice the deatch() implementation -igor On Thu, Jan 22, 2009 at 8:05 AM, pieter claassen pie...@claassen.co.uk wrote: I am using wicket 1.3.5 and db4o 7.4.63.11890. My objects are being passed between pages using a subclass of LoadableDetachableModel (see below) My problem is: 1. I edit an object on PageA 2. I use the back button and then re-submit the form I edited and now I have two objects in the database. Any ideas on why this is happening? Cheers, Pieter package com.musmato.wicket.model; import org.apache.wicket.model.LoadableDetachableModel; import com.musmato.dao.BaseFactory; public abstract class BaseWebModelT extends LoadableDetachableModel { private static final long serialVersionUID = 1L; protected Long id; public abstract ClassT getBaseClass(); public abstract BaseFactoryT getFactory(); public BaseWebModel(Long id) { this.id = id; } public BaseWebModel(T object) { this.id = getFactory().getID(object); } @Override protected Object load() { if (id == null) { return getFactory().getNewObject(); } return getFactory().getById(id); } } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket jmx panel
get commit access to wicket stuff and go for it -igor On Thu, Jan 22, 2009 at 10:46 AM, Erik van Oosten e.vanoos...@grons.nl wrote: Hello, I am interested in bringing the wicket-stuff's jmx panel up to date (that upgrade it to 1.4). How do I go about this? Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page Maps and Expirations
couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load balancing do you have? -do the expirations happen during normal operation or only when using back button (or using application in multiple tabs) -Matej On Thu, Jan 22, 2009 at 7:47 PM, UPBrandon bcr...@up.com wrote: In some of our Wicket applications, as the number of users has started to ramp up, we seem to be experiencing a scalability issue. Some users have had problems with pages expiring quickly. This is second-hand information so I can't elaborate much but supposedly, during peak times, pages are expiring after just a few minutes of inactivity. It would be nice to be able to set a minimum retention time but I don't seem to see an option like that. I've found information about how Wicket stores pages and revisions (http://cwiki.apache.org/WICKET/page-maps.html) but I haven't been able to find much on how Wicket manages that data when things start filling up. Are there any good explanations out there on the web? -Brandon -- View this message in context: http://www.nabble.com/Page-Maps-and-Expirations-tp21610595p21610595.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket stuff core, archetypes?
i don't have time to develop the metadata standard, but i could make time to review it. there are a few good things on that wiki page, but i'd say a bit more thinking could be applied (anyone want to help francisco?) and then get review from me and any other core devs who want to chime in. if wicket-user/wicket-dev then goes +1 on it, that's the standard. jon francisco treacy-2 wrote: your plan makes sense to me. it seems like moving ahead with a wicket component metadata standard would be a good thing to do in parallel though. +1 the problem here though is that for things to work in parallel, well, by definition, you need more than 1 person doing stuff :) i guess the question is... who wants to move ahead with the component metadata standard while i develop stuff into wickethub? it would be also nice to have at least one example of wicket component with metadata to play with. for a list of things i plan to do, check the issues tab of the project home - and feel free to add. regards francisco On Wed, Jan 21, 2009 at 8:07 AM, Jonathan Locke jonathan.lo...@gmail.com wrote: that's too bad. i was hoping nexus was a centralized index of all known public repos. your plan makes sense to me. it seems like moving ahead with a wicket component metadata standard would be a good thing to do in parallel though. jon francisco treacy-2 wrote: hi jon, it would be nice to enable other parties to build similar wicket component searching technologies that are not linked to wicket hub definitely my simplistic understanding was that nexus could search for jars with certain files in them. not unless you extend it it ought to be extended so that it can do that. it would be worth talking to them about our needs to see if they could help us i have contacted them: see the thread http://nexus.sonatype.org/mailing-list-user-archives.html#nabble-f34835 basically it is technically possible to do what we need with nexus. the problem is that this wicket-aware extended nexus version has to be installed in every single repo we may want to synchronize with. so once we have done the coding we'll have to contact maven central (and other) repo owners. so it boils down to diplomacy rather than programming =) so: for now i will focus on submit jar url support that we will need anyway (for non-mavenized wicket components). at the moment this also will be useful for components in maven repos. and the day we manage to have an automatic 'discovery' process - people won't be required to submit wicket-enabled-repo urls anymore. how does that sound? francisco On Sat, Jan 17, 2009 at 10:02 PM, Jonathan Locke jonathan.lo...@gmail.com wrote: i think maven searching is an ideal way to publish and discover wicket components at present. i never meant to imply that that should be the only way to do this or that the idea of a wicket component jar should be tied to something like a repository or a transport. i also don't think it should be tied to a specific repo of discovered meta information like wicket hub. that creates a centralized architecture and as much as i like the idea of wicket hub a lot, it would be nice to enable other parties to build similar wicket component searching technologies that are not linked to wicket hub. for example, someone could gather wicket components for an IDE plugin, to store in some other type of repository than maven or to create an index for some future google search plugin. my simplistic understanding was that nexus could search for jars with certain files in them. all we need from nexus is the ability to get a list of jar artifacts which contain the file META-INF/wicket/components.xml because all such files will be wicket component jars (subject to downloading and parsing, of course). if nexus can't do that, i think that's a flaw in nexus and it ought to be extended so that it can do that. it would be worth talking to them about our needs to see if they could help us. i think that a nexus driven wicket component repository would be beneficial advertising for the nexus project, and it should not be too hard to achieve. jon francisco treacy-2 wrote: you're certainly free to go in whatever direction you want, to be clear, i fully agree on the decentralized model for: - people and the development of this app, and data contributed by wicket users: this should be as democratic as possible - artifacts / components: there may someday be wicket components in central or elsewhere, even outside maven repos (downloadable via HTTP like matej's inmethod stuff was for a while) we should support any mavenized or non-mavenized artifacts, wherever those may live - you're right there (however i thought you said before you were interested at present only by components delivered by maven). parsing the metadata would be done after you download the artifact that
Portlet related issues
Hi all, I'm trying to run an existing wicket application as a Portlet. I've chosen Jetspeed-2, because it's Apache too, and i've also read in the list that people working in the Portlet support also work in Jetspeed development. I've got some success, specially following this HowTo: http://cwiki.apache.org/WICKET/portal-howto.html After some effort, my application is basically running. However, i'm having trouble with some issues: 1. CSS references to images (as div backgrounds). I've read in some forums and it seems to be generic problem in portals. CSS have URLs to images, which the portal does not transform to provide a redirection. The browser, then asks for the images to the portal server directly, no redirection is done to the portlet application. Any tips on how to solve this? (there seems to be a workaround for WebLogic portal: http://www.gexperts.com/blog/archives/2007/12/entry_20.html) 2. ModalWindow ModalWindow works by hanging (with javascript) a new div from the body of the current document. This works wonderful when Wicket is the owner of the page. However, the application is now inside a portlet window, not in the whole page. When ModalWindow hangs from the page as usual, it looks odd... it's outside the portlet window. Any ideas? Thanks in advance, German
Re: style/variation
Scott, I'm sorry, but the link you've sent is invalid. And I was unable to find a valid link with. Regards, Pierre On Thu, Jan 22, 2009 at 7:03 PM, Scott Swank scott.sw...@gmail.com wrote: Liz, We have completely customized the location of resources in Wicket. Here's what I learned on the subject: http://mail-archives.apache.org/mod_mbox/wicket-users/200804.mbox/ 8ee6dd5c0804221651h70660293pb505d19c2c21e...@mail.gmail.com - Scott On Thu, Jan 22, 2009 at 12:22 AM, Liz Huber liz.hu...@gmx.net wrote: First of all: Sorry that I posted my issue so often. But as you've seen, the mail body wasn't shown. Nevertheless, is anyone well versed in styles and variations? Please have a look at my last posting or http://markmail.org/search/?q=liz+huber#query:liz%20huber+page:1+mid:ad6axeezpk6ktzbl+state:results Liz -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: example application for spring wicket hibernate
Hi Yann, I will check out the phonebook, but another example is very welcome and if you feel like showing it to me as well then that would be great news. In case you do drop me a mail. :-) I'm planning to use Wicket + Spring (via annotations) + Hibernate (via annotations) and I have the Wicket + Spring (via annotations) part working already (except for configuring logging for them which I need to do). Kent On Mon, Nov 3, 2008 at 6:04 PM, Yann PETIT yann.pe...@gmail.com wrote: Hi Miro, Did you receive my Wicket+Spring(via annotations) sample application ? Any feedback welcome :) I can also provide a sample application with Wicket+Spring(via annotations)+Hibernate(via annotations) that does nothing except showing a way to configure the three to work together. ( I only have a big application using the three that I can't distribute, but I planned to built this week a very light sample to reuse for other projects ... ). Just ask If you're interested. Anyway the phonebook is a good way to start ;) Yann. 2008/11/3 Nino Saturnino Martinez Vazquez Wael nino.marti...@jayway.dkhttps://mail.google.com/mail?view=cmtf=0to=nino.marti...@jayway.dk no need for that unless you want to commit miro wrote: whats the username password for svn repositorty ? Tomasz Dziurko wrote: Phonebook: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook . If you need NetBeans project for it just tell me, I have it somewhere on the disc Regards -- Tomasz Dziurko - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.orghttps://mail.google.com/mail?view=cmtf=0to=users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.orghttps://mail.google.com/mail?view=cmtf=0to=users-h...@wicket.apache.org -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.orghttps://mail.google.com/mail?view=cmtf=0to=users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.orghttps://mail.google.com/mail?view=cmtf=0to=users-h...@wicket.apache.org
Re: style/variation
You need the entire line. Alternately, here's the thread on nabble: http://www.nabble.com/1.3,-resource-locator-and-properties-to16707905.html#a16707905 And here's the specific post: http://www.nabble.com/Re:-1.3,-resource-locator-and-properties-p16845592.html On Thu, Jan 22, 2009 at 11:47 AM, Pierre Goupil goupilpie...@gmail.com wrote: Scott, I'm sorry, but the link you've sent is invalid. And I was unable to find a valid link with. Regards, Pierre On Thu, Jan 22, 2009 at 7:03 PM, Scott Swank scott.sw...@gmail.com wrote: Liz, We have completely customized the location of resources in Wicket. Here's what I learned on the subject: http://mail-archives.apache.org/mod_mbox/wicket-users/200804.mbox/ 8ee6dd5c0804221651h70660293pb505d19c2c21e...@mail.gmail.com - Scott On Thu, Jan 22, 2009 at 12:22 AM, Liz Huber liz.hu...@gmx.net wrote: First of all: Sorry that I posted my issue so often. But as you've seen, the mail body wasn't shown. Nevertheless, is anyone well versed in styles and variations? Please have a look at my last posting or http://markmail.org/search/?q=liz+huber#query:liz%20huber+page:1+mid:ad6axeezpk6ktzbl+state:results Liz -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page Maps and Expirations
The project I work on uses Wicket 1.3.4 and we are using the default session store (SecondLevelCacheSessionStore.) The app is clustered and runs on WebLogic 8 through Apache. I'm not entirely sure how those two are setup but I don't believe there is any resource sharing between instances in a cluster. Instead, when a session is started, a WebLogic instance is chosen and all future requests in that session are sent to that one instance. Using that setup, there shouldn't be any issues with a user's request going to a machine that doesn't have their page map. The problem is happening during normal forward use. The example that I was given was a user taking a few minutes to fill out some information and by the time they submit the form, their session appears to have timed out and they get a page expired error. I hope that helps to clarify things a bit. Matej Knopp-2 wrote: couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load balancing do you have? -do the expirations happen during normal operation or only when using back button (or using application in multiple tabs) -Matej On Thu, Jan 22, 2009 at 7:47 PM, UPBrandon bcr...@up.com wrote: In some of our Wicket applications, as the number of users has started to ramp up, we seem to be experiencing a scalability issue. Some users have had problems with pages expiring quickly. This is second-hand information so I can't elaborate much but supposedly, during peak times, pages are expiring after just a few minutes of inactivity. It would be nice to be able to set a minimum retention time but I don't seem to see an option like that. I've found information about how Wicket stores pages and revisions (http://cwiki.apache.org/WICKET/page-maps.html) but I haven't been able to find much on how Wicket manages that data when things start filling up. Are there any good explanations out there on the web? -Brandon -- View this message in context: http://www.nabble.com/Page-Maps-and-Expirations-tp21610595p21610595.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Page-Maps-and-Expirations-tp21610595p21612435.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: example application for spring wicket hibernate
I'd like to check out the phonebook app as well, but I can't find it. The link at http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook says the SVN repository is at https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wick et-phonebook/ . That doesn't work, but if I replace the https with http, then I get to a directory tree. However, I don't see any phonebook app under trunk in there. Am I missing something obvious? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Portlet related issues
1. To overcome this problem in my application I put my css and image files into the jetspeed layout template directory, for example /jetspeed/decorations/layout/tigris/css/styles.css and modified the template velocity file to include my css file. 2. I think that's normal, and I think it would be impossible to confine the modal window within your portlet div since it's on a different z-index. If you want it to look better, you can try to style the modal window to better suit your portal page. hope this helps.. SerkanC German Morales wrote: Hi all, I'm trying to run an existing wicket application as a Portlet. I've chosen Jetspeed-2, because it's Apache too, and i've also read in the list that people working in the Portlet support also work in Jetspeed development. I've got some success, specially following this HowTo: http://cwiki.apache.org/WICKET/portal-howto.html After some effort, my application is basically running. However, i'm having trouble with some issues: 1. CSS references to images (as div backgrounds). I've read in some forums and it seems to be generic problem in portals. CSS have URLs to images, which the portal does not transform to provide a redirection. The browser, then asks for the images to the portal server directly, no redirection is done to the portlet application. Any tips on how to solve this? (there seems to be a workaround for WebLogic portal: http://www.gexperts.com/blog/archives/2007/12/entry_20.html) 2. ModalWindow ModalWindow works by hanging (with javascript) a new div from the body of the current document. This works wonderful when Wicket is the owner of the page. However, the application is now inside a portlet window, not in the whole page. When ModalWindow hangs from the page as usual, it looks odd... it's outside the portlet window. Any ideas? Thanks in advance, German - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
best way to obtain component reference?
I am trying to update the label text on a page from a inner class (onSubmit) of my page. I used the page.get(componentid) method, but it returns null. While I could just store the reference to the label as a variable in my page class, I would like to understand how to obtain a reference to it using the wicket API. When I use the following snippet, my get method always return null. Thanks, appreciate the help. public class AdminPage extends WebPage { public AdminPage() { add(new Label(message, If you see this message wicket is properly configured and running)); DMIRequest dmiRequest = new DMIRequest(); Form myform = new Form(myform, new CompoundPropertyModel(dmiRequest)); add(myform); myform.add(new DeleteButton()); } } private class DeleteButton extends Button { private static final long serialVersionUID = 1L; private DeleteButton() { super(delete, new ResourceModel(delete)); setDefaultFormProcessing(true); } @Override public void onSubmit() { Label lbl = new Label(message, Deleted); this.get(message).replaceWith(lbl); } } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to obtain component reference?
using AdminPage.this.get(message).replaceWith(lbl); instead of just this.get(message).replaceWith(lbl); might work, since message is added to the page, not to the delete button.. Phillip Rhodes wrote: I am trying to update the label text on a page from a inner class (onSubmit) of my page. I used the page.get(componentid) method, but it returns null. While I could just store the reference to the label as a variable in my page class, I would like to understand how to obtain a reference to it using the wicket API. When I use the following snippet, my get method always return null. Thanks, appreciate the help. public class AdminPage extends WebPage { public AdminPage() { add(new Label(message, If you see this message wicket is properly configured and running)); DMIRequest dmiRequest = new DMIRequest(); Form myform = new Form(myform, new CompoundPropertyModel(dmiRequest)); add(myform); myform.add(new DeleteButton()); } } private class DeleteButton extends Button { private static final long serialVersionUID = 1L; private DeleteButton() { super(delete, new ResourceModel(delete)); setDefaultFormProcessing(true); } @Override public void onSubmit() { Label lbl = new Label(message, Deleted); this.get(message).replaceWith(lbl); } } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to obtain component reference?
Phillip Rhodes wrote: I am trying to update the label text on a page from a inner class (onSubmit) of my page. I used the page.get(componentid) method, but it returns null. While I could just store the reference to the label as a variable in my page class, I would like to understand how to obtain a reference to it using the wicket API. When I use the following snippet, my get method always return null. Thanks, appreciate the help. public class AdminPage extends WebPage { public AdminPage() { add(new Label(message, If you see this message wicket is properly configured and running)); DMIRequest dmiRequest = new DMIRequest(); Form myform = new Form(myform, new CompoundPropertyModel(dmiRequest)); add(myform); myform.add(new DeleteButton()); } } private class DeleteButton extends Button { private static final long serialVersionUID = 1L; private DeleteButton() { super(delete, new ResourceModel(delete)); setDefaultFormProcessing(true); } @Override public void onSubmit() { Label lbl = new Label(message, Deleted); this.get(message).replaceWith(lbl); Use AdminPage.this.get(message). Adriano - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page Maps and Expirations
Well, as far as I can tell, there is nothing special going on in Wicket that might cause session expiration. Last visited page is basically a normal session property. To me this seems more likely to be servlet container / load balancer issue. -Matej On Thu, Jan 22, 2009 at 9:21 PM, UPBrandon bcr...@up.com wrote: The project I work on uses Wicket 1.3.4 and we are using the default session store (SecondLevelCacheSessionStore.) The app is clustered and runs on WebLogic 8 through Apache. I'm not entirely sure how those two are setup but I don't believe there is any resource sharing between instances in a cluster. Instead, when a session is started, a WebLogic instance is chosen and all future requests in that session are sent to that one instance. Using that setup, there shouldn't be any issues with a user's request going to a machine that doesn't have their page map. The problem is happening during normal forward use. The example that I was given was a user taking a few minutes to fill out some information and by the time they submit the form, their session appears to have timed out and they get a page expired error. I hope that helps to clarify things a bit. Matej Knopp-2 wrote: couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load balancing do you have? -do the expirations happen during normal operation or only when using back button (or using application in multiple tabs) -Matej On Thu, Jan 22, 2009 at 7:47 PM, UPBrandon bcr...@up.com wrote: In some of our Wicket applications, as the number of users has started to ramp up, we seem to be experiencing a scalability issue. Some users have had problems with pages expiring quickly. This is second-hand information so I can't elaborate much but supposedly, during peak times, pages are expiring after just a few minutes of inactivity. It would be nice to be able to set a minimum retention time but I don't seem to see an option like that. I've found information about how Wicket stores pages and revisions (http://cwiki.apache.org/WICKET/page-maps.html) but I haven't been able to find much on how Wicket manages that data when things start filling up. Are there any good explanations out there on the web? -Brandon -- View this message in context: http://www.nabble.com/Page-Maps-and-Expirations-tp21610595p21610595.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Page-Maps-and-Expirations-tp21610595p21612435.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page Maps and Expirations
Thanks Matej and Igor. We are using sticky sessions (I can even see the JSESSIONID in requests) and since a session sticks to a certain server/instance, there shouldn't be any need for replicating sessions among instances. There are dozens and dozens of web apps here and losing sessions hasn't been an issue. Would it make any difference if I said that sometime a user may get a page expired error only 30 seconds after the last page request? But this is a problem that only happens occasionally and supposedly under high load. Either way, I would still be interested in knowing more about how Wicket's session store works. - Under what circumstances are pages evicted from a page map? - Is there a limit on how many pages can be stored in a single page map? - Are there any global (per Wicket instance, not per map or session) limits on how many pages are held onto? - Under what circumstances are page maps destroyed? Only when a window or tab is closed? - Does Wicket ever destroy a session or does it let the container manage all that? I guess what all of those questions really get is this - is there ever a point where Wicket starts running out of space and has to clean house? If so, what is the process that it goes through? -Brandon igor.vaynberg wrote: yep. it looks like the servlet container is losing the session. do you have sticky sessions? if not then you need to have http session replication happening. -igor On Thu, Jan 22, 2009 at 1:11 PM, Matej Knopp matej.kn...@gmail.com wrote: Well, as far as I can tell, there is nothing special going on in Wicket that might cause session expiration. Last visited page is basically a normal session property. To me this seems more likely to be servlet container / load balancer issue. -Matej On Thu, Jan 22, 2009 at 9:21 PM, UPBrandon bcr...@up.com wrote: The project I work on uses Wicket 1.3.4 and we are using the default session store (SecondLevelCacheSessionStore.) The app is clustered and runs on WebLogic 8 through Apache. I'm not entirely sure how those two are setup but I don't believe there is any resource sharing between instances in a cluster. Instead, when a session is started, a WebLogic instance is chosen and all future requests in that session are sent to that one instance. Using that setup, there shouldn't be any issues with a user's request going to a machine that doesn't have their page map. The problem is happening during normal forward use. The example that I was given was a user taking a few minutes to fill out some information and by the time they submit the form, their session appears to have timed out and they get a page expired error. I hope that helps to clarify things a bit. Matej Knopp-2 wrote: couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load balancing do you have? -do the expirations happen during normal operation or only when using back button (or using application in multiple tabs) -Matej On Thu, Jan 22, 2009 at 7:47 PM, UPBrandon bcr...@up.com wrote: In some of our Wicket applications, as the number of users has started to ramp up, we seem to be experiencing a scalability issue. Some users have had problems with pages expiring quickly. This is second-hand information so I can't elaborate much but supposedly, during peak times, pages are expiring after just a few minutes of inactivity. It would be nice to be able to set a minimum retention time but I don't seem to see an option like that. I've found information about how Wicket stores pages and revisions (http://cwiki.apache.org/WICKET/page-maps.html) but I haven't been able to find much on how Wicket manages that data when things start filling up. Are there any good explanations out there on the web? -Brandon -- View this message in context: http://www.nabble.com/Page-Maps-and-Expirations-tp21610595p21615739.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page Maps and Expirations
Hi, wicket holds the last accessed page in pagemap and certain number of previous pages in DiskPageStore (serialized on disk). The last accessed page should never be evicted from pagemap and even if it was, it would still be stored on disk. -Matej On Fri, Jan 23, 2009 at 12:19 AM, UPBrandon bcr...@up.com wrote: Thanks Matej and Igor. We are using sticky sessions (I can even see the JSESSIONID in requests) and since a session sticks to a certain server/instance, there shouldn't be any need for replicating sessions among instances. There are dozens and dozens of web apps here and losing sessions hasn't been an issue. Would it make any difference if I said that sometime a user may get a page expired error only 30 seconds after the last page request? But this is a problem that only happens occasionally and supposedly under high load. Either way, I would still be interested in knowing more about how Wicket's session store works. - Under what circumstances are pages evicted from a page map? - Is there a limit on how many pages can be stored in a single page map? - Are there any global (per Wicket instance, not per map or session) limits on how many pages are held onto? - Under what circumstances are page maps destroyed? Only when a window or tab is closed? - Does Wicket ever destroy a session or does it let the container manage all that? I guess what all of those questions really get is this - is there ever a point where Wicket starts running out of space and has to clean house? If so, what is the process that it goes through? -Brandon igor.vaynberg wrote: yep. it looks like the servlet container is losing the session. do you have sticky sessions? if not then you need to have http session replication happening. -igor On Thu, Jan 22, 2009 at 1:11 PM, Matej Knopp matej.kn...@gmail.com wrote: Well, as far as I can tell, there is nothing special going on in Wicket that might cause session expiration. Last visited page is basically a normal session property. To me this seems more likely to be servlet container / load balancer issue. -Matej On Thu, Jan 22, 2009 at 9:21 PM, UPBrandon bcr...@up.com wrote: The project I work on uses Wicket 1.3.4 and we are using the default session store (SecondLevelCacheSessionStore.) The app is clustered and runs on WebLogic 8 through Apache. I'm not entirely sure how those two are setup but I don't believe there is any resource sharing between instances in a cluster. Instead, when a session is started, a WebLogic instance is chosen and all future requests in that session are sent to that one instance. Using that setup, there shouldn't be any issues with a user's request going to a machine that doesn't have their page map. The problem is happening during normal forward use. The example that I was given was a user taking a few minutes to fill out some information and by the time they submit the form, their session appears to have timed out and they get a page expired error. I hope that helps to clarify things a bit. Matej Knopp-2 wrote: couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load balancing do you have? -do the expirations happen during normal operation or only when using back button (or using application in multiple tabs) -Matej On Thu, Jan 22, 2009 at 7:47 PM, UPBrandon bcr...@up.com wrote: In some of our Wicket applications, as the number of users has started to ramp up, we seem to be experiencing a scalability issue. Some users have had problems with pages expiring quickly. This is second-hand information so I can't elaborate much but supposedly, during peak times, pages are expiring after just a few minutes of inactivity. It would be nice to be able to set a minimum retention time but I don't seem to see an option like that. I've found information about how Wicket stores pages and revisions (http://cwiki.apache.org/WICKET/page-maps.html) but I haven't been able to find much on how Wicket manages that data when things start filling up. Are there any good explanations out there on the web? -Brandon -- View this message in context: http://www.nabble.com/Page-Maps-and-Expirations-tp21610595p21615739.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page Maps and Expirations
i will let matej answer the questions below in detail. the point still is: the last accessed page is always stored in session so the diskstore never even comes into play if all you are doing is hitting a submit button on a form. does websphere serialize sessions to disk under high load when it starts running out of memory? if your page has a serialization problem it wont be loaded back into memory after being spooled by websphere. maybe the jsession cookie is getting lost somehow? just yesterday i got bitten by this. i had two apps running on the same domain but different ports and one would override the session cookie of the other whenever i would switch between them, so when i came back i would always get a page expired error. you can always try upgrading to 1.3.5 and/or trunk to see if that fixes the problem, but i doubt that is it. -igor On Thu, Jan 22, 2009 at 3:19 PM, UPBrandon bcr...@up.com wrote: Thanks Matej and Igor. We are using sticky sessions (I can even see the JSESSIONID in requests) and since a session sticks to a certain server/instance, there shouldn't be any need for replicating sessions among instances. There are dozens and dozens of web apps here and losing sessions hasn't been an issue. Would it make any difference if I said that sometime a user may get a page expired error only 30 seconds after the last page request? But this is a problem that only happens occasionally and supposedly under high load. Either way, I would still be interested in knowing more about how Wicket's session store works. - Under what circumstances are pages evicted from a page map? - Is there a limit on how many pages can be stored in a single page map? - Are there any global (per Wicket instance, not per map or session) limits on how many pages are held onto? - Under what circumstances are page maps destroyed? Only when a window or tab is closed? - Does Wicket ever destroy a session or does it let the container manage all that? I guess what all of those questions really get is this - is there ever a point where Wicket starts running out of space and has to clean house? If so, what is the process that it goes through? -Brandon igor.vaynberg wrote: yep. it looks like the servlet container is losing the session. do you have sticky sessions? if not then you need to have http session replication happening. -igor On Thu, Jan 22, 2009 at 1:11 PM, Matej Knopp matej.kn...@gmail.com wrote: Well, as far as I can tell, there is nothing special going on in Wicket that might cause session expiration. Last visited page is basically a normal session property. To me this seems more likely to be servlet container / load balancer issue. -Matej On Thu, Jan 22, 2009 at 9:21 PM, UPBrandon bcr...@up.com wrote: The project I work on uses Wicket 1.3.4 and we are using the default session store (SecondLevelCacheSessionStore.) The app is clustered and runs on WebLogic 8 through Apache. I'm not entirely sure how those two are setup but I don't believe there is any resource sharing between instances in a cluster. Instead, when a session is started, a WebLogic instance is chosen and all future requests in that session are sent to that one instance. Using that setup, there shouldn't be any issues with a user's request going to a machine that doesn't have their page map. The problem is happening during normal forward use. The example that I was given was a user taking a few minutes to fill out some information and by the time they submit the form, their session appears to have timed out and they get a page expired error. I hope that helps to clarify things a bit. Matej Knopp-2 wrote: couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load balancing do you have? -do the expirations happen during normal operation or only when using back button (or using application in multiple tabs) -Matej On Thu, Jan 22, 2009 at 7:47 PM, UPBrandon bcr...@up.com wrote: In some of our Wicket applications, as the number of users has started to ramp up, we seem to be experiencing a scalability issue. Some users have had problems with pages expiring quickly. This is second-hand information so I can't elaborate much but supposedly, during peak times, pages are expiring after just a few minutes of inactivity. It would be nice to be able to set a minimum retention time but I don't seem to see an option like that. I've found information about how Wicket stores pages and revisions (http://cwiki.apache.org/WICKET/page-maps.html) but I haven't been able to find much on how Wicket manages that data when things start filling up. Are there any good explanations out there on the web? -Brandon -- View this message in context:
Re: Page Maps and Expirations
In theory if websphere serializes session under stress and then deserializes back the page indeed wouldn't be restored. But it would still be in DiskPageStore, so when there is a request for that page wicket can still load. Unless Webshere sends the unbind event - which would make wicket delete the pagestore. But this doesn't seem likely - it would really be wrong behavior to send the unbind event in this case. -Matej On Fri, Jan 23, 2009 at 12:39 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: i will let matej answer the questions below in detail. the point still is: the last accessed page is always stored in session so the diskstore never even comes into play if all you are doing is hitting a submit button on a form. does websphere serialize sessions to disk under high load when it starts running out of memory? if your page has a serialization problem it wont be loaded back into memory after being spooled by websphere. maybe the jsession cookie is getting lost somehow? just yesterday i got bitten by this. i had two apps running on the same domain but different ports and one would override the session cookie of the other whenever i would switch between them, so when i came back i would always get a page expired error. you can always try upgrading to 1.3.5 and/or trunk to see if that fixes the problem, but i doubt that is it. -igor On Thu, Jan 22, 2009 at 3:19 PM, UPBrandon bcr...@up.com wrote: Thanks Matej and Igor. We are using sticky sessions (I can even see the JSESSIONID in requests) and since a session sticks to a certain server/instance, there shouldn't be any need for replicating sessions among instances. There are dozens and dozens of web apps here and losing sessions hasn't been an issue. Would it make any difference if I said that sometime a user may get a page expired error only 30 seconds after the last page request? But this is a problem that only happens occasionally and supposedly under high load. Either way, I would still be interested in knowing more about how Wicket's session store works. - Under what circumstances are pages evicted from a page map? - Is there a limit on how many pages can be stored in a single page map? - Are there any global (per Wicket instance, not per map or session) limits on how many pages are held onto? - Under what circumstances are page maps destroyed? Only when a window or tab is closed? - Does Wicket ever destroy a session or does it let the container manage all that? I guess what all of those questions really get is this - is there ever a point where Wicket starts running out of space and has to clean house? If so, what is the process that it goes through? -Brandon igor.vaynberg wrote: yep. it looks like the servlet container is losing the session. do you have sticky sessions? if not then you need to have http session replication happening. -igor On Thu, Jan 22, 2009 at 1:11 PM, Matej Knopp matej.kn...@gmail.com wrote: Well, as far as I can tell, there is nothing special going on in Wicket that might cause session expiration. Last visited page is basically a normal session property. To me this seems more likely to be servlet container / load balancer issue. -Matej On Thu, Jan 22, 2009 at 9:21 PM, UPBrandon bcr...@up.com wrote: The project I work on uses Wicket 1.3.4 and we are using the default session store (SecondLevelCacheSessionStore.) The app is clustered and runs on WebLogic 8 through Apache. I'm not entirely sure how those two are setup but I don't believe there is any resource sharing between instances in a cluster. Instead, when a session is started, a WebLogic instance is chosen and all future requests in that session are sent to that one instance. Using that setup, there shouldn't be any issues with a user's request going to a machine that doesn't have their page map. The problem is happening during normal forward use. The example that I was given was a user taking a few minutes to fill out some information and by the time they submit the form, their session appears to have timed out and they get a page expired error. I hope that helps to clarify things a bit. Matej Knopp-2 wrote: couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load balancing do you have? -do the expirations happen during normal operation or only when using back button (or using application in multiple tabs) -Matej On Thu, Jan 22, 2009 at 7:47 PM, UPBrandon bcr...@up.com wrote: In some of our Wicket applications, as the number of users has started to ramp up, we seem to be experiencing a scalability issue. Some users have had problems with pages expiring quickly. This is second-hand information so I can't elaborate much but
Re: Portlet related issues
Hi Serkan, Thanks for the answer, i will give it a try and post the results later German 2009/1/22 Serkan Camurcuoglu serkan.camurcuo...@telenity.com 1. To overcome this problem in my application I put my css and image files into the jetspeed layout template directory, for example /jetspeed/decorations/layout/tigris/css/styles.css and modified the template velocity file to include my css file. 2. I think that's normal, and I think it would be impossible to confine the modal window within your portlet div since it's on a different z-index. If you want it to look better, you can try to style the modal window to better suit your portal page. hope this helps.. SerkanC German Morales wrote: Hi all, I'm trying to run an existing wicket application as a Portlet. I've chosen Jetspeed-2, because it's Apache too, and i've also read in the list that people working in the Portlet support also work in Jetspeed development. I've got some success, specially following this HowTo: http://cwiki.apache.org/WICKET/portal-howto.html After some effort, my application is basically running. However, i'm having trouble with some issues: 1. CSS references to images (as div backgrounds). I've read in some forums and it seems to be generic problem in portals. CSS have URLs to images, which the portal does not transform to provide a redirection. The browser, then asks for the images to the portal server directly, no redirection is done to the portlet application. Any tips on how to solve this? (there seems to be a workaround for WebLogic portal: http://www.gexperts.com/blog/archives/2007/12/entry_20.html) 2. ModalWindow ModalWindow works by hanging (with javascript) a new div from the body of the current document. This works wonderful when Wicket is the owner of the page. However, the application is now inside a portlet window, not in the whole page. When ModalWindow hangs from the page as usual, it looks odd... it's outside the portlet window. Any ideas? Thanks in advance, German - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: example application for spring wicket hibernate
It's in /trunk/wicketstuff-core/phonebook Tauren On Thu, Jan 22, 2009 at 12:21 PM, Dane Laverty danelave...@chemeketa.edu wrote: I'd like to check out the phonebook app as well, but I can't find it. The link at http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook says the SVN repository is at https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wick et-phonebook/ . That doesn't work, but if I replace the https with http, then I get to a directory tree. However, I don't see any phonebook app under trunk in there. Am I missing something obvious? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Hibernate and SortableDataProvider
Hi everybody, I wonder which one is a better way of loading data into a DefaultDataTable 1. using iterator() in SortableDataProvider to load all the id's of objects only and then using model to load actual objects 2. loading full objects using iterator() regards Tawus - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Hibernate and SortableDataProvider
Hi, The best i think to load full objects once. And put it in an loadable detachablemodel. In this model save id of object. Implement the load function, this will retrieve the object from hibrnate via id. Also see example in wicket in action. Regards, Frank Verstuurd vanaf mijn iPhone Op 23 jan 2009 om 07:17 heeft taha siddiqi tawushaf...@gmail.com het volgende geschreven:\ Hi everybody, I wonder which one is a better way of loading data into a DefaultDataTable 1. using iterator() in SortableDataProvider to load all the id's of objects only and then using model to load actual objects 2. loading full objects using iterator() regards Tawus - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org The information contained in this communication is confidential, intended solely for the use of the individual or entity to whom it is addressed and may be legally privileged and protected by professional secrecy. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. This email does not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when expressly agreed in a written agreement between the intended recipient and Cordys Holding BV or its subsidiaries. Cordys is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Cordys does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Hibernate and SortableDataProvider
Thanks, I had earlier used only id's but then I was thinking of shifting to this model. On Fri, Jan 23, 2009 at 12:30 PM, Frank Klein Koerkamp fkleinkoerk...@educator.eu wrote: Hi, The best i think to load full objects once. And put it in an loadable detachablemodel. In this model save id of object. Implement the load function, this will retrieve the object from hibrnate via id. Also see example in wicket in action. Regards, Frank Verstuurd vanaf mijn iPhone Op 23 jan 2009 om 07:17 heeft taha siddiqi tawushaf...@gmail.com het volgende geschreven:\ Hi everybody, I wonder which one is a better way of loading data into a DefaultDataTable 1. using iterator() in SortableDataProvider to load all the id's of objects only and then using model to load actual objects 2. loading full objects using iterator() regards Tawus - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org The information contained in this communication is confidential, intended solely for the use of the individual or entity to whom it is addressed and may be legally privileged and protected by professional secrecy. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. This email does not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when expressly agreed in a written agreement between the intended recipient and Cordys Holding BV or its subsidiaries. Cordys is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Cordys does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org