Forums Register Login

valuehchange listener, ajax

+Pie Number of slices to send: Send
hi,
i am using jsf page inside a portlet. if a use a value change listener the menthod is not called in the backing bean unless i use onlcick="submit()". this submits my page which i dont want. same is the case with actionlistner.

also if i use ajaxrefreshsubmit, my whole page is submitted rather than submitting the specified part on which the ajaxrefreshsubmit is used.

why this behaviour? is it because we are using it in portlet or did we miss something in the configuration files.

please help.

Thanks,
T
+Pie Number of slices to send: Send
If you want to the valueChangeListener to be called then add a immediate ="true" to the component of valuechange listener.

and write onClick="submit();".

this way shoudl work
+Pie Number of slices to send: Send
hi,
i dont want to use onclick="submit();" since i dont want to submit my page. also immediate = "true" creates some other issues in my page so i dont want to use it either. i have previously used this in my previous project which was a simple web app. it was working fine over there. i just want dig in to whether this is not working because of the portal appl we are using.

Thanks,
T.
Screaming fools! It's nothing more than a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1049 times.
Similar Threads
Inter-Portlet Communication
setting parameters in Portlet URL that other portlet can also retrieve?
My JSF Portlet Tutorial
generic portal question
how to restore initial state of JSF Portlets when we navigate back to a PORTAL Page
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:14:17.