Re: Clearing Cache after Logout

2008-12-04 Thread vishy_sb
Thanks for the reply there Nino. I have set up a custom expired page and have set the following in Application class getApplicationSettings().setPageExpiredErrorPage(PageExpired.class); Now the page expired is set to this page. But still on hitting the back button I get back to the page. I

Clearing Cache after Logout

2008-12-03 Thread vishy_sb
Hi all, I have a logout link that takes me to the login (Home) page. However when I click the back button it brings me back to the same page that I was on (Although I am not able to do anything on this page as whenever I press some button I get the error Page Expired) A better option would be

Re: Validation Question

2008-11-20 Thread vishy_sb
... etc, in the same package as the class with the same name. Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk vishy_sb wrote: Hi all, I am trying to get some validations to work using the FeedbackPanel. My form has a Textfield and I am trying to use a NumberValidator

Check a checkbox when focus on a textbox

2008-11-20 Thread vishy_sb
Hi all, I have a textbox and a checkbox in a form on my web page. I would like to automatically check the checkbox when the user starts to type something in the textbox. I believe this can be done by using some javascript. I did some research over the web and was able to find some code which is

Validation Question

2008-11-19 Thread vishy_sb
Hi all, I am trying to get some validations to work using the FeedbackPanel. My form has a Textfield and I am trying to use a NumberValidator to check if it is in a given range. The code that I have used is : TextField pgLongLimit = new TextField(pgLongLimit, new PropertyModel(

Setting a button press on hitting the enter key from the keyboard

2008-11-13 Thread vishy_sb
I have a form inside a modal window. The form has a textfield field and a button in it. I want to set the focus on the button when I enter something in the textfield. I tried adding the following behaviour to the textfield but it is not working. textfield.add(new AbstractBehavior(){

Re: Setting a button press on hitting the enter key from the keyboard

2008-11-13 Thread vishy_sb
..: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events vishy_sb wrote: I have a form inside a modal window. The form has a textfield field and a button in it. I want to set the focus on the button when I enter something in the textfield. I tried adding

Disabling a TreeNode

2008-08-20 Thread vishy_sb
Hi all, I have a tree component on my page and each tree node has a check box and a label. I am trying to disable the nodes that have been selected using the checkbox. The event is fired by pressing a button. Any ideas about how this could be done??? Thanks in advance, vishy -- View this

Modal Window not displayed

2008-08-06 Thread vishy_sb
Hi All, Kindly refer to the picture to see the page that I have.. the page has 2 panels. One has the Limit Editor and the other has the tree. Now when I hit the apply button a confirmation window should come up as shown in the picture below.

Re: Modal Window not displayed

2008-08-06 Thread vishy_sb
Anybody out there know anything about this. vishy_sb wrote: Hi All, Kindly refer to the picture to see the page that I have.. the page has 2 panels. One has the Limit Editor and the other has the tree. Now when I hit the apply button a confirmation window should come up as shown

Re: Dynamically Making changes to Tree Node

2008-08-06 Thread vishy_sb
) { /* HERE CREATE YOUR OWN PANEL DEPENDING ON THE TREE NODE. YOU CAN GET THE TREE NODE FOR THIS ROW FROM model.getObject() */ } }; } -Matej On Fri, Aug 1, 2008 at 1:29 AM, vishy_sb

Re: Dynamically Making changes to Tree Node

2008-08-04 Thread vishy_sb
Hi there, Well it seems that the tree is not working again... Here is the code: Inside the Tree I am overriding the newNodeComponentMethod() like this: //Java Code @Override protected Component newNodeComponent(String id, IModel model) { Component nodeComp = null;

Re: Dynamically Making changes to Tree Node

2008-08-02 Thread vishy_sb
vishy_sb schrieb: I am sorry that I have been really bothering you here but I just need to get this working asap. so from your reply are you suggesting that I should have a tree structure like this: Panel1 --Panel2 --Panel3 with an HTML markup

Re: Add different component for treenode

2008-08-02 Thread vishy_sb
Nevermind I was able to get it to work vishy [EMAIL PROTECTED] wrote: Hi, with newNodeComponent in the BaseTree class i can specify a different component for my treenode, but this is the same for all node. Is it possible setting different treenode component for added a different type

Re: Refreshing a form inside a Modal Window

2008-08-02 Thread vishy_sb
be a better way. Steve vishy_sb wrote: The Modal Window contains a Panel. The picture shows how the window looks like when I try to search some thing the results are populated in the List as shown. All the rows which are selected will be added to another list on the main page when the apply

Re: CheckBox handling with Ajax.

2008-08-02 Thread vishy_sb
the setOutputMarkupPlaceholdertag to true. I had a similar issue like you and I was able to get it to work with that. Vishy vishy_sb wrote: Well you need to put the component (say component) which you want to make invisible into target and then set component.setOutputMarkupPlaceholderTag(true

Re: Refreshing a form inside a Modal Window

2008-08-01 Thread vishy_sb
(modal.getContentId())); modal.show(target); } }); Of course, there may be a better way. Steve vishy_sb wrote: The Modal Window contains a Panel. The picture shows how the window looks like when I try to search some thing the results are populated in the List

