If you want that text box to have dynamic behavior (e.g. changing its  
visibility), you have to make it a Wicket component. Otherwise,  
Wicket cannot alter it in any way. If you really don't want to make  
that text box a Wicket component (for whatever reason), you could  
always use JavaScript.

-Ryan

On Jul 26, 2007, at 9:46 PM, Durai007 wrote:

>
> no. In wicket html page, if i draw ordinary html textbox <input  
> type="text"
> name="text
> box">, we have no need to mention in java file.
>
> Initial page loading, I want to hide the above mentioned html text  
> box.
>
> Thanks
> Regards,
> Durai
>
>
>
> Dipu Seminlal wrote:
>>
>> add  a WebMarkupContainer and set the visibilty of the container  
>> to false,
>>
>> In your Form add the container like this
>> WebMarkupContainer  container = new WebMarkupContainer("container ")
>> add(container)
>>
>> And in the HTML
>>
>> <input type="text" name="ordinary text
>> box">
>>
>>
>> I am not sure if this is what you want.
>>
>> Regards
>> Dipu
>>
>>
>>
>> On 7/26/07, Durai007 <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>> Suppose, Consider in html, I have ordinary html textbox.for e.g  
>>> <input
>>> type="text" name="user">
>>> In this situation, How can I remove?
>>>
>>> Pls tell your suggestion. Thanks
>>>
>>> Regards,
>>> Durai
>>>
>>>
>>>
>>>
>>> igor.vaynberg wrote:
>>>>
>>>> simply
>>>>
>>>> gridform.setvisible(false);
>>>>
>>>> -igor
>>>>
>>>>
>>>> On 7/25/07, Durai007 <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>
>>>>> i have 2 forms, 1.grid-form 2. upload form. both forms have  
>>>>> mentioned
>>> in
>>>>> html
>>>>>
>>>>> But initially i want to load upload-form only. So that  
>>>>> initially how
>>> to
>>>>> remove grid-form.
>>>>>
>>>>> after submitting upload-form, now only i have to display grid- 
>>>>> form.
>>>>>
>>>>> Tell me how to remove single markup component from the html using
>>> java.
>>>>> (i.e <div wicket:id='test'> in html - remove it from java)
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>>
>>> http://www.nabble.com/Removing-Markup-Component-%28From-HTML%29- 
>>> using-Java-tf4142901.html#a11784996
>>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>>
>>> -------------------------------------------------------------------- 
>>> -----
>>>>> This SF.net email is sponsored by: Splunk Inc.
>>>>> Still grepping through log files to find problems?  Stop.
>>>>> Now Search log events and configuration files using AJAX and a
>>> browser.
>>>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>>>> _______________________________________________
>>>>> Wicket-user mailing list
>>>>> Wicket-user@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>>>
>>>>
>>> -------------------------------------------------------------------- 
>>> -----
>>>> This SF.net email is sponsored by: Splunk Inc.
>>>> Still grepping through log files to find problems?  Stop.
>>>> Now Search log events and configuration files using AJAX and a  
>>>> browser.
>>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>>> _______________________________________________
>>>> Wicket-user mailing list
>>>> Wicket-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Removing-Markup-Component-%28From-HTML%29- 
>>> using-Java-tf4142901.html#a11811220
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -----
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a  
>>> browser.
>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>> _______________________________________________
>>> IMPORTANT NOTICE:
>>>
>>> This mailing list is shutting down. Please subscribe to the  
>>> Apache Wicket
>>> user list. Send a message to: "users-subscribe at  
>>> wicket.apache.org" and
>>> follow the instructions.
>>> _______________________________________________
>>> Wicket-user mailing list
>>> Wicket-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a  
>> browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> IMPORTANT NOTICE:
>>
>> This mailing list is shutting down. Please subscribe to the Apache  
>> Wicket
>> user list. Send a message to: "users-subscribe at  
>> wicket.apache.org" and
>> follow the instructions.
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Removing-Markup- 
> Component-%28From-HTML%29-using-Java-tf4142901.html#a11822902
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> IMPORTANT NOTICE:
>
> This mailing list is shutting down. Please subscribe to the Apache  
> Wicket user list. Send a message to: "users-subscribe at  
> wicket.apache.org" and follow the instructions.
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: "users-subscribe at wicket.apache.org" and follow the 
instructions.
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to