Re: File Not Found Exception
Attila Szegedi <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
You're also mixing square brackets and angle brackets: [#ftl] but
<#list>. That'll cause some problems... It ain't the answer to "file
not found" though, for which I don't have an idea :-)
Attila.
On 2009.02.06., at 4:42, Archana D Patange wrote:
> Hi all,
>
> I'm newbie to FreeMarker, I've created a template but it is throwing
> FileNotFoundException. Can anyone please let me know whether my
> template is syntatically correct as I want to confirm. Below is the
> template
>
> [#ftl]
> <MODULE>
> <HEADER>
> <LABEL>
> <IMAGE HREF="${doc.Module.header.label.image.href}"></IMAGE>
> ${doc.Module.header.label.label}
> </LABEL>
> </HEADER>
> <#list doc.Module.containers as x>
> <CONTAINER type="${x.Container.type}">
> <FORM HREF="${x.Container.formDO.href}" SUBMIT_TEXT="$
> {x.Container.formDO.submit_text}">
> <FIELD TYPE="${x.Container.formDO.field.type}" NAME="$
> {x.Container.formDO.field.name}"></FIELD>
> </FORM>
> </CONTAINER>
> </#list>
> </MODULE>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H