How can you find out the value of test public render parameter on the client side ?
Answer(s)
- You can find it by attaching a callback function to PortletWindow.getPortletState() and theninside the callback function you can call portletState.getParameterValue(test)
- You can find it by attaching a callback function to PortletWindow.getPortletState() and theninside the callback function you can call portletState.getPublicParameterValue(test)
- You can find it by attaching a callback function to PortletWindow.getParameter() function theninside the callback function you can call parameter.getPublicParameter(test)
- You can find it by attaching a callback function to PortletWindow.getParameter() function theninside the callback function you can call parameter.getParameter(test)
Correct Answer
You can find it by attaching a callback function to PortletWindow.getPortletState() and theninside the callback function you can call portletState.getParameterValue(test)