Howto declare toggle/radio actions

  3 posts   Feedicon  
Replies: 2 - Last Post: August 28, 2010 21:16
by: etf
showing 1 - 3 of 3
 
Posted: August 18, 2010 09:02 by tburk
I want to create a menu with toggle menu items and radio menu items. When creating this menu from the actions loaded by BSAF, how do I know which type of menu item should be created for the actions? Of course I can decide it in the code depending on the action name, but I'd rather inject this information into the action. Thanks for your help.
 
Posted: August 28, 2010 15:12 by Eric Heumann
I'm having trouble picturing what you're doing here. Do you have a loop that automatically creates a menu item for each action in the class? I'm trying to imagine why you'd need the action to dictate the type of component it should be used in.

- Eric
 
Posted: August 28, 2010 21:16 by etf
Actions are controls agnostic by their nature. The main point of using actions is to be able to reuse them in any control.
Replies: 2 - Last Post: August 28, 2010 21:16
by: etf
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close