[ZWeb] My Z Class

Karl Munroe komunroe@uwimona.edu.jm
Fri, 8 Sep 2000 19:49:30 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_002F_01C019CD.E7236320
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am having problems adding images to my z class
I am creating a Z class for a staff profile...I have added an image to =
the methods of the class. When editing and creating a new profile object =
I use the following syntax

<dtml-call "propertysheets.photo.manage_changeProperties(title=3D =
REQUEST['new_title'] + REQUEST['new_name'], =
data=3DREQUEST['new_photo'])">
=20
It changes to the MYProfileClass_add_form take place. When I call the =
above code in the add method......I get an error telling me I do not =
have access to theMYProfileClass object..
=20
Please I would like some help on how to include other objects in my Z =
class and how to edit the properties of the included objects. Payng =
attention to the image example


------=_NextPart_000_002F_01C019CD.E7236320
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I am having problems adding images to =
my z=20
class</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am creating a Z class for a staff =
profile...I=20
have added an image to the methods of the class. When editing and =
creating a new=20
profile object I use the following syntax</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;dtml-call=20
"propertysheets.photo.manage_changeProperties(title=3D =
REQUEST['new_title'] +=20
REQUEST['new_name'],&nbsp;data=3DREQUEST['new_photo'])"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It changes to the =
MYProfileClass_add_form take=20
place. When I call the above code in the add method......I get an error =
telling=20
me I do not have access to theMYProfileClass object..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Please I would like some help on how to =
include=20
other objects in my Z class and how to edit the properties of the =
included=20
objects. Payng attention to the image=20
example<BR></DIV></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_002F_01C019CD.E7236320--