Re: Distinguish if parameters are sent by POST or GET

2015-03-19 Thread Georg Füchsle
, Volker 2015-03-18 15:46 GMT+01:00 Georg Füchsle giofy...@googlemail.com: Hallo Max, Thanks for replying. My attempt did not work: I want distinguish GET and POST inside a PhaseListener. In the PhaseListener I receive the FacesContext from the PhaseEvent. I also tried

Distinguish if parameters are sent by POST or GET

2015-03-18 Thread Georg Füchsle
Hallo! Is it possible to see if a parameter read in my jsf-app was sent by post or by get? My webapp should be startet calling a starturl with some post parameters. I would like to forebid the use of get parameters. is it possible? thanks Gio

Re: Distinguish if parameters are sent by POST or GET

2015-03-18 Thread Georg Füchsle
On 3/18/2015 9:19 AM, Georg Füchsle wrote: Hallo! Is it possible to see if a parameter read in my jsf-app was sent by post or by get? My webapp should be startet calling a starturl with some post parameters. I would like to forebid the use of get parameters. is it possible? thanks

Re: Read Server Ip and Port inside JSF

2014-06-06 Thread Georg Füchsle
. Best regards, Gio 2014-06-05 18:37 GMT+02:00 l.pe...@senat.fr l.pe...@senat.fr: On 05/06/2014 18:31, Georg Füchsle wrote: Hallo Ludovic, thanks for Your answer. But it didn't work for me. In my example the header: String forwardedFor = req.getHeader(X-Forwarded-For) was null. I also

Read Server Ip and Port inside JSF

2014-06-05 Thread Georg Füchsle
Hallo, my Application is deployed inside a Firewall and/or behind a Load-Balancer. My application provies a web-app and an web-service. At some time i have to call my own web-service from the web-app. In this case I have to use the internal URL of my server. At another time I have to give the

Re: Read Server Ip and Port inside JSF

2014-06-05 Thread Georg Füchsle
the machine than to configure it in the web.xml manually. Any proposals? Thanks! 2014-06-05 14:59 GMT+02:00 Georg Füchsle giofy...@googlemail.com: Hallo, my Application is deployed inside a Firewall and/or behind a Load-Balancer. My application provies a web-app and an web-service. At some time i

Re: Read Server Ip and Port inside JSF

2014-06-05 Thread Georg Füchsle
didnt find an answer. Maybe I will make a configuration for the internal URL and use this. The administrators will damn me. Cheers Gio 2014-06-05 17:01 GMT+02:00 l.pe...@senat.fr l.pe...@senat.fr: On 05/06/2014 14:59, Georg Füchsle wrote: Hallo, my Application is deployed inside a Firewall

Re: Consume a ASP.Net Service with windows Authentification from JSF

2013-08-21 Thread Georg Füchsle
will offer access top the REST-Service with other autentication proofs. So I will not struggle anymore on this topic. Thank You for your help! Gio 2013/7/25 Georg Füchsle giofy...@googlemail.com Thanks! Im am still working for it.If I have a solution i will paste it here. 2013/7/25 Mike

Re: Consume a ASP.Net Service with windows Authentification from JSF

2013-07-25 Thread Georg Füchsle
24, 2013 5:46 AM, Georg Füchsle giofy...@googlemail.com wrote: I have to make calls to an customers ASP.NET RESTful Service. This service is protecetd by a windows authentification. As far as I assume, this means, the user will use a browser on a windows computer inside their company

Re: Consume a ASP.Net Service with windows Authentification from JSF

2013-07-25 Thread Georg Füchsle
. On Thu, Jul 25, 2013 at 3:06 AM, Georg Füchsle giofy...@googlemail.com wrote: Thank you both, I will try the jcifs first. The autentication method ist NTLM. I assume the Autentification header is part of the http-Headers. Is this header only sent from a specially configured browser. Because

Consume a ASP.Net Service with windows Authentification from JSF

2013-07-24 Thread Georg Füchsle
I have to make calls to an customers ASP.NET RESTful Service. This service is protecetd by a windows authentification. As far as I assume, this means, the user will use a browser on a windows computer inside their company. They open my web-app that is hosted outside their company. From this

Bean-members marked with transient are not reset to null after request.

2012-01-06 Thread Georg Füchsle
Hallo! I had to switch the state-saving method from client to server. After this change bean-members marked with transient are not reset to null after request. I use jsf1.2 (sun ri) with tomahawk and Facelets. To exclude bean memberes from state-saving I usually marked these members with

Re: Recognize Browser-Version in JSF doesn’t work on WAS6.1

