[Wicket-user] Re: drop down

2006-05-02 Thread Aditya

 When I tried to set otherForm.isVisible(false), I get an error saying that
addForm is not present in the java page but its present in the markup.

WicketMessage: Unable to find component with id 'addForm' in [MarkupContainer
[Component id = _extend, page = com.AdminPage, path =
1:_body:_child:_extend:_child:_extend.MarkupInheritanceResolver$
TransparentWebMarkupContainer,
isVisible = true, isVersioned = true]]. This means that you declared
wicket:id=addForm in your markup, but that you either did not add the component
to your page at all, or that the hierarchy does not match.
[markup = file:/AdminPage.html, index = 38, current = 'form
wicket:id=addForm' (line 19, column 5)]




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: drop down

2006-05-02 Thread Aditya

Sorry, my bad. I forgot to add the form to the page. Thanks for the replies.

Igor Vaynberg igor.vaynberg at gmail.com writes:

 
 
 final Form otherform=otherform.setVisible(false);DropDownChoice ddc=new
DropDownChoice() {void wantOnSelectionChangedNotifications() { return true;
}   onSelectionChanged() {  boolean showOtherForm=...some condition;
   otherform.setVisible(showOtherForm);}}-Igor
 
 On 4/28/06, Adit email_to_aditya at yahoo.com
  wrote:
 The drop down is in the form and the rest of the page is in another form. That
 form should be hidden until a selection is made on the drop down
list.---Using Tomcat but
need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user
mailing list
 Wicket-user at
lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 






---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: drop down

2006-05-02 Thread Igor Vaynberg
are you still calling add(otherForm) ? you still have to add it, and after that set it to invisible.-IgorOn 5/2/06, Aditya 
[EMAIL PROTECTED] wrote: When I tried to set otherForm.isVisible(false), I get an error saying that
addForm is not present in the java page but its present in the markup.WicketMessage: Unable to find component with id 'addForm' in [MarkupContainer[Component id = _extend, page = com.AdminPage, path =1:_body:_child:_extend:_child:_extend.MarkupInheritanceResolver$
TransparentWebMarkupContainer,isVisible = true, isVersioned = true]]. This means that you declaredwicket:id=addForm in your markup, but that you either did not add the componentto your page at all, or that the hierarchy does not match.
[markup = file:/AdminPage.html, index = 38, current = 'formwicket:id=addForm' (line 19, column 5)]---Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: drop down

2006-04-28 Thread Adit

The drop down is in the form and the rest of the page is in another form. That
form should be hidden until a selection is made on the drop down list.
  






---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: drop down

2006-04-28 Thread Igor Vaynberg
final Form otherform=otherform.setVisible(false);DropDownChoice ddc=new DropDownChoice() { void wantOnSelectionChangedNotifications() { return true; } onSelectionChanged() { boolean showOtherForm=...some condition;
 otherform.setVisible(showOtherForm); }}-IgorOn 4/28/06, Adit [EMAIL PROTECTED]
 wrote:The drop down is in the form and the rest of the page is in another form. That
form should be hidden until a selection is made on the drop down list.---Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user