cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerry Kaplan" <>
Subject Modular Database Question
Date Thu, 28 Oct 2004 17:33:08 GMT
Below is the database definition for a single simple database. In the
application, the user can click on an image to delete a specific record in
the database. Prior to deletion, a "delete confirm" page is generated and
displayed. In that page, I only need to show a few of the fields, and want
to avoid putting the blob field in the request. Is it possible to create a
tableset that is based on a table but only with a few of the fields in it?

Also, if several modes are specified for a field, are they all executed? I
really could use a few good examples of how an application can leverage
modular database actions.

	<table name="reports" alias="reports">
			<key name="ReportId" type="int"
				<mode name="auto-mysql" type="autoincr"/>
			<value name="UserId" type="string">
				<mode name="session-attr" type="all">
			<value name="ReportRef" type="string"/>
			<value name="PatName" type="string"/>
			<value name="CreationDate" type="time-stamp">
				<mode name="date" type="all"/>
			<value name="ModifiedDate" type="time-stamp">
				<mode name="date" type="all"/>
			<value name="ExamDate" type="date"/>
			<value name="ReportXML" type="blob"/>
	<table-set name="add-report">
		<table name="reports"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message