Hi,
Sorry to reply to my own topics...
I've found how to solve my problem.
There is a jndi.properties file in the twiddle.jar file.
In the jndi.properties file, I've added the line:
jnp.disableDiscovery=true
Now when my Jboss server is down, twiddle.sh returns an Exception.
I still have to modify the check_jbossjmx nagios script to deal with this exception.
Thanks Dimitris for your answer.
Bruno
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989690#3989690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989690
You can look at these 2 links (they explained a lot about validations):
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90636http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93507
So my understanding at this point is that the jsf framework will not call any validator when a value is null (I guess this is because there is no need to validate anything in that case).
I believe the reason for this is that in case of a null value, we either accept it (attribute required=false) or we refuse it (required=true).
Now since the attribute requiredMessage is not implemented, I can see to possible fix:
1- override javax.faces.component.UIInput.REQUIRED in your messages.properties
javax.faces.component.UIInput.REQUIRED = My error message
|
That will replace the ugly "Validator Error" message. But if you have 5 inputText in your page, you'll get 5 times this message...
2 - You can extend any components (inputText,...) you need to use and implement the missing attribute.
Maybe there are other solutions. I'm still looking into that problem myself.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989681#3989681
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989681
Correct.
But i allready solved the Problem ... simple just using leaveNode( ... ) instead of getToken.signal( ... ).
A decisionHandler is not possible, because sometimes i need to have more then one Decision in one node so. (For Example Check some Rulebases if one of these Rulebase matched then use Transition "A" else the default Transition). So i need to use actions insted of DessionHandlers.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989679#3989679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989679