You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Ted Husted <hu...@apache.org> on 2002/01/22 18:40:28 UTC

Re: Validator/Tiles integration in Struts

We went back and forth about this in regards to the Velocity/Struts
integration package for a while. Finally, we put support for the
ContextHelper in Struts 1.1 (which might also work with the JSTL) and
the adapter for 1.0 in a new Velocity Tools package. The ContextHelper
gave Gabriel and Geir what they needed to know to write the 1.0 adapter,
and leaves most of the Velocity code with the Velocity team. 

Since Struts has so many Commons dependencies now, one more isn't going
to make any difference :)

The next question might be what about Tiles integration in Struts?
Cedric's Definitions are really quite neat, are coupled (to an extent)
with the ActionForwards, and has hooks to the ActionServlet. It also
uses an XML configuration file. Leaving it seperate seems fine, but then
again, if we have everything else in struts-config ... 

A very cool new feature, that I'm just getting into today, is the
ability for each Tile to call an Action as it is included, which makes
writing portlets very simple. As soon as get through it, I'm going to
take a look at it from the perspective of the new sub-application
(application module?) support. 

-Ted.


David Winterfeldt wrote:
> 
> I've been thinking about the inclusion of the Struts
> driver/interface to the Validator with the Commons
> version.  Some of my concerns are as follows.  If
> Struts is included, what is the criteria for including
> another driver?  I wouldn't want to be exclusive, but
> I wouldn't want to get into having to maintain drivers
> for frameworks I don't use or understand.  One
> solution I can think of would be if a Commons commiter
> would volunteer to maintain that driver/interface and
> I could help them.  The only other issue is that if
> the driver is in Commons then the example web apps and
> cactus unit tests would be there too.  It doesn't seem
> like this should be there.  Maybe that is just because
> there aren't any other Commons projects doing this
> yet, but there will be in the future.
> 
> David

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


Re: Validator/Tiles integration in Struts

Posted by Ted Husted <hu...@apache.org>.
Martin Cooper wrote:
> Does anyone know if there has been any resolution on whether Tiles and David
> Geary's updated Template Tags are going to be merged? It seemed likely from
> some discussion on the taglibs-dev list a while back, but I haven't seen
> anything recently.

I think the problem is that David hasn't been responsive. There was the
one post from him, and then nothing. I'm sure Cedric and I would be on
board. 

I'm getting up to speed on Tiles 1.1, and then we are going to propose
it to Taglibs. If David wants to jump in, I'd be glad to have him on the
team again. 

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Java Web Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

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


Re: Validator/Tiles integration in Struts

Posted by Martin Cooper <ma...@tumbleweed.com>.
----- Original Message -----
From: "Ted Husted" <hu...@apache.org>
To: "Struts Developers List" <st...@jakarta.apache.org>
Sent: Tuesday, January 22, 2002 9:40 AM
Subject: Re: Validator/Tiles integration in Struts

<...snip...>

> The next question might be what about Tiles integration in Struts?
> Cedric's Definitions are really quite neat, are coupled (to an extent)
> with the ActionForwards, and has hooks to the ActionServlet. It also
> uses an XML configuration file. Leaving it seperate seems fine, but then
> again, if we have everything else in struts-config ...

Does anyone know if there has been any resolution on whether Tiles and David
Geary's updated Template Tags are going to be merged? It seemed likely from
some discussion on the taglibs-dev list a while back, but I haven't seen
anything recently.

--
Martin Cooper


>
> A very cool new feature, that I'm just getting into today, is the
> ability for each Tile to call an Action as it is included, which makes
> writing portlets very simple. As soon as get through it, I'm going to
> take a look at it from the perspective of the new sub-application
> (application module?) support.
>
> -Ted.
>
>
> David Winterfeldt wrote:
> >
> > I've been thinking about the inclusion of the Struts
> > driver/interface to the Validator with the Commons
> > version.  Some of my concerns are as follows.  If
> > Struts is included, what is the criteria for including
> > another driver?  I wouldn't want to be exclusive, but
> > I wouldn't want to get into having to maintain drivers
> > for frameworks I don't use or understand.  One
> > solution I can think of would be if a Commons commiter
> > would volunteer to maintain that driver/interface and
> > I could help them.  The only other issue is that if
> > the driver is in Commons then the example web apps and
> > cactus unit tests would be there too.  It doesn't seem
> > like this should be there.  Maybe that is just because
> > there aren't any other Commons projects doing this
> > yet, but there will be in the future.
> >
> > David
>
> --
> 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: Validator/Tiles integration in Struts

