I have a Javascript-Function, which gets a parameter passed. I want this parameter now in my ESQL-Statement. Is there a way to do this?
My (Example)-Function: function insert(ID) { <esql:connection> <esql:pool>cdr</esql:pool> <esql:execute-query> <esql:query> SELECT * FROM table_1 WHERE id_1 = <<<<< Here I want the Parameter (ID) >>>>> </esql:query> <esql:results> <esql:row-results> ... </esql:row-results> </esql:results> <esql:no-results> ... </esql:no-results> <esql:error-results> ... </esql:error-results> </esql:execute-query> </esql:connection> } Thanks Jonny ---------------------------------------------------------------------------------------------------- This electronic message contains information from the mmo2 plc Group which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>