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 ITreeSta
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 onDrop(Comp
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
--
is not called the first time at all? (you have debugged
> that?)
> > Then it seems that it is a javascript issue. Look in the browser why
> > it isnt called.
> >
> > On 3/31/08, Thomas Kappler <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Hi,
> &g
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 7:
Hi,
you should ask databinder-related questions in its forum at
http://databinder.net/forum/viewforum.php?f=1&st=0&sk=t&sd=d&start=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 dependencie
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
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 project:
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
SEVERE:
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
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
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
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
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.
Thank
Hi,
my question seems trivial, but I just can't find anything: how to
localize a page or panel that's not my own, but is in a referenced
library (like Wicket itself)? For instance, I'd like to have a German
version of UserAdminPage in databinder (which provides String
resources), so I would write
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
--
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.
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 d
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, an
On Fri, Feb 29, 2008 at 12:25 PM, Newgro <[EMAIL PROTECTED]> wrote:
>
> I exchanged the tree-table by tree and have the same problem.
> Can you please provide me a little example how you did this?
Extend BaseTree and let newNodeComponent() return a MultiLineLabel.
My code here is more complex an
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
> {
> List a=user.getQuestionaire();
> ListView
Hi,
can't you just add the popup to the page, set it to invisible, and let
the onmouseover behaviour trigger setVisible()?
If parts of the pop up are dynamic, you could solve this with
encapsulating the variable part in a panel and replace that when
handling the event.
Cheers,
Thomas
On Mon, Ma
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
On Fri, Mar 14, 2008 at 3:26 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> Yeah, the output would be something like:
>
>
>
> 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 last sentence? I add labels to links all
the time
+1
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 eac
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 n
nnek <[EMAIL PROTECTED]> wrote:
> > Hey, 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 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 no
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 mis
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, b
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 t
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
AttachedCompo
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
that.
Thanks,
Thomas
> On Mon, Jul 7, 2008 at 8:59 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote:
>
>> Have you seen BoundCompoundPropertyModel?
>>
>> It sounds like you are looking for that behavior.
>>
>> Maurice
>>
>> On Sun, Jul 6, 2008
markup is only inserted for actual images
solved it.
Maybe that was really dumb, but I thought I'd share it for the mailing
list archive.
-- Thomas
--
-------
Thomas Kapplerthomas.kapp...@isb-sib.ch
et.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, rue Michel Servet 1
1211
e:
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
wrote:
Earlier this month, there was a thread [1] about
about 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
Switze
d.value()))
{
if (!continueToOriginalDestination())
setResponsePage(getApplication().getHomePage());
...
The continueToOriginalDestination() gets the user to where the
RestartResponseAtInterceptPageException was thrown.
HTH,
Thomas
-Original Message-
From: Thomas Kappler
ks,
Martin
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
---
Thomas Kapplert
r src="#", 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
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
-------
Thomas Kapplerthomas.kapp...@isb-sib.ch
Swiss Institute of Bioinformatics
described a week or so ago :-) Empty image
sources cause page reloads.
--
---
Thomas Kapplerthomas.kapp...@isb-sib.ch
Swiss Institute of Bioinformatics Tel: +41 22 379 51 89
CMU, rue Michel Servet 1
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
--
---
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
otected void populateItem(ListItem item) {
item.getModelObject(); /*<- new
list, and new list,
and new list.. :(
}
};
--
--------
ltipPanel 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
urn Collections.emptyList().iterator();
}
--
-----------
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
unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
-----------
Thomas Kapplerthomas.kapp...@isb-sib.ch
Swiss Institute of Bioinformatics
>return (String) array;
>else if(array.getClass().isArray())
>{
>String[] result = (String[]) array;
>return result[0];
>}
> else
>throw new RuntimeException("Huh?");
>}
> });
>
>
--
-
homas
--
---
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.unipro
Model, T must 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 Institu
by chance 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
--
---
Thom
7;s useful.
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 ht
BDB for DB4O?
-- 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
It worked without problems. Sometimes simple is better. Of course, if
you need a ton of other libraries, it may get too complicated.
-- Thomas
--
-----------
Thomas Kapplerthomas.kapp...@isb-sib.
rning 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 Kappler
58 matches
Mail list logo