[jboss-user] [JBoss Seam] - Is it possible to grab the FacesContext in a @WebRemote meth

2008-01-24 Thread indyJones
FacesContext context = FacesContext.getCurrentInstance(); Gives me a null pointer... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123227#4123227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123227

[jboss-user] [JBoss Seam] - Re: Is it possible to grab the FacesContext in a @WebRemote

2008-01-24 Thread indyJones
in a @WebRemote method i have... FacesContext context = FacesContext.getCurrentInstance(); Which throws a null pointer... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123229#4123229 Reply to the post :

[jboss-user] [JBoss Seam] - Add a request parameter....

2008-01-16 Thread indyJones
Is there a way to add a request parameter from one page to another within the app? Here is my problem... I have 2 pages (A and B), the B page has a param set up in the pages xml that brings in a ID, which is used in a factory method. This works great... Now, I have a link on page A that

[jboss-user] [JBoss Seam] - Parameter in URL?

2008-01-09 Thread indyJones
Is it possible to have a link that goes directly to a XHTML page in my seam application and pass a variable? Something like... http://server/app/pageName.seam?variableName=NAMEamp;cid=32 How would I grab it using facelets? Thanks indy View the original post :

[jboss-user] [JBoss Seam] - Update Data Model from another Bean

2007-12-12 Thread indyJones
I have a Data Model and some input boxes on a page. Select a record from the Data Model and the input boxes is populated with the records information. Change the data in the input boxes and hit a Update button. Update the record in the database and then reload the Data Model. All this works

[jboss-user] [JBoss Seam] - Re: Update Data Model from another Bean

2007-12-12 Thread indyJones
Very nice... I am new to the Events model... Thanks!!! Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112362#4112362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112362

[jboss-user] [JBoss Seam] - Re: How do I reload a Data Model on a SessionBean everytime

