Re: Is it possible to use wicket without having any html page?

2008-01-12 Thread xdirewolfx

I was trying to achieve the same thing to use one single web page to markup
into any format desired. What I did was to store HTML markup scriptlet of
popular components in a data source and using metadata on runtime to
determine a view (from my current application architecture)
On wicket side, I used MarkupResourceStreamProvider and StringResourceStream
to construct the markup on runtime. The java components to manipulate these
markups are being injected using guice.

legolas 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--tp14607438p14782785.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: Is it possible to use wicket without having any html page?

2008-01-09 Thread Nino Saturnino Martinez Vazquez Wael

Yeah, that approach cleans up a lot enforcing the DRY principle rocks:)

Sam Hough wrote:

Thanks Nino,

Went with your original suggestion but down a layer in our application so
got rid of lots of similar code for introspection based CRUD type stuff
etc...

So can happily just do:
horizontalPanel.add(new Button(Click me));
horizontalPanel.add(new HTML(Some text));
horizontalPanel.add(new Button(Another button));

Did wonder about making them smart enough to realise if they were meant to
use their own HTML or parent HTML but that seemed like it could get very
nasty. Even the brochure type parts of the site are getting more CSS and
less HTML heavy so maybe they will move over to this new style. Presumably
can optimise out the Panel wrapper if it starts to hurt performance. Just
need bookmarking/history and end to page expired and will all be rosy ;)

Cheers

Sam




Johan Compagner wrote:
  

If you want default html for those things use panels. Make for all
those components a panel part that has its own markup (so do that
once)
Then reuse those components everywhere.
Not that you gain much in my eyes because you still need to have a
span that places the panel at the right place

On 1/7/08, Sam Hough [EMAIL PROTECTED] wrote:



Nino.Martinez wrote:
  

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.
  


Dear Nino,

Can you do this for components that don't extend
http://wicketstuff.org/wicket13doc/org/apache/wicket/markup/html/WebMarkupContainerWithAssociatedMarkup.html
?

So say have an AjaxFallbackButton that you can just add to a Repeater? So
can have all the goodness of large swathe of HTML managed by the HTML
monkey
but still let me, Java monkey, add components (without specific HTML)? I
can
only see how I would do that by wrapping the Button in a Panel but that
seems like a lot of overhead and the object I would be returning would
look
like a Panel not a Button

Re: Why not just use Echo - could be that 80% of app is perfect fit for
Wicket but 20% would be nicer if just had default HTML for Button, Link,
TextField etc...?

Cheers

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



Re: Is it possible to use wicket without having any html page?

2008-01-08 Thread Sam Hough

Thanks Nino,

Went with your original suggestion but down a layer in our application so
got rid of lots of similar code for introspection based CRUD type stuff
etc...

So can happily just do:
horizontalPanel.add(new Button(Click me));
horizontalPanel.add(new HTML(Some text));
horizontalPanel.add(new Button(Another button));

Did wonder about making them smart enough to realise if they were meant to
use their own HTML or parent HTML but that seemed like it could get very
nasty. Even the brochure type parts of the site are getting more CSS and
less HTML heavy so maybe they will move over to this new style. Presumably
can optimise out the Panel wrapper if it starts to hurt performance. Just
need bookmarking/history and end to page expired and will all be rosy ;)

Cheers

Sam




Johan Compagner wrote:
 
 If you want default html for those things use panels. Make for all
 those components a panel part that has its own markup (so do that
 once)
 Then reuse those components everywhere.
 Not that you gain much in my eyes because you still need to have a
 span that places the panel at the right place
 
 On 1/7/08, Sam Hough [EMAIL PROTECTED] wrote:



 Nino.Martinez wrote:
 
 
  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.
 
 

 Dear Nino,

 Can you do this for components that don't extend
 http://wicketstuff.org/wicket13doc/org/apache/wicket/markup/html/WebMarkupContainerWithAssociatedMarkup.html
 ?

 So say have an AjaxFallbackButton that you can just add to a Repeater? So
 can have all the goodness of large swathe of HTML managed by the HTML
 monkey
 but still let me, Java monkey, add components (without specific HTML)? I
 can
 only see how I would do that by wrapping the Button in a Panel but that
 seems like a lot of overhead and the object I would be returning would
 look
 like a Panel not a Button

 Re: Why not just use Echo - could be that 80% of app is perfect fit for
 Wicket but 20% would be nicer if just had default HTML for Button, Link,
 TextField etc...?

 Cheers

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

