[Zope3-dev] Re: Display widget for IText and ITextLine

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Dec 19 09:15:17 EST 2006


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


More information about the Zope3-dev mailing list