<t:beaneditor object="mb:bean" t:mixins="tynamo/BeanModelAdvisor
*"/>*

You are closing the t:beaneditor element.

        <div class="t-beaneditor">
            <t:beaneditor object="mb:bean" t:mixins="tynamo/BeanModelAdvisor
*">*
<p:password>
   <t:label for="password" />
   <t:passwordfield t:id="password" value="loginCredentials.password"/>
</p:password>
*            </t:beaneditor>*
            <br/>
            <div class="t-beaneditor-row">


On Fri, Dec 7, 2012 at 5:22 PM, Ken in Nashua <[email protected]> wrote:

>
> Well here is the code...
>
> It yeilds same solution from Josh snippet.
>
>     <t:form clientValidation="true" validate="bean">
>         <t:errors/>
>
>         <div class="t-beaneditor">
>             <t:beaneditor object="mb:bean"
> t:mixins="tynamo/BeanModelAdvisor"/>
> <p:password>
>    <t:label for="password" />
>    <t:passwordfield t:id="password" value="loginCredentials.password"/>
> </p:password>
>             <br/>
>             <div class="t-beaneditor-row">
>
>
>
>                 <t:submit t:id="saveAndStay" event="stay" class="button"
> value="${message:org.tynamo.i18n.apply}"/>
>                 <t:submit t:id="saveAndReturn" event="return"
> class="button" value="${message:org.tynamo.i18n.applyAndReturn}"/>
>                 &nbsp; or &nbsp;
>                 <t:eventlink class="button" style="color:red;
> font-weight:bold;" t:id="cancel">
>                     ${message:org.tynamo.i18n.cancel}
>                 </t:eventlink>
>             </div>
>         </div>
>     </t:form>
>
>
> Failure parsing template
> classpath:org/tynamo/examples/hibernatesecurity/pages/Edit.tml: Block
> parameters are only allowed directly within component
> elements.locationclasspath:org/tynamo/examples/hibernatesecurity/pages/Edit.tml,
> line 2217        <t:form clientValidation="true" validate="bean">18
>      <t:errors/>19
> 20              <div class="t-beaneditor">21
>  <t:beaneditor object="mb:bean"
> t:mixins="tynamo/BeanModelAdvisor"/>22<p:password>23   <t:label
> for="password" />24   <t:passwordfield t:id="password"
> value="loginCredentials.password"/>25</p:password>
>  26                      <br/>27                 <div
> class="t-beaneditor-row">
>

Reply via email to