[Webwork-user] Using (Swing-) beans in webwork ...
Brought to you by:
baldree,
rickardoberg
From: Hristo S. <hr_...@ya...> - 2000-12-03 18:26:27
|
Rickard-, I think I can commit code/docos to sourceforge now! Unfotunatelly, I'll be on a business trip for 3-4 days. But, when I get back I'll put some stuff for orientation with WebWork (seems there is a lot of confusion for what webwork is, what is in the source tree and HOW THE TAGS WORK). I have to see if I can recover all previous posts in both jBoss and Webwork lists, with little cosmetics this would be a nice "introduction". About the idea of layering Swing components(JMenu) - we should "adapt" them to the Action/SessionAware interfaces. And that is where the JDK 1.3 Dynamyc proxy may come to help - why not generate dynamic proxies whithin the Dispatcher.java servlet which now instantiates the actions? I think similar things are being done in JBoss and Orion app server when they adapt to the remote interfaces... Just an idea! Hristo > Just an observation... In one of your previous > posts you create a menu based on java.util.Map > Have you thought about using JMenu straight? > It has a menber "getSubElements()". Now, if we can > introspect "Object[] getPropery" in the webwork tags, > we could use JMenu and some other Swing widgets too. > Imagine the code reusability! Yes, that occured to me too, and I looked through the Swing API and found the getSubelements() stuff too. I haven't tested this yet, but it should work! :-) regards, Rickard __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ |