Page 1 of 1

STD_DATEPICKER Signaling a WAMEVENT in the framework

Posted: Tue Aug 21, 2018 2:04 am
by cheese
Hey all!

I'm using the jquery weblet std_datepicker in a WAM within my framework;
I'm attempting to signal a wamevent inside my framework via the click any date on the std_datepicker weblet.
So far I haven't had luck signaling to the framework level, though I can competently write JS scripts within the xsl to allow me to navigate to a wam and pass parms if needed, but this will not help much without being able to operate within the frameowork itself.

Has anyone attempted this before / could you offer any guidance ?

Thank you

Re: STD_DATEPICKER Signaling a WAMEVENT in the framework

Posted: Tue Aug 21, 2018 9:59 am
by AbelS
The datepicker is not designed to submit a form, so it doesn't have a VLF WAM event property.

An option is to drop an anchor or button weblet in the hidden section and add an onchange Javascript to the datepicker that calls the click event on the anchor/button. You nominate the VLF WAM event on the hidden anchor/button.

For example:
datepicker vlf wam event.JPG
datepicker vlf wam event.JPG (14.11 KiB) Viewed 4613 times
HTH