[jboss-user] [JBoss Portal] - Custom Dahboard Bar

2008-12-19 Thread Broots
Hi All, I'm trying to build a custom dasboard bar as a specific region in my layout. The problem, i'm facing is to retrieve some attributes from JBossRenderRequest like "org.jboss.portal.header.ADMIN_PORTAL_URL", "org.jboss.portal.header.EDIT_DASHBOARD_URL", "org.jboss.portal.header.COPY_TO_DASH

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Access Resources from webapp directory

2008-08-18 Thread Broots
I'm so stupid ; you gave me a solution that i thought at first sight was too simple (i've not thunk on url.getPath()) and search for a more complicated solution. I will try as soon as possible your solution (Need vacation !!!) Thank you Peter, going to sleep. Sebastien View the original post

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Access Resources from webapp directory

2008-08-18 Thread Broots
Here comes the reason why i need to put the files in webapp and not in WEB-INF/classes : I've got images that may be displayable on the web site and to be use for the report manager (BIRT). As you may know, BIRT need to use paths to access resources. The solution works in production ; but be c

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Access Resources from webapp directory

2008-08-16 Thread Broots
Hi Peter, Thank you for your response I've found myself another way to find the correct path : I will try the solution in the application this afternoon. Here is my possible solution : | ObjectName name = new ObjectName("jboss.system:service=MainDeployer"); | Collection c = (Collection) se

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Access Resources from webapp directory

2008-08-15 Thread Broots
Hi, I'm trying to deploy an ear packaged file to the jboss server. I've got some files in webapp directory which i need to read from some java classes. The problem is that i can't find how to reference the webapp directory cos jboss is deploying the ear in the tmp/deploy/temporary_name/ Is