Hi deepakkumar,
what you could do is generate the XML for the form in an aggregate.
That should look something like:
<map:match pattern="discussion-form-display">
<map:generate src="../forms/discussion_template.xml"/>
<map:transform type="forms"/>
<map:transform src="resources/forms-samples-styling.xsl"/>
<map:transform type="i18n">
<map:parameter name="locale" value="nl"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="index.html">
<map:aggregate element="pagecontent">
<map:part src="cocoon://common"/>
<map:part src="cocoon://discussion-form-display"/>
</map:aggregate>
<map:transform src="transformers/home/template.xsl">
<map:serialize type="xhtml"/>
</map:match>
I hope this helps you out.
Regards,
Reijn
Hippo
[EMAIL PROTECTED] wrote:
Can any one suggest me how to integrate cocoon forms with xsl sheet
The problem is i want to have a cocoon form
component(a text field with a button) within a xsl so that i can show
it in the main page.
It will be very helpful if anyone provide the code.
Regards
Deepak Kumar Sahoo
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Notice: The information contained in this e-mail message and/or
attachments to it may contain confidential or privileged information. If
you are not the intended recipient, any dissemination, use, review,
distribution, printing or copying of the information contained in this
e-mail message and/or attachments to it are strictly prohibited. If you
have received this communication in error, please notify us by reply
e-mail or telephone and immediately and permanently delete the message
and any attachments. Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]