Posted by Martin Cooper <ma...@tumbleweed.com>.
That was also my suggestion.

--
Martin Cooper


----- Original Message -----
From: "Ted Husted" <hu...@apache.org>
To: "Struts Developers List" <st...@jakarta.apache.org>
Sent: Tuesday, January 22, 2002 5:51 PM
Subject: Re: Validator/Tiles integration in Struts


> I think both Craig and I were both suggesting to just keep it here.
>
>
> David Winterfeldt wrote:
> >
> > If everyone else thinks that the Struts
> > driver/interface for the Validator goes in Commons
> > that is fine with me, but would the web app examples
> > go in Commons then too?  I'm not clear if that has
> > been answered.
> >
> > David
> >
> > --- Ted Husted <hu...@apache.org> wrote:
> > > We went back and forth about this in regards to the
> > > Velocity/Struts
> > > integration package for a while. Finally, we put
> > > support for the
> > > ContextHelper in Struts 1.1 (which might also work
> > > with the JSTL) and
> > > the adapter for 1.0 in a new Velocity Tools package.
> > > The ContextHelper
> > > gave Gabriel and Geir what they needed to know to
> > > write the 1.0 adapter,
> > > and leaves most of the Velocity code with the
> > > Velocity team.
> > >
> > > Since Struts has so many Commons dependencies now,
> > > one more isn't going
> > > to make any difference :)
> > >
>
>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Java Web Development with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
>
> --
> 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: Validator/Tiles integration in Struts

Posted by David Winterfeldt <dw...@yahoo.com>.
OK.  I misunderstood.

David

--- Ted Husted <hu...@apache.org> wrote:
> I think both Craig and I were both suggesting to
> just keep it here. 
> 
> 
> David Winterfeldt wrote:
> > 
> > If everyone else thinks that the Struts
> > driver/interface for the Validator goes in Commons
> > that is fine with me, but would the web app
> examples
> > go in Commons then too?  I'm not clear if that has
> > been answered.
> > 
> > David
> > 
> > --- Ted Husted <hu...@apache.org> wrote:
> > > We went back and forth about this in regards to
> the
> > > Velocity/Struts
> > > integration package for a while. Finally, we put
> > > support for the
> > > ContextHelper in Struts 1.1 (which might also
> work
> > > with the JSTL) and
> > > the adapter for 1.0 in a new Velocity Tools
> package.
> > > The ContextHelper
> > > gave Gabriel and Geir what they needed to know
> to
> > > write the 1.0 adapter,
> > > and leaves most of the Velocity code with the
> > > Velocity team.
> > >
> > > Since Struts has so many Commons dependencies
> now,
> > > one more isn't going
> > > to make any difference :)
> > >
> 
> 
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Java Web Development with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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


Re: Validator/Tiles integration in Struts

Posted by Ted Husted <hu...@apache.org>.
I think both Craig and I were both suggesting to just keep it here. 


David Winterfeldt wrote:
> 
> If everyone else thinks that the Struts
> driver/interface for the Validator goes in Commons
> that is fine with me, but would the web app examples
> go in Commons then too?  I'm not clear if that has
> been answered.
> 
> David
> 
> --- Ted Husted <hu...@apache.org> wrote:
> > We went back and forth about this in regards to the
> > Velocity/Struts
> > integration package for a while. Finally, we put
> > support for the
> > ContextHelper in Struts 1.1 (which might also work
> > with the JSTL) and
> > the adapter for 1.0 in a new Velocity Tools package.
> > The ContextHelper
> > gave Gabriel and Geir what they needed to know to
> > write the 1.0 adapter,
> > and leaves most of the Velocity code with the
> > Velocity team.
> >
> > Since Struts has so many Commons dependencies now,
> > one more isn't going
> > to make any difference :)
> >


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Java Web Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

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


