Re: Changing Link string conditionally?

2008-06-01 Thread Erik van Oosten
The idea is to put a span inside the a, and then attach a Label to the span. Is that something you can work with? Regards, Erik. Michael Mehrle wrote: Okay, this seems so easy, but I'm somehow stuck. How do I change the string of a Link based on some condition? Do I simply provide a

RE: Changing Link string conditionally?

2008-06-01 Thread Michael Mehrle
: Changing Link string conditionally? The idea is to put a span inside the a, and then attach a Label to the span. Is that something you can work with? Regards, Erik. Michael Mehrle wrote: Okay, this seems so easy, but I'm somehow stuck. How do I change the string of a Link based on some

Re: Changing Link string conditionally?

2008-06-01 Thread Michael Allan
Erik van Oosten wrote: The idea is to put a span inside the a, and then attach a Label to the span. Fearing a span-demic in my code, I came up with this: http://zelea.com/project/votorola/g/servlet/BookmarkablePageLinkX.java

Re: Changing Link string conditionally?

2008-06-01 Thread Erik van Oosten
Michael Allan wrote: Fearing a span-demic in my code, I came up with this:... There's probably a more elegant way to code it, though. Neh, that is a very common approach ;) Erik. - To unsubscribe, e-mail: [EMAIL

Changing Link string conditionally?

2008-05-31 Thread Michael Mehrle
Okay, this seems so easy, but I'm somehow stuck. How do I change the string of a Link based on some condition? Do I simply provide a terminated tag and set the model (i.e. the visible string) in my code? Michael