Re: how to get html source

2008-04-11 Thread Maurice Marrink
If you are only interested in a few of the tags you could overwrite
onComponentTag.

But if you want the full page you could render everything to a string
: see 
http://www.nabble.com/Wicket-as-a-template-generator-tp16609133p16610499.html

Another option, probably more efficient if you are only interested in
dumping all responses in a database is to put a filter in front of the
wicket filter and capture all output there.

Maurice

On Fri, Apr 11, 2008 at 2:55 AM, freak182 [EMAIL PROTECTED] wrote:


  What i mean is the html tags and all kind of stuff of the rendered page. not
  the .html file...i want to retrieve that and save to DB.




  Mr Mean wrote:
  
   What do you mean get the html source of a page?
   Wicket already fetches the html source for your page if it is located
   in the same package and has the same name as your page. You do not
   need it.
   The constructor is irrelevant for this process.
  
   Maurice
  
   On Thu, Apr 10, 2008 at 10:51 AM, freak182 [EMAIL PROTECTED] wrote:
  
Hello,
My problem is how to get the html source of the page with the
   constructor
having a parameter?...i see an example of getting the html source of the
page with the constructor having no parameter that i think is easy.
  
Thanks a lot...Cheers!
--
View this message in context:
   http://www.nabble.com/how-to-get-html-source-tp16605236p16605236.html
Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  

  --
  View this message in context: 
 http://www.nabble.com/how-to-get-html-source-tp16605236p16623049.html


 Sent from the Wicket - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to get html source

2008-04-11 Thread freak182

hello,
Thanks this is what i want...


Mr Mean wrote:
 
 If you are only interested in a few of the tags you could overwrite
 onComponentTag.
 
 But if you want the full page you could render everything to a string
 : see
 http://www.nabble.com/Wicket-as-a-template-generator-tp16609133p16610499.html
 
 - I already similar code but the one that do the trick here is the
 this.render();
 
 Another option, probably more efficient if you are only interested in
 dumping all responses in a database is to put a filter in front of the
 wicket filter and capture all output there.
 
 - i will consider this option if the client change the featuresThanks
 a lot...Cheers.
 
 Maurice
 
 On Fri, Apr 11, 2008 at 2:55 AM, freak182 [EMAIL PROTECTED] wrote:


  What i mean is the html tags and all kind of stuff of the rendered page.
 not
  the .html file...i want to retrieve that and save to DB.




  Mr Mean wrote:
  
   What do you mean get the html source of a page?
   Wicket already fetches the html source for your page if it is located
   in the same package and has the same name as your page. You do not
   need it.
   The constructor is irrelevant for this process.
  
   Maurice
  
   On Thu, Apr 10, 2008 at 10:51 AM, freak182 [EMAIL PROTECTED]
 wrote:
  
Hello,
My problem is how to get the html source of the page with the
   constructor
having a parameter?...i see an example of getting the html source of
 the
page with the constructor having no parameter that i think is easy.
  
Thanks a lot...Cheers!
--
View this message in context:
   http://www.nabble.com/how-to-get-html-source-tp16605236p16605236.html
Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  

  --
  View this message in context:
 http://www.nabble.com/how-to-get-html-source-tp16605236p16623049.html


 Sent from the Wicket - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-get-html-source-tp16605236p16626781.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to get html source

2008-04-10 Thread freak182

Hello,
My problem is how to get the html source of the page with the constructor
having a parameter?...i see an example of getting the html source of the
page with the constructor having no parameter that i think is easy. 

Thanks a lot...Cheers!
-- 
View this message in context: 
http://www.nabble.com/how-to-get-html-source-tp16605236p16605236.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to get html source

2008-04-10 Thread Maurice Marrink
What do you mean get the html source of a page?
Wicket already fetches the html source for your page if it is located
in the same package and has the same name as your page. You do not
need it.
The constructor is irrelevant for this process.

Maurice

