Users - Form Widget

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Users - Form Widget

Vinay Agarwal

Hello,

 

I am trying to use form widgets but haven’t been able to figure out how to do two things:

1. How to build something like a screenlet with title from ecommerce application.

2. How to show errors in individual forms like the fieldErrors macro.

 

Regards,

Vinay Agarwal

 

Example screenlet:

 

<div class="screenlet">

    <div class="screenlet-header">

        <div class='boxhead'>&nbsp;${uiLabelMap.ScreenletTitle}</div>

    </div>

    <div class="screenlet-body">

        <div class="form-row">

            <div class="form-label">${uiLabelMap.Done}</div>

            <div class="form-field">

                <@fieldErrors fieldName="done"/>

                 <input type="checkbox" name="done" value="Y"/>

            </div>

        </div>

        <div class="endcolumns"><span></span></div>

    </div>

</div>

 


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users