no there isnt such a thing. usually the beanstuff we have done uses
some metadata to generate both markup and components...there is
wicket-stuff-crud project that generates crud views based on a
bean...maybe look into that for inspiration

-igor


On Sun, Mar 16, 2008 at 7:02 AM, James Carman
<[EMAIL PROTECTED]> wrote:
> Is there any way to ask a component what its preferred tag type is?
>  For instance, TextField would return "input" and DropDownChoice would
>  return "select".  This would be useful if one were to want to
>  dynamically generate a form (using Velocity) based on a list of
>  Components (property editors).
>
>  If there's no way to do it, I guess I could set up my own "registry"
>  of sorts that allows me to register the preferred tag type for
>  specific component types (classes).
>
>  ---------------------------------------------------------------------
>  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