[Zope] SOAPMethod

Tom Von Lahndorff tom at modscape.com
Tue Sep 4 09:17:47 EDT 2007


See Johnathan's comment. It sounds like an html/css issue. If it  
renders in the source its working.

On Sep 4, 2007, at 4:48 AM, Mark Baldry wrote:

> Hi Tom
>
> to be honest i would much rather use DTML as i understand this but  
> it doesn't
> seem to work it only returns the result of the SOAP query when i  
> view the
> source code. The SOAPMethod product recommends DTML but I have  
> followed the
> example they give and this is what is happening.
>
> Mark
>
> On Monday 03 September 2007 17:32, Jonathan wrote:
>> ----- Original Message -----
>> From: "Tom Von Lahndorff" <tom at modscape.com>
>> To: "robert rottermann" <robert at redcor.ch>
>> Cc: <zope at zope.org>
>> Sent: Monday, September 03, 2007 12:10 PM
>> Subject: Re: [Zope] SOAPMethod
>>
>>> Hi Mark,
>>>
>>> There's nothing wrong with using DTML instead of TAL. each have  
>>> their
>>> drawbacks and benefits and it really comes down to user choice  
>>> and  job
>>> requirements. People on this list though will always recommend  TAL
>>> because they are mostly developers who use WYSIWYG html editors.   
>>> If you
>>> hand code your design markup dtml can be much cleaner, require   
>>> less code
>>> and avoid annoying problems with javascript.
>>>
>>> Tom
>>
>> +1   ;-)
>>
>>
>> Jonathan
>>
>>> On Sep 3, 2007, at 10:10 AM, robert rottermann wrote:
>>>> Mark Baldry schrieb:
>>>>> I need to get some information from a database and display it  
>>>>> on  our
>>>>> website.
>>>>> It's a very simple query just passing one number to get the   
>>>>> record.
>>>>> The only
>>>>> way i am allowed to query this database is via SOAP.
>>>>>
>>>>> I have installed the SOAPMethod and have got it working but i   
>>>>> cannot
>>>>> get the
>>>>> result to display. I can only view the result when i look at the
>>>>> source of
>>>>> the page.
>>>>>
>>>>> the dtml Method i am using is written -
>>>>>
>>>>> <dtml-var expr="requestStudentData('5506239')">
>>>>>
>>>>> this is what the help that came with the product says to use.
>>>>>
>>>>> (requestStudentData is the name of the SOAPMethod and "5506239"  
>>>>> is  the
>>>>> query
>>>>> string i am passing to the database.)
>>>>
>>>> you better do not use dtml but tal (aka page templates). to  
>>>> learn  about
>>>> it go to the zope site and look up the zope book (take the one on
>>>> plope.org)
>>>>
>>>> it would look something like:
>>>> <html>
>>>>   <head>
>>>>     <title tal:content="template/title">The title</title>
>>>>   </head>
>>>>   <body>
>>>>
>>>>     <b>Some information on student 5506239</b>
>>>>     <div tal:content="python:requestStudentData('5506239')" />
>>>>
>>>>   </body>
>>>> </html>
>>>>
>>>>
>>>> HTH
>>>> robert
>>>> <robert.vcf>
>>>> _______________________________________________
>>>> Zope maillist  -  Zope at zope.org
>>>> http://mail.zope.org/mailman/listinfo/zope
>>>> **   No cross posts or HTML encoding!  **
>>>> (Related lists -
>>>>  http://mail.zope.org/mailman/listinfo/zope-announce
>>>>  http://mail.zope.org/mailman/listinfo/zope-dev )
>>>
>>> _______________________________________________
>>> Zope maillist  -  Zope at zope.org
>>> http://mail.zope.org/mailman/listinfo/zope
>>> **   No cross posts or HTML encoding!  **
>>> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
>>> http://mail.zope.org/mailman/listinfo/zope-dev )
>>>
>>>
>>>
>>> --
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition. Version: 7.5.485 / Virus Database:
>>> 269.13.3/986 - Release Date: 9/3/2007 9:31 AM
>>
>> _______________________________________________
>> Zope maillist  -  Zope at zope.org
>> http://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  http://mail.zope.org/mailman/listinfo/zope-announce
>>  http://mail.zope.org/mailman/listinfo/zope-dev )
>
> -- 
> Mark Baldry
> IT support
> Union of UEA Students
> t:	01603 592503
> e:	mark at ueastudent.com
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )



More information about the Zope mailing list