Thanks for the tip!

Regards

Mikko


Bill Simms wrote in message <[EMAIL PROTECTED]>...
>I created a little method that I place in a parent page class that all
>my other pages extend. You just pass a CSpHref reference and the
>CSpValue reference you want to set the href's displayed text to. This
>method works great if you need to do any custom formatting of an href's
>displayed text.
>
> public void replaceHrefText( CSpHref href, CSpValue newText ) {
>  String [] hrefLabel   = {" "};
>  String [] emptyStrArr  = {" "};
>
>  hrefLabel[0] = newText.stringValue();
>
>  href.setDisplayFormat(new CSpFormattedString(hrefLabel, emptyStrArr));
>
> }
>
>Bill Simms
>Millennium Consulting
>


_________________________________________________________________________

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