Re: [Zope] How do you call the string?
Martin, I'm no Zope expert but if you have a property with an ID of "prop1" of type string with a value "first_value" set on a DTML Document then inside the document you can say : and "first_value" will be substituted into your code at this point, replacing the "" declaration. I am not sure why you want to get the title? You only need to know the ID to get the value. Are you trying to find a way of looping through all the properties defined for a document? If yes, I don't know how to do this but ask again to [EMAIL PROTECTED] for how to do this. Sorry if this doesn't answer your question. - Ian. - Original Message - From: "Martin Seehuusen" <[EMAIL PROTECTED]> To: "Ian Sparks" <[EMAIL PROTECTED]> Sent: Thursday, June 08, 2000 10:50 AM Subject: Re: [Zope] How do you call the string? Thank you for you help! I think I need to explain a bit more! Sorry for not doing that in the first place! OK, I go into Properties for one of my files! then I choose an ID, say "prop1" Type could be, say "String" then a value, say "first_value". now what I would like is to call the string, and get up the ID and the Value. something like result: ID: Prop1 Value: First_Value Hope this explains a bit more! ;) Thank you for your help. Best regards Martin Seehuusen ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How do you call the string?
I'm not sure what you mean by "call the string"? If you have some properties of a DTML Document you can call them within that document by saying . So if you had a property "count" you could say If this doesn't answer your question, try to re-phrase it so we can get a better idea of what you are trying to do. - Ian. - Original Message - From: "Martin Seehuusen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 04, 2000 4:26 PM Subject: [Zope] How do you call the string? Hi! I would like to look up the properties on an html file that I've made. I've made a string on my html file, but I'm not sure how to call it! I've understood that a is to be used, but I don't know what the string is called. Could someone help me with that!? /Martin S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How do you call the string?
Hi! I would like to look up the properties on an html file that I've made. I've made a string on my html file, but I'm not sure how to call it! I've understood that a is to be used, but I don't know what the string is called. Could someone help me with that!? /Martin S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )