Re: could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-14 Thread Thomas Kappler
Strings and for loaded classes. Google for more info. If you get Could not reserve enough space for object heap when starting up, you don't have enough memory on the machine. -- --- Thomas Kapplerthomas.kapp

Re: The Long, Long Dependency Trail

2010-09-23 Thread Thomas Kappler
-- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland http://www.uniprot.org

Re: announcing Granite - a Wicket-Scala-DB4O web application stack

2010-09-22 Thread Thomas Kappler
-- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland http

Re: A beginner's tutorial

2010-08-05 Thread Thomas Kappler
-- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland http://www.uniprot.org

Re: OutOfMemoryError PermGen Space...

2010-07-23 Thread Thomas Kappler
using String.intern()? That is a candidate for filling up the PermGen space. As Andreas noted, the stack trace can be completely irrelevant to the reason for running out of memory. -- Thomas -- --- Thomas Kappler

Re: Docu/Examples of Models and Generics in Wicket 1.4?

2010-06-25 Thread Thomas Kappler
be the type of the model object, for instance. Please ask some more specific questions if you have any. Cheers, Thomas -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-21 Thread Thomas Kappler
-- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland http://www.uniprot.org

Re: Combo Box (help!)

2010-05-06 Thread Thomas Kappler
throw new RuntimeException(Huh?); } }); -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211

Re: Type Inference for Wicket 1.4

2010-04-15 Thread Thomas Kappler
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- --- Thomas Kappler

Re: Looking for a less chatty auto-complete component?

2010-03-15 Thread Thomas Kappler
(); } -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland http://www.uniprot.org

Re: Interaction behavior / site

2010-03-12 Thread Thomas Kappler
and try it out, what happens? -- Thomas -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland

Re: ListView + dynamic database Model

