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.
- Re: new MyFaces-Website on i.a.o Bill Dudney
- Re: new MyFaces-Website on i.a.o Manfred Geiler
- RE: new MyFaces-Website on i.a.o Matthias Wessendorf
- Re: new MyFaces-Website on i.a.o Manfred Geiler
- RE: new MyFaces-Website on i.a.o Matthias Wessendorf
- Re: new MyFaces-Website on i.a.o Ted Husted
- Re: new MyFaces-Website on i.a.o Martin Marinschek
- Re: new MyFaces-Website on i.a.o Sylvain Vieujot
- New "permanent" attribute to x:... Sylvain Vieujot
- Re: New "permanent" attribu... Manfred Geiler
- Re: New "permanent" at... Sylvain Vieujot
- RE: new MyFaces-Website on i.a.o Matthias Wessendorf
- Re: new MyFaces-Website on i.a.o Bill Dudney
- RE: new MyFaces-Website on i.a.o Matthias Wessendorf