2012-01-06 Thread Georg Füchsle
-functionality I had to change the JSF-StateSaving from 'client' to 'server' (only on WAS6.1) With my own JSF-Libs the browser-version was recognized well. Thanks for all for your help. Georg 2011/11/3 Georg Füchsle giofy...@googlemail.com: Hi Toby, I gave up for today. No matter what I do

Re: Bean-members marked with transient are not reset to null after request.

2012-01-06 Thread Georg Füchsle
, 2012 at 8:35 AM, Georg Füchsle giofy...@googlemail.com wrote: Hallo! I had to switch the state-saving method from client to server. After this change bean-members marked with transient are not reset to null after request. I use jsf1.2 (sun ri) with tomahawk and Facelets. To exclude bean

Recognize Browser-Version in JSF doesn’t work on WAS6.1

2011-11-03 Thread Georg Füchsle
Hallo! To recognize the user’s browser version I examine the HttpHeader in a request scoped managed bean: FacesContext ctx = FacesContext.getCurrentInstance(); ExternalContext extctx = ctx.getExternalContext(); MapString, String[] map = extctx.getRequestHeaderValuesMap();

Re: Recognize Browser-Version in JSF doesn’t work on WAS6.1

2011-11-03 Thread Georg Füchsle
that open the application.xml with RAD and go the the Deployment Tab. here in the Application section select the EAR an set classloader mode to PRENT_LAST. Then click on the war file and do the same.) Let me know if that helped, Toby On Thu, Nov 3, 2011 at 11:30 AM, Georg Füchsle giofy

Re: Recognize Browser-Version in JSF doesn’t work on WAS6.1

2011-11-03 Thread Georg Füchsle
Hi Toby, I gave up for today. No matter what I do, as soon as I switch the class loader of the webapp I get SRVE0201E: Das Servlet [javax.faces.webapp.FacesServlet] ist keine Servlet-Klasse. when starting the application. I did not mention that I use the sun implementation. On the weekend I

Re: Functionality that returns the Jsf-Version?

2011-10-29 Thread Georg Füchsle
. The standalone facelets library for JSF 1.x did this. On Fri, Oct 28, 2011 at 4:12 AM, Georg Füchsle giofy...@googlemail.com wrote: Thanks Kito, thats great! Now I can control if really the expected jsf.jar is loaded! Regards, Georg 2011/10/27 Kito Mann kito.m...@virtua.com: Hello Georg

Re: Functionality that returns the Jsf-Version?

2011-10-28 Thread Georg Füchsle
://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast * Keep up with the aftermath of the Oracle/Sun merger: http://www.mergerspeak.com On Thu, Oct 27, 2011 at 6:43 AM, Georg Füchsle giofy...@googlemail.comwrote: Hallo! My WebApp needs to use Jsf with the Version 1.2.15B02. In WAS7 I

Functionality that returns the Jsf-Version?

2011-10-27 Thread Georg Füchsle
Hallo! My WebApp needs to use Jsf with the Version 1.2.15B02. In WAS7 I achieved this by using shared Libraries. Unfortunately often we forget to switch on these shared libs. In this case the App runs but on later sites there will be mistakes due to different cashing of Managed beans. Therefore I

Wrong rendering of special characters with tomahawk-1.1.9 on unix-machine

2011-07-14 Thread Georg Füchsle
Hallo, Since I updated my tomahawk jar from 1.1.7 to 1.1.9 there a special character (umlaut) is rendered wrong when deployed on a unix machine. When I deploy on a windows machine there is all right: This tag t:outputText value=#{mandinfo.regionStr} id=regionStr

Re: f:setPropertyActionListener does not work

2011-05-06 Thread Georg Füchsle
: the servlet [javax.faces.webapp.FacesServlet] is not a servlet class) - Can we output to the page the JSF-Version that is used? - Or do we use a wrong set of jar-Versions? - Should the JSF1.2 jars be used from a 'shared library reference' in WebSphere? Thanks Georg 2011/5/5 Georg Füchsle giofy

Re: f:setPropertyActionListener does not work

2011-05-05 Thread Georg Füchsle
:881) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497) regards Georg 2011/5/5 Leonardo Uribe lu4...@gmail.com: Hi Could you provide the exception to see if there is a configuration problem? regards, Leonardo 2011/5/4 Georg Füchsle giofy...@googlemail.com: Hallo I

f:setPropertyActionListener does not work

2011-05-04 Thread Georg Füchsle
Hallo I have made up a small JSF-Project using maven. It works as long I will not use f:setPropertyActionListener. When f:setPropertyActionListener is called, it runs into an exception. I deploy to WebShpere 6.1. I tried to switch the class loading without success. Looking forward for any help!

Re: Problems retrieving selection data from t:datalist via actionlistener

