You could override the onBeforeHtmlOutputEvent for the HREF :

public int hrefMenuPick_onBeforeHtmlOutputEvent(CSpHtmlOutputEvent event)
{
        CSpHref          hrefMenuPick    = (CSpHref)event.getSource();
        String               strHrefHtml               = "";       
           
        strHrefHtml =   hrefMenuPick.getHtmlText();  //Gets the current HTML anchor 
tag  for the HREF
        //Change  strHrefHtml as you wish & then set the new HTML using setHtmlText
        hrefMenuPick.setHtmlText(strHrefHtml);
        return (PROCEED);
}

[EMAIL PROTECTED] wrote:
>Hi,>
>What is the easiest way to change href's( CSpCommonHref() ) text 
>dynamically?
>
>Any sample code?
>
>Thank you,
>
>Regards
>
>Mikko
>

_________________________________________________________________________

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