Question

UNISALENTO
IT
Last activity: 25 Jan 2023 8:59 EST
How to insert a java script inside a custom control?
I have inserted the following jsp tags within a custom control:
<pega:onlyonce name="input_text_password">. <pega:static type="script" app="webwb"> <pega:file name="script_inputPassword.js"/> </pega:static> <pega:static type="style" app="webwb"> <pega:file name="style_inputPassword.css"/> </pega:static> </pega:onlyonce>
The system accepts the tags but does not start the script 'Script_inputPassword.js'. How to solve this?
***Edited by Moderator Marije to change type from Pega Academy to Product***