2007-12-07 Thread indyJones
ok...i need some help with your suggestion pete... Here is how I am Outjecting the datamodel into even scope... | | @Name(usermanager) | @Stateful | @Scope(SESSION) | @Restrict(#{identity.loggedIn}) | public class UserManager implements UserManagerInterface { | |

[jboss-user] [JBoss Seam] - How do I reload a Data Model on a SessionBean everytime it i

2007-12-06 Thread indyJones
Bean... | | @Name(usermanager) | @Stateful | @Scope(SESSION) | @Restrict(#{identity.loggedIn}) | public class UserManager implements UserManagerInterface { | | @DataModel(users) | private ListUser users; | | @Factory(users) | public ListUser getUsers()

[jboss-user] [JBoss Seam] - Re: How do I reload a Data Model on a SessionBean everytime

2007-12-06 Thread indyJones
anyone? I tried @DataModel(scope=ScopeType.PAGE) and it still doesnt seem to be working... Am I doing something wrong? This seems pretty straight forward... Reload the Data Model with every time the page is rendered... View the original post :

[jboss-user] [JBoss Seam] - Re: How do I reload a Data Model on a SessionBean everytime

2007-12-06 Thread indyJones
if I try scope=ScopeType.PAGE on the Factory, I get some long error about injected the user property. I did some research in the Forums and someone said to never do scope on the Factory annotation... So, does the ScopeType.PAGE work for DataModel. I am assuming not... Well, it would be cool if

[jboss-user] [JBoss Seam] - New Window with report...

2007-11-15 Thread indyJones
I current use the FacesContext and open a Jasper Report PDF in the current browser session, I would like to open the report in a new browser window (session). Can someone help? Thanks indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105048#4105048

[jboss-user] [JBoss Seam] - Reporting and Security, ideas....

2007-11-12 Thread indyJones
Ok Seam pros, what is the recommended reporting engine? I have worked a little with Jasper reports. Building servlets that run the reports... My question is, can I hook these servlets into the Seam role based security? Or, should I use a different reporting engine? Flex? thanks indy View

[jboss-user] [JBoss Seam] - Does ICEFaces and RichFaces work on same page?

2007-10-30 Thread indyJones
Can I have components from both libraries on the same Faclet page? Example: Can I have a ICEFaces Calender on a RichFaces Tab Panel? Thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100362#4100362 Reply to the post :

[jboss-user] [JBoss Seam] - Error with seam setup for Seam 2.0.0 CR2

2007-10-11 Thread indyJones
Download latest build from web site. Explode is, open a command box and go to the root directory and type seam setup. Get the following error... anonymous wrote : | | C:\jboss-seam-2.0.0.CR2seam setup | Buildfile: C:\jboss-seam-2.0.0.CR2\seam-gen\build.xml | | init: |

[jboss-user] [JBoss Seam] - Thanks so much for the quick response!

2007-10-11 Thread indyJones
I will just wait for the GA release... Thanks again for all the hard work guys View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094095#4094095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094095

[jboss-user] [JBoss Seam] - Re: 2.0.0 CR2 is out

2007-10-05 Thread indyJones
Whats the best way to upgrade from 2.0.0 CR1? Thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092136#4092136 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092136 ___

[jboss-user] [JBoss Seam] - Seam Pros - Need your opinion...Date vs Long

2007-09-13 Thread indyJones
I have a POJO that needs to store date information. But, I don't want to store the Java type Date in my database, I prefer to store my date in the database as Java type Long. This is all fine and good, but when i display this POJO, i dont want the Long number displayed for my date, I want a

[jboss-user] [JBoss Seam] - Re: Seam Pros - Need your opinion...Date vs Long

2007-09-13 Thread indyJones
Thanks for the info guys!! This helps a ton... Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084084#4084084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084084 ___

[jboss-user] [JBoss Seam] - Seam Pros, Newbie needs help. DataTable

2007-08-26 Thread indyJones
Seam: 2.0.0BETA1 JBoss: 4.2.0 Facelets I am having problems with a very simple datatable. Here is my code Bean | | @Name(usermanager) | @Stateful | @Scope(SESSION) | @Restrict(#{identity.loggedIn}) | public class UserManager implements UserManagerInterface { | | @In

[jboss-user] [JBoss Seam] - Rich Faces Class Not Found Error...

2007-08-23 Thread indyJones
JBoss AS: 4.2.0 Java: 1.6.0_02 Seam: 2.0.0BETA1 I don't know if this is a Seam error or RichFaces... I have downloaded the most recent RichFaces and Ajax4Jsf jars and replaced them within my Seam Web App's WEB-INF/lib. It was just released... I get the following... anonymous wrote : | |

[jboss-user] [JBoss Seam] - TestNG Problems Booking Example - Seam 2.0.0 Beta

2007-08-18 Thread indyJones
Here is my configuration... Seam - 2.0.0 Beat 1 Java - 1.6.0_02 MySQL - 5 Eclipse - 3.3 TestNG - Newest Eclipse Plug-in Here is what i did.. 1. Use Seam Gen to create a project 2. Moved the Booking example code over to this project 3. Everything builds and the application runs just fine 4. Try

[jboss-user] [JBoss Portal] - Re: JAAS/JACC...help...please....

2007-08-18 Thread indyJones
creative777, Thanks for the help...that is exactly what i need... I will try it out and let you know how it goes... thanks indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075499#4075499 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Support for Forgotten Username/Password

2007-08-18 Thread indyJones
ThorntonD, Here is what I did... http://www.jboss.com/index.html?module=bbop=viewtopict=115156 Its not the most elegant...but the basic idea is there... thanks indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075500#4075500 Reply to the post :

[jboss-user] [JBoss Seam] - Is this fixed yet?

2007-08-17 Thread indyJones
I get the following error running tests with the Booking Example... * Updated the jboss-embedded-all.jar for java 1.6 * Running Seam 2.0 * Inside Eclipse anonymous wrote : | |[testng] *** CONTEXTS IN ERROR: Name - Error |[testng] jboss.jca:name='jms-ra.rar',service=RARDeployment

[jboss-user] [JBoss Seam] - Re: [SEAM 2.0 BETA 1] Embedded ejb container fails at test s

2007-08-17 Thread indyJones
Ok...downloaded embedded-jboss-beta2... Extracted it. Deleted the booking/bootstrap Copied the embedded-jboss-beta2/bootstrap to booking/bootstap... I am running MySQL 5... I now get this error... anonymous wrote : | | [testng] ERROR 17-08 11:57:05,296

[jboss-user] [JBoss Seam] - Re: [SEAM 2.0 BETA 1] Embedded ejb container fails at test s

2007-08-17 Thread indyJones
Ok...here is my configuration... Java- 1.6.0_02 MySQL - 5 (Community Edition) Eclipse - 3.3.0 Seam - 2.0.0 BETA1 JBoss AS - 4.2.0 Embedded JBoss Beta 2 My problem seems to be with the jboss-local-jdbc.rar/META-INF/ra.xml file... ursway, can you post yours? I would

[jboss-user] [JBoss Portal] - JAAS/JACC...help...please....

2007-08-14 Thread indyJones
Portal: 2.6.1 JBoss AS: 3.4 MySQL I want to write a portlet that authenticates and authorizes the user. I can authenticate just fine... | | UsernamePasswordHandler handler = new | UsernamePasswordHandler(this.username, this.password.toCharArray()); |

[jboss-user] [JBoss Portal] - Re: JAAS/JACC...help...please....

2007-08-14 Thread indyJones
Thats the one i have been trying to follow... I am very new to this so I apologize... I get the user authenticated and get their Principals (Roles)... What I don't understand is how to tell the Portal framework that this user is Authenticated. I tried using the JACC Portal Permission factory

[jboss-user] [JBoss Portal] - Re: Calling JAAS

2007-08-08 Thread indyJones
Ok...free ice cream for anyone that helps me... :) indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071985#4071985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071985 ___

[jboss-user] [JBoss Portal] - Re: Calling JAAS

2007-08-08 Thread indyJones
oki cant even get authenticated... | | try{ | | UsernamePasswordHandler handler = new |UsernamePasswordHandler(admin, admin.toCharArray()); | | LoginContext lgnctx = new LoginContext(portal, handler); |

[jboss-user] [JBoss Portal] - Re: Calling JAAS

2007-08-08 Thread indyJones
oki am a dummy... I had a conflicting Hibernate3.jar in my app that didnt play nice with the Hibernate3.jar in the default/lib... I get authenticated now... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072188#4072188 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-07 Thread indyJones
Sohil, You said... anonymous wrote : | | why can't you re-use JBoss Portal's JAAS mechanism and just plug in your own LoginModule for your application specific authentication logic? | | I would LOVE to know how to do this... Is there a wiki reference or somewhere you can point me?

[jboss-user] [JBoss Portal] - Re: Calling JAAS

2007-08-07 Thread indyJones
ok...I need some help... JBoss AS: 4.0.5 JBoss Portal: 2.6.1 What I am trying to do -- Create a JSF portlet that takes a User name and password from a user and authenticates the User through the JAAS framework. This would also include setting the context path to /auth

[jboss-user] [JBoss Portal] - Re: Portlet with Ajax4jsf

2007-08-06 Thread indyJones
I will also be playing with this... Thanks so much!! indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071172#4071172 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071172 ___

[jboss-user] [JBoss Portal] - Re: Cannot retrieve user: Unable to locate current JTA trans

2007-08-06 Thread indyJones
forgot somthing portlet-nameUserManagerPortlet/portlet-name trans-attributeRequired/trans-attribute View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071352#4071352 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Access UserModule from a portlet when not authenticated

2007-08-03 Thread indyJones
ok...got it to work...here is how I did it using JSF... Get the userModule through JNDI | | userModule = (UserModule) new InitialContext().lookup(java:portal/UserModule); | | Get the user by using its user idNOT user name DO THIS | | User test =

[jboss-user] [JBoss Portal] - Re: Access UserModule from a portlet when not authenticated

2007-08-03 Thread indyJones
ok...i get the userModule the following way... | | userModule = (UserModule) new InitialContext().lookup(java:portal/UserModule); | | Thanks indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070623#4070623 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Portlet with Ajax4jsf

2007-08-03 Thread indyJones
I will just wait a bit Thanks Thomas... Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070638#4070638 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070638 ___

[jboss-user] [JBoss Portal] - Re: Portlet with Ajax4jsf

2007-08-03 Thread indyJones
if anyone is curious, I do have Tomahawk working inside the portlet... Its a nice alternative... Thanks indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070641#4070641 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Portlet with Ajax4jsf

2007-08-03 Thread indyJones
I am also interested if this does or does not work in a portlet... I have been trying to get this to work with no success Ajax4JSF? RichFaces? Thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070612#4070612 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Access UserModule from a portlet when not authenticated

2007-08-03 Thread indyJones
Here is the code | | User test = userModule.findUserByUserName(admin); | | Here is the error | | java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken cannot be cast to org.hibernate.hql.ast.HqlToken | | I do not get that error running the exact same code

[jboss-user] [JBoss Portal] - Access UserModule from a portlet when not authenticated

2007-08-02 Thread indyJones
Portal: 2.6.1 JB AS: 4.0.5 MySQL: 4.2 I am still trying to understand the security... For some reason i get a Hibernate class cast exception when trying to access the UserModule from a portlet in a session that is not currently authenticated... I am trying to implement a Forgot My Password

[jboss-user] [JBoss Portal] - Re: Calling JAAS

2007-08-02 Thread indyJones
I would like to get the complete registration from the portlet... Going to keep trying...if anyone gets the complete registration to work...POST IT... :) thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070305#4070305 Reply to the post :

[jboss-user] [JBoss Portal] - YES!!

2007-08-01 Thread indyJones
Can someone please tell me how to do this? I would love to know how to contact JAAS from my portlet Thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069780#4069780 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Custom Portal URL

2007-03-08 Thread indyJones
Where would I change the context for the root.war? There is web.xml in the WEB-INF directory inside the war, but there isnt a context-root xml element. Thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4026286#4026286 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Custom Portal URL

2007-03-08 Thread indyJones
I added a jboss-web.xml and added context-root/root/context-root within the root.war/WEB-INF Then changed the jboss-web.xml under the portal-server.war\WEB-INF to context-root/context-root This removed one of the portals... Is was... | | http://localhost:8080/portal/portal/MyPortal |

[jboss-user] [JBoss Portal] - Custom Portal URL

2007-03-07 Thread indyJones
It's time for another dumb question from Indy... Portal: 2.4 MySQL JB AS: 4.0.5 I have a custom Portal that I access through the following URL http://localhost:8080/portal/portal/MyPortal I would like to configure it to be... http://localhost:8080 I tried changing the jboss-web.xml, but

[jboss-user] [JBoss Portal] - PortalObjectPermission always returns true...

2007-02-15 Thread indyJones
JBoss Server 4.0.5 GA MySQL JBoss Portal 2.4 My Custom Portlet is trying to determine if an object should be available to a user. Currently, it is always returning true... In my jboss-portal.xml | | portlet | portlet-nameMyPortlet/portlet-name | transaction |

[jboss-user] [JBoss Portal] - Re: PortalObjectPermission always returns true...

2007-02-15 Thread indyJones
That was it.. I just wasnt paying attention... Thanks for the quick response... Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017229#4017229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017229

[jboss-user] [JBoss Portal] - Please Help....

2007-01-19 Thread indyJones
OkFor the life of me I can not figure out where to put my Applet jar... Can anyone help? Here is my JSP | | %@ page language=java extends=org.jboss.portal.core.servlet.jsp.PortalJsp % | %@ taglib uri=http://java.sun.com/portlet; prefix=portlet % | %@ taglib

[jboss-user] [JBoss Portal] - Layout and Themes - 2.6

2006-12-11 Thread indyJones
JBoss Portal - 2.6 I am trying to upgrade my 2.2 portal theme to 2.6 and I am having problems... Here is myLayout.war... myLayout.ear /META-INF application.xml /myLayout.war

[jboss-user] [JBoss Portal] - Re: Remove

2006-12-11 Thread indyJones
Yep, thats it... Thanks for the help... Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992775#3992775 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992775 ___ jboss-user

[jboss-user] [JBoss Portal] - Remove Don't have an account yet? You can create one link.

2006-11-30 Thread indyJones
JBoss Portal 2.2 How can I remove the Don't have an account yet? You can create one text from the default UserPortlet? I want to use this portlet, but we do not want user's creating thier own account, we want the admins to do this Thanks Indy View the original post :

[jboss-user] [Beginners Corner] - Tools.jar unexpected?

2006-11-22 Thread indyJones
JBoss Server : 4.0.3 SP1 JDK : 1.5 OS : Windows Server 2003 I an trying to get JBoss to run on a Winodows Server 2003 box. When I try and start it up using run.bat, I get this... C:\jboss-4.0.3SP1\binrun.bat \Java\jdk1.5.0_09\lib\tools.jar was unexpected at this time. There are 2

[jboss-user] [JBoss Portal] - DOH!

2006-11-07 Thread indyJones
My bad... You are correct. I was using datatable. I was just using the code example from the Tomahawk example... Thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3983820#3983820 Reply to the post :

[jboss-user] [JBoss Portal] - Quick questions...

2006-10-30 Thread indyJones
I got 2 quick questions... PORTAL VERSION: 2.2.1 SP3 1) I have deployed a MBean Service. This was done by modifying the jboss-service.xml and jboss-portlet.xml. Both files under jboss-portal.sar. Is there a way to deploy my MBean Service by not changing anything under jboss-portal.sar but

[jboss-user] [JBoss Portal] - C3PO, Hibernate, and JBoss

2006-10-25 Thread indyJones
I get the following error when trying to create a Hibernate Session factory... anonymous wrote : | 08:48:18,453 INFO [C3P0Registry] jdk1.5 management interfaces unavailable... JMX support disabled. | java.lang.ClassNotFoundException: No ClassLoaders found for:

[jboss-user] [JBoss Portal] - tld and JSF...

2006-09-05 Thread indyJones
I get the following... anonymous wrote : | The absolute uri: http://java.sun.com/blueprints/ajax/progress-bar cannot be resolved in either web.xml or the jar files deployed with this application | I have my progressbar.tld in portal-core.war\WEB-INF and the jar files in

[jboss-user] [JBoss Portal] - BluePrints AJAX Components

2006-09-01 Thread indyJones
Has anyone got Sun's BluePrints AJAX Components running inside a Portlet? Using JSF? I would love to use the progress box... Thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968974#3968974 Reply to the post :

[jboss-user] [JBoss Portal] - Re: How to run JSF +AJAX portlet in jboss portal server 2..4

2006-09-01 Thread indyJones
Anyone have an answer for this? Sun's BluePrints AJAX Components? Anyone? :) thanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968975#3968975 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968975

[jboss-user] [JBoss Portal] - Portlets and Applets

2006-07-12 Thread indyJones
Does anyone have a example of a portlet running an applet inside? My applet runs just fine with a static html file on the JBoss server... But, when I try to run the exact same applet within a JBoss portlet I get java.lang.ClassFormatError: JavaClock (Bad magic number) at