Details
Description
Contribution from Dan Leahu:
*****
RowSelector doesn't work correctly with the GlassFish implementation of JSF 1.2 because this method:
public void setSelectionListener(MethodBinding selectionListener) {
this.selectionListener = selectionListener;
}
is never called.
We've solved this by creating a new listener type called SelectionListener and modified the method createMetaRuleset present in com.sun.facelets.tag.jsf.ComponentHandler.java to include rules for this new SelectionListener:
if (SelectionSource.class.isAssignableFrom(type)) {
m.addRule(SelectionSourceRule.Instance);
}
Also created for the proxy class MethodExpressionSelectionListener
public class MethodExpressionSelectionListener implements SelectionListener {
...
}
which knows how to call our SelectionListener.
*****
RowSelector doesn't work correctly with the GlassFish implementation of JSF 1.2 because this method:
public void setSelectionListener(MethodBinding selectionListener) {
this.selectionListener = selectionListener;
}
is never called.
We've solved this by creating a new listener type called SelectionListener and modified the method createMetaRuleset present in com.sun.facelets.tag.jsf.ComponentHandler.java to include rules for this new SelectionListener:
if (SelectionSource.class.isAssignableFrom(type)) {
m.addRule(SelectionSourceRule.Instance);
}
Also created for the proxy class MethodExpressionSelectionListener
public class MethodExpressionSelectionListener implements SelectionListener {
...
}
which knows how to call our SelectionListener.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Assignee Priority | P1 | |
Assignee | Ken Fyten [ ken.fyten ] | Rob Mayhew [ rob.mayhew ] |
Ken Fyten
made changes -
Fix Version/s | 1.6DR#4 [ 10060 ] |
Ken Fyten
made changes -
Assignee Priority | P1 | P2 |
Assignee | Rob Mayhew [ rob.mayhew ] | Mark Collette [ mark.collette ] |
Mark Collette
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Cannot Reproduce [ 5 ] |