Dan,
Let us know if you have problem doing something like this:
public int ButtonYahoo_onWebEvent(CSpWebEvent event)
{
int command = PROCEED;
CSpButton button = (CSpButton) event.getSource();
button.setActionType(CSpCommand.GO_TO_EXTERNAL_URL_ACTION_TYPE);
try {
button.setExternalURL(new
URL("http://www.yahoo.com"));
command = doAction(event);
}
catch (MalFormedURLException ex) {
CSpHtml.sendMessage("Failed : "+ex);
}
return(command);
}
Aby
-----Original Message-----
From: Howarth, Dan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 08, 1999 1:57 PM
To: NetD Forum (E-mail)
Subject: [ND] How to Dynamically Set ExternalURL for a Button
I need to dynamically set the externalURL property for a Button and
am looking for some example 4.1.3 code on how to do this. Does anyone
have an example on how to do this? Any help is much appreciated.
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]