Re: Validator/Tiles integration in Struts

Posted by David Winterfeldt <dw...@yahoo.com>.
If everyone else thinks that the Struts
driver/interface for the Validator goes in Commons
that is fine with me, but would the web app examples
go in Commons then too?  I'm not clear if that has
been answered.

David

--- Ted Husted <hu...@apache.org> wrote:
> We went back and forth about this in regards to the
> Velocity/Struts
> integration package for a while. Finally, we put
> support for the
> ContextHelper in Struts 1.1 (which might also work
> with the JSTL) and
> the adapter for 1.0 in a new Velocity Tools package.
> The ContextHelper
> gave Gabriel and Geir what they needed to know to
> write the 1.0 adapter,
> and leaves most of the Velocity code with the
> Velocity team. 
> 
> Since Struts has so many Commons dependencies now,
> one more isn't going
> to make any difference :)
> 
> The next question might be what about Tiles
> integration in Struts?
> Cedric's Definitions are really quite neat, are
> coupled (to an extent)
> with the ActionForwards, and has hooks to the
> ActionServlet. It also
> uses an XML configuration file. Leaving it seperate
> seems fine, but then
> again, if we have everything else in struts-config
> ... 
> 
> A very cool new feature, that I'm just getting into
> today, is the
> ability for each Tile to call an Action as it is
> included, which makes
> writing portlets very simple. As soon as get through
> it, I'm going to
> take a look at it from the perspective of the new
> sub-application
> (application module?) support. 
> 
> -Ted.
> 
> 
> David Winterfeldt wrote:
> > 
> > I've been thinking about the inclusion of the
> Struts
> > driver/interface to the Validator with the Commons
> > version.  Some of my concerns are as follows.  If
> > Struts is included, what is the criteria for
> including
> > another driver?  I wouldn't want to be exclusive,
> but
> > I wouldn't want to get into having to maintain
> drivers
> > for frameworks I don't use or understand.  One
> > solution I can think of would be if a Commons
> commiter
> > would volunteer to maintain that driver/interface
> and
> > I could help them.  The only other issue is that
> if
> > the driver is in Commons then the example web apps
> and
> > cactus unit tests would be there too.  It doesn't
> seem
> > like this should be there.  Maybe that is just
> because
> > there aren't any other Commons projects doing this
> > yet, but there will be in the future.
> > 
> > David
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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


Re: Validator/Tiles integration in Struts

Posted by Ted Husted <hu...@apache.org>.
OK, how about if we all get the rest of our hit-lists up on Bugzilla
this week, or get it committed, so we can be sure nothing falls through
the cracks. 

