Re: Portability & extension vs path mapping

2004-07-24 Thread Erik Weber
Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 12:15 AM Subject: Re: Portability & extension vs path mapping Craig, this is exactly what I was looking for, except, I need html:rewrite instead of html:link, because many hyperlinks are unfortunately embedded

Re: Portability & extension vs path mapping

2004-07-23 Thread Niall Pemberton
in CVS recently to indicate "since 1.2.0" for the action attribute, but I didn't refresh the web site. Niall - Original Message - From: "Erik Weber" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, July

Re: Portability & extension vs path mapping

2004-07-23 Thread Erik Weber
Obviously in the example below, since we are talking about extension mapping here, the "controllerPath" variable is set to the empty string. Just wanted to avoid any confusion. Erik Erik Weber wrote: Craig, this is exactly what I was looking for, except, I need html:rewrite instead of html:link

Re: Portability & extension vs path mapping

2004-07-23 Thread Erik Weber
Craig, this is exactly what I was looking for, except, I need html:rewrite instead of html:link, because many hyperlinks are unfortunately embedded in JavaScript functions. Any suggestions? I can't quite figure out html:rewrite. The docs (1.1) seem to explain that it works exactly like html:lin

Re: Portability & extension vs path mapping

2004-07-23 Thread Craig McClanahan
On Fri, 23 Jul 2004 15:36:34 -0400, Erik Weber <[EMAIL PROTECTED]> wrote: > Ah, you're probably right, the path mappings might not need to change > very often, but on the other hand, I thought, if the html:form tag > appends the (.do) extension for you, it isn't far-fetched to think that > another

Re: Portability & extension vs path mapping

2004-07-23 Thread Erik Weber
Ah, you're probably right, the path mappings might not need to change very often, but on the other hand, I thought, if the html:form tag appends the (.do) extension for you, it isn't far-fetched to think that another tag would do the equivalent for hyperlinks. Erik Rick Reumann wrote: Erik Web

Re: Portability & extension vs path mapping

2004-07-22 Thread Rick Reumann
Erik Weber wrote: I have a feeling I am missing something here. I tried fiddling with the action attribute to html:link, rather than the page attribute, but that didn't seem to do it. . . . . Or am I thinking about extension mapping the wrong way? Why not just always use the mapping /do/* then i

Portability & extension vs path mapping

2004-07-22 Thread Erik Weber
I choose to use path mapping, but it's not always my decision, so I'm trying to generate some hyperlinks in such a way as to make them completely portable, whether path mapping or extension mapping is used. Let's say I have a hyperlink to the action that is mapped to "/actor/viewsearch". If I