Hi all,
I made some changes based on the CheckBoxIconPanel.java posted by Doug,
basically I added behavior to update all parents or childrens when we check
or uncheck a node:
* When we check a node, we verify all its brothers, if they are all checked
then we check its parent and recursively.
* W
Hi i also am having same kind of problem.
I got checkboxes in tree panel ,how to iterate over the selected nodes on
checkbox click.
Thanks
Partibha
Edi wrote:
>
> I am not able to configure the above example Doug.
>
> Could you give me .war file. please
>
> thanks and regards,
> edi
>
>
> D
Hello Doug,
I am not able to configure the above example Doug.
Could you give me .war file. please
thanks and regards,
edi
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tp13433102p23109331.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi guys,
I've been fighting with trees for a week now and nearly have it doing what I
require. However there is one thing I can't figure out.
-My tree is build using data from an external source.
-When I click a checkbox in the tree my tree model is completely
restructured based upon data from
I am not able to configure the above example Doug.
Could you give me .war file. please
thanks and regards,
edi
Doug Leeper wrote:
>
> If the tree is pre-loaded, it is easier. When the checkbox is selected,
> iterate through the children nodes and set its state to selected.
>
> The dynamical
I am sure there are a couple of ways to do this.
First thing that comes to mind is to override the Panel2.isVisible() method
and return true if there are any nodes selected in CBTree1.
for instance:
Panel checkBoxPanel2 = new Panel( "checkBoxPanel2" ) {
public boolean isVisible() {
Hey Doug,
I was able to get the check boxes to work. Thanks for your help on that.
However there is another problem that I am not able to get to work.
I have created another panel with a checkbox tree in it and i want that
panel to show only when I check one of the child nodes in my main checkbo
If the tree is pre-loaded, it is easier. When the checkbox is selected,
iterate through the children nodes and set its state to selected.
The dynamically loaded is alot trickier...as you would have to load the tree
from the selected node and then iterate and set the children notes to
selected.
Well currently I am testing the tree using a model which creates the entire
tree up front... however for the final implementation I would be building
the child nodes dynamically hence I guess I would be using both of
them
Thanks for the quick reply
Doug Leeper wrote:
>
> It depend
It depends.
Are you building the entire tree up front or are you building the child
nodes dynamically (i.e. when the parent node is selected/expanded)?
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tp13433102p18147561.html
Sent from the Wicket - User mailing lis
Hey Doug,
I am fairly new to wicket. I am trying to use the checkbox tree component
and it seems to be working well. However I would like to check or uncheck
all the child nodes if the parent node is selected(i.e. if the check box in
front of the parent node is checked or unchecked). Kindly let m
Doug Leeper wrote:
>
> When does this occur?
> - the first time the page is displayed
> - after you do some user interaction? if so, are you using Ajax in the
> user interaction?
>
This happens on the initial loading of the page, and I tried setting the
CheckType to Ajax and to Regular. It h
When does this occur?
- the first time the page is displayed
- after you do some user interaction? if so, are you using Ajax in the user
interaction?
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tp13433102p14262616.html
Sent from the Wicket - User mailing list
Doug Leeper wrote:
>
> Could you post the stacktrace?
>
Here it is:
WicketMessage: The component(s) below failed to render. A common problem is
that you have added a component in code but forgot to reference it in the
markup (thus the component will never be rendered).
1. [MarkupContainer [C
Here are the Category tree items
http://www.nabble.com/file/p14229459/CategoryTreeNode.java
CategoryTreeNode.java
http://www.nabble.com/file/p14229459/CategoryTreeState.java
CategoryTreeState.java
http://www.nabble.com/file/p14229459/RootTreeNode.java RootTreeNode.java
http://www.nabble.com/fi
Doug, great work!
Can I just ask you a question, what does your implementation of the
CategoryTreeModel look like?
I've been trying all sorts of approaches for doing a similar category
tree but I've never liked / got the model approach to work in a nice
fashion. :)
/Regards Mats
On Oct 27, 2007 6
Could you post the stacktrace?
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a14186249
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
Thanks for the hint, but, yes the wicket jars are the latest ones:
wicket-1.3.0-rc1.jar
wicket-datetime-1.3.0-rc1.jar
wicket-extensions-1.3.0-rc1.jar
wicket-ioc-1.3.0-rc1.jar
wicket-spring-1.3.0-rc1.jar
wicket-spring-annot-1.3.0-rc1.jar
And it's the same set of jars under Jetty.
So, I'm still r
That doesn't make sense. Not sure what the problem could be. Are you sure
you have Wicket 1.3 in the Tomcat instance?
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a14185067
Sent from the Wicket - User mailing list archive at Nabble.com.
Hello All!
This CheckBox tree is very cool. But I'm having some strange interactions
with the web server: when I run under Jetty everything goes smoothly, but
when I deploy to tomcat, I get a bunch of unrendered component exceptions
for the component with id "checkbox" and whose class is some
Glad to have helped!
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a13804839
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROT
Doug, thanks for putting this together.
David
Doug Leeper wrote:
>
> Ok here it is. I have also included my use of it. While it won't compile
> for you...you will at least see how I have used it.
>
> http://www.nabble.com/file/p13439520/CheckBoxIconPanel.html
> CheckBoxIconPanel.html
> h
Ok here it is. I have also included my use of it. While it won't compile
for you...you will at least see how I have used it.
http://www.nabble.com/file/p13439520/CheckBoxIconPanel.html
CheckBoxIconPanel.html
http://www.nabble.com/file/p13439520/CheckBoxIconPanel.java
CheckBoxIconPanel.java
ht
I agree. I was going to replicate LinkTree and LinkTreePanel with
checkboxes.
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a13436575
Sent from the Wicket - User mailing list archive at Nabble.com.
---
I think this shouldn't be difficult to accomplish with BaseTree and
AjaxCheckBox.
-Matej
On 10/27/07, Doug Leeper <[EMAIL PROTECTED]> wrote:
>
> I was just about to tackle this. If I get something together I will forward
> the code.
>
> - Doug
> --
> View this message in context:
> http://www.n
I was just about to tackle this. If I get something together I will forward
the code.
- Doug
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a13436155
Sent from the Wicket - User mailing list archive at Nabble.com.
---
26 matches
Mail list logo