Re: new template tag framework

2001-02-07 Thread Cedric dumoulin


  Sorry for this late answer, I was far away from a computer for near three weeks
(somewhere in the tropics ...).

  Sure, I do not object to integrate part or whole of Components proposal, and I am
open to any discussion to improve it.

 I have designed Components to be able to build pages by assembling "independent"
and "reusable" pieces of jsp code. Later I have unified Components syntax with
David's Template in order to not provide another tool, and because David’s Template
has already been adopted. Now, components can be seen as an extended template
proposal. It is an additional taglib that you can use if you need provided features.

  It uses some Struts utilities, but doesn't rely on Struts. The provided servlet
extends the Struts one, in order to be able to "catch" include calls from Struts,
and reroute them if needed. Provided servlet could be simplified if Struts servlet
provide such a hook. May be one day ... It is the only intrusion in Struts.

  Cedric


David Geary wrote:

 I think this is a good idea. In a couple of weeks, I'll have some time to
 integrate it, unless someone objects.

 david

 "Craig R. McClanahan" wrote:

  "Deadman, Hal" wrote:
 
   I just tried out this Components extension to Struts and I like how it
   allows you centralize the template component definitions in an xml file and
   that it allows you to extend a template component and just override the
   parts that are different. Are there any plans for adopting this as part of
   Struts? It appears the authors would like it to be part of struts. Has it
   been voted down or is it being put off until after the 1.0 release?
  
 
  It certainly won't be added to 1.0 at this point.  For 1.1, I'm certainly open
  to cool additions, and will be looking at this one closely.
 
  
   Hal
  
 
  Craig
 
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
   Nathan Eric Probst
   Sent: Thursday, January 25, 2001 2:13 AM
   To: [EMAIL PROTECTED]
   Subject: Re: new template tag framework
  
   Check out the Components extention to Struts:
   http://gauss.ficsgrp.com/cdm
  
   nathan
  
   Quoc Le wrote:
  
The struts-template example implements a "C-Frame"  using
the new template tag framework.  I was a little disappointed
to find, though, that each new page inserted inside the
C-Frame requires 2 jsp/html files.  (One jsp to use the template
jsp and another html/jsp file to hold the content - options.jsp
and options.html for example).
   
It would be nice if there were a way to have variable content
inside the C-Frame without having to create 2 new pages
for each new page.
   
Does anyone know of an easy way to do this?
   
Thanks,
Quoc Le




Re: new template tag framework

2001-01-29 Thread Nathan Eric Probst

I certainly do NOT object.  I've been using Cedric's Components for several weeks
now and am hooked!  I find that they greatly extend the utility and "admin-ability"
of the Struts Framework.

I would also like to offer my assistance in integrating Components into Struts.  I
am a junior Java programmer working as a Java/Web Consultant.  I have not
contributed to an Open Source project before.  I would like to help, but under the
direction of a more experienced hand.  David, when you begin work on the
integration, please let me know where and how I can help you.

nathan

David Geary wrote:

 I think this is a good idea. In a couple of weeks, I'll have some time to
 integrate it, unless someone objects.

 david

 "Craig R. McClanahan" wrote:

  "Deadman, Hal" wrote:
 
   I just tried out this Components extension to Struts and I like how it
   allows you centralize the template component definitions in an xml file and
   that it allows you to extend a template component and just override the
   parts that are different. Are there any plans for adopting this as part of
   Struts? It appears the authors would like it to be part of struts. Has it
   been voted down or is it being put off until after the 1.0 release?
  
 
  It certainly won't be added to 1.0 at this point.  For 1.1, I'm certainly open
  to cool additions, and will be looking at this one closely.
 
  
   Hal
  
 
  Craig
 
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
   Nathan Eric Probst
   Sent: Thursday, January 25, 2001 2:13 AM
   To: [EMAIL PROTECTED]
   Subject: Re: new template tag framework
  
   Check out the Components extention to Struts:
   http://gauss.ficsgrp.com/cdm
  
   nathan
  
   Quoc Le wrote:
  
The struts-template example implements a "C-Frame"  using
the new template tag framework.  I was a little disappointed
to find, though, that each new page inserted inside the
C-Frame requires 2 jsp/html files.  (One jsp to use the template
jsp and another html/jsp file to hold the content - options.jsp
and options.html for example).
   
It would be nice if there were a way to have variable content
inside the C-Frame without having to create 2 new pages
for each new page.
   
Does anyone know of an easy way to do this?
   
Thanks,
Quoc Le




Re: new template tag framework

2001-01-25 Thread Ted Husted

On 1/25/2001 at 11:42 AM Craig R. McClanahan wrote:
 It certainly won't be added to 1.0 at this point.  For 1.1, I'm
certainly open to cool additions, and will be looking at this one
closely.

The coolest addition would be one that actually leveraged the Struts
framework, the way some of the custom tags do. 

The current template library is generic, and any other could be easily
used in its place. (Which is the beauty Struts. It is firmly based on
standards, so it is easy to plug-in whatever other standard library you
may need to use!)


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts/





RE: new template tag framework

2001-01-25 Thread Deadman, Hal

Doesn't this Components extension leverage the struts framework? It
basically just extends the struts ActionServlet. It then provides a
component tag library that is backwardly compatible with struts template
tags. I just modified a few files in my rather small web application to use
the components tld instead of struts-template.tld and it seemed to work fine
with the latest Struts build. Going back to the current template library
would be fairly easy but I would lose central administration of the
component/page definitions.

Hal

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 3:29 PM
To: Struts List
Subject: Re: new template tag framework


On 1/25/2001 at 11:42 AM Craig R. McClanahan wrote:
 It certainly won't be added to 1.0 at this point.  For 1.1, I'm
certainly open to cool additions, and will be looking at this one
closely.

The coolest addition would be one that actually leveraged the Struts
framework, the way some of the custom tags do.

The current template library is generic, and any other could be easily
used in its place. (Which is the beauty Struts. It is firmly based on
standards, so it is easy to plug-in whatever other standard library you
may need to use!)


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts/



Re: new template tag framework

2001-01-25 Thread Wong Kok Wai

Another approach that's worth considering is the
portlet concept in JetSpeed
(http://jakarta.apache.org/jetspeed). The added
advanatge is it allows the user to customise the
layout themselves (a cheap form of personalisation).

 It certainly won't be added to 1.0 at this point. 
 For 1.1, I'm certainly open
 to cool additions, and will be looking at this one
 closely.
 
 
 Craig
 
 


__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/



Re: new template tag framework

2001-01-24 Thread Nathan Eric Probst

Check out the Components extention to Struts:
http://gauss.ficsgrp.com/cdm

nathan

Quoc Le wrote:

 The struts-template example implements a "C-Frame"  using
 the new template tag framework.  I was a little disappointed
 to find, though, that each new page inserted inside the
 C-Frame requires 2 jsp/html files.  (One jsp to use the template
 jsp and another html/jsp file to hold the content - options.jsp
 and options.html for example).

 It would be nice if there were a way to have variable content
 inside the C-Frame without having to create 2 new pages
 for each new page.

 Does anyone know of an easy way to do this?

 Thanks,
 Quoc Le