I have the following free marker code in which am using a variable "error msg" to display error message, but am not able to get the value form the backend to the front end i.e. I mean i want the error message to be display in the web form either through an alert box (or) an html message.
<#if tmp == 0>
${save_object(my_object,"task")}
<#else>
<@script env="javascript">
function user_exists(){
var msg="User with the given details already exists";
return msg;
}
var code=user_exists();
setVariable("error_msg",code);
</@script>
</#if>
Thanks in Advance!
regards,
vijaysarathi
--
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/3842404a-c4df-4a15-a71c-4bcf777039e8%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/groups/opt_out.