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/22 17:37:21 UTC
[jira] Created: (WICKET-2695) expand icon link doesn't work on
treetable component
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
Priority: Blocker
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.
[jira] Updated: (WICKET-2695) expand icon link doesn't work on
treetable component
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg updated WICKET-2695:
----------------------------------
Priority: Minor (was: Blocker)
> 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: Minor
> 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.
[jira] Issue Comment Edited: (WICKET-2695) expand icon link doesn't
work on treetable component
Posted by "Mohamed (JIRA)" <ji...@apache.org>.
[ 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:51 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.
... I found the issue. The issue was that I the static method getTableTreeModel() returns a new instance of treemodel after each call to the load() method. The solution is to save an instance of treemodel within a variable and to return the variable on the load() method.
was (Author: mohamed.a):
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.
> 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.
[jira] Issue Comment Edited: (WICKET-2695) expand icon link doesn't
work on treetable component
Posted by "Mohamed (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (WICKET-2695) expand icon link doesn't work on
treetable component
Posted by "Mohamed (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804490#action_12804490 ]
Mohamed commented on WICKET-2695:
---------------------------------
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.
[jira] Resolved: (WICKET-2695) expand icon link doesn't work on
treetable component
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-2695.
-----------------------------------
Resolution: Invalid
Assignee: Igor Vaynberg
the folder icon selects the node, it does not expand/collaps it, only the [+] icon does that.
> 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.
[jira] Closed: (WICKET-2695) expand icon link doesn't work on
treetable component
Posted by "Mohamed (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohamed closed WICKET-2695.
---------------------------
Resolution: Fixed
> 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.
[jira] Reopened: (WICKET-2695) expand icon link doesn't work on
treetable component
Posted by "Mohamed (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohamed reopened WICKET-2695:
-----------------------------
[...] the folder icon selects the node, it does not expand/collaps it, only the [+] icon does that.
[ Show ยป ] Igor Vaynberg added a comment - 22/Jan/10 07:39 PM the folder icon selects the node, it does not expand/collaps it, only the [+] icon does that. [...]
=> Yes I know that, I tried with the [+] icon.
The tree works correctly with a simple TreeModel, but not with a LoadableDetachableModel. The load method is called correclty after each click on [+] icon, but the treetable doesn't expand.
> 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.
[jira] Commented: (WICKET-2695) expand icon link doesn't work on
treetable component
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803766#action_12803766 ]
Martin Grigorov commented on WICKET-2695:
-----------------------------------------
can you provide a quickstart application ?
> 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
> 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.