[JBoss Seam] - Re: h:message for / s:decorate question (cause of the proble
by Holger Prause
Well first of all sorry to all for the confusion.
First of all 1 thing:
1) its working like expected (upgrade to jsf 1.2 and use label attribute )
I was so sure that my message template(generated from redhat developer studio) was the same like in the jsf implementation and that i am doing everything right, but that was wrong.
//from generated messages_en.properties
javax.faces.component.UIInput.REQUIRED=value is required
//from jsf impl.jar
javax.faces.component.UIInput.REQUIRED={0}: Validation Error: Value is required.
so why i thought that label attribute is ignored was that missing
{0}: in my properties file
christian.bauer(a)jboss.com wrote:
anonymous wrote :
| Man, just configure your messages.properties file - there are many examples and documentation - and override the message. Done.
|
When i read this i was so angry course i was so absolutly sure that it has nothing to with the properties file and that i was treated like a noob.
Well what to say, chrisitan was absolutly right :-)
I am such a damn noob(i admit it).To my excuse - that was a simple but mean little problem.
Sorry again for spamming forum.
But let me say this at least : i still dont like jsf. XD
Thx very much its finally working all and me very happy now.
With best regards / whishes (Dont give up - its mostly worth it)
Holger
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093679#4093679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093679
18Â years, 8Â months
[Installation, Configuration & DEPLOYMENT] - Scheduler calling several instances of same class
by ramboid
Can I scope the classes of a SAR deployment so that the JBoss Scheduler can distinguish between the Schedulable classes of two SAR deployments? I wrote a class that implements the Schedulable interface and that calls a custom class (in the same way that example 10 describes). I packaged the custom class in a jar file and deployed it inside the SAR that includes the Schedulable class. I configured the mbean tag of the jboss-service.xml to use the JBoss Scheduler and let the Scheduler to call the Schedulable class.
I created two copies of the SAR deployment, name them differently, and deployed them to the default configuration. The only difference between the deployments is a custom ini file that the custom classes read to connect to a different database. I can see that the two SAR delployments install in JBoss but only the first service seems to run properly. The service that installs last seems to fail to run some of the custom classes.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093673#4093673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093673
18Â years, 8Â months