Sorry but it does. Look at the pagesource.
From UIDecorate.java under Seam 1.3:
| @Override
| public void encodeBegin(FacesContext context) throws IOException
| {
| super.encodeBegin(context);
|
| Contexts.getEventContext().set("invalid", hasMessage(this, context));
| Contexts.getEventContext().set("required", hasRequired(this,
context));
|
| context.getResponseWriter().startElement("span", this);
| context.getResponseWriter().writeAttribute("id", getClientId(context),
"id");
|
And then in DecorateRendererBase (split out from UIDecorate) from Seam 2.0:
|
| @Override
| protected void doEncodeBegin(ResponseWriter writer, FacesContext context,
UIComponent component) throws IOException
| {
| UIDecorate decorate = (UIDecorate) component;
|
| Contexts.getEventContext().set("invalid",
Decoration.hasMessage(decorate, context));
| Contexts.getEventContext().set("required",
Decoration.hasRequired(component, context));
|
| boolean hasMessage = decorate.hasMessage();
|
| writer.startElement("div", decorate);
| writer.writeAttribute("id", decorate.getClientId(context),
"id");
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092527#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...