Re: Resource JS

2010-01-26 Thread nino martinez wael
Should be the same thing.. 2010/1/26 Douglas Ferguson doug...@douglasferguson.us I'm using modjk. On Jan 25, 2010, at 4:05 PM, Jeremy Thomerson wrote: How are you frontending Tomcat with Apache? If it's by proxying, you may just be able to configure it to do the gzip for you on

Wicket, Spring 3 and UnitTesting

2010-01-26 Thread Jochen Mader
Just figured out how to do UnitTesting with Spring 3 and Wicket. Spring 3 introduced a check to see if a given context was a WebApplicationContext. That means ApplicationContextMock is not suitable for testing (giving the infamous No WebApplicationContext found: no ContextLoaderListener

AjaxSelfUpdatingTimerBehavior

2010-01-26 Thread Sam Barrow
Is there any way to make the AjaxSelfUpdatingTimerBehavior execute X number of times and then stop until a page refresh/reload? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: AjaxSelfUpdatingTimerBehavior

2010-01-26 Thread Pedro Santos
You can override getPreconditionScript method to test an counter value on document object. When you refresh the page, you got a new document. On Tue, Jan 26, 2010 at 10:05 AM, Sam Barrow s...@sambarrow.com wrote: Is there any way to make the AjaxSelfUpdatingTimerBehavior execute X number of

Re: Wicket, Spring 3 and UnitTesting

2010-01-26 Thread Martin Grigorov
Please add this to http://cwiki.apache.org/WICKET/spring.html On Tue, 2010-01-26 at 11:48 +0100, Jochen Mader wrote: Just figured out how to do UnitTesting with Spring 3 and Wicket. Spring 3 introduced a check to see if a given context was a WebApplicationContext. That means

Re: dynamically adding components to a ListView

2010-01-26 Thread Bert
looks as it has been solved here: http://stackoverflow.com/questions/2114351/dynamically-add-components-to-listview-in-wicket/ bert On Sun, Jan 24, 2010 at 13:04, Sven Meier s...@meiers.net wrote: Hi, you'll have to tell the request target which components to redraw: Put your list inside a

RE: modal window contained and displayed by another modal window

2010-01-26 Thread Martin Asenov
Yes, in this example when it comes to closing the second modal from the 'x' button the callback returns false obviously. When it does not, everything gets messed up and middle modal gets 'page expired'. How can I close the second modal and get back to middle modal with no obstacles like these?

RE: modal window contained and displayed by another modal window

2010-01-26 Thread Martin Asenov
Here's the code: first modal: public class DisplayEventsPage extends WebPage implements RepeaterHoldingPage { public DisplayEventsPage(final ModalWindow parent) { ModalWindow dialog = new ModalWindow(modal); AjaxLinkString entryRemovalLink = new

Page load after an action

2010-01-26 Thread Stéphane Jeanjean
Hello, My page displays a list of items, for each of them, an icon is available to delete it. The action is managed in a Link.onClick() method. When I click on the link, the page is refreshed but the item is always in my list, I have to do refresh again manually the page to have a list

Re: Page load after an action

2010-01-26 Thread Jeremy Thomerson
You're probably not using models correctly - specifically for your list view. You could post some code, but make sure that you're reloading the data for the list view after the onClick is called and the item is deleted. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jan 26, 2010 at

Image Bundler For Apache Wicket

2010-01-26 Thread Anantha Kumaran
http://ananthakumaran.github.com/imagebundler-wicket

Should Duration be deprecated?

2010-01-26 Thread Objelean Alex
I was wondering why would wicket need Duration class as long as java provides a similar TimeUnit. Maybe it would be a good idea to deprecate this class encourage usage of TimeUnit? Alex Objelean

Re: Page load after an action

2010-01-26 Thread Stéphane Jeanjean
Please find my code just below : public class NewsListPage { protected static transient NewsDao myNewsDao; public NewsListPage() { PageableListViewNews news = new PageableListViewNews(list, new NewsModel(), 15){ @Override protected void

RE: modal window contained and displayed by another modal window

2010-01-26 Thread Martin Asenov
Please, can someone help me with this? Thanks again! Regards, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, January 26, 2010 4:17 PM To: users@wicket.apache.org Subject: RE: modal window contained and displayed by another modal window Here's

Bug in FormComponent.MessageSource.getMessage(String) getValidatorKeyPrefix()

2010-01-26 Thread Guillaume Mary
Hi all, I tried to use the getValidatorKeyPrefix() feature to have a more suitable translation key for a RequiredTextField and the required message. But Wicket wasn't able to find my key : the debug log said that it couldn't find my key whereas it is well-formed (getValidatorKeyPrefix() +

Re: add id to body with onComponentTag?

2010-01-26 Thread kurtadam
Just making the example more clear: add(new WebMarkupContainer(bodyId) { @Override public boolean isTransparentResolver() { return true; } @Override protected void onComponentTag(final ComponentTag tag) { super.onComponentTag(tag);

Re: wicketstuff-push and component replacing

2010-01-26 Thread Rodolfo Hansen
I have basically concentrated on the CometD Service This should be a simple bug to fix. On Fri, Jan 22, 2010 at 10:34 AM, Roland Vares roland.va...@uptime.eewrote: Hello, I'm currently developing wicket based application, which displays alarms on map and allows their modification. New

Re: Image Bundler For Apache Wicket

2010-01-26 Thread Riyad Kalla
Very cool Anantha, do you have a site online that uses the bundler that we could take a peek at as a running example? On Tue, Jan 26, 2010 at 7:42 AM, Anantha Kumaran ananthakuma...@gmail.comwrote: http://ananthakumaran.github.com/imagebundler-wicket

Re: Page load after an action

2010-01-26 Thread Riyad Kalla
Stephane, I'll let someone smarter than me address the wicket issue of removing the item from the ListView and seeing if that helps -- but is there a chance you are using Hibernate and the Level 2 ehcache plugin or any 2nd-level caching with your persistence code? I ask because I've seen code

Re: Page load after an action

2010-01-26 Thread Stéphane Jeanjean
Hi, I don't use Hibernate. My persistence layer uses JDBC. What is strange when I click the delete link, it's the logs order : Loading all news News deleted So it seems that the deletion is done after the data reload :( Stéphane Riyad Kalla a écrit : Stephane, I'll let someone smarter

Re: Should Duration be deprecated?

2010-01-26 Thread Jonas
java.util.concurrent.TimeUnit only covers units from nanos to seconds (in java 1.5, that is) So before wicket moves to java 1.6 we probably have a 'no go' here... On Tue, Jan 26, 2010 at 3:42 PM, Objelean Alex alex.objel...@gmail.com wrote: I was wondering why would wicket need Duration class as

Re: Page load after an action

2010-01-26 Thread Pedro Santos
Call news.getDefaultModel().detach(), and look for more info about detachable models. http://cwiki.apache.org/WICKET/detachable-models.html On Tue, Jan 26, 2010 at 1:35 PM, Stéphane Jeanjean stephane.jeanj...@softeam.com wrote: Hi, I don't use Hibernate. My persistence layer uses JDBC.

Re: Should Duration be deprecated?

2010-01-26 Thread Hauke Ingmar Schmidt
Hej, 2010/1/26 Objelean Alex alex.objel...@gmail.com: I was wondering why would wicket need Duration class as long as java provides a similar TimeUnit. Maybe it would be a good idea to deprecate this class encourage usage of TimeUnit? If I am correct TimeUnit doesn't store a duration, it is

Re: Page load after an action

2010-01-26 Thread Pedro Santos
missing line: call detach method just after delete your item. On Tue, Jan 26, 2010 at 1:41 PM, Pedro Santos pedros...@gmail.com wrote: Call news.getDefaultModel().detach(), and look for more info about detachable models. http://cwiki.apache.org/WICKET/detachable-models.html On Tue, Jan 26,

Re: Page load after an action

2010-01-26 Thread Stéphane Jeanjean
The behaviour is the same with the following code :( public void onClick() { // TODO : check the refresh issue getNewsDao().delete(item.getModelObject()); ourLogger.debug(News deleted);

Re: Page load after an action

2010-01-26 Thread Pedro Santos
by calling getDefaultModel inside onClick, you get an reference to the link component model. You need to detach the model on your list view. You has an reference to it on your variable news. So: news.getDefaultModel().detach() If you need, you can change that variable modifiers or turn it an

Re: Page load after an action

2010-01-26 Thread Stéphane Jeanjean
Thanks Pedro, it's ok now ;-) I use LoadableDetachableModel to avoid the call to detach() method. It does not seem that is the right way. Somebody can explain me why ? Stéphane Pedro Santos a écrit : by calling getDefaultModel inside onClick, you get an reference to the link component

Re: Image Bundler For Apache Wicket

2010-01-26 Thread Anantha Kumaran
i will try to put it in the google appspot later. Here is the source code of a sample http://github.com/ananthakumaran/imagebundler-wicket On Tue, Jan 26, 2010 at 7:20 AM, Riyad Kalla rka...@gmail.com wrote: Very cool Anantha, do you have a site online that uses the bundler that we could take

Re: Image Bundler For Apache Wicket

2010-01-26 Thread Andrew Lombardi
This is very very cool. Congrats Anantha! On Jan 26, 2010, at 9:07 AM, Anantha Kumaran wrote: i will try to put it in the google appspot later. Here is the source code of a sample http://github.com/ananthakumaran/imagebundler-wicket On Tue, Jan 26, 2010 at 7:20 AM, Riyad Kalla

Wizard busy indicators

2010-01-26 Thread Jeffrey Schneller
I am trying to figure out how I could add a busy indicator to my wizard so that when transitioning between steps the busy indicator appears. The transition between steps in my wizard may take a long time. 1.How could this be done with just Wicket? 2. How could this be done

Re: Wizard busy indicators

2010-01-26 Thread Martin Makundi
Hi! You do not need Wicket to make a busy indicator. It's plain HTML + JavaScript. The only thing about wicket that is relevant is that you want to remove the busy indicator after ajax-request has been processed. Here is an example:

Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
Hello, I have a modal window that is used to create a contact and needs to submit data to the server once submit button is called. The submit button is defined as follows: button wicket:id=contact_submitbutton type=submitSUBMIT/button contact_form.add(new Button(contact_submitbutton).add(new

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Pedro Santos
Do you have an feedback panel on the model? If don't, add one and see if your form don't pass in some validation like on required field. On Tue, Jan 26, 2010 at 4:07 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: Hello, I have a modal window that is used to create a contact and needs to

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
I have, but maybe its incorrect. div wicket:id=popup_feedback id=popup_feedback/div contact_form.add(new FeedbackPanel(popup_feedback, new ContainerFeedbackMessageFilter(contact_form) )); On Tue, Jan 26, 2010 at 1:32 PM, Pedro Santos pedros...@gmail.com wrote: Do you have an feedback panel on

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Pedro Santos
Take a look at the AjaxButton if you need an asynchronous submit, and implement your onError handlers with: target.addComponent( myFeedbackPanelThatMabyWillShowSomeMessageIfGetUpdated ); On Tue, Jan 26, 2010 at 4:34 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: I have, but maybe its

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
Thanks, now in my feedback it displays errors that all required fields are empty. But the problem is, that even if I put the values in those fields it still does not see them and gives the same errors in the feedback panel. On Tue, Jan 26, 2010 at 1:41 PM, Pedro Santos pedros...@gmail.com wrote:

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Pedro Santos
Even using AjaxButton? Can you send the code? On Tue, Jan 26, 2010 at 4:55 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: Thanks, now in my feedback it displays errors that all required fields are empty. But the problem is, that even if I put the values in those fields it still does not see

RE: Wizard busy indicators

2010-01-26 Thread Jeffrey Schneller
Martin, Thanks. That should do it. I should be able to use Jquery instead using the functions provided. -Original Message- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Tuesday, January 26, 2010 12:40 PM To: users@wicket.apache.org Subject: Re: Wizard busy

Re: Page load after an action

2010-01-26 Thread Riyad Kalla
Seems weird to me as well that 'detach' has to be explicitly called. Also still curious why Stephane was seeing the log ordering he did when the link was clicked: Loading all news News deleted I'd expect to see news deleted first, from his onClick handler then the

Re: Page load after an action

2010-01-26 Thread James Carman
Doesn't it have to load the model so that it knows what item it's talking to? On Tue, Jan 26, 2010 at 2:12 PM, Riyad Kalla rka...@gmail.com wrote: Seems weird to me as well that 'detach' has to be explicitly called. Also still curious why Stephane was seeing the log ordering he did when the

Re: wicketstuff push, publishing event in a page2 and component installed with channel listener in page1

2010-01-26 Thread Rodolfo Hansen
Ok, thanks for the quickstart. I just submitted the fix to svn... On Tue, Jan 19, 2010 at 2:38 AM, vineet semwal vineetsemwal1...@gmail.comwrote: thanks, i will take a look at them. On Mon, Jan 18, 2010 at 9:32 PM, Rodolfo Hansen kry...@gmail.com wrote: On Fri, Jan 15, 2010 at 5:24 AM,

Re: Image Bundler For Apache Wicket

2010-01-26 Thread Edward Zarecor
Do the comments in the inspiration design document about localization also apply to your Wicket ImageBundle implementation? If Wicket's built in image handling functions as a locale-specific factory does image localization work as expected with bundles? Ed. On Tue, Jan 26, 2010 at 12:23 PM,

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
I changed it to use AjaxButton instead of AjaxFormSubmitBehavior and it still does not see the values. div class=submitareainput type=button wicket:id=contact_submitbutton class=button/SUBMIT/div FeedbackPanel contact_feedback = new FeedbackPanel(popup_feedback, new

Re: Should Duration be deprecated?

2010-01-26 Thread Jonathan Locke
TimeUnit is icky and storing time values in primitive types is a bad idea. Alexandru Objelean wrote: I was wondering why would wicket need Duration class as long as java provides a similar TimeUnit. Maybe it would be a good idea to deprecate this class encourage usage of TimeUnit?

Re: Should Duration be deprecated?

2010-01-26 Thread James Carman
All data in Java is ultimately stored as some sort of primitive type. On Tue, Jan 26, 2010 at 2:55 PM, Jonathan Locke jonathan.lo...@gmail.com wrote: TimeUnit is icky and storing time values in primitive types is a bad idea. Alexandru Objelean wrote: I was wondering why would wicket need

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
I have to add that its all done inside a modal window. div class=addicon img src=images/add-ico.gif border=0nbsp;a href=#a href=#TB_inline?height=605amp;width=820amp;inlineId=CreateContactContentamp;modal=true title= class=thickboxCreate Contact/a/a/div On Tue, Jan 26, 2010 at 2:26 PM, Anna

Re: wicketstuff-push and component replacing

2010-01-26 Thread Rodolfo Hansen
Try now... To me, the push service is overly complicated, and you could easily get away with simply using Wicket's AjaxTimeoutBehavior as there are no technical advantages over the later. The comet version of push offers a couple of serious advantages for the server, and client side. Why can't

Re: Image Bundler For Apache Wicket

2010-01-26 Thread Jeremy Thomerson
Looks cool - but rather than generating a static string, why don't you generate a string that includes a call to urlFor(Class, imageName) so that you can allow for internationalization? (Wicket will generate the proper internationalized URL for you this way)... -- Jeremy Thomerson

Re: Should Duration be deprecated?

2010-01-26 Thread Igor Vaynberg
i thought they were all stored as electrons -igor On Tue, Jan 26, 2010 at 12:00 PM, James Carman jcar...@carmanconsulting.com wrote: All data in Java is ultimately stored as some sort of primitive type. On Tue, Jan 26, 2010 at 2:55 PM, Jonathan Locke jonathan.lo...@gmail.com wrote:

Re: Page load after an action

2010-01-26 Thread Jeremy Thomerson
Yes - James is right here - it's a loadable detachable model - so it needs to load the data in order to repopulate the list before deleting the item. My guess is either you need to call the detach so that on the re-render it gets reloaded, or you need to make sure your delete is being committed

Re: Should Duration be deprecated?

2010-01-26 Thread Riyad Kalla
... touche? :) On Tue, Jan 26, 2010 at 2:00 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: i thought they were all stored as electrons -igor On Tue, Jan 26, 2010 at 12:00 PM, James Carman jcar...@carmanconsulting.com wrote: All data in Java is ultimately stored as some sort of

Re: Should Duration be deprecated?

2010-01-26 Thread Jeremy Thomerson
Yeah - and although I haven't confirmed it myself, I have been told that all dates are actually stored as 0's and 1's - and that must be why there was such a fuss in 2000 - too many zeroes and not enough ones - or something like that. :) -- Jeremy Thomerson http://www.wickettraining.com On

Re: Should Duration be deprecated?

2010-01-26 Thread Matej Knopp
There is a difference between MILLISECONDS.toSeconds(duration) and duration.toSeconds() As for all data being stored as primitives, sometimes being able to access it on higher level can be kinda nice... -Matej On Tue, Jan 26, 2010 at 9:00 PM, James Carman jcar...@carmanconsulting.com wrote:

Re: Should Duration be deprecated?

2010-01-26 Thread James Carman
I was misinformed. I stand corrected! :) On Tue, Jan 26, 2010 at 4:00 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: i thought they were all stored as electrons -igor On Tue, Jan 26, 2010 at 12:00 PM, James Carman jcar...@carmanconsulting.com wrote: All data in Java is ultimately

Re: Page load after an action

2010-01-26 Thread James Carman
Or, call detach(), then call modelChanged()? On Tue, Jan 26, 2010 at 4:02 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Yes - James is right here - it's a loadable detachable model - so it needs to load the data in order to repopulate the list before deleting the item. My guess is

Scrolling wicket components into View?

2010-01-26 Thread Corbin, James
Hello, I have a page that I dynamically add components to using a repeating view. At some point in the process, my components are rendered off the visible browser page. Is there a slick way in Wicket to ensure that a component dynamically added to a repeating view is in view on the page?

Re: Image Bundler For Apache Wicket

2010-01-26 Thread Riyad Kalla
Just ran across another base64-based method of spriting images that Cappuccino is using: http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8 pretty interesting and supports back to IE6. Just wanted to share incase anyone else reading on this subject was curious about other

Maven problem with wicketstuff

2010-01-26 Thread Warren Bell
I am trying to retrieve wicketstuff-core from repository and am getting the following Missing artifact. Missing artifact org.wicketstuff:wicketstuff-core:jar:1.4.2-SNAPSHOT:compile my pom ... repository idwicket-snaps/id urlhttp://wicketstuff.org/maven/repository/url

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Steve Swinsburg
You could just have the ModalWindow's contents be set in the onClick of the button that shows the window. Then you know if the checkbox has been checked or not and you can add in the appropriate panel, then just show the window. In my app I have any number of modal windows that might show

Re: Maven problem with wicketstuff

2010-01-26 Thread mbrictson
What part of wicketstuff do you want to use in your project? The wicketstuff-core artifact is not a JAR artifact. You have to specify the actual JAR you need, like annotation, for example: dependency groupIdorg.wicketstuff/groupId artifactIdannotation/artifactId

Re: Maven problem with wicketstuff

2010-01-26 Thread Warren Bell
wicketstuff-minis I found it: dependency groupIdorg.wicketstuff/groupId artifactIdminis/artifactId version1.4.1/version /dependency Thanks mbrictson wrote: What part of wicketstuff do you want to use in your project? The wicketstuff-core artifact is not a JAR

Re: Wicket, Spring 3 and UnitTesting

2010-01-26 Thread mbrictson
Why not use Spring's StaticWebApplicationContext? StaticWebApplicationContext ctx = new StaticWebApplicationContext(); ctx.getBeanFactory().registerSingleton(serviceOfDoom, mock);

Re: Image Bundler For Apache Wicket

2010-01-26 Thread Anantha Kumaran
Thanks for the Reply. I will look into it. On Tue, Jan 26, 2010 at 12:59 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Looks cool - but rather than generating a static string, why don't you generate a string that includes a call to urlFor(Class, imageName) so that you can allow for

Re: Resetting a form after ajax submit

2010-01-26 Thread Flavius
For anybody who's interested, I got this to work by just calling form.textField.setModelValue(new String[]{}); I had to make the fields member vars of the form, though. If there's another cleaner way of doing it, I'd appreciate seeing it. Flavius wrote: I have a panel with a form on it.

Re: Resetting a form after ajax submit

2010-01-26 Thread Andrew Lombardi
You should only need access to the Model on the Form, which you would set to empty, and then you have two options 1. Get access to the TextField so you can repaint it with AjaxRequestTarget 2. Use FormComponent's IVisitor pattern to visit everything in that form to repaint On Jan 26, 2010, at

RE: How to change content in ModalWindow - minor success!

2010-01-26 Thread Chris Colman
You could just have the ModalWindow's contents be set in the onClick of the button that shows the window. That's how I'm opening them but that's not the problem. The problem is once I have a ModalWindow open I want to switch the contents without the 'flicker' of shutting down the ModalWindow

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Martin Makundi
Hi! That's how I'm opening them but that's not the problem. The problem is once I have a ModalWindow open I want to switch the contents without the 'flicker' of shutting down the ModalWindow and opening up another one. For us we have done it just by replacing the content panel:

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Martin Makundi
Hi! Actually no, we did not use setContent but we used modalWindow.replace(newContent); ** Martin 2010/1/27 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! That's how I'm opening them but that's not the problem. The problem is once I have a ModalWindow open I want to switch the

Re: PageExpiredException after fourth call modal window

2010-01-26 Thread Alexey Tomin
1.4.5 In window with list, I call modal window (org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow) with my edit window (extends org.apache.wicket.markup.html.WebPage with WebSession.get().createAutoPageMap()). This edit window contains some link, wich also create modal window

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Steve Swinsburg
Ah I thought the 'create new account' check box was on the parent page and checked before the Window was opened. But its in the window itself. Right so you want to replace a panel in the page. In that case: I do this as well as I have a form in my ModalWindow that allows a user to confirm an

Re: wicket bench in eclipse

2010-01-26 Thread Lionel Port
Agree with Huake Ingmar. The functionality doesn't overlap at all. My main reason for wanting the plugin to work is to switch easily between the html and the java code for the same component. In a maven project this is particular a hassle because the java code is in packages under /src/main/java

RE: How to change content in ModalWindow - minor success!

2010-01-26 Thread Chris Colman
I ended up creating an AjaxTabbedPanel inside the modal and let the users switch between Sign in and Create account by choosing the appropriate tab. It actually a fairly reasonable solution. I had tried the modalWindow.replace(newContent); idea but that didn't work either for some reason.

Re: wicket bench in eclipse

2010-01-26 Thread Chuck Brinkman
I had not heard of wicket bench before reading this email thread. So, I installed it and found that it doesn't play well with 'myeclipse'; not sure where the fault lies. So I just don't use it as a default editor. I do like some of the features. If you just want to switch between java and html

Re: Should Duration be deprecated?

2010-01-26 Thread Martijn Dashorst
On Tue, Jan 26, 2010 at 10:00 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: i thought they were all stored as electrons My vote goes to Umpalumpa's shifting miniature pumpkins on scales Martijn -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4