You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Mohamed (JIRA)" <ji...@apache.org> on 2010/01/25 11:40:35 UTC

[jira] Issue Comment Edited: (WICKET-2695) expand icon link doesn't work on treetable component

    [ https://issues.apache.org/jira/browse/WICKET-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804490#action_12804490 ] 

Mohamed edited comment on WICKET-2695 at 1/25/10 10:39 AM:
-----------------------------------------------------------

another thing is the code of load method :

LoadableDetachableModel<TreeModel> treeModel = new LoadableDetachableModel<TreeModel> () {
 @Override
    protected TreeModel load() {
	return DataModel.getTableTreeModel();
    }
};

getTableTreeModel() is a static method which returns a copy of treemodel via serialization.

      was (Author: mohamed.a):
    another thing is the code of load method :

LoadableDetachableModel<TreeModel> treeModel = new LoadableDetachableModel<TreeModel> () {
 @Override
    protected TreeModel load() {
	return DataModel.getCloneInstance().getTableTreeModel();
    }
};
  
> expand icon link doesn't work on treetable component
> ----------------------------------------------------
>
>                 Key: WICKET-2695
>                 URL: https://issues.apache.org/jira/browse/WICKET-2695
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4.5
>         Environment: tomcat 6, xp, wicket 1.4.5, wicket-extensions 1.4.5 maven
>            Reporter: Mohamed
>            Assignee: Igor Vaynberg
>            Priority: Blocker
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> I created my own component => i added the treetable on org.apache.wicket.markup.html.panel.Panel. I used the code of 
> http://www.wicket-library.com/wicket-examples/nested/?wicket:bookmarkablePage=:org.apache.wicket.examples.ajax.builtin.tree.TreeTablePage to test that.
> I use the LoadadbleDetachableModel as model and it work correctly because the "expand All" and "Collapse All" works correctly but when I click on the expand icon (folder icon) I see on the task manager there is something has been done but the treetable is not expanded as we can expected.
> Thank you for your help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.