Page 2 of 3

Unable to have click event on a select component.

Posted: Tue Jun 02, 2015 12:13 am
by Bruce7551108

Hi Illya,
I did that and now I see that I am getting the following error from component-manager.js line: 1429

Uncaught Error: c15r: component not found

Could you please help me how to fix this error?

Thanks,
Bruce.


Unable to have click event on a select component.

Posted: Tue Jun 02, 2015 5:23 am
by Illya Stepanov

Hi Bruce -

Could you please share your app with us and tell us its name and steps to reproduce this error.


Unable to have click event on a select component.

Posted: Fri Jun 05, 2015 2:34 am
by Bruce7551108

Hi Illya,
The app is shared now. Its name is myApp

Please use the following steps to reproduce.....
Click on Test. Then login with a href="mailto:user1@myapp.com" rel="nofollow"user1@myapp.com/a and testmyapp. Then click on the select component. Instead of mapping the value and label with the query result, you will be redirected to login page again.

Thanks,
Bruce.


Unable to have click event on a select component.

Posted: Tue Jun 09, 2015 2:44 am
by Yurii Orishchuk

Hi Bruce,

Tried your app, and could not reproduce this problem.

When i click on select - it will invoke some service then it stays on that page.

Regards.


Unable to have click event on a select component.

Posted: Tue Jun 09, 2015 3:47 pm
by Bruce7551108

Hi Yurii,
For me the behavior is very consistent. After logging in, when I click on the select component, I get the login page every single time. Do you think a video of what I see could help..

Would you mind trying one more time with my app and let me know?

Thanks,
Bruce.


Unable to have click event on a select component.

Posted: Tue Jun 09, 2015 10:04 pm
by Yurii Orishchuk

Hi Bruce,

I tried it many times. And can not reproduce this issue.

Yes please make short video about how you reproduce it.

Thanks.


Unable to have click event on a select component.

Posted: Thu Jun 11, 2015 2:13 am
by Bruce7551108

Hi Yurri,
I have E-mailed you the video. This shows the behavior that I am experiencing.

Please check on this and let me know.

Thanks,
Bruce.


Unable to have click event on a select component.

Posted: Fri Jun 12, 2015 3:17 am
by Yurii Orishchuk

Hi Bruce,

Please try following code instead:

pre

//$("[name=selectComp]").closest('.ui-select').off("click").on("click", function() {
$("[name=selectComp]").closest('.ui-select').unbind("click").bind("click", function(event) {
selectservicepost.execute({});

Code: Select all

 event.stopPropagation(); 
 event.preventDefault(); 

});

/pre

Regards.


Unable to have click event on a select component.

Posted: Sat Jun 13, 2015 9:23 pm
by Bruce7551108

Hi Yurii,
It almost worked. I know we are pretty close... Now it doesn't forward me to the login page and it is good. Thanks for your time and code.

But, here is the part that doesn't work as expected....
With the service success mapping, I was expecting all the 3 rows of my collection to show up as Label and values in my select component. But I am just getting only one of the 3 rows showing up as Label and value in the select component after I click.

Could you please help me get all the rows in the select component.

Thanks,
Bruce.


Unable to have click event on a select component.

Posted: Tue Jun 16, 2015 3:00 am
by Yurii Orishchuk

Hi Bruce,

Please show us how you populate select component.

It should mapping with:
1 Link from $ to select option.
2 Link to populate value.
3 Link to populate view.

Regards.