Re: Help request regarding simple DefaultNestedTree implementation

2014-06-10 Thread denethon
The solution was to disable page specific styling of fonts. Seems that using
a different font (inherited from master page) was causing the B folder to
appear as shifted to the right. When using font-family:inherit, this visual
presentation is now correct.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Help-request-regarding-simple-DefaultNestedTree-implementation-tp4666163p4666168.html
Sent from the Users forum 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



Help request regarding simple DefaultNestedTree implementation

2014-06-09 Thread denethon
Hi guys,

I'm having trouble implementing the AdvancedTreePage-example from Wicket
Examples. As the example is equipped with a dropdown to choose from
different content presentations and a dropdown to choose from different
themes, I'm trying to simplify the example into my own implementation using
only the default theme and only SelectableFolderContent as the only
presentation. I get this to work in the sence that my folders are displayed
correctly and the expand icons are present. How ever:

Lets say that my root folders are A and B. So that when my tree first loads
the tree looks like this:

+A
+B

But when I click the expand icon (the plus sign) to the left of my folder B
(which contains A1, A2 and A3), the other root folder (folder B) is
presented as a child of folder A:

-A
--A1
--A2
--A3
--B

This is not how my folders are organized on disk. It should be like this:

-A
--A1
--A2
--A3
+B (folder B still being presented as a root folder, and not a child of
folder A).

I really cant seem to figure out why this happens. Anyone who's experienced
simular problems?

Thank you for reading this.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Help-request-regarding-simple-DefaultNestedTree-implementation-tp4666163.html
Sent from the Users forum 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