Not able to save scorm modifications.

15 views
Skip to first unread message

bellammal...@gmail.com

unread,
Nov 17, 2014, 1:59:48 AM11/17/14
to open...@googlegroups.com
HI,

attemptsEl.select("" + attemptsKeys[0], true);======> after this line i have added below code and after that am not able to sve data with modifications in Learning content tab.

resetCount = uifactory.addCheckboxesVertical("reset", "count.reset", formLayout, new String[]{"xx"}, new String[]{null}, null, 1);
resetCount.addActionListener(listener, FormEvent.ONCLICK);
empId = uifactory.addIntegerElement("emp.id" ,0, formLayout);
empId.setDisplaySize(10);
empId.setVisible(false);
attemptsEl.setEnabled(false);

// </OLATCE-289>

uifactory.addFormSubmitButton("save", formLayout);
.....
formInnerEvent (....) is here below.

protected void formInnerEvent (UserRequest ureq, FormItem source, FormEvent event) {
if(event.getCommand().equals("ONCLICK"))
{
if(resetCount.isSelected(0))
{
empId.setVisible(true);
empId.setMandatory(true);
// clearForm();
}else {
empId.setVisible(false);
}
}

Please suggest on this..

Thanks!
Mallikarjuna Bellam

Florian Gnägi

unread,
Nov 17, 2014, 9:22:13 AM11/17/14
to open...@googlegroups.com
hi

it is difficult to understand what you try do with a code sniplet like this. please copy a hg patch with class names and line numbers etc. that can be applied to the lates openolat code base. 

cheers
florian


--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------















bellammal...@gmail.com

unread,
Nov 18, 2014, 2:20:22 AM11/18/14
to open...@googlegroups.com
Hi,

i have added new piece of code which i mentioned in ScormEditControler.java for VarForm around 740 line no. am not able save the content after modifiying any like no.of score need to pass,withot selecting my option which i have added.If i select my check box then only am able to save the data,otherwise not saving. :( .

thanks!,
Mallikarjuna
...
Reply all
Reply to author
Forward
0 new messages