myFaces 1.2 - Converter Problem

2008-03-03 Thread MPF
Hi! I use Tomcat 6 myFaces 1.2.2 tomahawk 1.1.6 I tried do create a Converter for following model: public class PlanningPoint { private String country; private String location; private String street; private String postCode; private String houseNumber;

Re: Session Handling and Navigation Questions

2007-08-08 Thread MPF
Andrew Robinson-5 wrote: > >> Session Handling (especial Firefox): >> What i have to do at a logout? invalidate session? clear all session >> beans >> (scope=session)? On login i have to check if a user is already logged in >> at >> this browser instance? > > Invalidate the HttpSession to dele

Session Handling and Navigation Questions

2007-08-08 Thread MPF
Hi! Session Handling (especial Firefox): What i have to do at a logout? invalidate session? clear all session beans (scope=session)? On login i have to check if a user is already logged in at this browser instance? Navigation: How is it possible that e.g. only jsp A can forward/redirect to jsp B

How to get the ip address of the caller

2007-07-10 Thread MPF
HttpServletRequest servletRequest = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); String remoteHost = servletRequest.getRemoteHost(); thats the ip address of the caller? best regards. -- View this message in co

Re: How i can destroy a bean without destroying the session

2007-07-09 Thread MPF
regards. Anton Gavazuk wrote: > > Hi Markus! > You can do de-provisioning for fields in the bean or just simply set null > value for instance of this bean > > 2007/7/9, MPF <[EMAIL PROTECTED]>: >> >> >> Hi! >> Is it possible to destroy a m

Re: How i can destroy a bean without destroying the session

2007-07-09 Thread MPF
wrote: > > Hi Markus! > You can do de-provisioning for fields in the bean or just simply set null > value for instance of this bean > > 2007/7/9, MPF <[EMAIL PROTECTED]>: >> >> >> Hi! >> Is it possible to destroy a managed bean (scope=session) wh

How i can destroy a bean without destroying the session

2007-07-09 Thread MPF
Hi! Is it possible to destroy a managed bean (scope=session) which will be new instantiated the next time? -- View this message in context: http://www.nabble.com/How-i-can-destroy-a-bean-without-destroying-the-session-tf4049678.html#a11502745 Sent from the MyFaces - Users mailing list archive at

Re: how i can invalide the session at outputlink

2007-07-08 Thread MPF
>> >> David Delbecq-2 wrote: >>> >>> Use a commandLink then :) >>> >>> En l'instant précis du 04/07/07 12:50, MPF s'exprimait en ces termes: >>>> hi, >>>> >>>> ya which action ? outputlink hasnt a action/

Re: how i can invalide the session at outputlink

2007-07-04 Thread MPF
ahh... -.- well furthermore is is possible do "erase" a special managed bean which will be new constructed at the next calling? David Delbecq-2 wrote: > > Use a commandLink then :) > > En l'instant précis du 04/07/07 12:50, MPF s'exprimait en ces term

Re: how i can invalide the session at outputlink

2007-07-04 Thread MPF
hi, ya which action ? outputlink hasnt a action/actionListener..? Benjamin Bratkus wrote: > > hi, > > yes this is possible, you have to get the session in the action method and > to call the session.invalidate within the method. > > ben >> >> Hi! >> >> [code] >> >>

how i can invalide the session at outputlink

2007-07-04 Thread MPF
Hi! [code] [/code] is it possible to invalide the session at the outputlink? best regards -- View this message in context: http://www.nabble.com/how-i-can-inval

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread MPF
So i try to change my application to a filter: public class FrontDoorFilter implements Filter { public void destroy() { //nothiing to do } public void doFilter(ServletRequest req, ServletResponse res, FilterChain fc)

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread MPF
sion. It may be intended behaviour, but most people need > a to take into account different value for each request. > > En l'instant précis du 11/06/07 09:33, MPF s'exprimait en ces termes: >> Well now it works with: >> #{param.dbk} >> >> thanks to a

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread MPF
Well now it works with: #{param.dbk} thanks to all and best regards MPF wrote: > > Hi! > Well I tried this (but its sound like easy and thats all I need), but the > parameter value is always null! > > try to call with following url: > http://localhost:80

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread MPF
com.company.Bean > > request > > initialRequest > #{params.xyz} > > .. > > JSF will automatically evaluate #{params.xyz} upon bean instantiation. > > MPF a écrit : >> Hi! >> How can I reali

Myfaces - application calling by link which include parameter

2007-06-08 Thread MPF
Hi! How can I realize that? My application get called with a link that contains a parameter whom i need to load data. Need to write a frontcontroller?how? someone can help? best regards -- View this message in context: http://www.nabble.com/Myfaces---application-calling-by-link-which-include-p