Re: [Webwork-devel] New UI tags? - <ui:hidden> and <ui:textlabel>
Brought to you by:
baldree,
rickardoberg
|
From: Rickard <ri...@mi...> - 2001-12-20 05:31:54
|
Mike Cannon-Brookes wrote: > I'd like to propose two new UI tags >=20 > <ui:hidden> which generates a form hidden field, the template is very > simple as it just spits out the input control and no HTML at all is > necessary What value would this have over doing raw HTML? With the other tags the=20 idea is to 1) have a simple way of showing and modifying data and 2) to=20 be able to control the l&f of the UI control. A hidden field tag would=20 accomplish neither. What am I missing? > <ui:textlabel> (better name?) - basically this is useful when you want > to spit out some text for the user, which is not submitted with the for= m > - but in the same style. >=20 > eg > <ui:textlabel label=3D"'Project'" name=3D"'selectedProject/name'" /> > <ui:textfield label=3D"'Summary'" name=3D"'summary'" /> >=20 > generates something like (imagine an HTML table ;)) >=20 > Project: Project1 > Summary: <<textfield>> >=20 > IMHO both should take 5 minutes, but will make the form library a littl= e > more comprehensive. >=20 > Thoughts? For the style part you could just use HTML with the CSS classes to get=20 the same style. But, yes, it might be a point to do a tag for it. /Rickard --=20 Rickard =D6berg Chief Architect, TheServerSide.com The Middleware Company |