Confusion on a QClickEvent

Login or register to post comments
2 replies [Last post]
Offline
Joined: 12/20/2009

Hi guys,

I've noticed some behavior with QRadioButtonLists that I can't really understand. I've associated a QClickEvent with a given QServerAction, and nothing seems to happen when you click, other than the screen seems to reload itself. However, when I add a parameter, like QClickEvent(1), everything works exactly as expected. I thought that this parameter only had an effect on the user's experience, but apparently I'm mistaken. What am I missing here?

Offline
Joined: 08/06/2010

Can we see the code please, and what is the QCubed version that you use?

animekun's picture
Offline
Joined: 04/05/2008

if you look into _events.inc.php, you'll find that QClickEvent has constructor with this parameter: $intDelay = 0 and $strCondition = null. So if you put first parameter it means, you give delay to click event until it continue to fire the action.