Thanks guys,
I made it work. For now just some String values, but I will probably transform
them into a "config" class.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079436#4079436
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
Btw take a look at the wiki example. There's a pretty nice example of doing
exactly this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079371#4079371
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079371
___
"anescu" wrote : I want something like "application scope". Just a damn
constant, the same value for everyone.
|
Stateless will do that, too. Stateless means that it doesn't get stored in a
scope, so any time something asks for that variable (injection, el, whatever),
it will re-evaluate th
I have somethig like this:
|
|
| 5
| whateverpath
|
|
|
|
| @In
| SystemConfig sysConfig;
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079221#4079221
Reply to the post :
http://www.jboss.com/inde
I want something like "application scope". Just a damn constant, the same value
for everyone.
I read the reference for Seam, I saw the factory examples, but I did not find
yet any example on how to actually read the values in code. Probably there are,
somewhere :).
I'll see if I can get my co
You probably want
|
|
The auto-create means you can use @In instead of @In(create=true).
You can specify a different scope if you want.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079205#4079205
Reply to the post :
http://www.jboss.com/index.html?