You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eddie Bush <ek...@swbell.net> on 2002/09/19 05:10:23 UTC

[OT] Schwing!

Any good resources for learning to do GUI development with Swing?  I 
gather it's favored over AWT nowadays.  I did some AWT back ... long 
time ago :-) ... but most of my GUI-doing business has been under VB or 
Delphi.  I'm kinda doing the STFW thing, but I thought one of you might 
have a resource you're especially proud of ;-)

Thanks!

-- 
Eddie Bush




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


RE: [OT] Schwing!

Posted by Andrew Hill <an...@gridnode.com>.
When learning, cut the code yourself and dont use any gui designers.
Once you understand it, THEN by all means use a fancy tool to do things. Be
sure however , to have a bucket handy if you plan on examining the code it
generates. ;-)
(Speaking generically. I havent tried NetBeans so cant speak for it
specifically)

-----Original Message-----
From: Eddie Bush [mailto:ekbush@swbell.net]
Sent: Thursday, September 19, 2002 11:54
To: Struts Users Mailing List
Subject: Re: [OT] Schwing!


Yes, but it just throws things out there ... and I don't find that
terribly educational ;-)  I use Netbeans extensively in my web
application endeavors.  I think (personally) that it is the ultimate
web-app IDE.  I tried IDEA/Eclipse etc.  ... and I prefer Netbeans.  I
guess it's that it makes it a lot more "natural" to develop web-apps.
 *shrug*

Once I understand what I am doing, I'm sure Netbeans will be a super IDE
for building Swing apps too.

James Mitchell wrote:

>Have you considered starting with the NetBeans Platform?
>
> http://www.netbeans.org/
>
>"The NetBeans Platform is the basis of the NetBeans IDE.  It is a 'generic
>desktop application' which can be used to create almost any client-side
>application."
>
>James Mitchell
>Software Engineer\Struts Evangelist
>Struts-Atlanta, the "Open Minded Developer Network"
>http://www.open-tools.org/struts-atlanta
>

--
Eddie Bush




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


Re: [OT] Schwing!

Posted by Eddie Bush <ek...@swbell.net>.
Yes, but it just throws things out there ... and I don't find that 
terribly educational ;-)  I use Netbeans extensively in my web 
application endeavors.  I think (personally) that it is the ultimate 
web-app IDE.  I tried IDEA/Eclipse etc.  ... and I prefer Netbeans.  I 
guess it's that it makes it a lot more "natural" to develop web-apps. 
 *shrug*

Once I understand what I am doing, I'm sure Netbeans will be a super IDE 
for building Swing apps too.

James Mitchell wrote:

>Have you considered starting with the NetBeans Platform?
>
> http://www.netbeans.org/
>
>"The NetBeans Platform is the basis of the NetBeans IDE.  It is a 'generic
>desktop application' which can be used to create almost any client-side
>application."
>
>James Mitchell
>Software Engineer\Struts Evangelist
>Struts-Atlanta, the "Open Minded Developer Network"
>http://www.open-tools.org/struts-atlanta
>

-- 
Eddie Bush




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


RE: [OT] Schwing!

Posted by micael <ca...@harbornet.com>.
Agreed!  It seems as if things are just getting cooler and cooler in Java 
by the day.