2008-01-07 Thread Nino Saturnino Martinez Vazquez Wael

Hi Martijn

First of all I did not want to start a discussion.

get rid of markup files, could be interpreted in serveral ways. One 
could be that he was wondering on having excess html pages, and I just 
wanted to tell him of panels and markup inheritance. And as I stated I 
do not know echo 2.


I agree if people wants something that fits another framework they 
should use that. Unless they're ready for a mental change and do it the 
wicket way:)


-Nino

Martijn Dashorst wrote:

How do you explain this *after* people have pointed him to Panels and stuff?
He explicitly states: get rid of markup files, and wants an Echo2 model:
  

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?



Don't be afraid to tell people that Wicket is not for everybody. What
legolas is asking goes against the very core Wicket has to offer. Wanting to
turn wicket into something it is not is wrong for the framework and the
result will be horrible. It would be like writing web applications with
Wicket trying to emulate struts. What he is asking for is a programming
model that fits Echo2 really well. And Wings or even GWT.

Martijn

On Jan 7, 2008 8:07 AM, Nino Saturnino Martinez Vazquez Wael 
[EMAIL PROTECTED] wrote:

  

I agree on what you guys say, but theres also the chance legolas dont
know every tip of the framework. And just wanted to know about panels or
markup inheritance...

People doesnt always know how to ask a question if they arent familiar
with the framework. An so sometimes questions just come out awkwardly
and offending.

-regards Nino

Eelco Hillenius wrote:


On Jan 4, 2008 7:35 PM, Martijn Dashorst [EMAIL PROTECTED]
  

wrote:


then just use Echo2. Why make Wicket into Echo2 when you can use that?

Wicket has a particular niche and Echo2 has its niche. There is no
sense into turning one into the other.



+1!

Eelco

-
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]



Re: Is it possible to use wicket without having any html page?

2008-01-07 Thread Sam Hough



Nino.Martinez wrote:
 
 
 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.
 
 

Dear Nino,

Can you do this for components that don't extend 
http://wicketstuff.org/wicket13doc/org/apache/wicket/markup/html/WebMarkupContainerWithAssociatedMarkup.html
?

So say have an AjaxFallbackButton that you can just add to a Repeater? So
can have all the goodness of large swathe of HTML managed by the HTML monkey
but still let me, Java monkey, add components (without specific HTML)? I can
only see how I would do that by wrapping the Button in a Panel but that
seems like a lot of overhead and the object I would be returning would look
like a Panel not a Button

Re: Why not just use Echo - could be that 80% of app is perfect fit for
Wicket but 20% would be nicer if just had default HTML for Button, Link,
TextField etc...?

Cheers

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

2008-01-07 Thread Johan Compagner
If you want default html for those things use panels. Make for all
those components a panel part that has its own markup (so do that
once)
Then reuse those components everywhere.
Not that you gain much in my eyes because you still need to have a
span that places the panel at the right place

On 1/7/08, Sam Hough [EMAIL PROTECTED] wrote:



 Nino.Martinez wrote:
 
 
  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.
 
 

 Dear Nino,

 Can you do this for components that don't extend
 http://wicketstuff.org/wicket13doc/org/apache/wicket/markup/html/WebMarkupContainerWithAssociatedMarkup.html
 ?

 So say have an AjaxFallbackButton that you can just add to a Repeater? So
 can have all the goodness of large swathe of HTML managed by the HTML monkey
 but still let me, Java monkey, add components (without specific HTML)? I can
 only see how I would do that by wrapping the Button in a Panel but that
 seems like a lot of overhead and the object I would be returning would look
 like a Panel not a Button

 Re: Why not just use Echo - could be that 80% of app is perfect fit for
 Wicket but 20% would be nicer if just had default HTML for Button, Link,
 TextField etc...?

 Cheers

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

2008-01-07 Thread Jon Laidler

+1.

