We could add a more generic parameter:

<ui:textfield label="Username" name="username" size="40"
params="onChange='javascript:blah' onMouseUp='blah'"/>

Mathias

-----Original Message-----
From: Matt Ho [mailto:[EMAIL PROTECTED] 
Sent: donderdag 3 juli 2003 10:25
To: [EMAIL PROTECTED]
Subject: [OS-webwork] additional attributes for the tags


Ara brought up a really good point about the existing ui tags.  There's 
really no mechanism to pass along additional presentation information 
such as onChange for HTML views or fetchhint for VoiceXML views.  The 
param tag is available, but that seems a little heavy for this.  It 
strikes me this would be a good thing to have, but doing it the struts way

        http://jakarta.apache.org/struts/userGuide/struts-html.html#text

seems silly.  Under Velocity, this would be pretty easy:

#tag( TextField .... "onChange=blah blah" "onMouseUp=..." etc ... )

the data could then be stored into an internal attribute map (or perhaps 
the existing param map).  The question, however, becomes what does the 
JSP version of this look like?

Thoughts?

M




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to