At 11:52 PM 9/18/2002 -0400, you wrote:
>Thinlet.......WOW.....very nice.  I think I'll be able to use this on my
>next project.
>
>James Mitchell
>Software Engineer\Struts Evangelist
>Struts-Atlanta, the "Open Minded Developer Network"
>http://www.open-tools.org/struts-atlanta
>
>
>
>
> > -----Original Message-----
> > From: Aaron Oathout [mailto:aaron@codejunkies.org]
> > Sent: Wednesday, September 18, 2002 11:43 PM
> > To: Struts Users Mailing List
> > Subject: RE: [OT] Schwing!
> >
> >
> > Take a look at http://www.thinlet.com/ It's not swing, but the
> > idea behind
> > it is excellent. Very small api, you define your gui components in
> > xml, and your logic in a .java file. Nice seperation between the view and
> > business logic. Other than that I would suggest netbeans platform as well.
> >
> > Aaron
> >
> >
> > On Wed, 18 Sep 2002, James Mitchell wrote:
> >
> > > Have you considered starting with the NetBeans Platform?
> > >
> > >  http://www.netbeans.org/
> > >
> > > "The NetBeans Platform is the basis of the NetBeans IDE.  It is
> > a 'generic
> > > desktop application' which can be used to create almost any client-side
> > > application."
> > >
> > >
> > >
> > >
> > > James Mitchell
> > > Software Engineer\Struts Evangelist
> > > Struts-Atlanta, the "Open Minded Developer Network"
> > > http://www.open-tools.org/struts-atlanta
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Jacob Hookom [mailto:hookomjj@uwec.edu]
> > > > Sent: Wednesday, September 18, 2002 11:16 PM
> > > > To: 'Struts Users Mailing List'
> > > > Subject: RE: [OT] Schwing!
> > > >
> > > >
> > > > Java Web Start :-)
> > > >
> > > > http://java.sun.com/products/javawebstart/
> > > >
> > > > For each app or sample you can view the source
> > > >
> > > > http://java.sun.com/products/jfc/tsc/
> > > >
> > > > I found the sample on JFCAbstractActions to be quite useful
> > for creating
> > > > manageable actions on large apps.
> > > >
> > > > Jacob Hookom
> > > >
> > > > | -----Original Message-----
> > > > | From: Eddie Bush [mailto:ekbush@swbell.net]
> > > > | Sent: Wednesday, September 18, 2002 10:10 PM
> > > > | To: Struts Users List
> > > > | Subject: [OT] Schwing!
> > > > |
> > > > | Any good resources for learning to do GUI development with Swing?  I
> > > > | gather it's favored over AWT nowadays.  I did some AWT back ... long
> > > > | time ago :-) ... but most of my GUI-doing business has been under VB
> > > > or
> > > > | Delphi.  I'm kinda doing the STFW thing, but I thought one of you
> > > > might
> > > > | have a resource you're especially proud of ;-)
> > > > |
> > > > | Thanks!
> > > > |
> > > > | --
> > > > | Eddie Bush
> > > > |
> > > > |
> > > > |
> > > > |
> > > > | --
> > > > | To unsubscribe, e-mail:   <mailto:struts-user-> > > | 
> unsubscribe@jakarta.apache.org>
> > > > | For additional commands, e-mail: <mailto:struts-user-> > > | 
> help@jakarta.apache.org>
> > > >
> > > >
> > > > --
> > > > 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>
> >
>
>
>--
>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>



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


Re: [FRIDAY][OT] The bicycle threat (absolutely nothing to do with struts whatsoever ;->)

Posted by Daniel Jaffa <ja...@courtinnovation.org>.
Thank you andrew, had a very crappy week.

    Here Scope,  come here scope, Sit scope, Dont creep away from me, Scope
Stop     creeping. NOW!!!!!



Daniel Jaffa
----- Original Message -----
From: "Andrew Hill" <an...@gridnode.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, October 31, 2002 9:34 PM
Subject: [FRIDAY][OT] The bicycle threat (absolutely nothing to do with
struts whatsoever ;->)


> Hehe, the struts mailing list isn't the only one that has a tendency to go
> off topic:
>
> (The following being from Parliament house email lists (on the subject of
> the security threat posed by bicycles...))
> http://www.crikey.com.au/politics/2002/10/30/20021030bicylclethreat.html
>
>
> --
> 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>


[FRIDAY][OT] The bicycle threat (absolutely nothing to do with struts whatsoever ;->)

Posted by Andrew Hill <an...@gridnode.com>.
Hehe, the struts mailing list isn't the only one that has a tendency to go
off topic:

(The following being from Parliament house email lists (on the subject of
the security threat posed by bicycles...))
http://www.crikey.com.au/politics/2002/10/30/20021030bicylclethreat.html


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


Reusing ActionForm fields

Posted by Charles <ch...@radworkz.com>.
I have some action forms that have duplicate fields. I'm thinking of
creating a base abstract form that have some logically related fields and
have actionforms that need it extend from it. This helps in terms of code
reusing but the problem now is that one of my actionforms need fields from 2
seperate base forms. How do I reuse these two base form (since you cant
extend more than once). Or is there a better solution to code reusing for
action forms ?

TIA,
Charles



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


RE: [OT] Schwing!

