<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
thank you Tom, <br>
thus the link wan not what i expected, but i created another one for
objectsofobjects2 package and it is working fine.<br>
but how can i create a view only, where there is no any widget on the
page, just the values are displayed<br>
<br>
because in my example the problem is also, that i receive a big table
with no values in the rows.<br>
and i cannot figure out why there is no any value in it.<br>
<br>
Tom Gross wrote:
<blockquote cite="mid45C1B07E.1000709@lalisio.com" type="cite">Hi Ivan,
<br>
<br>
the demos are all together quite outdated. In your case there's a
wrong url provided in the index-template it should be:
<br>
<br>
<a
href=<a class="moz-txt-link-rfc2396E" href="mailto:/@@contents.html?type_name=BrowserAdd__zope3demos.otherdemos.formlib2.demo.Order">"/@@contents.html?type_name=BrowserAdd__zope3demos.otherdemos.formlib2.demo.Order"</a>>Create
Formlib2 Demo Object</a>
<br>
<br>
instead of
<br>
<br>
<a
href=<a class="moz-txt-link-rfc2396E" href="mailto:/@@contents.html?type_name=BrowserAdd__zope3demos.formlib2.demo.Order">"/@@contents.html?type_name=BrowserAdd__zope3demos.formlib2.demo.Order"</a>>Create
Formlib2 Demo Object</a>
<br>
<br>
You can create the object via the 'Add:'-Navigation. Choose 'Formlib
Demo Object' there.
<br>
<br>
-Tom
<br>
<br>
Ivan Horvath wrote:
<br>
<blockquote type="cite">Hi Tom,
<br>
<br>
yes, but i made another checkout to another folder, renamed the
previous one.
<br>
it is the same
<br>
on the index page <a class="moz-txt-link-freetext" href="http://localhost:8080/@@z3d.index.html">http://localhost:8080/@@z3d.index.html</a>
<br>
i have the following contents (below)
<br>
and e.g. Create Formlib2 Demo Object
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@contents.html?type_name=BrowserAdd__zope3demos.formlib2.demo.Order"><http://localhost:8080/@@contents.html?type_name=BrowserAdd__zope3demos.formlib2.demo.Order></a>
link doesn't work, after entering a name to create new object gives
<br>
ComponentLookupError: (<InterfaceClass
zope.component.interfaces.IFactory>, u'Br
<br>
owserAdd__zope3demos.formlib2.demo.Order')
<br>
exception
<br>
------ index start ------
<br>
<br>
<br>
Viewlet/Contentprovider Examples
<br>
<br>
* Viewlet 1 <a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.demo1.index.html"><http://localhost:8080/@@z3d.demo1.index.html></a>
<br>
* Viewlet 2 <a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.demo2.index.html"><http://localhost:8080/@@z3d.demo2.index.html></a>
<br>
<br>
Add content to root folder for next two demos.
<br>
<br>
* Viewlet 3 <a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.demo3.index.html"><http://localhost:8080/@@z3d.demo3.index.html></a>
<br>
* Viewlet 4 <a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.demo4.index.html"><http://localhost:8080/@@z3d.demo4.index.html></a>
<br>
* Contentprovider 1 <a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@cpdemo1.html"><http://localhost:8080/@@cpdemo1.html></a>
<br>
<br>
<br>
Masterpage Examples
<br>
<br>
An exploration of alternatives to macros using viewlets and content
providers
<br>
<br>
* Masterpages without macros 1
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.mpdemo1.index.html"><http://localhost:8080/@@z3d.mpdemo1.index.html></a>
<br>
* Juergen Masterpages without macros 2
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.mpdemo2.index.html"><http://localhost:8080/@@z3d.mpdemo2.index.html></a>
<br>
* Jurgen Masterpages stripped down
<br>
o @@z3d.mpdemo3.page1.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.mpdemo3.page1.html"><http://localhost:8080/@@z3d.mpdemo3.page1.html></a>
<br>
o @@z3d.mpdemo3.page2.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.mpdemo3.page2.html"><http://localhost:8080/@@z3d.mpdemo3.page2.html></a>
<br>
* Masterpages demo4
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.mpdemo4.index.html"><http://localhost:8080/@@z3d.mpdemo4.index.html></a> based on
this
<br>
blog posting
<br>
<a class="moz-txt-link-rfc2396E" href="http://blogs.lovelysystems.com/srichter/2006/09/20/the-skin-browser-and-lovely-systems-new-development-workflow/"><http://blogs.lovelysystems.com/srichter/2006/09/20/the-skin-browser-and-lovely-systems-new-development-workflow/></a>
<br>
by Stephan Richter
<br>
see also viewtemplate example. <br>
<br>
Viewtemplate Example
<br>
<br>
z3c.viewtemplate seperates the zpt template from the view class.
<br>
<br>
* ++skin++MySkin/@@viewtemplate1.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/++skin++MySkin/@@viewtemplate1.html"><http://localhost:8080/++skin++MySkin/@@viewtemplate1.html></a>
<br>
* ++skin++MySkin2/@@viewtemplate1.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/++skin++MySkin2/@@viewtemplate1.html"><http://localhost:8080/++skin++MySkin2/@@viewtemplate1.html></a>
<br>
<br>
<br>
Formlib Demo
<br>
<br>
* /@@z3d.formlib1.page1.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.formlib1.page1.html"><http://localhost:8080/@@z3d.formlib1.page1.html></a>
<br>
* /@@z3d.formlib1.page1-length.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.formlib1.page1-length.html"><http://localhost:8080/@@z3d.formlib1.page1-length.html></a>
<br>
* /@@z3d.formlib1.page1-name.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.formlib1.page1-name.html"><http://localhost:8080/@@z3d.formlib1.page1-name.html></a>
<br>
* /@@z3d.formlib1.page2.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.formlib1.page2.html"><http://localhost:8080/@@z3d.formlib1.page2.html></a>
<br>
* /@@z3d.formlib1.page3.html
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@z3d.formlib1.page3.html"><http://localhost:8080/@@z3d.formlib1.page3.html></a>
<br>
* Formlib2 Demo
<br>
o Create Formlib2 Demo Object
<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/@@contents.html?type_name=BrowserAdd__zope3demos.formlib2.demo.Order"><http://localhost:8080/@@contents.html?type_name=BrowserAdd__zope3demos.formlib2.demo.Order></a>
<br>
o Visit the new object
<br>
o Edit the new object
<br>
<br>
------ index end ------
<br>
<br>
<br>
Tom Gross wrote:
<br>
<blockquote type="cite">Hi Ivan,
<br>
<br>
did you get the code from the repository? It's:
<br>
<br>
svn checkout <a class="moz-txt-link-freetext" href="http://zope3demos.googlecode.com/svn/trunk/">http://zope3demos.googlecode.com/svn/trunk/</a> zope3demos
<br>
<br>
Cheers
<br>
-Tom
<br>
<br>
Ivan Horvath wrote:
<br>
<blockquote type="cite">thank you Tom!
<br>
i downloaded, but unfortunately i cannot see it in my browser.
<br>
what is the url for the otherdemos objectsofobject2 package?
<br>
<br>
Tom Gross wrote:
<br>
<blockquote type="cite">Hi Ivan,
<br>
<br>
I might be wrong, but I think there's an example for listwidgets
containing objects in the zope3demos-package:
<br>
<br>
<a class="moz-txt-link-freetext" href="http://code.google.com/p/zope3demos/">http://code.google.com/p/zope3demos/</a>
<br>
<br>
Maybe it helps.
<br>
<br>
Cheers
<br>
-Tom
<br>
<br>
Ivan Horvath wrote:
<br>
<blockquote type="cite">Dear All,
<br>
<br>
in my implementation there is an object. one of this object properties
is a List. containing other objects.
<br>
<br>
the class which inherits ObjectWidget receives always the same context,
actually that object which contains the object property.
<br>
class MyDispFieldsWidgetDisplay(ObjectWidget):
<br>
<br>
i cannot find the way how to tell to MyDispFieldsWidgetDisplay object
which element should read from the List object property
<br>
this is my viewclass:
<br>
class DKRviewReportView(myBrowserView): - myBrowserView is almost the
same as the zope BrowserView class
<br>
fields_widget = CustomWidgetFactory(SequenceDisplayTableWidget,
<br>
subwidget=MyDispFieldsWidgetDisplay)
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
-- <br>
<br>
Best Regards,
<br>
<br>
Iván Horváth
<br>
Chief Programmer
<br>
<br>
Alcatel NSD
<br>
PMS 2000 Product Team
<br>
<br>
H-1116, Budapest
<br>
Kondorfa u. 10.
<br>
Tel.: +36 1 209 9546
<br>
Fax.: +36 1 209 9599
<br>
Mobil: +36 30 257 0235
<br>
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:i.horvath@alco.co.hu">i.horvath@alco.co.hu</a> <a class="moz-txt-link-rfc2396E" href="mailto:i.horvath@alco.co.hu"><mailto:i.horvath@alco.co.hu></a>
<br>
Check my Web Page <a class="moz-txt-link-rfc2396E" href="http://www.freeweb.hu/pillesoft"><http://www.freeweb.hu/pillesoft></a>
<br>
<br>
/Anyone who has never made a mistake has never tried anything new./
<br>
<br>
/
<br>
<br>
/Albert Einstein/
<br>
<br>
/
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
-- <br>
<br>
Best Regards,
<br>
<br>
Iván Horváth
<br>
Chief Programmer
<br>
<br>
Alcatel NSD
<br>
PMS 2000 Product Team
<br>
<br>
H-1116, Budapest
<br>
Kondorfa u. 10.
<br>
Tel.: +36 1 209 9546
<br>
Fax.: +36 1 209 9599
<br>
Mobil: +36 30 257 0235
<br>
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:i.horvath@alco.co.hu">i.horvath@alco.co.hu</a> <a class="moz-txt-link-rfc2396E" href="mailto:i.horvath@alco.co.hu"><mailto:i.horvath@alco.co.hu></a>
<br>
Check my Web Page <a class="moz-txt-link-rfc2396E" href="http://www.freeweb.hu/pillesoft"><http://www.freeweb.hu/pillesoft></a>
<br>
<br>
/Anyone who has never made a mistake has never tried anything new./
<br>
<br>
/
<br>
<br>
/Albert Einstein/
<br>
<br>
/
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 97">
<title>Iván Horváth</title>
<p><font face="Arial, Helvetica, sans-serif" size="2">Best Regards,</font></p>
<p><font face="Arial" size="2">Iván Horváth<br>
Chief Programmer</font> </p>
<p><font face="Arial" size="2">Alcatel NSD<br>
PMS 2000 Product Team</font> </p>
<p><font face="Arial" size="2">H-1116, Budapest<br>
Kondorfa u. 10.<br>
Tel.: +36 1 209 9546<br>
Fax.: +36 1 209 9599<br>
Mobil: +36 30 257 0235<br>
E-mail: </font><a href="mailto:i.horvath@alco.co.hu"><font face="Arial"
size="2">i.horvath@alco.co.hu</font></a><font face="Arial" size="2"><br>
<a href="http://www.freeweb.hu/pillesoft">Check my Web Page</a> </font></p>
<font face="Arial" size="2">
</font>
<p><em><font face="Arial" size="2">Anyone who has never made a mistake
has never tried anything new.</font></em> </p>
<font face="Arial" size="2"><em>
<p>/Albert Einstein/</p>
</em></font></div>
</body>
</html>