How to made a direct response html in wicket

2008-09-11 Thread miata

Hi,

I have a problem to including a html flow in web page.
In Jsp page, the code will be like this :

html
%=api.callHtml %
/html
 
How I can tranfered the html flow since wicket Page without markup ??? 
If someone have an idea...

thanks
-- 
View this message in context: 
http://www.nabble.com/How-to-made-a-direct-response-html-in-wicket-tp19435569p19435569.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 made a direct response html in wicket

2008-09-11 Thread Stefan Lindner
You can always have

html
div wicket:id=content/div
/html


and java

class MyPage extens WebPage {
public MyPage() {
add(new Label(content, a lot of html tags and things fort he 
page).setEscapeModelStrings(false));
}

-Ursprüngliche Nachricht-
Von: miata [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 11. September 2008 16:05
An: users@wicket.apache.org
Betreff: How to made a direct response html in wicket


Hi,

I have a problem to including a html flow in web page.
In Jsp page, the code will be like this :

html
%=api.callHtml %
/html
 
How I can tranfered the html flow since wicket Page without markup ??? 
If someone have an idea...

thanks
-- 
View this message in context: 
http://www.nabble.com/How-to-made-a-direct-response-html-in-wicket-tp19435569p19435569.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 made a direct response html in wicket

2008-09-11 Thread James Carman
Probably want to add setRenderBodyOnly(true)

On Thu, Sep 11, 2008 at 10:11 AM, Stefan Lindner [EMAIL PROTECTED] wrote:
 You can always have

html
div wicket:id=content/div
/html


 and java

class MyPage extens WebPage {
public MyPage() {
add(new Label(content, a lot of html tags and things fort 
 he page).setEscapeModelStrings(false));
}

 -Ursprüngliche Nachricht-
 Von: miata [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 11. September 2008 16:05
 An: users@wicket.apache.org
 Betreff: How to made a direct response html in wicket


 Hi,

 I have a problem to including a html flow in web page.
 In Jsp page, the code will be like this :

 html
 %=api.callHtml %
 /html

 How I can tranfered the html flow since wicket Page without markup ???
 If someone have an idea...

 thanks
 --
 View this message in context: 
 http://www.nabble.com/How-to-made-a-direct-response-html-in-wicket-tp19435569p19435569.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]



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



RE: How to made a direct response html in wicket

2008-09-11 Thread miata

Thanks!!!
it's perfect and very simple...
For remove the div we can add the setRenderBodyOnly():
label.setRenderBodyOnly(true);


Stefan Lindner wrote:
 
 You can always have
 
   html
   div wicket:id=content/div
   /html
 
 
 and java
 
   class MyPage extens WebPage {
   public MyPage() {
   add(new Label(content, a lot of html tags and things fort he
 page).setEscapeModelStrings(false));
   }
 
 -Ursprüngliche Nachricht-
 Von: miata [mailto:[EMAIL PROTECTED] 
 Gesendet: Donnerstag, 11. September 2008 16:05
 An: users@wicket.apache.org
 Betreff: How to made a direct response html in wicket
 
 
 Hi,
 
 I have a problem to including a html flow in web page.
 In Jsp page, the code will be like this :
 
 html
 %=api.callHtml %
 /html
  
 How I can tranfered the html flow since wicket Page without markup ??? 
 If someone have an idea...
 
 thanks
 -- 
 View this message in context:
 http://www.nabble.com/How-to-made-a-direct-response-html-in-wicket-tp19435569p19435569.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-made-a-direct-response-html-in-wicket-tp19435569p19436395.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]