2011-04-29 Thread Georg Füchsle
/4/8 Georg Füchsle giofy...@googlemail.com Hallo! I use Jsf 1.2 with Tomahawk and Facelets. On a page listing users that belong to a company, I use t:datalist .. To edit one user, I call an actionListener, that retrieves the id of the selected user. This works since some years. Now

ajax4jsf doesn't work with https and InternetExplorer 9

2011-04-27 Thread Georg Füchsle
Hallo Users! I have a jsf page that uses ajax (ajax4jsf-1.1.1). Now with InternetExplorer 9 the ajax-request on this page does not work, if this page has to be called by https. There is displayed the following (German) errors: ** Details zum Fehler auf der Webseite

Problems retrieving selection data from t:datalist via actionlistener

2011-04-08 Thread Georg Füchsle
Hallo! I use Jsf 1.2 with Tomahawk and Facelets. On a page listing users that belong to a company, I use t:datalist .. To edit one user, I call an actionListener, that retrieves the id of the selected user. This works since some years. Now it happens sometimes that the selection of the user

Facelets custom component with an action as a variable like ui:param

2010-04-12 Thread Georg Füchsle
Hallo, I use JSF 1.2 with Facelets and Tomahawk. Now I would like to make a facelets custom component for a navigation / toolkit bar (button panel) that looks the same in every page. This component should exist of a number of t:commandButtons that can be defined by calling this custom component.

Re: Facelets custom component with an action as a variable like ui:param

2010-04-12 Thread Georg Füchsle
://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Mon, Apr 12, 2010 at 8:56 AM, Georg Füchsle giofy...@googlemail.comwrote: Hallo, I use JSF 1.2 with Facelets and Tomahawk. Now I would like to make a facelets custom component for a navigation / toolkit bar (button panel

Re: value in SessionScope ist lost after a redirect on Safari

2009-09-04 Thread Georg Füchsle
to response.encodeURL(...) however also make sure that the server and browser allow cookies otherwise the entire sessionid thing wont work (since you know german http://www.java-forum.org/allgemeines-ee/87463-funkt-encodeurl-auch-wenn-cookies-eingeschalten-sind.html) Werner Georg Füchsle schrieb

Re: value in SessionScope ist lost after a redirect on Safari

2009-08-28 Thread Georg Füchsle
dont thin you should loose the session on a redirect. This is standard servlet stuff. Do you change domains in between or do you change from https to http? Werner Georg Füchsle schrieb: Hallo! For starting my application the User asks for a special start-url. During the render-phase

Re: value in SessionScope ist lost after a redirect on Safari

2009-08-28 Thread Georg Füchsle
!); } } Was it this what you wanted to advice me? Cheers Georg 2009/8/28 Werner Punz werner.p...@gmail.com: Werner Punz schrieb: Georg Füchsle schrieb: Hallo Werner , hallo Jan-Kees, thank you  for your answers. - I do not redirect to another application but to another

exception using handleNavigation(...)

2009-08-27 Thread Georg Füchsle
Hallo, in Order to redirect to another page during Restore-View-Phase I call: FacesContext fc = event.getFacesContext(); fc.getApplication().getNavigationHandler().handleNavigation(fc, , mnfmrecherche); There is the navigation-rule in my faces-config.xml:

value in SessionScope ist lost after a redirect on Safari

2009-08-26 Thread Georg Füchsle
Hallo! For starting my application the User asks for a special start-url. During the render-phase at a request for this start-url in a certain case I recognize that the user wants a anonymous logon. In this case I set value of a session bean 'mbUser.name=anonymous' and forward the user to

how to read data from the request after session timeout?

2009-08-20 Thread Georg Füchsle
Hallo all, when a session of an user timed out I display a Website telling 'Your Session expired; please login again!. Now I have to distinguish some 'loginType' of the user. If the user initially logged on by ldap i have to redirect him to another site as if he logged in by internal

Re: how to read data from the request after session timeout?

2009-08-20 Thread Georg Füchsle
=display:none;visibility:hidden;/ How can I read its value from the request? Thanks, Georg 2009/8/20 Werner Punz werner.p...@gmail.com: FacesContext.getExternalContext().getRequest should point you towards the servlet request. Werner Georg Füchsle schrieb: Hallo all, when a session of an user

Re: how to read data from the request after session timeout?

2009-08-20 Thread Georg Füchsle
does an internal id mapping so  the id loginType might be mapped to a value along the lines of viewId:formId:loginType Georg Füchsle schrieb: Hallo Werner, I have got the request as a variable. Now I want to read from it the state of the hidden input-field, that was on the jsf-Page

Re: getting information about caller-url

