You must be logged in to do that (read, or update, or admin, or delete, or create forum)

Same ActionMap for two Objects

  2 posts   Feedicon  
Replies: 1 - Last Post: April 21, 2011 20:12
by: etf
showing 1 - 2 of 2
 
Posted: April 20, 2011 08:59 by sashs
Hello,

i have a class with actions. Two classes extends this class. Now if i use getActionMap(Class cls, Object o) in the subclasses it is important that i get the same ActionMap for both subclasses. now i get two instances.

Has anybody an idea how i can realize this?

Regards

Sascha
 
Posted: April 21, 2011 20:12 by etf
Hello,

Each Action Map corresponds to the particular object. If one gets maps from two different objects he will obtain two different instances. Use same target object in both cases.

Replies: 1 - Last Post: April 21, 2011 20:12
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