On Thu, Apr 10, 2008 at 10:51 AM, freak182 [EMAIL PROTECTED] wrote:

  Hello,
  My problem is how to get the html source of the page with the constructor
  having a parameter?...i see an example of getting the html source of the
  page with the constructor having no parameter that i think is easy.

  Thanks a lot...Cheers!
  --
  View this message in context: 
 http://www.nabble.com/how-to-get-html-source-tp16605236p16605236.html
  Sent from the Wicket - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to get html source

2008-04-10 Thread freak182


What i mean is the html tags and all kind of stuff of the rendered page. not
the .html file...i want to retrieve that and save to DB.


Mr Mean wrote:
 
 What do you mean get the html source of a page?
 Wicket already fetches the html source for your page if it is located
 in the same package and has the same name as your page. You do not
 need it.
 The constructor is irrelevant for this process.
 
 Maurice
 
 On Thu, Apr 10, 2008 at 10:51 AM, freak182 [EMAIL PROTECTED] wrote:

  Hello,
  My problem is how to get the html source of the page with the
 constructor
  having a parameter?...i see an example of getting the html source of the
  page with the constructor having no parameter that i think is easy.

  Thanks a lot...Cheers!
  --
  View this message in context:
 http://www.nabble.com/how-to-get-html-source-tp16605236p16605236.html
  Sent from the Wicket - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-get-html-source-tp16605236p16623049.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to get HTML source code from a wicket page

2007-09-04 Thread Oliver Henlich

Hi Jean-Baptiste,

Thanks for the response.

Here is the jira entry
https://issues.apache.org/jira/browse/WICKET-929

Cheers
Oliver

Jean-Baptiste Quenot wrote:

* oliver.henlich:

Hi Jean-Baptiste, just wondering if you got a chance to look at this?


Hi Oliver,

I have identified the bug thanks to your stacktrace, and it would
be great if you could file an issue on JIRA.

Something like: ExceptionErrorPage only works with WebResponse

Thanks in advance,




smime.p7s
Description: S/MIME Cryptographic Signature


Re: How to get HTML source code from a wicket page

2007-09-03 Thread Jean-Baptiste Quenot
* oliver.henlich:
 
 Hi Jean-Baptiste, just wondering if you got a chance to look at this?

Hi Oliver,

I have identified the bug thanks to your stacktrace, and it would
be great if you could file an issue on JIRA.

Something like: ExceptionErrorPage only works with WebResponse

Thanks in advance,
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to get HTML source code from a wicket page (was on old list)

2007-08-15 Thread oliver.henlich

Hi,

Still trying to get the HTML source from a wicket page. However, the
discussion was on the old user group and i don't think anyone is looking
there anymore so here is the post with the last state of things.

http://www.nabble.com/forum/ViewPost.jtp?post=12044817framed=y


Ideas?

Oliver
-- 
View this message in context: 
http://www.nabble.com/How-to-get-HTML-source-code-from-a-wicket-page-%28was-on-old-list%29-tf4276165.html#a12171769
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to get HTML source code from a wicket page (was on old list)

2007-08-15 Thread oliver.henlich

yeah cheers igor

it was just that on the thread i linked to there seemed to be a direct way
of doing this and there were some hints that it should work on trunk or
beta2.




igor.vaynberg wrote:
 
 did you see the tip about running wickettester in a separate thread?
 
 -igor
 
 
 On 8/15/07, oliver.henlich [EMAIL PROTECTED] wrote:


 Hi,

 Still trying to get the HTML source from a wicket page. However, the
 discussion was on the old user group and i don't think anyone is looking
 there anymore so here is the post with the last state of things.

 http://www.nabble.com/forum/ViewPost.jtp?post=12044817framed=y


 Ideas?

 Oliver
 --
 View this message in context:
 http://www.nabble.com/How-to-get-HTML-source-code-from-a-wicket-page-%28was-on-old-list%29-tf4276165.html#a12171769
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-get-HTML-source-code-from-a-wicket-page-%28was-on-old-list%29-tf4276165.html#a12172646
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]