Assuming this value is to change dynamically 
depending on some criteria...

Howzabout setting the format string of your 
mailto string as some marker eg, $$$. 

Your HTML would render as follows -

<a href="mailto:[EMAIL PROTECTED]">
<font size="2" face="Arial "> $$$
</font>
</a>

The process is now simply a case of 
replacing this $$$ substring.

String sReplacementValue = "All";

((CSpHref) event.getSource() ).setHtmlText( CSpUtil.replaceSubstring( ((CSpHref) 
event.getSource() ).getHtmlText(), "$$$", sReplacementValue ) );

Martin.
.........................................

"Kaluza, Isabel SLGA" <[EMAIL PROTECTED]> wrote:
>Hi
>I want to change the following in the href onBeforeHtmlOutput
><a
>        href="mailto:[EMAIL PROTECTED]"><font size="2"
>        face="Arial Black">[EMAIL PROTECTED]</font></a>
>
>to href="mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]"><font size="2"
>        face="Arial Black">all</font></a>
>
>How to I set the value of the href??
>
>-----Original Message-----
>Sent: Tue, Oct 26, 1999 06:25 PM
>
>
>JavaScript 1.1 onwards is case-sensitive. Value is not the same as value.
>
>Being an extremely 'generous' and 'open-minded' language, it doesn't
>complain if you say Value, but goes and creates an object called Value for
>you, which has nothing to do with value.
>
>This could be the reason why TBHours[0].Value etc failed. I don't know why
>it didn't complain in the other instance.
>
>Hope this helps,
>
>Aby
>
>-----Original Message-----
>
>
>I have 3 textboxes inside repeated:
>TBRate, TBHours, TBPay.
>
>In onChange event for TBHours I put something like:
>document.forms[0].TBPay.Value = document.forms[0].TBHours.Value *
>document.forms[0].TBRate.Value
>
>This gives me no Javascript error, but doesn't perform any calculations.
>Putting this in alert() function tells me that
>TBHours and TBRate are undefined. When I look in generated Html, each row
>has TBHours and TBRate
>
>I tried using TBHours[0] and TBRate[0] for first row in repeated, but again
>got an "undefined" message.
>
>How do I refer to the values in TBHours and TBRate for each row using
>JavaScript ?
>
>
>Thanks !
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to