Thread: [Webwork-devel] New UI tags? - <ui:hidden> and <ui:textlabel>
Brought to you by:
baldree,
rickardoberg
|
From: Mike Cannon-B. <mi...@at...> - 2001-12-20 00:22:39
|
I'd like to propose two new UI tags <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 <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 form - but in the same style. eg <ui:textlabel label="'Project'" name="'selectedProject/name'" /> <ui:textfield label="'Summary'" name="'summary'" /> generates something like (imagine an HTML table ;)) Project: Project1 Summary: <<textfield>> IMHO both should take 5 minutes, but will make the form library a little more comprehensive. Thoughts? -- Cheers, Mike -- Mike Cannon-Brookes :: mi...@at... Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World |
|
From: Matt B. <ma...@sm...> - 2001-12-20 01:45:25
|
+1. I would prefer this over mixing INPUT HIDDEN tags. Looks nicer. Obviously, you can produce the text label with HTML and PROPERTY tag but having a UI tag will give you the same format treatment you are using with other controls. Assuming others are okay, I'll add it in. -Matt ----- Original Message ----- From: "Mike Cannon-Brookes" <mi...@at...> To: "Webwork-Devel" <web...@li...> Sent: Wednesday, December 19, 2001 6:25 PM Subject: [Webwork-devel] New UI tags? - <ui:hidden> and <ui:textlabel> > I'd like to propose two new UI tags > > <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 > > <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 form > - but in the same style. > > eg > <ui:textlabel label="'Project'" name="'selectedProject/name'" /> > <ui:textfield label="'Summary'" name="'summary'" /> > > generates something like (imagine an HTML table ;)) > > Project: Project1 > Summary: <<textfield>> > > IMHO both should take 5 minutes, but will make the form library a little > more comprehensive. > > Thoughts? > > -- > Cheers, > Mike > > -- > Mike Cannon-Brookes :: mi...@at... > > Atlassian :: http://www.atlassian.com > Supporting YOUR J2EE World > > > > _______________________________________________ > Webwork-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-devel > > |
|
From: Rickard <ri...@mi...> - 2001-12-20 05:35:09
|
Matt Baldree wrote: > +1. I would prefer this over mixing INPUT HIDDEN tags. Looks nicer. > Obviously, you can produce the text label with HTML and PROPERTY tag bu= t > having a UI tag will give you the same format treatment you are using w= ith > other controls. Assuming others are okay, I'll add it in. I'm ok with the label tag, since it at least fits the skinning=20 capability requirement of the UI tags, but I don't quite see the point=20 of the hidden tag. /Rickard --=20 Rickard =D6berg Chief Architect, TheServerSide.com The Middleware Company |
|
From: Matt B. <ma...@sm...> - 2001-12-20 11:31:33
|
I'll just add label tag. -Matt ----- Original Message ----- From: "Rickard" <ri...@mi...> To: "Matt Baldree" <ma...@sm...> Cc: "Mike Cannon-Brookes" <mi...@at...>; "Webwork-Devel" <web...@li...> Sent: Thursday, December 20, 2001 12:36 AM Subject: Re: [Webwork-devel] New UI tags? - <ui:hidden> and <ui:textlabel> Matt Baldree wrote: > +1. I would prefer this over mixing INPUT HIDDEN tags. Looks nicer. > Obviously, you can produce the text label with HTML and PROPERTY tag but > having a UI tag will give you the same format treatment you are using with > other controls. Assuming others are okay, I'll add it in. I'm ok with the label tag, since it at least fits the skinning capability requirement of the UI tags, but I don't quite see the point of the hidden tag. /Rickard -- Rickard Öberg Chief Architect, TheServerSide.com The Middleware Company _______________________________________________ Webwork-devel mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/webwork-devel |
|
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 |