Martin Cooper wrote:
> Definitely. Like Ted, I have a personal hit-list. At the top of my list is
> making sure all the Struts tags play by the rules for tag reuse in a JSP 1.2
> container. (See Bugzilla #5726.) I'd also like to get the XHTML option in,
> but I'm not clear as to the right resolution for Bugzilla #4868.

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


Re: Validator/Tiles integration in Struts

Posted by Martin Cooper <ma...@tumbleweed.com>.
----- Original Message -----
From: "Craig R. McClanahan" <cr...@apache.org>
To: "Struts Developers List" <st...@jakarta.apache.org>
Sent: Tuesday, January 22, 2002 10:35 AM
Subject: Re: Validator/Tiles integration in Struts

<...snip...>

> A meta-question, though ... would you guys be interested in capping the
> 1.1 release after we deal with validator/services/tiles?  If we agreed for
> that, we oculd probably get a 1.1 release out in time for JavaOne 2002
> (end of March this year).

Definitely. Like Ted, I have a personal hit-list. At the top of my list is
making sure all the Struts tags play by the rules for tag reuse in a JSP 1.2
container. (See Bugzilla #5726.) I'd also like to get the XHTML option in,
but I'm not clear as to the right resolution for Bugzilla #4868.

--
Martin Cooper


>
> > A very cool new feature, that I'm just getting into today, is the
> > ability for each Tile to call an Action as it is included, which makes
> > writing portlets very simple. As soon as get through it, I'm going to
> > take a look at it from the perspective of the new sub-application
> > (application module?) support.
> >
> > -Ted.
> >
>
> Craig
>
>
> >
> > David Winterfeldt wrote:
> > >
> > > I've been thinking about the inclusion of the Struts
> > > driver/interface to the Validator with the Commons
> > > version.  Some of my concerns are as follows.  If
> > > Struts is included, what is the criteria for including
> > > another driver?  I wouldn't want to be exclusive, but
> > > I wouldn't want to get into having to maintain drivers
> > > for frameworks I don't use or understand.  One
> > > solution I can think of would be if a Commons commiter
> > > would volunteer to maintain that driver/interface and
> > > I could help them.  The only other issue is that if
> > > the driver is in Commons then the example web apps and
> > > cactus unit tests would be there too.  It doesn't seem
> > > like this should be there.  Maybe that is just because
> > > there aren't any other Commons projects doing this
> > > yet, but there will be in the future.
> > >
> > > David
> >
> > --
> > 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: Validator/Tiles integration in Struts

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

On Tue, 22 Jan 2002, Ted Husted wrote:

> Date: Tue, 22 Jan 2002 13:53:55 -0500
> From: Ted Husted <hu...@apache.org>
> Reply-To: Struts Developers List <st...@jakarta.apache.org>
> To: Struts Developers List <st...@jakarta.apache.org>
> Subject: Re: Validator/Tiles integration in Struts
>
> "Craig R. McClanahan" wrote:
> > A meta-question, though ... would you guys be interested in capping the
> > 1.1 release after we deal with validator/services/tiles?  If we agreed for
> > that, we oculd probably get a 1.1 release out in time for JavaOne 2002
> > (end of March this year).
>
> Generally, yes. There are some small items I would like to slip in, but
> that can be done in short order.
>

I don't have a problem with the little stuff on your list.

> + A fix for htlm:form truncating extensions
>
> + Using an ActionForward as a html:form parameter (I have some
> contributed code to post)
>
> + I also have a standard SuperAction and SuperActionForm that I would
> like to submit, when the smoke clears.
>
> I also keep thinking that we really need a tag to handle context-based
> references to stylesheets, you know the
>
> <link rel= ...
>
> tag. But I don't know what to call it :( I get by using base and
> relative references now, but that's a little sloppy.
>
> Did we want to pursue the Declarative Exception handling thing, or maybe
> just slip in a standard Action (e.g. DispatchExceptionAction) for now
> that demonstacted how to do that.
>

Umm, declarative exception handling is already in the HEAD branch ... see
the <global-exception> and <exception> elements, plus the new
Action.execute() method ...

> There's also Nic Hobb's extension. People seem to like it, but I haven't
> been able to look at it myself.
>
> http://husted.com/struts/resources/struts-security.htm
>

This is role-protected actions, right?  Yah, that seems like a good
addition -- although what you do when the role isn't satisfied remains a
question in my mind (simplest is to just throw the 403 status and let the
user's error page (configured in web.xml) take care of it).

> I'd still like to split the JAR into struts.jar and struts-taglib.jar,
> to start sending the "right message" about the custom tags and the
> presentation layer. But that can wait.
>

I'm OK if we want to do that now, but don't see a tremendous amount of
value in it -- but I'm a geek, not really a marketer sending messages :-).

>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Java Web Development with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
>

Craig


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


Re: Validator/Tiles integration in Struts

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

On Tue, 22 Jan 2002, David Winterfeldt wrote:

> Date: Tue, 22 Jan 2002 13:43:48 -0800 (PST)
> From: David Winterfeldt <dw...@yahoo.com>
> Reply-To: Struts Developers List <st...@jakarta.apache.org>
> To: Struts Developers List <st...@jakarta.apache.org>
> Subject: Re: Validator/Tiles integration in Struts
>
> I'm good with capping the 1.1 release with these
> things.  I think it would be good to have a release
> for JavaOne.  There will be a lot more functionality
> based on all these new features compared to last year.
>  I assume you'll be doing more presentations on Struts
> this year, Craig?
>

There won't be a session on Struts this year (the number of submissions
was *enormous*), but there will again be a Struts BOF -- look for session
#1820 on the JavaOne site once they post the BOF list.

> David
>

Craig


> --- Ted Husted <hu...@apache.org> wrote:
> > "Craig R. McClanahan" wrote:
> > > A meta-question, though ... would you guys be
> > interested in capping the
> > > 1.1 release after we deal with
> > validator/services/tiles?  If we agreed for
> > > that, we oculd probably get a 1.1 release out in
> > time for JavaOne 2002
> > > (end of March this year).
> >
> > Generally, yes. There are some small items I would
> > like to slip in, but
> > that can be done in short order.
> >
> > + A fix for htlm:form truncating extensions
> >
> > + Using an ActionForward as a html:form parameter (I
> > have some
> > contributed code to post)
> >
> > + I also have a standard SuperAction and
> > SuperActionForm that I would
> > like to submit, when the smoke clears.
> >
> > I also keep thinking that we really need a tag to
> > handle context-based
> > references to stylesheets, you know the
> >
> > <link rel= ...
> >
> > tag. But I don't know what to call it :( I get by
> > using base and
> > relative references now, but that's a little sloppy.
> >
> >
> > Did we want to pursue the Declarative Exception
> > handling thing, or maybe
> > just slip in a standard Action (e.g.
> > DispatchExceptionAction) for now
> > that demonstacted how to do that.
> >
> > There's also Nic Hobb's extension. People seem to
> > like it, but I haven't
> > been able to look at it myself.
> >
> >
> http://husted.com/struts/resources/struts-security.htm
> >
> > I'd still like to split the JAR into struts.jar and
> > struts-taglib.jar,
> > to start sending the "right message" about the
> > custom tags and the
> > presentation layer. But that can wait.
> >
> >
> > -- Ted Husted, Husted dot Com, Fairport NY USA.
> > -- Java Web Development with Struts.
> > -- Tel +1 585 737-3463.
> > -- Web http://www.husted.com/struts/
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> 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: Validator/Tiles integration in Struts

Posted by David Winterfeldt <dw...@yahoo.com>.
I'm good with capping the 1.1 release with these
things.  I think it would be good to have a release
for JavaOne.  There will be a lot more functionality
based on all these new features compared to last year.
 I assume you'll be doing more presentations on Struts
this year, Craig?

David

--- Ted Husted <hu...@apache.org> wrote:
> "Craig R. McClanahan" wrote:
> > A meta-question, though ... would you guys be
> interested in capping the
> > 1.1 release after we deal with
> validator/services/tiles?  If we agreed for
> > that, we oculd probably get a 1.1 release out in
> time for JavaOne 2002
> > (end of March this year).
> 
> Generally, yes. There are some small items I would
> like to slip in, but
> that can be done in short order.
> 
> + A fix for htlm:form truncating extensions
> 
> + Using an ActionForward as a html:form parameter (I
> have some
> contributed code to post)
> 
> + I also have a standard SuperAction and
> SuperActionForm that I would
> like to submit, when the smoke clears. 
> 
> I also keep thinking that we really need a tag to
> handle context-based
> references to stylesheets, you know the 
> 
> <link rel= ...
> 
> tag. But I don't know what to call it :( I get by
> using base and
> relative references now, but that's a little sloppy.
> 
> 
> Did we want to pursue the Declarative Exception
> handling thing, or maybe
> just slip in a standard Action (e.g.
> DispatchExceptionAction) for now
> that demonstacted how to do that. 
> 
> There's also Nic Hobb's extension. People seem to
> like it, but I haven't
> been able to look at it myself. 
> 
>
http://husted.com/struts/resources/struts-security.htm
> 
> I'd still like to split the JAR into struts.jar and
> struts-taglib.jar,
> to start sending the "right message" about the
> custom tags and the
> presentation layer. But that can wait. 
> 
> 
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Java Web Development with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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


Re: Validator/Tiles integration in Struts

Posted by Ted Husted <hu...@apache.org>.
"Craig R. McClanahan" wrote:
> A meta-question, though ... would you guys be interested in capping the
> 1.1 release after we deal with validator/services/tiles?  If we agreed for
> that, we oculd probably get a 1.1 release out in time for JavaOne 2002
> (end of March this year).

Generally, yes. There are some small items I would like to slip in, but
that can be done in short order.

+ A fix for htlm:form truncating extensions

+ Using an ActionForward as a html:form parameter (I have some
contributed code to post)

+ I also have a standard SuperAction and SuperActionForm that I would
like to submit, when the smoke clears. 

I also keep thinking that we really need a tag to handle context-based
references to stylesheets, you know the 

<link rel= ...

tag. But I don't know what to call it :( I get by using base and
relative references now, but that's a little sloppy. 

Did we want to pursue the Declarative Exception handling thing, or maybe
just slip in a standard Action (e.g. DispatchExceptionAction) for now
that demonstacted how to do that. 

There's also Nic Hobb's extension. People seem to like it, but I haven't
been able to look at it myself. 

http://husted.com/struts/resources/struts-security.htm

I'd still like to split the JAR into struts.jar and struts-taglib.jar,
to start sending the "right message" about the custom tags and the
presentation layer. But that can wait. 


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Java Web Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

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


Re: Validator/Tiles integration in Struts

Posted by Ted Husted <hu...@apache.org>.
"Craig R. McClanahan" wrote:
> Tiles is next on my list to look at.

Something that keeps running through my (so-called) mind is whether the
Tiles approach to Definitions could also be used for non-JSP pages, like
say, Velocity templates. Just a thought. 

-T.

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


Re[2]: Validator/Tiles integration in Struts

Posted by Oleg V Alexeev <oa...@apache.org>.
Hello Craig,

Comments below.

Tuesday, January 22, 2002, 9:35:59 PM, you wrote:

CRM> On Tue, 22 Jan 2002, Ted Husted wrote:

>> Date: Tue, 22 Jan 2002 12:40:28 -0500
>> From: Ted Husted <hu...@apache.org>
>> Reply-To: Struts Developers List <st...@jakarta.apache.org>
>> To: Struts Developers List <st...@jakarta.apache.org>
>> Subject: Re: Validator/Tiles integration in Struts
>>
>> We went back and forth about this in regards to the Velocity/Struts
>> integration package for a while. Finally, we put support for the
>> ContextHelper in Struts 1.1 (which might also work with the JSTL) and
>> the adapter for 1.0 in a new Velocity Tools package. The ContextHelper
>> gave Gabriel and Geir what they needed to know to write the 1.0 adapter,
>> and leaves most of the Velocity code with the Velocity team.
>>
>> Since Struts has so many Commons dependencies now, one more isn't going
>> to make any difference :)
>>

CRM> And we're going to be dependent on the underlying Commons package anyway,
CRM> in order to use the functionality :-).