If Echo (never used myself) fits use it. You could also use Java servlets to
create dynamic HTML from the server. Personally, this is a backward trend
and a pain to manage - all HTML modifications made in the servlet, harder
for web designers to do their creative stuff etc. 

The beauty of Wicket is it separates the process from the presentation
layer. 

Just my 2cents



Martijn Dashorst wrote:
 
 then just use Echo2. Why make Wicket into Echo2 when you can use that?
 
 Wicket has a particular niche and Echo2 has its niche. There is no
 sense into turning one into the other.
 
 Martijn
 
 On Jan 4, 2008 12:32 PM, legolas [EMAIL PROTECTED] 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]
 
 
 

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


 
 
 
 -- 
 Buy Wicket in Action: http://manning.com/dashorst
 Apache Wicket 1.3.0 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

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

2008-01-07 Thread Dan Kaplan
Am I having déjà vu?  Didn't someone already post this?

-Original Message-
From: Jon Laidler [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 07, 2008 3:54 PM
To: users@wicket.apache.org
Subject: Re: Is it possible to use wicket without having any html page?


+1.

If Echo (never used myself) fits use it. You could also use Java servlets to
create dynamic HTML from the server. Personally, this is a backward trend
and a pain to manage - all HTML modifications made in the servlet, harder
for web designers to do their creative stuff etc. 

The beauty of Wicket is it separates the process from the presentation
layer. 

Just my 2cents



Martijn Dashorst wrote:
 
 then just use Echo2. Why make Wicket into Echo2 when you can use that?
 
 Wicket has a particular niche and Echo2 has its niche. There is no
 sense into turning one into the other.
 
 Martijn
 
 On Jan 4, 2008 12:32 PM, legolas [EMAIL PROTECTED] 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--tp143993
90p14399390.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-p
age--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]
 
 
 

 --
 View this message in context:

http://www.nabble.com/Is-it-possible-to-use-wicket-without-having-any-html-p
age--tp14607438p14614650.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]


 
 
 
 -- 
 Buy Wicket in Action: http://manning.com/dashorst
 Apache Wicket 1.3.0 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

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

2008-01-06 Thread Nino Saturnino Martinez Vazquez Wael
I agree on what you guys say, but theres also the chance legolas dont 
know every tip of the framework. And just wanted to know about panels or 
markup inheritance...


People doesnt always know how to ask a question if they arent familiar 
with the framework. An so sometimes questions just come out awkwardly 
and offending.


-regards Nino

Eelco Hillenius wrote:

On Jan 4, 2008 7:35 PM, Martijn Dashorst [EMAIL PROTECTED] wrote:
  

then just use Echo2. Why make Wicket into Echo2 when you can use that?

Wicket has a particular niche and Echo2 has its niche. There is no
sense into turning one into the other.



+1!

Eelco

-
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]



Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread legolas

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]
 
 
 

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

2008-01-04 Thread Nino Saturnino Martinez Vazquez Wael

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]



Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread Johan Compagner
Thats only possible  if you use panels for everything. Or generate als
ther html dynamically based on your data

On 1/4/08, legolas [EMAIL PROTECTED] 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]
 
 
 

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

2008-01-04 Thread Nino Saturnino Martinez Vazquez Wael
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]



Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread Martijn Dashorst
then just use Echo2. Why make Wicket into Echo2 when you can use that?

Wicket has a particular niche and Echo2 has its niche. There is no
sense into turning one into the other.

Martijn

On Jan 4, 2008 12:32 PM, legolas [EMAIL PROTECTED] 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]
 
 
 

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





-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0

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



Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread legolas

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]
 
 
 

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

2008-01-04 Thread Eelco Hillenius
On Jan 4, 2008 7:35 PM, Martijn Dashorst [EMAIL PROTECTED] wrote:
 then just use Echo2. Why make Wicket into Echo2 when you can use that?

 Wicket has a particular niche and Echo2 has its niche. There is no
 sense into turning one into the other.

+1!

Eelco

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



Is it possible to use wicket without having any html page?

2008-01-03 Thread legolas

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]



Re: Is it possible to use wicket without having any html page?

2008-01-03 Thread Igor Vaynberg
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]