[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Customizing datasource : Need Help

2008-07-15 Thread jboss.techie
Hi, How can I add a new column to an existing table in MS-SQL ? Could you please provide the links of the docs which have step by step procedure regarding the files which need to be changed. I have created jbosscmp-jdbc.xml and have changed /hibernate/user/domain.hbm.xml. Also, I am getting

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - storing data in static store.

2008-07-11 Thread jboss.techie
Hi, Whenever we create/add a new property like gender, it gets stored in Dynamic Store. But is it possible to store it in static store? I am using MYSQLDS. Need help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163817#4163817 Reply to the post :

[jboss-user] [JBoss Portal] - How to get current User's Role ?

2008-07-07 Thread jboss.techie
Hi , How can I retreive logged in user's role? I am using MSSQLDS. I have attatched my code here: | UserModule usrMod = (UserModule) new InitialContext().lookup(java:/portal/UserModule); | MembershipModule mbr = (MembershipModule)new

[jboss-user] [Installation, Configuration DEPLOYMENT] - Setting layouts according to User/Admin level

2008-07-01 Thread jboss.techie
Hi, Currently we can change view of a portal according to INDIVIDUAL USER. But how can I set layout and theme of a portal Based on User Level, like i need to show a view if he logged in as ADMIN and show a Different view if he logged in as USER. Which descriptor I need to change? Thanks.

[jboss-user] [Beginners Corner] - Getting 404 resource not found error

2008-06-26 Thread jboss.techie
Hi, I am new to Jboss Portal..And now stuck up with this problem :( the problem I m facing with jbossportal 2.6 is If I LogIn as admin and then go to dashboard link, it shows 404 Resource not foundError. What could be the problem? If I logIn as user, it displays the page correctly. Is this