Re: Ajaxified Notification
Thank you for your reply. Ok i will try AbstractAjaxTimerBehavior but tell me can server notify the client on particular situation. That is many browser(many client logged in) may opened and accessing the wicket application, at some when event occurs for particular client time the server has send the details to particular client browser can this be done. Thanks in advance Karthic -- View this message in context: http://www.nabble.com/Ajaxified-Notification-tp21742197p21744321.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Ajaxified Notification
Hi I am karthic i am using wicket in project and its going well. I have scenerio like this Client will click a button and the click event will request something but the requested values will be from the other server(webservices). My Question is the value from other server may come anytime from 1 secs to 1 mins so the thread will listen for the values to arrive . How to notify this values to client side is it possible in wicket? The notification should be ajax like that is the client page should not be refreshed (Like automatic updation to clien when an event occur on server) Anybody have any idea please guide me Thanks Karthic -- View this message in context: http://www.nabble.com/Ajaxified-Notification-tp21742197p21742197.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Pagination in wicket
Hi I worked on wicket for a month only, i want pagination to be done in wicket. Can anybody guide me or provide some samples, it would be big help for me. I have tried googling "Pagination in wicket" but not yet get the solution. I have also tried Pagenavigator but don't know how to use it correctly(Stuck in creating the dataview Thanks in advance Karthic -- View this message in context: http://www.nabble.com/Pagination-in-wicket-tp21620591p21620591.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Tester
The links are very usefull. Thank you very much for your help. Regards karthic -- View this message in context: http://www.nabble.com/Wicket-Tester-tp21537981p21539882.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket Tester
Hi I have came to know that wicket has tester, from its features. I don't know how to use it anybody has knowledge about that please guide me. It will be very helpfull to me. Thank you Karthic -- View this message in context: http://www.nabble.com/Wicket-Tester-tp21537981p21537981.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Problem with dynamic insertion to Tree
Thanks for your reply i have been waiting for long time target.addComponent(this); also does not solved my problem. if i click a node the child is created under the node but doesn't expanded but when i click it second time then it expands but with two child. -- View this message in context: http://www.nabble.com/Problem-with-dynamic-insertion-to-Tree-tp21474815p21476222.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Problem with dynamic insertion to Tree
Is there anybody to solve this. I got Stuck here :working: I have a problem in inserting/adding nodes dynamically to tree. When i inserted/added a node on click, the plus icon appears but it is not expanded, that is it is not showing the child node i have tried tree.update but not worked. My Code protected void onNodeLinkClicked(org.apache.wicket.ajax.AjaxRequestTarget target, javax.swing.tree.TreeNode node){ MyTreeNode nd = (MyTreeNode)node; //nd.add(new DefaultMutableTreeNode("sample")); System.out.println(node + "Ajax Clicked"); nd.insert(new MyTreeNode(node + "child"), 0); //this.modelChanged(); //this.nodeExpanded(node); this.updateTree(); } Why it is happening like. Thanks Karthic -- View this message in context: http://www.nabble.com/Problem-with-dynamic-insertion-to-Tree-tp21474815p21475834.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Problem with dynamic insertion to Tree
I have a problem in inserting/adding nodes dynamically to tree. When i inserted/added a node on click, the plus icon appears but it is not expanded, that is it is not showing the child node i have tried tree.update but not worked. My Code protected void onNodeLinkClicked(org.apache.wicket.ajax.AjaxRequestTarget target, javax.swing.tree.TreeNode node){ MyTreeNode nd = (MyTreeNode)node; //nd.add(new DefaultMutableTreeNode("sample")); System.out.println(node + "Ajax Clicked"); nd.insert(new MyTreeNode(node + "child"), 0); //this.modelChanged(); //this.nodeExpanded(node); this.updateTree(); } Why it is happening like. Thanks Karthic -- View this message in context: http://www.nabble.com/Problem-with-dynamic-insertion-to-Tree-tp21474815p21474815.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket tree
I have a new problem in inserting/adding nodes dynamically to tree. When i inserted/added a node on click, the plus icon appears but it is not expanded, that is it is not showing the child node i have tried tree.update but not worked. My Code protected void onNodeLinkClicked(org.apache.wicket.ajax.AjaxRequestTarget target, javax.swing.tree.TreeNode node){ MyTreeNode nd = (MyTreeNode)node; //nd.add(new DefaultMutableTreeNode("sample")); System.out.println(node + "Ajax Clicked"); nd.insert(new MyTreeNode(node + "child"), 0); //this.modelChanged(); //this.nodeExpanded(node); this.updateTree(); } Why it is happening like. Thanks Karthic -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21472531.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket tree
Thank you its worked :jumping:, what i did wrong was i override the tree onNodeLinkClicked method Newgro wrote: > > AFAIK you can use Tree. It's extending already the DefaultAbstractTree. > Cheers > Per > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21431002.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket tree
Thank you for your reply. So i have to extend the DefaultAbstractTree and override the onNodeLinkClicked is that right? I am trying that. Newgro wrote: > > Hi, > > a bit more code would help getting a good answer. > > You could overwrite the > DefaultAbstractTree.onNodeLinkClicked(AjaxRequestTarget target, TreeNode > node) method. Why this should not work - i only can hit the air. > Another way is to call the > AbstractTree.getTreeState()..isNodeSelected(pNode) or > getSelectedNodes(). But this will not give you the clicked but the > selected nodes. > > PS: Based on Wicket 1.3.5 > > HTH (at least a bit) > > Per > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21430564.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
How to handle click event on tree
I am currently using wicket tree, the tree is constructed and working well but i can't get the click event. For example i want to get the clicked node to display. I tried extending tree and overriding the nodeLinkClicked, but that is not fired when i clicked. What to do anyone knows about this please make your suggestion Thanks in advance Karthic -- View this message in context: http://www.nabble.com/How-to-handle-click-event-on-tree-tp21430022p21430022.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket tree
Is There any one to solve this Hi I have constructed my tree but i cant get the clicked node. The nodeLinkClicked() function is not working. I used the nodeLinkClicked method in two ways 1. exetending Tree class 2. while creating the object new(){ nodeLinkClicked() }; In both i just put standard output statement but that doesn't get called. -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21428684.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Why Named Wicket
Thanks for your reply So which meaning to take either wicket is a cricket term or star wars they arent clearly said. In one books(ebook) i read that wicket is like cricket wicket where bowler aims at that only where as here (apache wicket) we concentrate on classes rather then xml,scripts etc.. Which one should i take Thanks karthic -- View this message in context: http://www.nabble.com/Why-Named-Wicket-tp21413514p21414370.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Why Named Wicket
Hi to all Actually i am working with wicket for one month and suddenly a thought came why it is named wicket.:working: So anybody know the reason why wicket is named so. Thanks in advance Karthic -- View this message in context: http://www.nabble.com/Why-Named-Wicket-tp21413514p21413514.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Help,How to download all files in one folder ?
I am also a newbie but i will try could u be please more specific or elabrate -- View this message in context: http://www.nabble.com/Help%2CHow-to-download-all-files-in-one-folder---tp21411355p21411712.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket tree
Hi I have constructed my tree but i cant get the clicked node. The nodeLinkClicked() function is not working. I used the nodeLinkClicked method in two ways 1. exetending Tree class 2. while creating the object new(){ nodeLinkClicked() }; In both i just put standard output statement but that doesn't get called. -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21410500.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: HOW TO REDIRECT
The doubt raised because of the word exception in that command. Once again Thank you very much for your support. Karthic. -- View this message in context: http://www.nabble.com/HOW-TO-REDIRECT-tp21307007p21307822.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: HOW TO REDIRECT
Thanks very much for ur help, its working, but is that a properway to divert to success or failure page depending on conditions or is there any thing like sendRedirect... Thanks karthic -- View this message in context: http://www.nabble.com/HOW-TO-REDIRECT-tp21307007p21307624.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: HOW TO REDIRECT
Thanks for your reply redirectToInterceptPage is not working After login button is clicked the control is passed to verify page in that i have code like this if(user.equals("admin") || user.equals("karthic")){ //setRedirect(true); //setResponsePage(new Test()); //onsuccessful login redirectToInterceptPage(new SuccessPage()); } in that success page i include only a label(for testing purpose). How to solve it Thanks Karthic -- View this message in context: http://www.nabble.com/HOW-TO-REDIRECT-tp21307007p21307286.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
HOW TO REDIRECT
Hi everybody I have a problem in redirecting to a class(webpage) My Scenario is A login page when user is clicks the login button it will go to authentication page form there (automatically)if he is a valid user he must be directed to success page or to a failure page. How to do this I used setResponsepage(somepage) Thanks in advance Karthic -- View this message in context: http://www.nabble.com/HOW-TO-REDIRECT-tp21307007p21307007.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org