Hello !
How can I know current user in my standard bean ?
I user :
* JSF
* <auth-method>FORM</auth-method>
* JBoss 4.0.4GA
But I don't know how can i get login of the current user logged ...
I try this :
FacesContext fc = FacesContext.getCurrentInstance();
| HttpSession session = (HttpSession) fc.getExternalContext().getSession(false);
| etc...
But i can't find login after ...
Can you help me ? :)
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974767#3974767
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974767
"zzzz8" wrote : Hi Gavin,
|
| Thanks for the quick response! For now, I just made message non-null, but I've come up with a slightly different error.:
|
| ERROR 27-09 13:41:48,204 (ApplicationDispatcher.java:invoke:704) -Servlet.service() for servlet jsp threw exception javax.faces.el.EvaluationException: Cannot get value for expression '#{systemStatus.systemDatetime.time}'
| | at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java
| | :397)...
| |
I forgot to mention that in this case, the exception never really seems to be processed correctly and that's why the EL evaluation continues and occurs... not sure why though...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974766#3974766
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974766
Thanks for the info Brian. I've only quickly glanced at the tutorial - and perhaps I should do some extra reading before I ask this - but do you have any examples that relate to caching Web services. I couldn't find this in the tutorial. In particular, I'm looking for examples (or just some simple advice as to how to start doing this) as to how to implement this against JAX-WS 2.0. Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974759#3974759
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974759
Michael you will have to provide more deatils... on architecure and how things work.
As far Hibernate is concerned, Since Jboss uses Hiberbate for its Peristence (as Part of EJB 3.0.. ) - which means yr business layer is POJO based it should be easily portable in JBoss with minor changes.
With yr web fron end - what are you using.... Are you using Servlets/JSP or any other framework like Struts or myfaces, than it shouldnt be a problems as well porting to JBoss 4.0
You will have to provide more details though.....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974757#3974757
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974757