Johan Isacsson wrote:

> One thing is that i would like to use the UI tags for the automatic form 
> validation functionality that they give me, but i don't want it to 
> produce the label for me, and i would also like the possibility to 
> change the apperarance of the error message. I know that theese things 
> are changeable in the template jsp files, but this could quickly turn 
> into alot of extra work for small things.


You can easily do both of these by supplying a custom CSS file for the 
classes that are defined.


> The <ui:x tags are ones i made up, xhtmlelement (bad name) would print 
> out the html form element, in this case a textfield since it's nested 
> within a ui:textfield tag. The ui:xerror tag would print out it's body 
> content only if an errro occured with this field, and the 
> ui:xerrormessage tag would print out the actual error message 
> 
> This is just a quick draft of how i would like to be able to do this, i 
> haven't really thinked it over but this approach would give my designers 
> the flexibility they need and it would be easy to use for them.


Why don't you want to use the template way? Your proposal seems to 
introduce a lot of extra work if changes are to be done to pages using 
this approach.


/Rickard


-- 
Rickard �berg



_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to