Posted by James Mitchell <jm...@telocity.com>.
Thinlet.......WOW.....very nice.  I think I'll be able to use this on my
next project.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -----Original Message-----
> From: Aaron Oathout [mailto:aaron@codejunkies.org]
> Sent: Wednesday, September 18, 2002 11:43 PM
> To: Struts Users Mailing List
> Subject: RE: [OT] Schwing!
>
>
> Take a look at http://www.thinlet.com/ It's not swing, but the
> idea behind
> it is excellent. Very small api, you define your gui components in
> xml, and your logic in a .java file. Nice seperation between the view and
> business logic. Other than that I would suggest netbeans platform as well.
>
> Aaron
>
>
> On Wed, 18 Sep 2002, James Mitchell wrote:
>
> > Have you considered starting with the NetBeans Platform?
> >
> >  http://www.netbeans.org/
> >
> > "The NetBeans Platform is the basis of the NetBeans IDE.  It is
> a 'generic
> > desktop application' which can be used to create almost any client-side
> > application."
> >
> >
> >
> >
> > James Mitchell
> > Software Engineer\Struts Evangelist
> > Struts-Atlanta, the "Open Minded Developer Network"
> > http://www.open-tools.org/struts-atlanta
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Jacob Hookom [mailto:hookomjj@uwec.edu]
> > > Sent: Wednesday, September 18, 2002 11:16 PM
> > > To: 'Struts Users Mailing List'
> > > Subject: RE: [OT] Schwing!
> > >
> > >
> > > Java Web Start :-)
> > >
> > > http://java.sun.com/products/javawebstart/
> > >
> > > For each app or sample you can view the source
> > >
> > > http://java.sun.com/products/jfc/tsc/
> > >
> > > I found the sample on JFCAbstractActions to be quite useful
> for creating
> > > manageable actions on large apps.
> > >
> > > Jacob Hookom
> > >
> > > | -----Original Message-----
> > > | From: Eddie Bush [mailto:ekbush@swbell.net]
> > > | Sent: Wednesday, September 18, 2002 10:10 PM
> > > | To: Struts Users List
> > > | Subject: [OT] Schwing!
> > > |
> > > | Any good resources for learning to do GUI development with Swing?  I
> > > | gather it's favored over AWT nowadays.  I did some AWT back ... long
> > > | time ago :-) ... but most of my GUI-doing business has been under VB
> > > or
> > > | Delphi.  I'm kinda doing the STFW thing, but I thought one of you
> > > might
> > > | have a resource you're especially proud of ;-)
> > > |
> > > | Thanks!
> > > |
> > > | --
> > > | Eddie Bush
> > > |
> > > |
> > > |
> > > |
> > > | --
> > > | To unsubscribe, e-mail:   <mailto:struts-user-
> > > | unsubscribe@jakarta.apache.org>
> > > | For additional commands, e-mail: <mailto:struts-user-
> > > | help@jakarta.apache.org>
> > >
> > >
> > > --
> > > 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>
>


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


RE: [OT] Schwing!

Posted by Aaron Oathout <aa...@codejunkies.org>.
Take a look at http://www.thinlet.com/ It's not swing, but the idea behind 
it is excellent. Very small api, you define your gui components in 
xml, and your logic in a .java file. Nice seperation between the view and 
business logic. Other than that I would suggest netbeans platform as well.

Aaron


On Wed, 18 Sep 2002, James Mitchell wrote:

> Have you considered starting with the NetBeans Platform?
> 
>  http://www.netbeans.org/
> 
> "The NetBeans Platform is the basis of the NetBeans IDE.  It is a 'generic
> desktop application' which can be used to create almost any client-side
> application."
> 
> 
> 
> 
> James Mitchell
> Software Engineer\Struts Evangelist
> Struts-Atlanta, the "Open Minded Developer Network"
> http://www.open-tools.org/struts-atlanta
> 
> 
> 
> 
> > -----Original Message-----
> > From: Jacob Hookom [mailto:hookomjj@uwec.edu]
> > Sent: Wednesday, September 18, 2002 11:16 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [OT] Schwing!
> >
> >
> > Java Web Start :-)
> >
> > http://java.sun.com/products/javawebstart/
> >
> > For each app or sample you can view the source
> >
> > http://java.sun.com/products/jfc/tsc/
> >
> > I found the sample on JFCAbstractActions to be quite useful for creating
> > manageable actions on large apps.
> >
> > Jacob Hookom
> >
> > | -----Original Message-----
> > | From: Eddie Bush [mailto:ekbush@swbell.net]
> > | Sent: Wednesday, September 18, 2002 10:10 PM
> > | To: Struts Users List
> > | Subject: [OT] Schwing!
> > |
> > | Any good resources for learning to do GUI development with Swing?  I
> > | gather it's favored over AWT nowadays.  I did some AWT back ... long
> > | time ago :-) ... but most of my GUI-doing business has been under VB
> > or
> > | Delphi.  I'm kinda doing the STFW thing, but I thought one of you
> > might
> > | have a resource you're especially proud of ;-)
> > |
> > | Thanks!
> > |
> > | --
> > | Eddie Bush
> > |
> > |
> > |
> > |
> > | --
> > | To unsubscribe, e-mail:   <mailto:struts-user-
> > | unsubscribe@jakarta.apache.org>
> > | For additional commands, e-mail: <mailto:struts-user-
> > | help@jakarta.apache.org>
> >
> >
> > --
> > 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>
> 


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