>> The next question might be what about Tiles integration in Struts?
>> Cedric's Definitions are really quite neat, are coupled (to an extent)
>> with the ActionForwards, and has hooks to the ActionServlet. It also
>> uses an XML configuration file. Leaving it seperate seems fine, but then
>> again, if we have everything else in struts-config ...
>>

CRM> Tiles is next on my list to look at.

CRM> A meta-question, though ... would you guys be interested in capping the
CRM> 1.1 release after we deal with validator/services/tiles?  If we agreed for
CRM> that, we oculd probably get a 1.1 release out in time for JavaOne 2002
CRM> (end of March this year).

I think it is real time to end work.

>> A very cool new feature, that I'm just getting into today, is the
>> ability for each Tile to call an Action as it is included, which makes
>> writing portlets very simple. As soon as get through it, I'm going to
>> take a look at it from the perspective of the new sub-application
>> (application module?) support.
>>
>> -Ted.
>>

CRM> Craig


>>
>> David Winterfeldt wrote:
>> >
>> > I've been thinking about the inclusion of the Struts
>> > driver/interface to the Validator with the Commons
>> > version.  Some of my concerns are as follows.  If
>> > Struts is included, what is the criteria for including
>> > another driver?  I wouldn't want to be exclusive, but
>> > I wouldn't want to get into having to maintain drivers
>> > for frameworks I don't use or understand.  One
>> > solution I can think of would be if a Commons commiter
>> > would volunteer to maintain that driver/interface and
>> > I could help them.  The only other issue is that if
>> > the driver is in Commons then the example web apps and
>> > cactus unit tests would be there too.  It doesn't seem
>> > like this should be there.  Maybe that is just because
>> > there aren't any other Commons projects doing this
>> > yet, but there will be in the future.
>> >
>> > David
>>
>> --
>> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>> For additional commands, e-mail: <ma...@jakarta.apache.org>
>>
>>


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



