You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Adam Ayres <ad...@lithium.com> on 2007/11/24 20:34:22 UTC

[T5] Render Informal Parameters in BeanEditorForm

I am using the BeanEditForm with informal parameters but they do not
seem to be rendering correctly.

 

In my page template I have:

 

<t:beanEditForm object="myObject" class="fooBar" />

 

And the rendered output becomes:

 

<form id="form" name="form" method="post"
action="/myPage.beaneditform.form">

...

</form>

 

I noticed that the BeanEditorForm has the SupportsRenderInformals
annotation on it, but does not render them anywhere, or pass them along
in some way to the embedded Form component (which does render informal
parameters).  Please let me know if there is something I am missing or
if this should be filed as an issue.

 

Thanks,

Adam


Re: [T5] Render Informal Parameters in BeanEditorForm

Posted by Howard Lewis Ship <hl...@gmail.com>.
In that case, the informal parameters are the block parameters used to
override the editor row for a particular property.

In your case, you may want to "explode" BeanEditForm into a Form and a
BeanEditor component, which will give you more precise control over
the rendered markup.


On Nov 24, 2007 11:34 AM, Adam Ayres <ad...@lithium.com> wrote:
> I am using the BeanEditForm with informal parameters but they do not
> seem to be rendering correctly.
>
>
>
> In my page template I have:
>
>
>
> <t:beanEditForm object="myObject" class="fooBar" />
>
>
>
> And the rendered output becomes:
>
>
>
> <form id="form" name="form" method="post"
> action="/myPage.beaneditform.form">
>
> ...
>
> </form>
>
>
>
> I noticed that the BeanEditorForm has the SupportsRenderInformals
> annotation on it, but does not render them anywhere, or pass them along
> in some way to the embedded Form component (which does render informal
> parameters).  Please let me know if there is something I am missing or
> if this should be filed as an issue.
>
>
>
> Thanks,
>
> Adam
>
>



-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

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