That's really strange, the tree looks fine here.

Can you retry with a vanilla Firefox? Please clear the browser cache too.
Which Wicket version?

Sven

On 07/04/2013 04:16 PM, Piratenvisier wrote:
Ok I try it again


Am 04.07.2013 15:14, schrieb Sven Meier:
ascii art?

;)

On 07/04/2013 03:05 PM, Piratenvisier wrote:
Hello Sven,

here are the screenshots.

Am 04.07.2013 09:10, schrieb Sven Meier:
Hi,

I don't see a difference here. Can you post screenshots somewhere?

Sven

On 07/03/2013 11:02 PM, Piratenvisier wrote:
If you open the stucture in beginners view you have an other sequence of nodes than in advanced nested view Follow the path A AB ABB ABBA ABBB ABBBA ABC ABD AC in advanced nested view and try to follow it in beginners view.

Am 03.07.2013 22:53, schrieb Sven Meier:
Hi,

can you please explain how the branch is faulty or 'wrong'?

You can override NestedTree#newContentComponent(String, IModel) to decide the representation of a node's content:

  MyNestedTree extends NestedTree {
    @Override
public Component newContentComponent(String id, final AbstractTree<Foo> tree, IModel<Foo> model)
    {
        return new Folder<Foo>(id, tree, model)
        {
            private static final long serialVersionUID = 1L;

            @Override
protected MarkupContainer newLinkComponent(String id, IModel<Foo> model)
            {
                Foo foo = model.getObject();

                if (tree.getProvider().hasChildren(foo))
                {
                    return super.newLinkComponent(id, model);
                }
                else
                {
PageParameters parameters = new PageParameters();
                    parameters.add("foo", foo.getId());

return new BookmarkablePageLink<Void>(id, tree.getPage().getClass(), parameters);
                }
            }
        };
    }
  }

Hope this helps
Sven


On 07/03/2013 10:24 PM, Piratenvisier wrote:
When you look at the tree structure in advanced nested view
there is a wrong branch A AB ABB ABBA ABBB ABBBA ABC ABD AC
I would like to use a tree structure where the nodes are links to wicket pages
or where you can open a nodes panel in accordion style

---------------------------------------------------------------------
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



---------------------------------------------------------------------
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





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




Reply via email to