Hi Swami,
you need to set that in the onBeforeHtmlEvent.
Here's code snippet for an HREF where I replace a "placeholder" (#REPLACEME#)
that exists in my page's HTML file:
CSpHref href = (CSpHref) event.getSource();
href.setHtmlText (CSpUtil.replaceSubstring (
href.getHtmlText (), "\">#REPLACEME#",
"&SegCd=" + _sSeg +"\">" ));
Janet
(Embedded
image moved "Swaminathan" <[EMAIL PROTECTED]>
to file: 08/30/99 08:47 PM
pic04861.pcx)
Please respond to "Swaminathan" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Janet Traub/IS/SSC/THD)
Subject: [ND] Setting the value of a button dynamically
Hi ,
I have been trying to set the value of a button i.e the text that appears at
the top of
the button, by setDisplayFieldValue method in the onBeforeDisplayEvent of the
button.
But for some reason it is not displaying the text, even though when I log my
message,
it says the value has been set. Am I setting the value at the correct place or
Do I
need to use a different method ( eg. setDisplayFormat() ) for doing the above.
Please
enlighten.
Swami.
_________________________________________________________________________
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]
pic04861.pcx