RE: [OT] Schwing!

Posted by James Mitchell <jm...@telocity.com>.
Have you considered starting with the NetBeans Platform?

 http://www.netbeans.org/

"The NetBeans Platform is the basis of the NetBeans IDE.  It is a 'generic
desktop application' which can be used to create almost any client-side
application."




James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -----Original Message-----
> From: Jacob Hookom [mailto:hookomjj@uwec.edu]
> Sent: Wednesday, September 18, 2002 11:16 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Schwing!
>
>
> Java Web Start :-)
>
> http://java.sun.com/products/javawebstart/
>
> For each app or sample you can view the source
>
> http://java.sun.com/products/jfc/tsc/
>
> I found the sample on JFCAbstractActions to be quite useful for creating
> manageable actions on large apps.
>
> Jacob Hookom
>
> | -----Original Message-----
> | From: Eddie Bush [mailto:ekbush@swbell.net]
> | Sent: Wednesday, September 18, 2002 10:10 PM
> | To: Struts Users List
> | Subject: [OT] Schwing!
> |
> | Any good resources for learning to do GUI development with Swing?  I
> | gather it's favored over AWT nowadays.  I did some AWT back ... long
> | time ago :-) ... but most of my GUI-doing business has been under VB
> or
> | Delphi.  I'm kinda doing the STFW thing, but I thought one of you
> might
> | have a resource you're especially proud of ;-)
> |
> | Thanks!
> |
> | --
> | Eddie Bush
> |
> |
> |
> |
> | --
> | To unsubscribe, e-mail:   <mailto:struts-user-
> | unsubscribe@jakarta.apache.org>
> | For additional commands, e-mail: <mailto:struts-user-
> | help@jakarta.apache.org>
>
>
> --
> 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>


RE: [OT] Schwing!

Posted by Jacob Hookom <ho...@uwec.edu>.
Java Web Start :-)

http://java.sun.com/products/javawebstart/

For each app or sample you can view the source

http://java.sun.com/products/jfc/tsc/

I found the sample on JFCAbstractActions to be quite useful for creating
manageable actions on large apps.

Jacob Hookom

| -----Original Message-----
| From: Eddie Bush [mailto:ekbush@swbell.net]
| Sent: Wednesday, September 18, 2002 10:10 PM
| To: Struts Users List
| Subject: [OT] Schwing!
| 
| Any good resources for learning to do GUI development with Swing?  I
| gather it's favored over AWT nowadays.  I did some AWT back ... long
| time ago :-) ... but most of my GUI-doing business has been under VB
or
| Delphi.  I'm kinda doing the STFW thing, but I thought one of you
might
| have a resource you're especially proud of ;-)
| 
| Thanks!
| 
| --
| Eddie Bush
| 
| 
| 
| 
| --
| To unsubscribe, e-mail:   <mailto:struts-user-
| unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: <mailto:struts-user-
| help@jakarta.apache.org>


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


Re: [OT] Schwing!

Posted by Eddie Bush <ek...@swbell.net>.
That's actually what I've wound up doing.  This, I think, is what I was 
looking for.  I can't believe I didn't think of it right off!

Andrew Hill wrote:

>I was doing Swing GUI stuff before I started using struts. Swing is much
>nicer to use than AWT (anyone else still remember AWT? hehe) but can also be
>(ab)used very badly by folk who dont understand its concepts properly and
>has developed something of a bad reputation as a result!
>
>The easiest way to learn it is to start with the online tutorials at the Sun
>java site, and also spend some time looking through the JavaDocs for the
>Swing api.
>
>Being a struts person you should already be familiar with the concept of
>MVC, read up on how it is applied in Swing.
>(Take a good look at things like the table and tree model interfaces as you
>will probably be using these ones a lot)
>
>btw: Be sure to spend extra time when you study the infamous GridBagLayout.
>Its well worth it as that is by far the most useful of the layouts and once
>you have the hang of it you probably wont use the others much at all!
>
>-----Original Message-----
>From: Eddie Bush [mailto:ekbush@swbell.net]
>Sent: Thursday, September 19, 2002 11:10
>To: Struts Users List
>Subject: [OT] Schwing!
>
>
>Any good resources for learning to do GUI development with Swing?  I
>gather it's favored over AWT nowadays.  I did some AWT back ... long
>time ago :-) ... but most of my GUI-doing business has been under VB or
>Delphi.  I'm kinda doing the STFW thing, but I thought one of you might
>have a resource you're especially proud of ;-)
>
>Thanks!
>
>--
>Eddie Bush
>