2009-07-14 Thread Georg Füchsle
Georg Füchsle wrote: Hallo Rene! Thanks for your fast answer. This does not seem to fit to my problem: I tried to start my app from a static html-file. in this static html-file I put a static link to my application like: a href=http://localhost/myapp/start.jsf;start/a Then I examine

getting information about caller-url

2009-07-13 Thread Georg Füchsle
hallo, when starting my application I have to distinguish between the different sites from where the user can call the application. Theese urls are outside application. Can somebody give me a hint how i can read the url from where the user is calling? Thanks Georg

Re: getting information about caller-url

2009-07-13 Thread Georg Füchsle
information is contained in the ExternalContext which can be accessed as: FacesContext.getCurrentInstance().getExternalContext(); It contains methods such as getRequestContextPath. -Original message- From: Georg Füchsle giofy...@googlemail.com Sent: Mon 13-07-2009 11:36 To: MyFaces

Re: Set a node invisible in tree2

2009-04-30 Thread Georg Füchsle
Hallo, maybe You can do like this: You override your treenode class with an own class that also has a member 'visible' that is set when creating the treenodes. Then you can ask this value in your jsp code. for example similar like this: t:commndButton style=#{!node.visible 'display:none': ''}

may I use session scoped beans in an application scoped bean's method?

2009-04-27 Thread Georg Füchsle
Hallo, I found such things in my code: In an static method of an application scoped bean I fetch a session scoped bean and read some data from it. It seems to work. But is it really allowed? Georg

Re: may I use session scoped beans in an application scoped bean's method?

2009-04-27 Thread Georg Füchsle
and clean it another time Cheers Georg 2009/4/27 Matthias Wessendorf mat...@apache.org: I'd not do that... generally fetching beans by using the EL API is not that good. Use a real DI container for that -M On Mon, Apr 27, 2009 at 11:22 AM, Georg Füchsle giofy...@googlemail.com wrote

Re: Set a node invisible in tree2

2009-04-25 Thread Georg Füchsle
Hallo, when processing the action you can delete your node serverside. This should be the easiest way. If you want to show/hide the node by Javascript it will be more work. You have to look at the produced html-Code to find the ids of the td that corresponds to your node and hide it by

how to add post-data to a redirect from an action

2009-04-21 Thread Georg Füchsle
hallo, I have to call another application out from JSF. To call this application i have to send (xml) data via post to the start-url of this application. I found some example on the web: code ExternalContext extContext = FacesContext.getCurrentInstance().ctx.getExternalContext(); String name =

Re: how to add post-data to a redirect from an action

2009-04-21 Thread Georg Füchsle
for Your help. Regards Georg 2009/4/21 Simon Kitching skitch...@apache.org: Georg Füchsle schrieb: hallo, I have to call another application out from JSF. To call this application i have to send (xml) data via post to the start-url of this application. I found some example on the web

Re: how to add post-data to a redirect from an action

2009-04-21 Thread Georg Füchsle
/httpclient-3.x/ and it was quite useful. Cheers, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Apr 21, 2009 at 7:58 AM, Georg Füchsle giofy...@googlemail.com wrote: Hallo Simon, Yes You have understood right: I want the user's browser to call

configuring resource adapter embedded in ear

2009-03-20 Thread Georg Füchsle
hallo, I have an resource adapter 'httpjca.rar' that is embedded into an ear-file. When deploying this ear-file the resource adapter is installed as an internal module and there is installed an connection-factory for the rar. I want to preset the in the ra.xml-configuration the jndi-name of this

AW: [Tomahawk] how to save input-values when pressed a button with immediate tag set?

2008-01-29 Thread Georg Füchsle
set? Hi Georg, 2008/1/28, Georg Füchsle [EMAIL PROTECTED]: Is there a way to save these values? Can I do this by hand while processing action of my button? you can get the values from the requestParamaters: Map params = facesContext.getExternalContext().getRequestParameterMap(); String value

[Tomahawk] how to save input-values when pressed a button with immediate tag set?

2008-01-28 Thread Georg Füchsle
Hallo! I have got a form with some input elements using the 'required'-tag. There is also a button that leads to an intermediate form with some extra input fields. This button has got the 'immediate'-tag set true, in order to allow this navigation even if not all required fields are set. But in

AW: Action behind plus/minus icon tree2 tomahawk

2008-01-15 Thread Georg Füchsle
Hallo! I think you can do so using ajax4jsf. There is an example here: http://www.jroller.com/plainoldweblog/entry/use_tomahawk_tree2_and_ajax4jsf I used this and it worked fine. When toggling the Items the method public void processToggle(ActionEvent p_event) is called and there is the