mς
NδΎBc           @   s3   d  k  Z  d k l Z d e i f d     YZ d  S(   N(   s   templateservert   ColorFormRequestHandlerc           B   s#   t  Z d   Z d   Z d   Z RS(   Nc         C   sC   t  i i |  |  d  |  _ |  i d  |  i i	 |  i
    d  S(   Nt   dosave(   t   templateservert   RequestHandlert   __init__t   selft   reqt   Nonet   favoritet   handleactiont   templatevarst   updatet   getvars(   R   R   (    (    tD   /oldshare/sjsoft/code/jSuite.py/jToolkit/demo/tutorial/simpleform.pyR      s    	c         C   s5   |  i d |  _ d G|  i GHh  d d <d |  i <S(   Nt   colors   saving colort   messages   saved favorite color somewhere(   R   t   argdictR   (   R   (    (    R   R      s    c         C   sQ   d d d g } g  } | D]! } | |  i j o | | q q ~ } h  d | <S(   Nt   redt   greent   bluet   colors(   R   t   _[1]R   R   R   (   R   R   R   R   (    (    R   R      s    5(   t   __name__t
   __module__R   R   R   (    (    (    R   R       s   		(   t   datetimet   jToolkit.webR   R   R    (   R   R    R   (    (    R   t   ?   s   	