[Zope3-dev] enahnced widget usecase

dev at projekt01.ch dev at projekt01.ch
Thu Sep 30 18:53:45 EDT 2004


Hi together,

How can I handle this widget usecase:

A object has simply IText fields like:

title, description, body

I whould like to show a edit view where
the field title and description displayed but 
not editable and the body field is rendered
with his relevant edit widget.

I think about to implement a enhanced EditView
where I have access to the self.title_widget etc.
and also to the display widget too like self.title_display_widget.

Then you can select in the pagetemplate
or wiget_macros if you whant render the widget
in the display mode or edit mode.

This whould give you the option to select in place 
of a (edit) view to show a field editable or
normaly displayed. This whould reduce the edit view
and display view to one generic view in which 
you could select the fields for to edit.

Is there another way for provide this usecase?


Regards
Roger Ineichen
_____________________________
Projekt01 GmbH
www.projekt01.ch
Langackerstrasse 8
6330 Cham
phone     +41 (0)41 781 01 78
mobile    +41 (0)79 340 52 32
fax       +41 (0)41 781 00 78
email r.ineichen at projekt01.ch
_____________________________
END OF MESSAGE



More information about the Zope3-dev mailing list