[Wicket-user] Re: How can i get tree node detail and show in another panel

2005-11-02 Thread Alex Chew
)09:53:35,497 INFO [STDOUT] at wicket.examples.navtree.MyTree.nodeLinkClicked(MyTree.java:83)09:53:35,497 INFO [STDOUT] at wicket.markup.html.tree.Tree$5.onClick (Tree.java:716)09:53:35,497 INFO [STDOUT] at wicket.markup.html.link.Link.onLinkClicked(Link.java:183) On 11/3/05, Alex Chew [EMAIL

[Wicket-user] Re: How can i get tree node detail and show in another panel

2005-11-02 Thread Alex Chew
I tried wicket 1.1, with same code fragment, i got RunTimeException: wicket.WicketRuntimeException: The component(s) below failed to render: 1. [Component id = detailMsg, page = wicket.examples.navtree.ContentPage, path = 1:detailMsg.Label, isVisible = true, isVersioned = true] at

[Wicket-user] Re: How can i get tree node detail and show in another panel

2005-11-02 Thread Alex Chew
Thanks, Igor. It resolved. When replace a component, the path should be correct. For my application, the Label detailMsg is child of Border navomaticBorder, so thecode fragment must like this: Page p = this.getPage();Label newlabel = new Label(detailMsg, Replaced);p.replace(new

[Wicket-user] Re: TreeView and BookMarkablePage

2005-11-02 Thread Alex Chew
I found this message http://sourceforge.net/mailarchive/message.php?msg_id=12880137 formerly, i tested this kind of solution, but couldn't work. It seems strange,Does wicket and iframe coexist?

[Wicket-user] How can i get tree node detail and show in another panel?

2005-11-01 Thread Alex Chew
I used wicket1.0.2. In my Application, i want to show a tree as navigator and detail message as body.It is a parellel layout, left panel is a treeview, right is content view. What i want isshownode name in right panel when i click a tree node. Followed the example(1.0.2), i used twoBorder-left

[Wicket-user] Re: Wicket-user digest, Vol 1 #1080 - 3 msgs

2005-10-28 Thread Alex Chew
The code is generated by OAW. I hate use form in each row, imo, wicket can get the model value when the link was clicked. Also , i tried table_ProductList.setOptimizeItemRemoval(true), but nothing changed. what i need isgetvalue of textfield(not in a form) whena link was clicked. help andthanks

[Wicket-user] How can I get the value of TextField in a table

2005-10-26 Thread Alex Chew
Hay, Guys, In my application, i use a table with TextField as Shopping Cart list. but i cannot get the value of the textfield. Help please. Code fragments followed. final ProductList value = (ProductList) listItem.getModelObject(); listItem.add(new Label(name, value.getName()));