Re: [Wicket-user] javascript version of setVisible()
007/6/3, Vincent Demay [EMAIL PROTECTED]: Matthieu Casanova a écrit : Hi, I want to hide a component, and sometimes making it visible using javascript. Is there something like that in wicket api or should I do it myself with some javascript ? Hi, If you want to make your component visible/invisble using ajax, you can use setOutputMarkupPlaceholderTag(true) and setVisible(false/true) on your component. Read setOutputMarkupPlaceholderTag javadoc to get more information. Oh cool it seems exactly what I need, but I didn't found it because it is not in 1.2.6. Is the 1.3 beta stable enough to work with or is it only for testing ? Matthieu - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] javascript version of setVisible()
Matthieu Casanova a écrit : 007/6/3, Vincent Demay [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Matthieu Casanova a écrit : Hi, I want to hide a component, and sometimes making it visible using javascript. Is there something like that in wicket api or should I do it myself with some javascript ? Hi, If you want to make your component visible/invisble using ajax, you can use setOutputMarkupPlaceholderTag(true) and setVisible(false/true) on your component. Read setOutputMarkupPlaceholderTag javadoc to get more information. Oh cool it seems exactly what I need, but I didn't found it because it is not in 1.2.6. Is the 1.3 beta stable enough to work with or is it only for testing ? Yes you can use that. It is the future rc1. -- Vincent Matthieu - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] javascript version of setVisible()
Matthieu Casanova a écrit : Hi, I want to hide a component, and sometimes making it visible using javascript. Is there something like that in wicket api or should I do it myself with some javascript ? Hi, If you want to make your component visible/invisble using ajax, you can use setOutputMarkupPlaceholderTag(true) and setVisible(false/true) on your component. Read setOutputMarkupPlaceholderTag javadoc to get more information. If you want just want to do that with javascript (without ajax), a simple javascript could be fine myNode.style.display = none/block or myNode.style.visiblility = hidden/visible -- Vincent Matthieu - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] javascript version of setVisible()
You should use javascript to hide your component. Matthieu Casanova wrote: Hi, I want to hide a component, and sometimes making it visible using javascript. Is there something like that in wicket api or should I do it myself with some javascript ? Matthieu - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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/javascript-version-of-setVisible%28%29-tf3852607.html#a10928149 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] javascript version of setVisible()
Hi, I want to hide a component, and sometimes making it visible using javascript. Is there something like that in wicket api or should I do it myself with some javascript ? Matthieu - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user