2010-03-02 Thread Thomas Kappler
(ListItem item) { item.getModelObject(); /*- new list, and new list, and new list.. :( } }; -- --- Thomas Kappler

Re: Question about WicketTester and using my class which extends WebApplication

2010-02-25 Thread Thomas Kappler
-- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland http

Re: component .... not found on page

2010-02-03 Thread Thomas Kappler
=images/x-icon / Exactly the problem I had described a week or so ago :-) Empty image sources cause page reloads. -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel

Re: webapp authentication

2010-02-03 Thread Thomas Kappler
than this. What security problems do you see here? Either the database can authenticate this user/password combination, or it can't. -- Thomas -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss

Re: java heap space IAuthorizationStrategy

2010-01-29 Thread Thomas Kappler
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- --- Thomas Kappler

Re: Nasty problem with component not found and images [solved]

2010-01-29 Thread Thomas Kappler
=#, too. -- Thomas -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland

Re: Trying to pass object to server side

2010-01-29 Thread Thomas Kappler
-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU

Re: Nasty problem with component not found and images [solved]

2010-01-28 Thread Thomas Kappler
On 28/01/2010, at 2:54 AM, Riyad Kalla wrote: Thomas, as someone who frequently likes trying really dumb things -- I appreciate you giving a heads up on this issue. I was likely going to run into this at some point anyway ;) On Wed, Jan 27, 2010 at 3:46 AM, Thomas Kappler thomas.kapp...@isb

Re: know the last page user comes from

2010-01-28 Thread Thomas Kappler
Component.continueToOriginalDestination() ? -- Thomas -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland

Re: know the last page user comes from

2010-01-28 Thread Thomas Kappler
())) { if (!continueToOriginalDestination()) setResponsePage(getApplication().getHomePage()); ... The continueToOriginalDestination() gets the user to where the RestartResponseAtInterceptPageException was thrown. HTH, Thomas -Original Message- From: Thomas Kappler [mailto:thomas.kapp

Nasty problem with component not found and images [solved]

2010-01-27 Thread Thomas Kappler
that was really dumb, but I thought I'd share it for the mailing list archive. -- Thomas -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU

Re: images not under the context root directory

2010-01-27 Thread Thomas Kappler
: users-h...@wicket.apache.org -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland

Re: PropertyModel implementing IComponentInheritedModel

2008-07-07 Thread Thomas Kappler
, Maurice Marrink [EMAIL PROTECTED] wrote: Have you seen BoundCompoundPropertyModel? It sounds like you are looking for that behavior. Maurice On Sun, Jul 6, 2008 at 9:42 AM, Thomas Kappler [EMAIL PROTECTED] wrote: Thanks, Johan. Perhaps I wasn't clear enough about the motivation

Re: PropertyModel implementing IComponentInheritedModel

2008-07-06 Thread Thomas Kappler
Thanks, Johan. Perhaps I wasn't clear enough about the motivation. On Sun, Jul 6, 2008 at 6:51 AM, Johan Compagner [EMAIL PROTECTED] wrote: Why should the propertymodel be an inherited? Well, to have model sharing. So why not just use a CPM? Because it has another difference to PM: you don't

PropertyModel implementing IComponentInheritedModel

2008-07-05 Thread Thomas Kappler
Hi, if I haven't overlooked something, there's no variant of PropertyModel implementing IComponentInheritedModel. IComponentInheritedModel demands only one method, wrapOnInheritance. Looking at the implementation of CompoundPropertyModel, wrapOnInheritance does nothing but return an

Re: Clicking a tree leaf and confirmation

2008-04-24 Thread Thomas Kappler
Hi Federico, you gain a lot of flexibility when overriding newNodeComponent() instead. There, you return a custom Panel where you can do what you want, i.e., add the link with all desired functionality. And you can of course give your Panel any constructor you like. An example from our

Pageless component at AjaxRequestTarget detach

2008-04-24 Thread Thomas Kappler
Hi, we have a BaseTree where we implemented reordering of tree nodes via drag and drop, using wicketstuff-scriptaculous. Everything seems to work, i.e., you can work with the page as intended. In the logs we see an error on each drop event, however: org.apache.wicket.RequestCycle detach

Re: Tree redrawing

2008-04-15 Thread Thomas Kappler
They don't redraw themselves on mouseover. Must be an IE issue. Thomas On Tue, Apr 15, 2008 at 1:30 PM, rzsolt [EMAIL PROTECTED] wrote: It seems that wicket Tree items always redraw themself when I drag the mouse over them. Why? I have a page with two panels on it: a menu tree on the left

Re: Hibernate with wicket

2008-04-10 Thread Thomas Kappler
Hi, you should ask databinder-related questions in its forum at http://databinder.net/forum/viewforum.php?f=1st=0sk=tsd=dstart=0. As to your questions, are you not using maven? If not, you could still have a look at the Maven pom.xml file of the baseball project to figure out the dependencies,

Re: How to Create a link in a treeview

2008-04-09 Thread Thomas Kappler
Hi, you should base your tree on BaseTree, as it implements a lot of things for you. Then, you implement newNodeComponent(), where you can create any component (e.g. a link) to represent a tree node. The component you create there is not tree-specific. Cheers, Thomas On Wed, Apr 9, 2008 at

Re: Ajax update works from second time on

2008-04-02 Thread Thomas Kappler
that it is a javascript issue. Look in the browser why it isnt called. On 3/31/08, Thomas Kappler [EMAIL PROTECTED] wrote: Hi, I'm seeing a strange behavior on one of my pages. Using wicketstuff-scriptaculous, users drag a row from a ListView to another component. This triggers

Re: How do I get a change in my tree model to be displayed?

2008-03-31 Thread Thomas Kappler
Hi, first of all, in the first line of the loop, shouldn't node be nextNode? Then, you're directly calling listener methods, which are supposed to be callbacks, i.e., they are called by the framework when, and after, a selection or expansion happens. You should use the methods offered by

Ajax update works from second time on

2008-03-31 Thread Thomas Kappler
Hi, I'm seeing a strange behavior on one of my pages. Using wicketstuff-scriptaculous, users drag a row from a ListView to another component. This triggers an association between the two model objects, which is also persisted via Hibernate. Relevant code: protected void

Re: Wicket group on linkedin

2008-03-31 Thread Thomas Kappler
On Mon, Mar 31, 2008 at 4:37 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: This is the group invitation url, I believe.. http://www.linkedin.com/e/gis/80181/73AB8A016DFF Seems to work. I registered, approval is pending. Thomas

Re: Trees and DnD?

2008-03-26 Thread Thomas Kappler
On Wed, Mar 26, 2008 at 1:50 AM, James Carman [EMAIL PROTECTED] wrote: Is there a way to enable drag-n-drop in a Wicket tree? Our users have a usecase where they want to be able to build a hierarchical list of stuff and they want to be able to move stuff around easily and reorder nodes.

Re: Trees and DnD?

2008-03-26 Thread Thomas Kappler
On Wed, Mar 26, 2008 at 3:04 PM, Ryan Sonnek [EMAIL PROTECTED] wrote: We're currently working on it. We use wicketstuff-scriptaculous, and so far it seems to work, but some things are still missing. Please let me know if you run into anything that's missing. Sorry, I meant missing in

Re: Trees and DnD?

2008-03-26 Thread Thomas Kappler
On Wed, Mar 26, 2008 at 3:27 PM, James Carman [EMAIL PROTECTED] wrote: On Wed, Mar 26, 2008 at 9:04 AM, Thomas Kappler [EMAIL PROTECTED] wrote: We're currently working on it. We use wicketstuff-scriptaculous, and so far it seems to work, but some things are still missing

Enable ghosting in wicketstuff-scriptaculous

2008-03-18 Thread Thomas Kappler
Hi, first of all, sorry if this is the wrong list, but AFAIK there's no wicketstuff ML and the JIRA doesn't list the scriptaculous component as a project. We wanted ghosting (http://wiki.script.aculo.us/scriptaculous/show/Draggable) in our wicketstuff-scriptaculous enabled drag'n'drop, but it's

Re: Enable ghosting in wicketstuff-scriptaculous

2008-03-18 Thread Thomas Kappler
, thanks for the patch. The only reason it wasn't added is that no-one had requested it. =) i'll be happy to apply the patch and push out a new release ASAP. Thanks again! On Tue, Mar 18, 2008 at 11:21 AM, Thomas Kappler [EMAIL PROTECTED] wrote: Hi

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Thomas Kappler
+1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

MultiFileUpload: Update page for each file

2008-03-17 Thread Thomas Kappler
Hi all, I'm using the MultiFileUploadField on a page derived from the example one http://wicketstuff.org/wicket13/upload/multi. Now I'd like to show the progress, but not of the upload itself, as the files are not that big. Instead, the time consuming part is some processing that is done for

Re: A link-o-label needed

2008-03-14 Thread Thomas Kappler
On Fri, Mar 14, 2008 at 3:26 PM, James Carman [EMAIL PROTECTED] wrote: Yeah, the output would be something like: a href=... wicket:id=myLinkspan wicket:id=myLinkLabel //a off the top of my head. You might want to tell the label to just render its body, also. What do you mean with the

Re: Sorting a list

2008-03-06 Thread Thomas Kappler
databinder has MoveUpButton and MoveDownButton, which do the job in ListViews. If you don't use databinder, you can still have a look at the source. databinder.net Cheers, Thomas On Thu, Mar 6, 2008 at 6:35 PM, jeredm [EMAIL PROTECTED] wrote: I should have been more clear that I need to

Re: How to view SetQuestionaire like ListView uses List

2008-03-01 Thread Thomas Kappler
Hi, you need a repeater. See http://wicketstuff.org/wicket13/repeater/ for examples. Thomas On Sat, Mar 1, 2008 at 2:01 PM, wiki [EMAIL PROTECTED] wrote: Hi I have a set of questionaires I know how to display List of Quesitonaires { ListQuestionaire a=user.getQuestionaire();

Re: Can i add multiple lines to a node-link in tree?

2008-02-28 Thread Thomas Kappler
On Thu, Feb 28, 2008 at 10:54 AM, Newgro [EMAIL PROTECTED] wrote: firstly sorry if i brought you to the wrong way - i use a treetable, not a tree. My effects on code below is that the nodes are diplayed only in one row. The second row is not visible. OK, I have never used TreeTable, and I

Re: Can i add multiple lines to a node-link in tree?

2008-02-27 Thread Thomas Kappler
On Wed, Feb 27, 2008 at 2:55 PM, Newgro [EMAIL PROTECTED] wrote: i got it now with the multilinelabel. The text i add to a node contains an \n. But i only see one row. I experimented a bit with the css, but i can't get the tree node to show me 2 lines. I just tried it, it works for me.

Re: Mounting dynamic URLs

2008-02-27 Thread Thomas Kappler
Hi Martjin, Nathan has implemented that in his Recipe Book example app: http://databinder.net/recipe. Have a look at the first constructor of RecipeBook. Thomas On Wed, Feb 27, 2008 at 4:31 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: Hi All, How do I mount a friendly URL with a dynamic

Re: Can i add multiple lines to a node-link in tree?

2008-02-22 Thread Thomas Kappler
Hi Per, did you try using a wicket.markup.html.basic.MultiLineLabel? If your tree nodes have more than one component, encapsulate them into a Panel and return instances of that from BaseTree.newNodeComponent(String id, IModel model). Cheers, Thomas

Re: listView sorting question

2008-01-24 Thread Thomas Kappler
On Jan 23, 2008 10:35 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: The use case is that, I have a page that renders a listview, and I need to add a link that sorts the list when clicked. My listView uses LoadableDetachableModel that retrieves data using hibernate backend. In my current app,

Re: Get from input from a ModalWindow

2008-01-24 Thread Thomas Kappler
Hi Stefan, it was indeed a problem with the models involved there. It looked fine to me, so I suspected the modal window, and that wiki page I linked also gave me the impression that there was something with modal windows in that regard, but I should have checked first in an ordinary page.

Get from input from a ModalWindow

2008-01-22 Thread Thomas Kappler
Hi, I have a ModalWindow with a form, having some dropdown choices and text fields. It should be simple, but I can't get the user input when the window is closed. There is no domain model object behind the form, I just need a list of Strings from the form, although I could, of course, make up a

Re: Dynamically adding text fields

2007-12-27 Thread Thomas Kappler
On Dec 26, 2007 11:32 PM, Ken Anderson [EMAIL PROTECTED] wrote: I have a use case that will require the user to add multiple text fields to a form using an add button. See this wiki page: http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html Have a list of text fields, create a

Re: How to open a popup in onSubmit() of a Form

2007-12-21 Thread Thomas Kappler
Do you know about org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow? It seems to do almost what you want, or at least you can look at the source. Cheers, Thomas On Dec 21, 2007 9:56 AM, thomas jaeckle [EMAIL PROTECTED] wrote: Hi again. I found a solution, but it isn't very

Getting position of elements in a ListView

2007-12-04 Thread Thomas Kappler
Hi all, I use a ListView holding Components to implement a dynamic form, i.e., where the user can add and remove DropDownChoices herself. (See http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html.) Now, a problem is the removal of elements when the user clicks the remove link next to