You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dan Allen <da...@mojavelinux.com> on 2003/03/24 16:46:40 UTC

question about html:rewrite

Is there any reason why "action" is missing from html:rewrite?
Since html:rewrite is just the abtracted part of generating the href
for an html:link, it would seem to me like it too should have an
action attribute.  Am I wrong?

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"The Linux philosophy is to laugh in face of danger.  Oops. 
Wrong one. 'Do it yourself' That's it" 
 -- Linus Torvalds
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: question about html:rewrite

Posted by James Mitchell <jm...@apache.org>.
On Mon, 2003-03-24 at 10:46, Dan Allen wrote:
> Is there any reason why "action" is missing from html:rewrite?
> Since html:rewrite is just the abtracted part of generating the href
> for an html:link, it would seem to me like it too should have an
> action attribute.  Am I wrong?

Actually, that's a good question.  From the tests I've been writing
lately it seems that action *should* be allowed for this tag.

Also, from looking at the source (just now) it seems that this feature
may have been overlooked since the tag is calling the deprecated
computeURL instead of the newer one that allows you to specify an action
(where the previous version did not).

Can you submit an enhancement request in Bugzilla so we don't loose
track of this?

> 
> Dan
> 
> -- 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> Daniel Allen, <da...@mojavelinux.com>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> "The Linux philosophy is to laugh in face of danger.  Oops. 
> Wrong one. 'Do it yourself' That's it" 
>  -- Linus Torvalds
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org