[JBoss JIRA] Resolved: (RF-851) "<%%%>" string value processed wrong with Tidy Filter
by Alexander Smirnov (JIRA)
[ http://jira.jboss.com/jira/browse/RF-851?page=all ]
Alexander Smirnov resolved RF-851.
----------------------------------
Resolution: Done
Removed special instructions ( ASP, PHP etc ) for a attributes values.
> "<%%%>" 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: Alexander Smirnov
> Priority: Critical
> Fix For: 3.2.0
>
>
> <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
16 years, 12 months