This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Flex buttons and spring security

Feb 9th, 2011, 09:15 PM

Hi guys
I have 6 buttons(4 user related buttons and 2 admin related buttons) in my mxml file on the flex side.
When a USER logs in I want to show him
4 user related buttons and hide 2 admin related buttons
an when ADMIN logs in I want to hide 4 user related buttons
and show 2 admin buttons.
If I use a jsp I can do this pretty easily using spring security tags.
Can I acchieve the same in my mxml file?