You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by cocoon user <co...@yahoo.com> on 2004/06/28 22:26:59 UTC
Excel-Sheets as Templates
Hi everyone,
I need to read in Excel templates on request, fill the data from text file in certain cells and deliver the sheet to the clients browser.
Any suggestions?
Thanks
padh.
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
Re: Excel-Sheets as Templates
Posted by Ben Sheppard <Ce...@MyRealBox.com>.
>On 28.06.2004 22:26, cocoon user wrote:
>>Hi everyone,
>>I need to read in Excel templates on request, fill the data from text
>>file in certain cells and deliver the sheet to the clients browser.
>>Any suggestions?
Not entirely sure if this will help you but I was just looking at this today:
http://www.xml.com/pub/a/2003/01/22/cocoon-excel.html
Its very well written and easy to follow. I'm currently modifying it to
use connection pools.
-------------------------------------------------------------
Benyamin Sheppard - CTO Paradigm Visions Inc.
web: http://www.instanthost.biz
email: ben@instanthost.net
mobile: 508-843-2215
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Excel-Sheets as Templates
Posted by Joerg Heinicke <jo...@gmx.de>.
On 28.06.2004 22:26, cocoon user wrote:
> Hi everyone,
>
> I need to read in Excel templates on request, fill the data from text
> file in certain cells and deliver the sheet to the clients browser.
>
> Any suggestions?
I guess you need the new ExcelGenerator not even committed to CVS:
http://issues.apache.org/bugzilla/show_bug.cgi?id=29817.
Filling the data using a transformer and serializing the result back to
excel files should be easy.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: releashing resources in cocoon
Posted by padhu <pa...@yahoo.com>.
Hi
I am trying to read a xml file (amp.xml in the
following code), display it to the users and finally
replace (using java action class) the xml file with
the options that user has selected. I have problem in
accessing the file using the action java class, since
cocoon transformer holds that resources. Is there any
way to make the cocoon to forcefully release a
resource.
<map:match pattern="alternate-priority-selection">
<map:generate type="file" src="content/amp.xml"/>
<map:transform type="xslt" src="style/amp.xsl"/>
<map:serialize type="html"/>
</map:match>
<map:match pattern="submit_selection">
<map:act type="val-region">
<map:parameter name="app_title" value="{app_title}"/>
<map:act type="CreateXML">
</map:act>
<map:redirect-to
uri="cocoon:/alternate-priority-selection?app_title={request-param:app_title}&region=houston&run=yes"/>
</map:act>
</map:match>
Thanks!~
pad.
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org