-- 
Best regards,
 Oleg                            mailto:oalexeev@apache.org



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


Re: Validator/Tiles integration in Struts

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

On Tue, 22 Jan 2002, Ted Husted wrote:

> Date: Tue, 22 Jan 2002 12:40:28 -0500
> From: Ted Husted <hu...@apache.org>
> Reply-To: Struts Developers List <st...@jakarta.apache.org>
> To: Struts Developers List <st...@jakarta.apache.org>
> Subject: Re: Validator/Tiles integration in Struts
>
> We went back and forth about this in regards to the Velocity/Struts
> integration package for a while. Finally, we put support for the
> ContextHelper in Struts 1.1 (which might also work with the JSTL) and
> the adapter for 1.0 in a new Velocity Tools package. The ContextHelper
> gave Gabriel and Geir what they needed to know to write the 1.0 adapter,
> and leaves most of the Velocity code with the Velocity team.
>
> Since Struts has so many Commons dependencies now, one more isn't going
> to make any difference :)
>

And we're going to be dependent on the underlying Commons package anyway,
in order to use the functionality :-).

> The next question might be what about Tiles integration in Struts?
> Cedric's Definitions are really quite neat, are coupled (to an extent)
> with the ActionForwards, and has hooks to the ActionServlet. It also
> uses an XML configuration file. Leaving it seperate seems fine, but then
> again, if we have everything else in struts-config ...
>

