cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZongoZongo <nroe...@gmx.net>
Subject Aggregation and CForms: redisplay
Date Thu, 07 Dec 2006 09:45:56 GMT

Hi

I have an application, that is aggregated of several regions like
navigation, header etc.
In the main area I have some CForms. Some of the fields are required.
The Problem is as follows: If one field is not filled, the form is beeing
redisplayed. But ONLY the form. Navigation, header etc. are not shown.

Some sitmemap extractions:

			<map:match pattern="form-template-*">
				<map:generate type="jx" src="forms/{1}-template.xml"/>
				<map:transform type="browser-update"/>
				<map:transform type="i18n">
        	 		<map:parameter name="locale" value="en-US"/>
       			</map:transform>
      			<map:transform src="forms-samples-styling.xsl"/>
      			<map:select type="ajax-request">
      				<map:when test="true">
      					<map:serialize type="xml"/>
      				</map:when>
      				<map:otherwise>
      					<map:serialize type="xhtml"/>
      				</map:otherwise>
      			</map:select>
			</map:match>

			<map:match pattern="*">
				<map:aggregate element="site">
					<map:part element="navigation" src="cocoon:/navigation"
strip-root="true"/>
					<map:part src="cocoon:/main-{1}" element="main"/>
					<map:part element="header" src="header.xml" strip-root="true"/>
				</map:aggregate>
				<map:transform type="xslt" src="stylesheets/finalize.xsl"/>
				<map:serialize type="html"/>
				</map:match>
			</map:pipeline>

the pipelinecall from the flowscript:

form.showForm("form-template-objectDefinition");

The Problem is, that Cocoon only redisplays the main area, because the
pipelinecall to the formtemplate from the flowscript doesnt match the
aggregator.

The question is. How must the aggregator und the matchers be designed, that
the redisplay of a forms shows all parts of the aggregation?

Or is there a possibility to tell Cocoon, which pipline has to be called in
the case of a redisplay.

Greetings,

Niclas
-- 
View this message in context: http://www.nabble.com/Aggregation-and-CForms%3A-redisplay-tf2773278.html#a7735895
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message