[Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Lowell Kirsh
What I'd like to do is something like:

!-- p wicket:id=foosome data that should only be visible when
viewing the page's source code/p --

Does this make sense? How can I do that?

Thanks,
Lowell

-
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] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Igor Vaynberg

we do not support this, the only way i can think of doing something like
this is:

add(new label(foo, !-- bar --));

-igor


On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:


What I'd like to do is something like:

!-- p wicket:id=foosome data that should only be visible when
viewing the page's source code/p --

Does this make sense? How can I do that?

Thanks,
Lowell

-
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] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Martijn Dashorst
p wicket:id=foo/p

add(new Label(foo, !-- some stuff that should only be visible when
vie...--).setEscape...(false).setRenderBodyOnly(true));

should do this trick, but then inside out.

Martijn

On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
 What I'd like to do is something like:

 !-- p wicket:id=foosome data that should only be visible when
 viewing the page's source code/p --

 Does this make sense? How can I do that?

 Thanks,
 Lowell

 -
 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



-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
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] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Lowell Kirsh
What about the Comment class?

Class representing a comment in an HTML document.

http://wicketframework.org/wicket-1.2/apidocs/wicket/protocol/http/documentvalidation/Comment.html


On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 we do not support this, the only way i can think of doing something like
 this is:

 add(new label(foo, !-- bar --));

 -igor



 On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
 
  What I'd like to do is something like:
 
  !-- p wicket:id=foosome data that should only be visible when
  viewing the page's source code/p --
 
  Does this make sense? How can I do that?
 
  Thanks,
  Lowell
 
 
 -
  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



-
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] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Igor Vaynberg

what about it?

-igor


On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:


What about the Comment class?

Class representing a comment in an HTML document.


http://wicketframework.org/wicket-1.2/apidocs/wicket/protocol/http/documentvalidation/Comment.html


On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 we do not support this, the only way i can think of doing something like
 this is:

 add(new label(foo, !-- bar --));

 -igor



 On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
 
  What I'd like to do is something like:
 
  !-- p wicket:id=foosome data that should only be visible when
  viewing the page's source code/p --
 
  Does this make sense? How can I do that?
 
  Thanks,
  Lowell
 
 

-
  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



-
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] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Lowell Kirsh
Would that be usable for what I want to do (in addition to what you proposed)?

On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 what about it?

 -igor



 On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
 
  What about the Comment class?
 
  Class representing a comment in an HTML document.
 
 
 http://wicketframework.org/wicket-1.2/apidocs/wicket/protocol/http/documentvalidation/Comment.html
 
 
  On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
   we do not support this, the only way i can think of doing something like
   this is:
  
   add(new label(foo, !-- bar --));
  
   -igor
  
  
  
   On 4/27/07, Lowell Kirsh [EMAIL PROTECTED]  wrote:
   
What I'd like to do is something like:
   
!-- p wicket:id=foosome data that should only be visible when
viewing the page's source code/p --
   
Does this make sense? How can I do that?
   
Thanks,
Lowell
   
   
  
 -
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
  
  
 
 
 -
  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



-
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] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Igor Vaynberg

its not a component

-igor


On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:


Would that be usable for what I want to do (in addition to what you
proposed)?

On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 what about it?

 -igor



 On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
 
  What about the Comment class?
 
  Class representing a comment in an HTML document.
 
 

http://wicketframework.org/wicket-1.2/apidocs/wicket/protocol/http/documentvalidation/Comment.html
 
 
  On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
   we do not support this, the only way i can think of doing something
like
   this is:
  
   add(new label(foo, !-- bar --));
  
   -igor
  
  
  
   On 4/27/07, Lowell Kirsh [EMAIL PROTECTED]  wrote:
   
What I'd like to do is something like:
   
!-- p wicket:id=foosome data that should only be visible when
viewing the page's source code/p --
   
Does this make sense? How can I do that?
   
Thanks,
Lowell
   
   
  

-
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
  
  
 
 

-
  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



-
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] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Jonathan Locke


yeah, with setEscapeModelStrings(false).


igor.vaynberg wrote:
 
 we do not support this, the only way i can think of doing something like
 this is:
 
 add(new label(foo, !-- bar --));
 
 -igor
 
 
 On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:

 What I'd like to do is something like:

 !-- p wicket:id=foosome data that should only be visible when
 viewing the page's source code/p --

 Does this make sense? How can I do that?

 Thanks,
 Lowell

 -
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/newbie%3A-how-do-I-put-wicket-injected-objects-into-an-html-comment--tf3659208.html#a10227692
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