EduploneTest/types EduploneFillGapAnswer.py,1.3,1.4 EduploneFreeTextAnswer.py,1.4,1.5 EduploneMatchingAnswer.py,1.3,1.4 EduploneMultiChoiceAnswer.py,1.4,1.5 EduploneSingleChoiceAnswer.py,1.3,1.4 EduploneTextTaskAnswer.py,1.3,1.4 EduploneTrueFalseAnswer.py,1.3,1.4

Nils Haagen <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneTest/types
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8329/types

Modified Files:
	EduploneFillGapAnswer.py EduploneFreeTextAnswer.py 
	EduploneMatchingAnswer.py EduploneMultiChoiceAnswer.py 
	EduploneSingleChoiceAnswer.py EduploneTextTaskAnswer.py 
	EduploneTrueFalseAnswer.py 
Log Message:
'view' of answer-types now goes to edit. seems more practical in actual workflow...

Index: EduploneTextTaskAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneTextTaskAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** EduploneTextTaskAnswer.py	5 Oct 2004 18:19:08 -0000	1.3
--- EduploneTextTaskAnswer.py	12 Oct 2004 21:17:46 -0000	1.4
***************
*** 41,44 ****
--- 41,49 ----
          'filter_content_types':1,
      }
+     
+     def base_view(self, REQUEST):
+         """ """
+ 	return self.base_edit()
+ 		    
  
      """

Index: EduploneMultiChoiceAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneMultiChoiceAnswer.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** EduploneMultiChoiceAnswer.py	5 Oct 2004 18:19:08 -0000	1.4
--- EduploneMultiChoiceAnswer.py	12 Oct 2004 21:17:46 -0000	1.5
***************
*** 27,31 ****
          'Answer',
          required=1,
!         widget=TextAreaWidget(label='Answer',
                                label_msgid='label_answer',
                                description = 'Answer - alternative',
--- 27,31 ----
          'Answer',
          required=1,
!         widget=EpozWidget(label='Answer',
                                label_msgid='label_answer',
                                description = 'Answer - alternative',
***************
*** 37,40 ****
--- 37,41 ----
      (CORRECT_ANSWER_FIELD['MultiChoice']),
      
+     
  #    ImageField('Illustrating image',
  #        widget=ImageWidget(description = "Select the image to be added by clicking the 'Browse' button.",
***************
*** 55,59 ****
      archetype_name = "Answer (ep MultiChoice)"
      #actions=actions
! 
      factory_type_information = {
          #'content_icon':'canvasqti_icon.gif',
--- 56,62 ----
      archetype_name = "Answer (ep MultiChoice)"
      #actions=actions
!     immediate_view='base_edit'
!     
!     
      factory_type_information = {
          #'content_icon':'canvasqti_icon.gif',
***************
*** 62,65 ****
--- 65,73 ----
      }
  
+     
+     def base_view(self, REQUEST):
+ 	""" """
+ 	return self.base_edit()
+ 
      """
      def getAnswer(self):

Index: EduploneSingleChoiceAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneSingleChoiceAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** EduploneSingleChoiceAnswer.py	5 Oct 2004 18:19:08 -0000	1.3
--- EduploneSingleChoiceAnswer.py	12 Oct 2004 21:17:46 -0000	1.4
***************
*** 56,59 ****
--- 56,60 ----
      #actions=actions
  
+ 
      factory_type_information = {
          #'content_icon':'canvasqti_icon.gif',
***************
*** 62,65 ****
--- 63,70 ----
      }
  
+     def base_view(self, REQUEST):
+ 	""" """
+ 	return self.base_edit()
+ 
      """
      def getAnswer(self):

Index: EduploneMatchingAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneMatchingAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** EduploneMatchingAnswer.py	5 Oct 2004 18:19:08 -0000	1.3
--- EduploneMatchingAnswer.py	12 Oct 2004 21:17:46 -0000	1.4
***************
*** 66,69 ****
--- 66,74 ----
      }
  
+ 
+     def base_view(self, REQUEST):
+         """ """
+ 	return self.base_edit()
+ 		    
      """
      def getAnswer(self):

Index: EduploneTrueFalseAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneTrueFalseAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** EduploneTrueFalseAnswer.py	5 Oct 2004 18:19:08 -0000	1.3
--- EduploneTrueFalseAnswer.py	12 Oct 2004 21:17:46 -0000	1.4
***************
*** 62,65 ****
--- 62,70 ----
      }
  
+     def base_view(self, REQUEST):
+         """ """
+ 	return self.base_edit()
+ 		    
+ 
      """
      def getAnswer(self):

Index: EduploneFreeTextAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneFreeTextAnswer.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** EduploneFreeTextAnswer.py	7 Oct 2004 16:50:40 -0000	1.4
--- EduploneFreeTextAnswer.py	12 Oct 2004 21:17:46 -0000	1.5
***************
*** 56,61 ****
      }
  
!     #schema.get('title').default="gggggggggggggggg"
! 	    
  	
  	
--- 56,63 ----
      }
  
!     def base_view(self, REQUEST):
!         """ """
! 	return self.base_edit()
! 		    	    
  	
  	

Index: EduploneFillGapAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneFillGapAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** EduploneFillGapAnswer.py	5 Oct 2004 18:19:08 -0000	1.3
--- EduploneFillGapAnswer.py	12 Oct 2004 21:17:45 -0000	1.4
***************
*** 63,66 ****
--- 63,71 ----
          'filter_content_types':1,
      }
+     
+     def base_view(self, REQUEST):
+         """ """
+ 	return self.aq_parent.eduplone_fillgap_edit()
+ 		    
  
      """



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.