style/variation

2009-01-22 Thread Liz Huber
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

Re: How to make a popup page for exception handling?

2009-01-22 Thread Mo Wu
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

Tooltip on IE7

2009-01-22 Thread Emanuele Gesuato
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

Re: How to make a popup page for exception handling?

2009-01-22 Thread Newgro
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

Howto test clicking a CheckboxMultipleChoice

2009-01-22 Thread Newgro
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:

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-22 Thread Bert
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

DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Philipp Daumke
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

Re: How to make a popup page for exception handling?

2009-01-22 Thread Fkleinko
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

Re: How to make a popup page for exception handling?

2009-01-22 Thread Newgro
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

Re: Wicket presentation at Bulgarian JUG

2009-01-22 Thread Cristi Manole
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

AjaxRequestTarget.prependJavascript () seems to not evaluate a javascript

2009-01-22 Thread Vitaly Tsaplin
Hi there, Actually I have a behavior which implemented like the following @Override public void onRendered (Component component) { String scr = null; if (isAjaxRequest ()) {

Re: How to make a popup page for exception handling?

2009-01-22 Thread Mo Wu
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:

Re: DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Uwe Schäfer
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

Re: Wicket presentation at JUGPadova

2009-01-22 Thread Emanuele Gesuato
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:

Re: Wicket presentation at JUGPadova

2009-01-22 Thread francesco dicarlo
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.

Re: DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Philipp Daumke
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

Duplicate objects in db4o with back button

2009-01-22 Thread pieter claassen
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.

Wicket/Salve/Hibernate Examples

2009-01-22 Thread Tauren Mills
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:

Re: Duplicate objects in db4o with back button

2009-01-22 Thread Martijn Dashorst
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

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-22 Thread Luca Provenzani
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

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-22 Thread Igor Vaynberg
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

Re: Duplicate objects in db4o with back button

2009-01-22 Thread Igor Vaynberg
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

Re: DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Igor Vaynberg
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')); }

Re: How to make a popup page for exception handling?

2009-01-22 Thread Michael O'Cleirigh
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

Re: Wicket/Salve/Hibernate Examples

2009-01-22 Thread Tauren Mills
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

Re: Wicket/Salve/Hibernate Examples

2009-01-22 Thread francisco treacy
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

Re: style/variation

2009-01-22 Thread Scott Swank
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

Re: Wicket stuff core, archetypes?

2009-01-22 Thread francisco treacy
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

wicket jmx panel

2009-01-22 Thread Erik van Oosten
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

Page Maps and Expirations

2009-01-22 Thread UPBrandon
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

Re: Duplicate objects in db4o with back button

2009-01-22 Thread pieter claassen
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

Re: Duplicate objects in db4o with back button

2009-01-22 Thread Igor Vaynberg
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

Re: wicket jmx panel

2009-01-22 Thread Igor Vaynberg
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

Re: Page Maps and Expirations

2009-01-22 Thread Matej Knopp
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

Re: Wicket stuff core, archetypes?

2009-01-22 Thread Jonathan Locke
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

Portlet related issues

2009-01-22 Thread German Morales
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:

Re: style/variation

2009-01-22 Thread Pierre Goupil
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

Re: example application for spring wicket hibernate

2009-01-22 Thread Kent Larsson
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 +

Re: style/variation

2009-01-22 Thread Scott Swank
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

Re: Page Maps and Expirations

2009-01-22 Thread UPBrandon
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

RE: example application for spring wicket hibernate

2009-01-22 Thread Dane Laverty
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

Re: Portlet related issues

2009-01-22 Thread Serkan Camurcuoglu
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

best way to obtain component reference?

2009-01-22 Thread Phillip Rhodes
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

Re: best way to obtain component reference?

2009-01-22 Thread Serkan Camurcuoglu
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

Re: best way to obtain component reference?

2009-01-22 Thread Adriano dos Santos Fernandes
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

Re: Page Maps and Expirations

2009-01-22 Thread Matej Knopp
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

Re: Page Maps and Expirations

2009-01-22 Thread UPBrandon
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

Re: Page Maps and Expirations

2009-01-22 Thread Matej Knopp
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

Re: Page Maps and Expirations

2009-01-22 Thread Igor Vaynberg
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

Re: Page Maps and Expirations

2009-01-22 Thread Matej Knopp
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

Re: Portlet related issues

2009-01-22 Thread German Morales
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

Re: example application for spring wicket hibernate

2009-01-22 Thread yowzator
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

Hibernate and SortableDataProvider

2009-01-22 Thread taha siddiqi
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

Re: Hibernate and SortableDataProvider

2009-01-22 Thread Frank Klein Koerkamp
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

Re: Hibernate and SortableDataProvider

2009-01-22 Thread taha siddiqi
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