[Product-Developers] Wich schemas can be used in a portlet

Espen Moe-Nilssen espen at medialog.no
Thu Jul 23 15:44:20 UTC 2009


>On 23.07.09 12:34, Espen Moe-Nilssen wrote:
>> I am trying to find documentation on what schemas 
>
>What schemas? You mean schema *fields*?

Yes, that was what I meant. Sorry for that.
>
>
>> that can be used in a portlet.
>Basically all standard fields as defined within zope.schema.
>
>> are these different from other content?
>
>?
>
>>
>> mytextline = schema.TextLine 
>> mytext = schema.Text
>Every zope.* has pretty extensive documentation. I recommended to read up.
>TextLine is Text without newline chars (taken from the fine zope.schema
>documentation).

Thanks, I have only used these until now: http://plone.org/documentation/manual/archetypes-developer-manual/fields/fields-reference

I havent found out the difference between TextLine and String field .
Could it be that a string field can only be 256 characters long?



>
>-aj
>
>*
>*-- 
>ZOPYX Ltd. & Co KG          \  ZOPYX & Friends
>Charlottenstr. 37/1          \  The experts for your Python, Zope and
>D-72070 Tübingen              \  Plone projects
>www.zopyx.com, info at zopyx.com  \  www.zopyx.de/friends, friends at zopyx.de
>------------------------------------------------------------------------
>E-Publishing, Python, Zope & Plone development, Consulting
>
>


-- 
Espen Moe-Nilssen
Grieg Medialog AS




More information about the Product-Developers mailing list