Thanks Ted!

Originally I was thinking I would modify the ImgTag.src() method to add
action, and forward, but after you pointed me to LinkTag as an example I see
that it is calling TagUtil.computeURL(). Should I just refactor
TagUtil.computeURL() to handle src too.

Chris Gastin

----- Original Message ----- 
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Sent: Saturday, September 27, 2003 6:24 AM
Subject: Re: Bugzilla Item #14183


> Late in 1.1, we added an action property to html:link, so that the
> generated href could refer to a page, forward, or action. I believe that
> anywhere we offer one of these options (as with page on img and image),
> we should offer all three.
>
> The page property cando double-duty as an action reference, but that
> means embedding the prefix or suffix into the reference (/action.do
> versus /action), which, IMHO, is something we should avoid.
>
> -Ted.
>
> Chris Gastin wrote:
> > In Bugzilla item #14183 (
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=14183 ) I have already
> > coded it up for a forward attribute and it corresponding test.
> >
> > Ted has the following comment attached to this bugzilla item - "Tagged
for
> > 1.2 (might as well add action while we're at it)."
> >
> > I don't quite understand the implementation of the action attribute.
Could
> > some explain to me the expectation, so I can code up action as well.
> >
> > Thanks,
> > Chris Gastin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -- 
> Ted Husted,
>    Junit in Action  - <http://www.manning.com/massol/>,
>    Struts in Action - <http://husted.com/struts/book.html>,
>    JSP Site Design  - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.
>
> "Get Ready, We're Moving Out!!" - <http://www.clark04.com>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to