[JBoss JIRA] Created: (RF-1059) Improve rich:message to show only certain category of messages
by Juan Ignacio S?nchez Lara (JIRA)
Improve rich:message to show only certain category of messages
--------------------------------------------------------------
Key: RF-1059
URL: http://jira.jboss.com/jira/browse/RF-1059
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.1.0
Reporter: Juan Ignacio S?nchez Lara
Priority: Optional
I'd like to be able to display a red box for error messages, green for info and so on. The problem is that since rich:messages shows every message I can't make different boxes.
I tried a workaround by hiding content, but it renders several empty boxes. I put four boxes, one for each level, and in each box only one kind of message is shown. For example, in the 'error box', warnClass, infoClass and fatalClass were 'hidden' (.hidden { display: none; }). That solution is not good enough, since every box is rendered.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years
[JBoss JIRA] Closed: (RF-851) "<%%%>" string value processed wrong with Tidy Filter
by Aleksej Yanul (JIRA)
[ http://jira.jboss.com/jira/browse/RF-851?page=all ]
Aleksej Yanul closed RF-851.
----------------------------
> "<%%%>" string value processed wrong with Tidy Filter
> -----------------------------------------------------
>
> Key: RF-851
> URL: http://jira.jboss.com/jira/browse/RF-851
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Reporter: Ilya Shaikovsky
> Assigned To: Aleksej Yanul
> Priority: Critical
> Fix For: 3.2.0, 3.1.3
>
>
> <h:form>
> <h:dataTable value="#{capitalsBean.capitals}" var="cap" rows="20" border="1" id="table">
> <h:column>
> <h:inputText value="#{cap.name}" rendered="#{cap.checked}"></h:inputText>
> <h:outputText value="#{cap.name}" rendered="#{not cap.checked}"></h:outputText>
> </h:column>
> <h:column>
> <h:inputText value="#{cap.state}" rendered="#{cap.checked}"></h:inputText>
> <h:outputText value="#{cap.state}" rendered="#{not cap.checked}"></h:outputText>
> </h:column>
> <h:column>
> <h:selectBooleanCheckbox value="#{cap.checked}">
> <a4j:support event="onclick" reRender="table"></a4j:support>
> </h:selectBooleanCheckbox>
> </h:column>
> </h:dataTable>
> </h:form>
> 1) Check the check box to make line editable,
> 2) paste <%%%> to any edit
> 3) uncheck the box to submit this
> 4) try to check again
> After WriteAttribute writes this value to input's value attribute it escaped all symbols Ok. But after Tydy process the page it use still "<%%%>" and Parse error appears.
> Works fine under FastFilter
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years