Re: Dynamically Making changes to Tree Node

2008-08-01 Thread vishy_sb
Any ideas about how to get this working vishy_sb wrote: Thanks for the quick reply Matej. Well in my implementation I am using a CheckBoxTree example discussed in the forum already (http://www.nabble.com/Checkbox-tree-component-td13433102.html#a13439520). and I am adding all

Re: Dynamically Making changes to Tree Node

2008-08-01 Thread vishy_sb
. -Matej On Fri, Aug 1, 2008 at 11:03 PM, vishy_sb [EMAIL PROTECTED] wrote: Any ideas about how to get this working vishy_sb wrote: Thanks for the quick reply Matej. Well in my implementation I am using a CheckBoxTree example discussed in the forum already (http://www.nabble.com

Re: Dynamically Making changes to Tree Node

2008-08-01 Thread vishy_sb
. -Matej On Fri, Aug 1, 2008 at 11:03 PM, vishy_sb [EMAIL PROTECTED] wrote: Any ideas about how to get this working vishy_sb wrote: Thanks for the quick reply Matej. Well in my implementation I am using a CheckBoxTree example discussed in the forum already (http://www.nabble.com

Re: Add different component for treenode

2008-08-01 Thread vishy_sb
Hi [EMAIL PROTECTED], I am trying to get the same thing working here and was just wondering if you were able to get it to work. if you did can you provide some help on you did it. Also when I try to write the newNodeComponent() method just as you have used below I get an exception that the

Dynamically Making changes to Tree Node

2008-07-31 Thread vishy_sb
http://www.nabble.com/file/p18765641/treeview.jpeg Hi All, As shown in the Image I have a checkbox tree which has nodes that have different components. Each node of the tree has a checkbox, label, a panel which has the 3 TextAreas and another panel which has a listview. In order to get the

Re: Refreshing a form inside a Modal Window

2008-07-31 Thread vishy_sb
Is there anyone who has any clue about how this has to be done??? vishy_sb wrote: Hi all, I have Modal Window which contains a panel. Inside the panel I am trying to perform a search and the results of the search are populating inside a ListView. There is an apply button which

Re: Refreshing a form inside a Modal Window

2008-07-31 Thread vishy_sb
at 1:33 AM, vishy_sb [EMAIL PROTECTED] wrote: Is there anyone who has any clue about how this has to be done??? vishy_sb wrote: Hi all, I have Modal Window which contains a panel. Inside the panel I am trying to perform a search and the results of the search are populating inside

Re: Dynamically Making changes to Tree Node

2008-07-31 Thread vishy_sb
, 2008 at 1:29 AM, vishy_sb [EMAIL PROTECTED] wrote: http://www.nabble.com/file/p18765641/treeview.jpeg Hi All, As shown in the Image I have a checkbox tree which has nodes that have different components. Each node of the tree has a checkbox, label, a panel which has the 3 TextAreas

Refreshing a form inside a Modal Window

2008-07-30 Thread vishy_sb
Hi all, I have Modal Window which contains a panel. Inside the panel I am trying to perform a search and the results of the search are populating inside a ListView. There is an apply button which applies the list on the main page and closes the modal window. However when I want to do another

Re: Checkbox tree component

2008-07-07 Thread vishy_sb
in the onNodeCheckUpdated() method of the main panel but it doesn't work like that. Any ideas about how i can get this to work. Regards, vishy_sb 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

Re: Checkbox tree component

2008-06-26 Thread vishy_sb
me know how can I implement that. Thanks, vishy_sb 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 http

Re: Checkbox tree component

2008-06-26 Thread vishy_sb
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