Paul Joseph wrote:
Hi,
i have a requirement that the user should be able to
enter a href in a text area ex:
a
href=http://www.yahoo.com;http://www.yahoo.com/a
Then in a different form, that is read only, this href
should display as a link that can be clicked on.
I tried to do this using the
Wild guess here (never done it myself):
Could your editBean.note_with_href return a DOMFragment or DomNode? I
think the latest Cocoon in SVN might have code to handle this properly
in JXTemplate.
Regards, Upayavira
Paul Joseph wrote:
Hi,
i have a requirement that the user should be able to
Thank you for the pointer.
I think I can manage to download the
JXTemplateGenerator you mention...
I am not clear on the DOMFragment/DomNode bit however.
I can make the bean return a DomNode or DOMFragment
but am not sure what it is or should look like.
Any pointers on this would be helpful.
Paul Joseph wrote:
Thank you for the pointer.
I think I can manage to download the
JXTemplateGenerator you mention...
Er, I think you're already using it. You refer to
${editBean.note_with_href} which looks like a bit of JEXL from within a
jx template.
I am not clear on the
Thanks again..(I was talking about getting the new
version of the generator..)
--- Upayavira [EMAIL PROTECTED] wrote:
Paul Joseph wrote:
Thank you for the pointer.
I think I can manage to download the
JXTemplateGenerator you mention...
Er, I think you're already using it. You
Thanks Helma!
--- [EMAIL PROTECTED] wrote:
Hi,
DOM is the Document Object Model, and it is part
of Java's way of
handling XML. It is an object that represents XML
as tree
structures in memory.
the syntax would roughly be (absolutely not ok to
just copy, paste and use):
Hi,
i have a requirement that the user should be able to
enter a href in a text area ex:
a
href=http://www.yahoo.com;http://www.yahoo.com/a
Then in a different form, that is read only, this href
should display as a link that can be clicked on.
I tried to do this using the following:
snip