Re: RE: RE: Dynamic anchor

2001-11-20 Thread Joey Gibson

> 
>  name="beanContainingMyPage"/>
>  name="beanContainingMyAnch"/>
> linkText
> 
> 
> This would avoid many ugly <%...%> hacks IMHO.
> 
> I'm still not sure whether the tld syntax allows for
> nesting. Anybody
> has links for tld ?
> 
> tomK

That would be really nice to be able to do it like that. There are several tags that 
could benefit from this ability.

--
Sent via jApache.org

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: RE: Dynamic anchor

2001-11-20 Thread Tom Klaasen (TeleRelay)

> -Original Message-
> From: Joey Gibson [mailto:[EMAIL PROTECTED]] 
> Sent: dinsdag 20 november 2001 4:56
> To: [EMAIL PROTECTED]
> Subject: Re: RE: Dynamic anchor
> 
> 
> This might be a wee bit cleaner:
> 
> <%@ taglib uri="struts-bean.tld" prefix="bean" %>
> <%@ taglib uri="struts-html.tld" prefix="html" %>
> 
> 
> 
> Foo
> 
> This produces this link:
> 
> http://localhost/foo/index.jsp#xxx
> 
> (the page was deployed in a webapp called 'foo')
> 
> I tried putting a bean:write in the anchor attribute, but it goes
through unadulterated, which is not what we want. I > > > really wish
some of these tags could nest more easily.

I agree with that. Maybe something ant-like would be nice: either you
specify

linkText

or you do




linkText


This would avoid many ugly <%...%> hacks IMHO.

I'm still not sure whether the tld syntax allows for nesting. Anybody
has links for tld ?

tomK

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




Re: RE: Dynamic anchor

2001-11-20 Thread Joey Gibson

This might be a wee bit cleaner:

<%@ taglib uri="struts-bean.tld" prefix="bean" %>
<%@ taglib uri="struts-html.tld" prefix="html" %>



Foo

This produces this link:

http://localhost/foo/index.jsp#xxx

(the page was deployed in a webapp called 'foo')

I tried putting a bean:write in the anchor attribute, but it goes through 
unadulterated, which is not what we want. I really wish some of these tags could nest 
more easily.

Joey

--
Sent via jApache.org

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: RE: Dynamic anchor

2001-11-20 Thread Joey Gibson

This might be a wee bit cleaner:

<%@ taglib uri="struts-bean.tld" prefix="bean" %>
<%@ taglib uri="struts-html.tld" prefix="html" %>



Foo

This produces this link:

http://localhost/foo/index.jsp#xxx

(the page was deployed in a webapp called 'foo')

I tried putting a bean:write in the anchor attribute, but it goes through 
unadulterated, which is not what we want. I really wish some of these tags could nest 
more easily.

Joey

--
Sent via jApache.org

--
To unsubscribe, e-mail:   
For additional commands, e-mail: