When I tried to integrate the demo file by simply copy everything in my project and deploy in Wildfly 18.0.1 I got this error in chrome developer's console
Uncaught TypeError: Cannot read property 'cw' of undefined
pf.cw("InputText","widget_j_idt15_j_idt17",{id:"j_idt15:j_idt17",maxlength:-2147483648});
pf.cw("MorpheusMenu","me",{id:"menu-form:j_idt32"});
pf.cw("Morpheus","widget_tabMenu",{id:"tabMenu",stateful:true,activeIndex:0});
pf.cw("Panel","widget_j_idt58",{id:"j_idt58"});
pf.cw("SelectBooleanCheckbox","widget_j_idt63",{id:"j_idt63"});
pf.cw("SelectBooleanCheckbox","widget_j_idt65",{id:"j_idt65"});
pf.cw("SelectBooleanCheckbox","widget_j_idt67",{id:"j_idt67"});
...
I wonder why the demo war works fine on the same server but not my project. Please kindly advise.
Uncaught TypeError: Cannot read property 'cw' of undefined
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Interesting! Your project doesn't have PrimeFaces client widgets. Could you please try > pf on browser's console? What is the output?
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 3
- Joined: 06 Jun 2019, 03:31
I managed to make it works now. I found that the javascript script was not properly loaded.
Thank you.
Thank you.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks a lot for the update!
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests