Re: tree component problems in 6.x

2012-12-31 Thread Sandor Feher
Hi,

Thanks for the hint. It was the table tag. WindowsTheme problem still
persists but I will be working on it.
So happy new year!

thnx. ,Sandor



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tree-component-problems-in-6-x-tp4655101p4655110.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



Re: tree component problems in 6.x

2012-12-31 Thread Sven Meier

Hi Sandor,

TableTree nests a  tag inside its markup, so make sure itself is 
*not* mapped to a  but a  tag.


Sven

On 12/31/2012 01:54 PM, Sandor Feher wrote:

Hi Sven,

I though so you're my man  .getTable() works fine but I have two other
problems left.
First is adding windowstheme has no affect for me.
Second one if I open a node with child items then it doubles the displayed
items. If I keep clicking then it triples the content and so one. It might
be they related to each other. (See screenshots.)
It's not so easy to create a quickstart from this situation so if you have
any idea I would appreciate that.
(The bottom line is that the code worked fine in 1.5.9).

thnx., Sandor

<http://apache-wicket.1842946.n4.nabble.com/file/n4655107/1.png>
<http://apache-wicket.1842946.n4.nabble.com/file/n4655107/2.png>
<http://apache-wicket.1842946.n4.nabble.com/file/n4655107/3.png>



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tree-component-problems-in-6-x-tp4655101p4655107.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




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tree component problems in 6.x

2012-12-31 Thread Sandor Feher
Hi Sven,

I though so you're my man  .getTable() works fine but I have two other
problems left.
First is adding windowstheme has no affect for me.
Second one if I open a node with child items then it doubles the displayed
items. If I keep clicking then it triples the content and so one. It might
be they related to each other. (See screenshots.)
It's not so easy to create a quickstart from this situation so if you have
any idea I would appreciate that.
(The bottom line is that the code worked fine in 1.5.9).

thnx., Sandor

<http://apache-wicket.1842946.n4.nabble.com/file/n4655107/1.png> 
<http://apache-wicket.1842946.n4.nabble.com/file/n4655107/2.png> 
<http://apache-wicket.1842946.n4.nabble.com/file/n4655107/3.png> 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tree-component-problems-in-6-x-tp4655101p4655107.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



Re: tree component problems in 6.x

2012-12-30 Thread Sven Meier

Hi Sandor,

you'll have a TableTree's table first to change the toolbars:

  tree.getTable().addTopToolbar(...);

If you're not using DefaultTableTree but extend from TableTree you'll 
have to add the theme as follows:


  tree.add(new 
org.apache.wicket.extensions.markup.html.repeater.tree.theme.WindowsTheme());


Hope this helps
Sven




On 12/30/2012 03:55 PM, Sandor Feher wrote:

Hi,

I'm just upgraded my project from 1.5.9 to 6.4.0 without major problems. The
only thing I can't get rid so far is tree component.

My 1.5.9 code is this.

 tree.addTopToolbar(new HeadersToolbar(tree));
 tree.addBottomToolbar(new NoRecordsToolbar(tree));
 tree.add(new Behavior() {

 @Override
 public void renderHead( Component component, IHeaderResponse
response) {
 response.renderCSSReference(new WindowsTheme());
 }

Now it looks to me that there is no addTopToolbar/addBottomToolbar method
belongs to tree component.
I'm also struggling with WindowsTheme behavior. Please let me know the
replacements things above.


thnx. Sandor



 });




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tree-component-problems-in-6-x-tp4655101.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




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



tree component problems in 6.x

2012-12-30 Thread Sandor Feher
Hi,

I'm just upgraded my project from 1.5.9 to 6.4.0 without major problems. The
only thing I can't get rid so far is tree component.

My 1.5.9 code is this.

tree.addTopToolbar(new HeadersToolbar(tree));
tree.addBottomToolbar(new NoRecordsToolbar(tree));
tree.add(new Behavior() {

@Override
public void renderHead( Component component, IHeaderResponse
response) {
response.renderCSSReference(new WindowsTheme());
}

Now it looks to me that there is no addTopToolbar/addBottomToolbar method
belongs to tree component.
I'm also struggling with WindowsTheme behavior. Please let me know the
replacements things above.


thnx. Sandor



});




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tree-component-problems-in-6-x-tp4655101.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