[JBoss-user] [JBoss Seam] - Re: Seam JSR168 Portlet and EJB3 and Facelets

2006-05-24 Thread perwik
That's what I thought, and that's where I get confused. Is a Portal one web application or is it supposed to be seen as a bunch of different applications / portlets, which in that case can't share Seam components? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[JBoss-user] [JBoss Seam] - Re: Seam JSR168 Portlet and EJB3 and Facelets

2006-05-24 Thread perwik
I'm not sure if I understand your answer, or if you understood my question (which might have been a little blurry). The thing I'm trying to sort out is that Seam components (EJB SFSBs) deployed in one .ear can not be used by things deployed in other .ears, right? View the original post : http:

[JBoss-user] [JBoss Seam] - Re: Seam JSR168 Portlet and EJB3 and Facelets

2006-05-24 Thread perwik
I'm running into some mind mazes when thinking about all this portal stuff :-) In a normal Seam app I would deploy all EJB .jars in the same .ear as the .war. As I understand no other apps outside of that .ear would be able to use those Seam components. When using a portal structure I would fir

[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam

2006-04-28 Thread perwik
I don't really understand if that was a comment to what I wrote or something else, but to clarify: I wouldn't ever want to have anything to do with the names of roles anywhere in my code or xml-files since those names are not known before an admin creates them through the application. The only t

[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam

2006-04-28 Thread perwik
"[EMAIL PROTECTED]" wrote : anonymous wrote : Actually what I'm interested in is the ability to have users in groups and permissions on single objects bound to those groups. | | I don't understand. How is what you are describing different to @RolesAllowed in EJB3? | | @RolesAllowed("

[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam

2006-04-27 Thread perwik
I'm very interested in this. Actually what I'm interested in is the ability to have users in groups and permissions on single objects bound to those groups. I know that JAAS handles this as well as Acegi, but there doesn't seem to be an easy way as of today to do it with JAAS in JBoss. Acegi on

[JBoss-user] [JBoss Seam] - Re: Redirect to HTTPS

2006-04-25 Thread perwik
Not being the original poster I can't be sure of what he wanted, but what I think he wanted (and would like to do myself) is to access the exact same pages as before login (plus those that the user now has access to, of course) but through https. So there isn't really a specific url-pattern to u

[JBoss-user] [JBoss Seam] - Re: Converting from EJB collections to JSF models -- techniq

2006-04-12 Thread perwik
Would you like to post your functions somewhere for the rest of us to have a look at them? I'm sure you could make a page about it in the seam wiki for example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936814#3936814 Reply to the post : http://www.jbo

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS dynamic role-based security with a custom Policy?

2006-04-08 Thread perwik
Well, saving Users, Roles and Permissions in some sort of storage and then getting them out of there shouldn't be much of a problem. What I'm thinking about is how to say that a certain EJB method requires a certain Permission. There is @RolesAllowed but I haven't found anything like @RequiredPe

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS dynamic role-based security with a custom Policy?

2006-04-05 Thread perwik
Now, about two years later I found this thread and I'm wondering what this looks like today? I'd like to implement something that works almost exactly like what the original poster describes, but I've got a hard time finding info about how to do this, if it is possible with Jboss today. "ikarpo

[JBoss-user] [JBoss Seam] - Re: beginner question - seam and MVC

2006-03-14 Thread perwik
Seam uses (can use) EJB session beans implementing a local interface for its "action components". You could just as well have a separate session bean that is just a standard EJB3 thing with all your business methods and without any seam anotations and then have your action beans look up the sess

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-13 Thread perwik
*Oh*, so components in my jar overrides the core ones if they have the same name? I guess I should've known that :-) By the way, what about anotations in the superclass? Are they inherited now? I remember reading something about it not being implemented yet. View the original post : http://www

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-12 Thread perwik
To be able to do this | | | | | I added this to LocaleSelector, and it looks like it's working as it should. The only flaw is that the list is not sorted and perhaps all language names should begin with an uppercase letter to be consistent within the list. My list (based on

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-12 Thread perwik
To quote myself: "perwik" wrote : ...IF the localeSelector cared about the "supported locales" settings in faces-config.xml. And it looks like it actually does, in the latest CVS. Thanks Gavin! I guess I should learn to | 1. Read forum | 2. Update from CVS | 3.

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-12 Thread perwik
Well, you could just get rid of messages.properties and only have the other files, IF the localeSelector cared about the "supported locales" settings in faces-config.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929639#3929639 Reply to the post : http

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-11 Thread perwik
Sure, that would solve the problem, once. But you wouldn't want to have the deployer changing the filenames when he could change a setting in faces-config.xml. In my imaginary company the developers have a standard that says they should always have messages.properties in english :-) View the or

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-11 Thread perwik
It never ends ;-) in LocaleSelector.setLocale() you do this | ... | set locale based on language and so on... | ... | else | { | locale = java.util.Locale.getDefault(); | FacesContext facesContext = FacesContext.getCurrentInstance(); | if (face

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-11 Thread perwik
"[EMAIL PROTECTED]" wrote : | THat's the way Java's lookup algorithm works, not ours. | Ok, I think I can live with that until I actually develop something that needs two different locales depending on country. I don't think it's that often. Although it should be easy enough to have a setL

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-10 Thread perwik
Thanks, this works great. Just as my own version, that I wrote before I saw that there was a reply to the thread :-) well, I guess it's always good to use the thinking cap, or something. One problem though: When setting the language to "sv" using this component (no country or variant selected)

[JBoss-user] [JBoss Seam] - @ApplicationException generates javax.transaction.NotSupport

2006-03-10 Thread perwik
Hi, I don't know if this is the correct forum or if I should should post in EJB3, but this is my problem: I submit to #{login.login} from a form. login is a stateless seam component. The method named login calls an other method on a stateful bean in the SESSION scope. That method looks like thi

[JBoss-user] [JBoss Seam] - Re: FacesMessages.add()

2006-03-09 Thread perwik
I think I can live with that ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929171#3929171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929171 --- This SF.Net

[JBoss-user] [JBoss Seam] - FacesMessages.add()

2006-03-09 Thread perwik
I was taking a look at the new FacesMessages component. Section 3.3 in the latest (from CVS as of this post) documentation says anonymous wrote : You can even include JSF EL expressions in a faces message summary: | | facesMessages.add("Document #{document.title} was updated"); | | Or

[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope

2006-03-09 Thread perwik
Gavin, Using the browser locale is of course better than just using a default value, but what if the user wants to change the locale? I don't speak a word of french but when I'm on holiday and sit in front of a computer with a french version of Firefox I would at least want to be able to click

[JBoss-user] [JBoss Seam] - Re: Tools & Documentation

2006-03-01 Thread perwik
What version of the jBPM tool do I need in order to use the page flow editor? If the answer is "the latest one in CVS" then please direct me to some info on how to get it installed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927069#3927069 Reply to the p

[JBoss-user] [JBoss Seam] - Re: CVS Seam against which version of JBOSS

2006-01-16 Thread perwik
See this sticky: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=75453 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917617#3917617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917617 -

[JBoss-user] [JBoss Seam] - Re: CVS version against jboss HEAD

2006-01-16 Thread perwik
I found the answer in an other thread: "[EMAIL PROTECTED]" wrote : | * get the JBoss AS sources from CVS | * build it by typing ant in the build directory (you will want to increase your heap size by doing a "set ANT_OPTS=-Xmx512m" before so you don't get an OOME) | | Once the build wi

[JBoss-user] [JBoss Seam] - Re: Booking Example

2006-01-15 Thread perwik
Ok, I'm not an expert on JBoss IDE but afaik the current version doesn't have any special support for Seam at all. As the last frame of the flash demo says: "Now you can duplicate the booking directory and use the build system to create your own JBoss Seam applications!" For more information on

[JBoss-user] [JBoss Seam] - Re: CVS version against jboss HEAD

2006-01-15 Thread perwik
Uhm... how do I build the latest JBoss from CVS? Or are there nightly builds of JBoss as well? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917541#3917541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917541 -

[JBoss-user] [JBoss Seam] - Re: Booking Example

2006-01-15 Thread perwik
You don't have to do anything else than what you see in the demo. The project you check out from the CVS server includes all necessary files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917538#3917538 Reply to the post : http://www.jboss.com/index.html?mo