power-media / prado3

Automatically exported from code.google.com/p/prado3
Other
0 stars 0 forks source link

Component property 'TActiveHyperLink.getClientSide' is not defined. #403

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Create a instance to TActiveHyperLink, for example:

$this->Link1 = new TActiveHyperLink();

2. Try set $this->Link1->getClientSide()->setOnLoading("some script");

OR 

Try set $this->Link1->getClientSide()->setOnComplete("some script")

3. I get error: "Component property 'TActiveHyperLink.getClientSide' is not 
defined." 

What is the expected output? What do you see instead?

I expected set the script using setOnLoading() and setOnComplete() method, 
others componets works fine, for example: TActiveButton, TActiveDropDownList, 
TActiveImageButton, TActiveLinkButton, They have the method getClientSide 
implemented,

What version of the product are you using? On what operating system?

I use the last version from svn repository

Please provide any additional information below.

It's similar to issue 402 reported for me

Thanks for your help.

Original issue reported on code.google.com by jaimea.g...@gmail.com on 18 May 2012 at 3:03

GoogleCodeExporter commented 8 years ago
There's a difference between TActiveHyperLink and eg. TActiveButton.
TActiveButton, when pressed, causes a callback (an ajax request to the server) 
while TActiveHyperLink is just an <a> tag: when pressed, no callback is 
involved, so no callback options can be defined.

Original comment by ctrlal...@gmail.com on 19 May 2012 at 11:22