I have a Wicket application at work that has been well-received by its internal 
users.  Because I am not much of a web programmer, and because it is for 
internal use only, I built a bunch of general-purpose panels and base pages 
which I use to assemble the application-oriented pages using no additional 
HTML.  Many of the general-purpose panels simply provide the HTML for general 
purpose Wicket components (e.g. sets of radio-buttons and sets of checkboxes) 
with a simplified API façade that provides only the flexibility needed in my 
application.

My application-oriented pages therefore emphasize the business logic, with very 
little code whatsoever dealing with display logic.  Yes, the resulting pages 
are ugly, but they are functional and reliable so my users don't care.

Now I have a new requirement.  A group would like to use this application with 
the proviso that no open-source software be used!  (They have a short list of 
permitted exceptions containing standard stuff such as Struts.)  Since I chose 
Wicket so that I could use more-or-less a Swing style of programming, I figured 
it would be easier to translate my application into a fat-client application 
using Swing and deliver it via WebStart -- rather than, say, re-implementing it 
in JSP or JFS. :-(

There will only be a few users, and they work for the company; I'm not terribly 
concerned about maximizing performance.

Do you have any suggestions about the most straight-forward way of translating 
a Wicket application to Swing?  I suppose that I would represent each page as a 
JFrame, and each panel as a JPanel.

In my panels I have a number of components (buttons, checkboxes, radio 
buttons...), many (but not all) of which post back immediately on change, and a 
very few AJAX components that redraw only a bit of the page.  What would be the 
most direct method of modeling page post-back (and partial post-back, for the 
AJAX components) in Swing?

This question is kind of ironic, since Wicket was created to provide a more 
Swing-like approach to web programming, and now I'm wondering about Wicket-like 
approach to Swing programming!  :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to