Re: [Wicket-user] Fragment: optionally replace the tag

2007-04-10 Thread Thomas Singer
BTW, for what purpose the Fragment constructor with the MarkupStream  
parameter exists?

Tom


On Mon, 09 Apr 2007 20:14:36 +0200, Martijn Dashorst  
[EMAIL PROTECTED] wrote:

 This is very nasty code: creating a page upfront and not having it be
 part of the request cycle. Constructing a page can be very costly in
 terms of memory usage and performance (models pulling data).

 I highly recommend pulling this example from confluence, as it is
 unnecessary (use panels instead) and is as dangerous as adding new
 Page()'s to a PageLink (also not recommended).

 Martijn


 On 4/9/07, Thomas Singer [EMAIL PROTECTED] wrote:
 I meant, when I don't use the wicket:fragment-tags (like in the  
 example at
 http://cwiki.apache.org/confluence/display/WICKET/Fragment#Fragment-Fragmentsfromotherpages
 ).

 Tom

 Igor Vaynberg schrieb:
  fragment doesnt own wicket:fragment, only whatever is inside the
  wicket:fragment tags
 
  -igor
 
 
  On 4/8/07, *Thomas Singer*  [EMAIL PROTECTED]  
 mailto:[EMAIL PROTECTED]
  wrote:
 
  Currently, when using the Fragment component, only the content
  between the
  opening and closing tag seems to be replaced. What about  
 optionally
  replacing the tag, too?
 
  Tom


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share  
 your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user






-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fragment: optionally replace the tag

2007-04-09 Thread Thomas Singer
I meant, when I don't use the wicket:fragment-tags (like in the example at 
http://cwiki.apache.org/confluence/display/WICKET/Fragment#Fragment-Fragmentsfromotherpages
 
).

Tom

Igor Vaynberg schrieb:
 fragment doesnt own wicket:fragment, only whatever is inside the 
 wicket:fragment tags
 
 -igor
 
 
 On 4/8/07, *Thomas Singer*  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 wrote:
 
 Currently, when using the Fragment component, only the content
 between the
 opening and closing tag seems to be replaced. What about optionally
 replacing the tag, too?
 
 Tom


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fragment: optionally replace the tag

2007-04-09 Thread Martijn Dashorst
Why not just use a panel instead?

Martijn

On 4/9/07, Thomas Singer [EMAIL PROTECTED] wrote:
 I meant, when I don't use the wicket:fragment-tags (like in the example at
 http://cwiki.apache.org/confluence/display/WICKET/Fragment#Fragment-Fragmentsfromotherpages
 ).

 Tom

 Igor Vaynberg schrieb:
  fragment doesnt own wicket:fragment, only whatever is inside the
  wicket:fragment tags
 
  -igor
 
 
  On 4/8/07, *Thomas Singer*  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  wrote:
 
  Currently, when using the Fragment component, only the content
  between the
  opening and closing tag seems to be replaced. What about optionally
  replacing the tag, too?
 
  Tom


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fragment: optionally replace the tag

2007-04-09 Thread Martijn Dashorst
This is very nasty code: creating a page upfront and not having it be
part of the request cycle. Constructing a page can be very costly in
terms of memory usage and performance (models pulling data).

I highly recommend pulling this example from confluence, as it is
unnecessary (use panels instead) and is as dangerous as adding new
Page()'s to a PageLink (also not recommended).

Martijn


On 4/9/07, Thomas Singer [EMAIL PROTECTED] wrote:
 I meant, when I don't use the wicket:fragment-tags (like in the example at
 http://cwiki.apache.org/confluence/display/WICKET/Fragment#Fragment-Fragmentsfromotherpages
 ).

 Tom

 Igor Vaynberg schrieb:
  fragment doesnt own wicket:fragment, only whatever is inside the
  wicket:fragment tags
 
  -igor
 
 
  On 4/8/07, *Thomas Singer*  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  wrote:
 
  Currently, when using the Fragment component, only the content
  between the
  opening and closing tag seems to be replaced. What about optionally
  replacing the tag, too?
 
  Tom


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fragment: optionally replace the tag

2007-04-09 Thread Igor Vaynberg

yes +1, just revert to version 3

-igor


On 4/9/07, Martijn Dashorst [EMAIL PROTECTED] wrote:


This is very nasty code: creating a page upfront and not having it be
part of the request cycle. Constructing a page can be very costly in
terms of memory usage and performance (models pulling data).

I highly recommend pulling this example from confluence, as it is
unnecessary (use panels instead) and is as dangerous as adding new
Page()'s to a PageLink (also not recommended).

Martijn


On 4/9/07, Thomas Singer [EMAIL PROTECTED] wrote:
 I meant, when I don't use the wicket:fragment-tags (like in the
example at

http://cwiki.apache.org/confluence/display/WICKET/Fragment#Fragment-Fragmentsfromotherpages
 ).

 Tom

 Igor Vaynberg schrieb:
  fragment doesnt own wicket:fragment, only whatever is inside the
  wicket:fragment tags
 
  -igor
 
 
  On 4/8/07, *Thomas Singer*  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

  wrote:
 
  Currently, when using the Fragment component, only the content
  between the
  opening and closing tag seems to be replaced. What about
optionally
  replacing the tag, too?
 
  Tom



-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fragment: optionally replace the tag

2007-04-09 Thread Thomas Singer
OK, do so.

Tom


On Mon, 09 Apr 2007 20:14:36 +0200, Martijn Dashorst  
[EMAIL PROTECTED] wrote:

 This is very nasty code: creating a page upfront and not having it be
 part of the request cycle. Constructing a page can be very costly in
 terms of memory usage and performance (models pulling data).

 I highly recommend pulling this example from confluence, as it is
 unnecessary (use panels instead) and is as dangerous as adding new
 Page()'s to a PageLink (also not recommended).

 Martijn


 On 4/9/07, Thomas Singer [EMAIL PROTECTED] wrote:
 I meant, when I don't use the wicket:fragment-tags (like in the  
 example at
 http://cwiki.apache.org/confluence/display/WICKET/Fragment#Fragment-Fragmentsfromotherpages
 ).

 Tom

 Igor Vaynberg schrieb:
  fragment doesnt own wicket:fragment, only whatever is inside the
  wicket:fragment tags
 
  -igor
 
 
  On 4/8/07, *Thomas Singer*  [EMAIL PROTECTED]  
 mailto:[EMAIL PROTECTED]
  wrote:
 
  Currently, when using the Fragment component, only the content
  between the
  opening and closing tag seems to be replaced. What about  
 optionally
  replacing the tag, too?
 
  Tom


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share  
 your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user






-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Fragment: optionally replace the tag

2007-04-08 Thread Thomas Singer
Currently, when using the Fragment component, only the content between the  
opening and closing tag seems to be replaced. What about optionally  
replacing the tag, too?

Tom

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fragment: optionally replace the tag

2007-04-08 Thread Igor Vaynberg

fragment doesnt own wicket:fragment, only whatever is inside the
wicket:fragment tags

-igor


On 4/8/07, Thomas Singer [EMAIL PROTECTED] wrote:


Currently, when using the Fragment component, only the content between the
opening and closing tag seems to be replaced. What about optionally
replacing the tag, too?

Tom

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user