just write the component to extend BaseComponent, and use an html template:

<html>
<body>
<span jwcid="$content$">
    <input type="submit"> <!-- Do whatever you want inside the content span -->
</span>
</body>
</html>

-Mike

On 3/22/06, Aj Gregory <[EMAIL PROTECTED]> wrote:
> I want to create a customer form field component that uses an html
> template... The standard ones like TextField seem to use
> AbstractFormComponent and write out the html in renderFormComponent...
>
> Can anybody point me to an example of how to create a form field
> component with html template? Or is there something I can call in
> renderFormComponent to make it render an html template?
>
> Thanks,
> -Aj
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to