You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Steve Wilkinson <ws...@msn.com> on 2002/04/15 14:42:03 UTC

Re: Struts Tags for Visual HTML Components / Java Server Faces [was: ] Struts m

Arron,
Has this tutorial been uploaded yet?
TIA,
Steve

----- Original Message -----
From: Arron Bates
Sent: Thursday, April 11, 2002 11:49 AM
To: Struts Developers List
Subject: Re: Struts Tags for Visual HTML Components / Java Server Faces [was: ] Struts menu

On the defense of trees in Struts...

...current Struts 1.1 is actually an absolute honey to make trees.
really. One step at a time, and it's a walk in the park.

A while back (a month), the nested tags were made to penetrate a dynamic
include, which allows for true recursion. Which means... oh yeah.... trees!
I don't mean "it's possible".... I mean "if you can do it with trees,
you can do it with Struts 1.1!"... It really is cool, the same tag
markup you always use (if you always used nested tags :), however you
want to lay it out, 100% flexible. I've made a ton of trees in web stuff
over the years, but this is sweet. Dynamic, collapsing... you name it.

I'll be uploading a tutorial on my site to show it off in 24 hours.
Struts... oh yeah!

Arron.

Craig R. McClanahan wrote:

>
>On Thu, 11 Apr 2002, Hans-Joachim Matheus wrote:
>
>>Date: Thu, 11 Apr 2002 12:36:25 +0200
>>From: Hans-Joachim Matheus <Ha...@in-gmbh.de>
>>Reply-To: Struts Developers List <st...@jakarta.apache.org>
>>To: "'struts-dev@jakarta.apache.org'" <st...@jakarta.apache.org>
>>Subject: Struts Tags for Visual HTML Components / Java Server Faces
>>    [was: ] Struts menu
>>
>>Hi,
>>
>>I'd like to hear a little bit of the
>>ideas of the list members about other
>>"visual components" that you know from
>>e.g. Swing GUIs that you also would like
>>to see in a HTML GUI, e.g. a Tree component.
>>
>
>That is exactly the space that JavaServer Faces will live in, along with
>the associated infrastructure to make it work.
>
>>What will be the relationship of such
>>menu, tree, and other components to Java Server
>>Faces.
>>
>
>My plan is to make it easy to use Faces components to build the UI of
>Struts based applications, without having to mess with struts-config.xml,
>your actions, or any of that stuff.  We'll (obviously) continue to support
>the existing HTML tag library, but I suspect most people will tend to
>choose the Faces tags for new apps, once they become available.
>
>>Is it worth putting much effort in such components,
>>e.g. tag libraries,
>>
>
>If you need them right now, it's absolutely worth the effort.
>
>Doing a simple "visual component" like a date chooser widget (three select
>boxes for month/day/year) is pretty easy -- a bean class to represent the
>properties and a new tag to render it.  Doing something like a tree
>control is *much* more complex.  I helped do a really kludgy one inside
>the Struts-based Tomcat 4 administration application (download recent
>nightly build sources and look in the "webapps/admin" directory if you're
>curious), but would be very interested in ideas on how to do that more
>elegantly.
>
>>or will some kind of Java Server Faces standarts
>>kind of blow away the allready done work.
>>(@see Log4J)
>>
>
>That must be why the #1 question I received at JavaOne was "what's the
>deal with JavaServer Faces and Struts?"  :-)
>
>>How do you think will the now better and more
>>trustworthy Javascript-DOM-capabilities of the
>>new browsers influence such components.
>>
>
>That only helps if your users have the new browsers :-)
>
>>Would like to hear your 0.02 Euro-Cents ;-)
>>
>
>Absolutely!
>
>>Hans-Joachim Matheus
>>
>
>Craig
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>