I'd like to make as generic as possible my code.
Here's the code we used a lot:
" function update_item() {
RMPApplication.debug ("begin update_item");
var my_pattern = {};
my_pattern.itemid = RMPApplication.get("my_item." + itemid);
var my_object = eval('(' + RMPApplication.get("my_item") + ')');
collectionid.updateCallback(my_pattern, my_object, update_ok, update_ko);
RMPApplication.debug ("end update_item");
} "
Typically, I want to make collectionid (before updateCallback method), as a variable and initialize its value in the header's code with something like:
var locationid = (the identifier of my impacted collection: col_my_collection by exemple)
How to make that ?
Thank your advice
B.Rgds
Thierry
| |||||||
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://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/a026c47f-1c05-4979-9949-b52ce7669ada%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.