One technique we've used in the past to do what you're describing is somewhat 
similar to fuchs recommendation.

We extended our custom decoration renderers to look for a window property to 
disable certain mode/state links. 

Example property:

<property>
  |     <name>maximized.windowstate.decoration.render</name>
  |     <value>false</value>
  | </property>

And then your decoration renderer code would look something like:

if (drc.getProperty(action.getName() + "." + actionKey + ".decoration.render") 
!= null) {
  |     render = Boolean.valueOf(drc.getProperty(action.getName() + "." + 
actionKey+ ".decoration.render"));
  | }
  | if (render) {
  |     //print out link markup
  | }

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217854#4217854

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217854
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to