We have a system built on seam/richfaces. There\'s this webpage where the tables are rendered from dynamic context (from multiple different datasources, and each of them uses a
HtmlAjaxCommandLink commandLink = new HtmlAjaxCommandLink();
commandLink.addActionListener(new SetPropertyActionListener(target, value));
column.getChildren().add(commandLink);
where target
and value
are ValueExpression
's. These can be created with:
ExpressionFactory.getInstance().createValueExpression(ctx, expression, expectedType)
And the required ELContext
can be obained via FacesContext.getCurrentContext().getELContext()