The aliasBean didn't work with commandButtons.

The problem is that when events are broadcasted, the tag has no way (that I'm aware of) to intercept the calls to it's children broadcast.
So, it can't make/remove the alias before/after the call to a child h:commandButton action.

The only way I've found to solve this is to add a new attribute named permanent to the x:aliasBean.
So if permanent="true" is added to the tag, the alias isn't removed when the tag is closed.

I know, this is quite ugly, but I didn't find a better way to handle this case.

Suggestions to improve this and find a way to remove this attribute would be very welcome.

Sylvain.

Reply via email to