On Thursday 07 December 2006 10:47, Tahara Yusei wrote: > Yes, right. I want to display value and pass the value to next page. > So, my use case is to display value from request. > > My zpt code is > """ > <span replace="structure widget"></span> > <span replace="structure widget/hidden"></span> > """ > > And I expect the following html, but if I use IText or ITextLine, > the result is difference. > > """ > Zope > <input type="hidden" value="Zope"> > """ > > Some display widgets can render a hidden input tag by hidden() method > (For example, a widget for IChoice), but DisplayWidget cannot.
I Would consider it a bug or at least a mis-feature, if a display widget could render hidden values. You can easily solve this problem better using sessions. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com