[
http://jira.jboss.com/jira/browse/RF-1328?page=comments#action_12392970 ]
Bob Dojcinovski commented on RF-1328:
-------------------------------------
Hi Alexander,
The code Ashish is referring to is as follows:
Working:
<a4j:include id="includedView"
viewId="#{dynamicIncludeBean.page}"></a4j:include>
Not Working:
<rich:dataGrid value="#{dynamicIncludeBean.dyanamicList}"
columns="2" elements="3" var="page">
<a4j:include id="myinclude" viewId="#{page}"
> </a4j:include>
</rich:dataGrid>
The a4j:include component is not able to resolve the "#{page}" reference in the
context of a dataGrid.
This is a critical piece of functionality for the success of our product using Richfaces.
Any help would be greatly appreciated.
Highest Regards,
Bob Dojcinovski
a4j :include to support changing viewID at runtime when included in a
data table
--------------------------------------------------------------------------------
Key: RF-1328
URL:
http://jira.jboss.com/jira/browse/RF-1328
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: jboss4.2
Reporter: Ashish Kumar Singh
Assigned To: Alexander Smirnov
Fix For: 3.2.0, 3.1.3
Attachments: testinclude.zip
a4j:include is not working properly when included inside a data table/grid and viewid is
referred through value property of table/grid.
I am attaching a sample war which can reproduce the problem.
You have to put in richfaces apis and log4j.jar in lib directory
--
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