On Sat, 8 Sep 2001, Joshua Chamas wrote:

> I'll see if I can get this to work.  But the parser is
> pretty fast now, and it'll be a trick to get this to
> work and keep it fast.

It's not terribly important, although it would be nice to have. Right now
I'm using a workaround:

&s::link({href=>'author.asp', query=>{action=>'view', aid=>$aid}}, $author->{name});

instead of

<s:link href="author.asp" query="<%={action=>'view', 
aid=>$aid}%>">$author->{name}</s:link>

This is a function that I use to generate URLEncoded query strings for me;
it would become like:

<a 
href="author.asp?action=view&aid=<%=$Server->URLEncode(aid)%>"><%=$author->{name}%></a>

(Feel free to comment if you think my programming habit is atrocious. I
just thought this up on the fly :)

> Currently what it supported is this:
>
>  <s:link href="$ENV{SCRIPT_URL}">Test</s:link>

I don't think that would work for what I'm doing above, due to the > in
"action=>'view'".


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

Reply via email to