RE: XSP page - dynamic link generation
It works a treat. Thanks Markus Stephen -Original Message- From: Markus Heussen [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 13:37 To: [EMAIL PROTECTED] Subject: AW: XSP page - dynamic link generation Hi Stephen, when you set the link in the following way ... you will probably get try: ... Greetings, Markus -Ursprungliche Nachricht- Von: Stephen Greene [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2003 12:31 An: [EMAIL PROTECTED] Betreff: RE: XSP page - dynamic link generation It's getting there but I'm getting some junk in the link aswell. The method getURL() returns a string which is a single word. But I'm getting: How do I get rid of all the junk before and after the "somepage" text in the href attribute? Thanks Stephen -Original Message- From: Alexandre Victoor [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 11:17 To: [EMAIL PROTECTED] Subject: Re: XSP page - dynamic link generation Hello If think you should use xsp:attribute : ... Alex At 11:09 27/06/2003 +0100, you wrote: >Hi all, > >I'm trying to create a dynamic link generated by a xsp page. Inside the >html code: > Link to some page >I want to replace the with a value passed back by a >object method. > >E.g. This is what I trying at the moment > > //get someObject from somewhere > > href="someObject.getURL()">Link > to some page > > >I get back a error from cocoon complaining about the '<' of the >tag. >"Original Exception: org.xml.sax.SAXParseException: The value of attribute >"href" must not contain the '<' character" > >Any one any ideas how to solve this. > >Thanks > >Stephen Greene - 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] - 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]
AW: XSP page - dynamic link generation
Hi Stephen, when you set the link in the following way ... you will probably get try: ... Greetings, Markus -Ursprungliche Nachricht- Von: Stephen Greene [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2003 12:31 An: [EMAIL PROTECTED] Betreff: RE: XSP page - dynamic link generation It's getting there but I'm getting some junk in the link aswell. The method getURL() returns a string which is a single word. But I'm getting: How do I get rid of all the junk before and after the "somepage" text in the href attribute? Thanks Stephen -Original Message- From: Alexandre Victoor [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 11:17 To: [EMAIL PROTECTED] Subject: Re: XSP page - dynamic link generation Hello If think you should use xsp:attribute : ... Alex At 11:09 27/06/2003 +0100, you wrote: >Hi all, > >I'm trying to create a dynamic link generated by a xsp page. Inside the >html code: > Link to some page >I want to replace the with a value passed back by a >object >method. > >E.g. This is what I trying at the moment > > //get someObject from somewhere > > href="someObject.getURL()">Link > to some page > > >I get back a error from cocoon complaining about the '<' of the >tag. >"Original Exception: org.xml.sax.SAXParseException: The value of attribute >"href" must not contain the '<' character" > >Any one any ideas how to solve this. > >Thanks > >Stephen Greene - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XSP page - dynamic link generation
It's getting there but I'm getting some junk in the link aswell. The method getURL() returns a string which is a single word. But I'm getting: How do I get rid of all the junk before and after the "somepage" text in the href attribute? Thanks Stephen -Original Message- From: Alexandre Victoor [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 11:17 To: [EMAIL PROTECTED] Subject: Re: XSP page - dynamic link generation Hello If think you should use xsp:attribute : ... Alex At 11:09 27/06/2003 +0100, you wrote: >Hi all, > >I'm trying to create a dynamic link generated by a xsp page. Inside the >html code: > Link to some page >I want to replace the with a value passed back by a >object >method. > >E.g. This is what I trying at the moment > > //get someObject from somewhere > > href="someObject.getURL()">Link > to some page > > >I get back a error from cocoon complaining about the '<' of the >tag. >"Original Exception: org.xml.sax.SAXParseException: The value of attribute >"href" must not contain the '<' character" > >Any one any ideas how to solve this. > >Thanks > >Stephen Greene - 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]
Re: XSP page - dynamic link generation
Hello If think you should use xsp:attribute : ... Alex At 11:09 27/06/2003 +0100, you wrote: Hi all, I'm trying to create a dynamic link generated by a xsp page. Inside the html code: Link to some page I want to replace the with a value passed back by a object method. E.g. This is what I trying at the moment //get someObject from somewhere Link to some page I get back a error from cocoon complaining about the '<' of the tag. "Original Exception: org.xml.sax.SAXParseException: The value of attribute "href" must not contain the '<' character" Any one any ideas how to solve this. Thanks Stephen Greene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XSP page - dynamic link generation
Title: XSP page - dynamic link generation Hi all, I'm trying to create a dynamic link generated by a xsp page. Inside the html code: ">Link to some page I want to replace the with a value passed back by a object method. E.g. This is what I trying at the moment //get someObject from somewhere <xsp:expr>someObject.getURL()">Link to some page I get back a error from cocoon complaining about the '<' of the <xsp:expr> tag. "Original Exception: org.xml.sax.SAXParseException: The value of attribute "href" must not contain the '<' character" Any one any ideas how to solve this. Thanks Stephen Greene