Hi
allowbody refers to whether or not the content between your start and end tag
is rendered or not
ie:
<span...... allowbody="false>
any content here is not rendered
</span>
This is very useful when creating full page templates where you have sections
of it replaced dynamicaly by Clay, while still being able to see a full page
with dummy content in a html browser/editor
Hermod
-----Original Message-----
From: Torsten Krah [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 11:50 AM
To: [email protected]
Subject: Re: Clay HTML View - where to set @managed-bean-name?
Solved it using:
<component jsfid="loginForm" extends="form" allowBody="true">
<symbols>
<set name="managed-bean-name" value="loginBean" />
</symbols>
</component>
and set the surrounding form to be jsfid="loginForm"
Is this behaviour ok - or should this usecase be solved in another way,
maybe better?
Does allowBody only manage if the content of the tag is rendered or not
- i guess, but i am not sure.
Torsten
Am Mittwoch, den 18.10.2006, 11:29 +0200 schrieb Torsten Krah:
> I want to use the html Views and made some components referring to
> [EMAIL PROTECTED]
>
> How do i set this in a html view?
>
> In a jsp i would use:
>
> <clay:clay id="loginTemplate" jsfid="login.html"
> managedBeanName="loginBean"/>
>
> But now i got pure html with some implicit mappings and explicit ones
> like:
>
> <input jsfid="myInputComponent" />
>
> The rest is declared at the component.
>
> Where to set the bean which should be used for that inputField?
>
> kind regards
>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email.
This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *