I have a web interface. When I use ${P_connected_user.login} in an html widget the login is displayed fine when testing the web interface.
however when I use ${P_connected_user.id} in a Java widget it doesn't work. for example... alert(${P_connected_user.login})
When testing the web interface if I type.. alert(${P_connected_user.login}) into the JS tester the message displayed is 'undefined'
Can anyone explain why JS doesn't pick up the email Id of the logged in user but the HTML widget does?
Many Thanks
Jamie
Hi Sir,
All variables in ${} are replacements the server does when loading the page. They are not proper Javascript variables but FreeMarker variables.
Just write alert("${P_connected_user.login}") and it will work (into your js widget but not in the js tester for the above reasons.
Best regards
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/0ae3de8f-eee4-4432-8e29-fe69afe80ad6%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
Superbly fast support :)