Maybe setting the rendered attribute to "false" for the things you don't want to see works.
thanks for reply. But that's not my realy need. If I use rendered attribute to realize it I have to generate all toolbar items at first, then, I can't show the items with "false" attribute. What's more, I can't change the order of any item.
Any better ideal?
if you create it dynamically anymway it should be possible to fill your toolbar with the desired order/appearance and rerender it after some event....