String value = ureq.getParameter(paramKey);
if (st.countTokens() == 4) {
String itemType = st.nextToken();
String itemIdent = st.nextToken();
String responseID = st.nextToken();
HttpItemInput itemInput = (HttpItemInput) result.getItemInput(itemIdent);
if (itemInput == null) {
itemInput = new HttpItemInput(itemIdent);
result.addItemInput(itemInput);
}
// 'dummy' type is used to make sure iteminput is constructed for
// all items. it does not provide any response data
if (itemType.equals("qti")) itemInput.putSingle(responseID, value);
}
// refactoring to new setFormDirty() javascript method sends now an additional param "olat_fosm" which has no tokens inside
// so assertExc. is useless.
//else {
// throw new AssertException ("not 4 tokens in form name: orig='"+paramKey+"'");