But for most common use cases a page will have a .html . You could use several different approaches to archive something like you talk about. But when it comes down to it you will at least have:

Using markup inheritance:
one super class with a corresponding html and a sub class with corrosponding html, extending the super class to the special need. And maybe a mounted page that redirects to the wanted sub based on parameters.

Using panels:
one page with corresponding html, consistent of panels where only the appropriate are visible for the specific request.


I do not know echo2.

Are you wanting for wicket to produce all html? This is not possible afaik.

legolas wrote:
I am simple looking to know whether we can get rid of any markup files and
just use java files to define and design our pages, something like echo2?

Thanks.



Nino.Martinez wrote:
Hi legolas

im not sure how familiar you are with wicket. But i'd go for having the html and just using the approach specified here:

http://www.nabble.com/Ways-of-making-components-in-a-page-optional--tp14399390p14399390.html

It's possible that I've misunderstood you, do you want to redirect to some old legacy jsp page or?

legolas wrote:
A web page, but it is completely dynamic and all components will be
created
based on user request content.

Thanks

igor.vaynberg wrote:
what would you like it to display? a web page or contents of some
file/dynamic content?

-igor


On Jan 3, 2008 3:01 PM, legolas <[EMAIL PROTECTED]> wrote:
Hi
Is it possible to use wicket without having any html page?
Just writing java code and pointing the browser to some url and it goes
forward?

Thanks
--
View this message in context:
http://www.nabble.com/Is-it-possible-to-use-wicket-without-having-any-html-page--tp14607438p14607438.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]



--
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


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





--
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


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

Reply via email to