Tiles is next on my list to look at.

A meta-question, though ... would you guys be interested in capping the
1.1 release after we deal with validator/services/tiles?  If we agreed for
that, we oculd probably get a 1.1 release out in time for JavaOne 2002
(end of March this year).

> A very cool new feature, that I'm just getting into today, is the
> ability for each Tile to call an Action as it is included, which makes
> writing portlets very simple. As soon as get through it, I'm going to
> take a look at it from the perspective of the new sub-application
> (application module?) support.
>
> -Ted.
>

Craig


>
> David Winterfeldt wrote:
> >
> > I've been thinking about the inclusion of the Struts
> > driver/interface to the Validator with the Commons
> > version.  Some of my concerns are as follows.  If
> > Struts is included, what is the criteria for including
> > another driver?  I wouldn't want to be exclusive, but
> > I wouldn't want to get into having to maintain drivers
> > for frameworks I don't use or understand.  One
> > solution I can think of would be if a Commons commiter
> > would volunteer to maintain that driver/interface and
> > I could help them.  The only other issue is that if
> > the driver is in Commons then the example web apps and
> > cactus unit tests would be there too.  It doesn't seem
> > like this should be there.  Maybe that is just because
> > there aren't any other Commons projects doing this
> > yet, but there will be in the future.
> >
> > David
>
> --
> 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>