-- 
Eddie Bush




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


RE: [OT] Schwing!

Posted by Andrew Hill <an...@gridnode.com>.
I was doing Swing GUI stuff before I started using struts. Swing is much
nicer to use than AWT (anyone else still remember AWT? hehe) but can also be
(ab)used very badly by folk who dont understand its concepts properly and
has developed something of a bad reputation as a result!

The easiest way to learn it is to start with the online tutorials at the Sun
java site, and also spend some time looking through the JavaDocs for the
Swing api.

Being a struts person you should already be familiar with the concept of
MVC, read up on how it is applied in Swing.
(Take a good look at things like the table and tree model interfaces as you
will probably be using these ones a lot)

btw: Be sure to spend extra time when you study the infamous GridBagLayout.
Its well worth it as that is by far the most useful of the layouts and once
you have the hang of it you probably wont use the others much at all!

-----Original Message-----
From: Eddie Bush [mailto:ekbush@swbell.net]
Sent: Thursday, September 19, 2002 11:10
To: Struts Users List
Subject: [OT] Schwing!


Any good resources for learning to do GUI development with Swing?  I
gather it's favored over AWT nowadays.  I did some AWT back ... long
time ago :-) ... but most of my GUI-doing business has been under VB or
Delphi.  I'm kinda doing the STFW thing, but I thought one of you might
have a resource you're especially proud of ;-)

Thanks!

--
Eddie Bush




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


Re: [OT] Schwing!

Posted by micael <ca...@harbornet.com>.
Core Graphics, Sun, David Geary.  That's the man!  There are a lot of 
resources, but David has a sense of balance in things that I like.

At 10:10 PM 9/18/2002 -0500, you wrote:
>Any good resources for learning to do GUI development with Swing?  I 
>gather it's favored over AWT nowadays.  I did some AWT back ... long time 
>ago :-) ... but most of my GUI-doing business has been under VB or 
>Delphi.  I'm kinda doing the STFW thing, but I thought one of you might 
>have a resource you're especially proud of ;-)
>
>Thanks!
>
>--
>Eddie Bush
>
>
>
>
>--
>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>


Re: JSF & JSTL

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Thu, 19 Sep 2002, Brijesh NK wrote:

> Date: Thu, 19 Sep 2002 09:49:24 +0530
> From: Brijesh NK <br...@sysarris.soft.net>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>,
>      brijeshnk@sysarris.soft.net
> To: Struts Users Mailing List <st...@jakarta.apache.org>
> Subject: JSF & JSTL
>
> Hi,
>
> I was going through the JSF tutorials. After going through few chapters i
> feel that the JSF finctionality can be implemented using JSTL, why do we
> need another thechnology with different name.
>

JSF components have a much richer functionality than do JSTL tags directly
-- just a couple of examples should suffice to make the point:

* JSF components redisplay bad input the way that Struts
  input field tags do.  With JSTL alone, that would only
  work for String fields.

* JSF lets you plug in event handlers and validators.  JSTL
  offers no such functionality.

* JSF lets you plug in a different RenderKit that renders the
  same components differently for a different target device.
  JSTL has nothing like this.

With respect to JSF versus Struts, see my posting yesterday on why and how
to use them together.  From a Struts developer perspective, the reason to
use JSF instead of the Struts HTML tags is that you'll automatically gain
access to all the JSF components developed by everyone who creates them
(and, because it'll be the standard, that covers a *lot* of component
providers), instead of being stuck with just the proprietary Struts tags.

> Any thoughts
>
> Brijesh

Craig


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


JSF & JSTL

Posted by Brijesh NK <br...@sysarris.soft.net>.
Hi,

I was going through the JSF tutorials. After going through few chapters i
feel that the JSF finctionality can be implemented using JSTL, why do we
need another thechnology with different name.

Any thoughts

Brijesh



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