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 possi

[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: [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().getRequestParameterMa

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
ntained in the ExternalContext which can > be accessed as: FacesContext.getCurrentInstance().getExternalContext(); > > > > It contains methods such as getRequestContextPath. > > -Original message- > From: Georg Füchsle > Sent: Mon 13-07-2009 11:36 > To: MyFaces Discu

Re: getting information about caller-url

2009-07-14 Thread Georg Füchsle
; Hi Georg, > > You can get that info from the request-header 'Referer'. You can access it > from the external context like below > > ExternalContext extCtx = > FacesContext.getCurrentInstance().getExternalContext(); > String refererHeader = extCtx.getRequestHeaderMap().g

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 mechanisms

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

2009-08-20 Thread Georg Füchsle
ext().getRequest should point you towards > the servlet request. > > Werner > > > Georg Füchsle schrieb: >> Hallo all, >> >> when a session of an user timed out I display a Website telling  'Your >> Session expired; please login again!". >> Now

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

2009-08-20 Thread Georg Füchsle
ternal id mapping so  the id loginType might be mapped to a > value along the lines of ::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

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 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:

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

2009-08-28 Thread Georg Füchsle
ssue a navigation via the navigation handler. >> But generally I 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 >> >> >

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

2009-08-28 Thread Georg Füchsle
r Weiterleitung!"); } } Was it this what you wanted to advice me? Cheers Georg 2009/8/28 Werner Punz : > Werner Punz schrieb: >> >> Georg Füchsle schrieb: >>> >>> Hallo Werner , hallo Jan-Kees, >>> >>> thank you  for

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

2009-09-04 Thread Georg Füchsle
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: >> >> Hallo W

Facelets custom component with an action as a variable like

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 http://www.w3.org/1999/xhtml"; xmlns:f="http://java.sun.com/j

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

2010-04-12 Thread Georg Füchsle
veloperworks/java/library/j-facelets2.html > > Component with the same problem/solution: > http://code.google.com/p/trinidadcomponents > > Cheers, > > Walter Mourão > http://waltermourao.com.br > http://arcadian.com.br > http://oriens.com.br > > > > On Mon, A

Problems retrieving selection data from

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 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 finds a userid o

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 B

Re: Problems retrieving selection data from

2011-04-29 Thread Georg Füchsle
is that in some way the > primary key or a derivate of your data is output on the html, and somebody > could > not want that by some special reason. Note the default strategy used for > years in UIData using rowIndex hides that information. > > regards, > > Leonardo Uribe > &

users@myfaces.apache.org

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 http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0

Re:

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 : > Hi > > Could you provide the exception to see if there is a configuration problem? > > regards, > > Leonardo > > 2011/5/4 Georg Füchsle : >> H

Re:

2011-05-06 Thread Georg Füchsle
a 'shared library reference' in WebSphere? Thanks Georg 2011/5/5 Georg Füchsle : > Hallo Leonardo, > > thank you for your interest! > Here the exception: > > [05.05.11 09:47:25:663 CEST] 001a ServletWrappe E   SRVE0068E: Es > wurde eine Ausnahme angefangen

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 with bean (mandinf) funktion: String getRegionStr() { ... return "

Is it impossible to use tomahawk and richfaces in the same app?

2011-08-26 Thread Georg Füchsle
Hallo Users, is it impossible to use tomahawk and richfaces in the same app? My situation: I develop a webapp that uses jsf1.2, facelets, tomahawk and ajax4jsf that runs on WebSphere6 and JBoss6. Now I got a request to deploy to WebSphere7. I realised, that ajax4jsf-1.1.1.jar mustn't be deploye

Re: Is it impossible to use tomahawk and richfaces in the same app?

2011-08-26 Thread Georg Füchsle
Hallo Werner, I am not shure what work I have to expect migrating to JSF2. But thanks, so I will think about this solution, too. gio 2011/8/26 Werner Punz : > Am 26.08.11 15:18, schrieb Georg Füchsle: > >> 2. I really cannot get rid of tomahawk in my app. How can I add some >>

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

Re: Functionality that returns the Jsf-Version?

2011-10-28 Thread Georg Füchsle
t; > * Listen to the latest headlines in the JSF and Java EE newscast: > http://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, Ge

Re: Functionality that returns the Jsf-Version?

2011-10-29 Thread Georg Füchsle
versions. > The standalone facelets library for JSF 1.x did this. > > On Fri, Oct 28, 2011 at 4:12 AM, Georg Füchsle > wrote: >> Thanks Kito, >> >> thats great! Now I can control if really the expected jsf.jar is loaded! >> >> Regards, >> >> G

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(); Map map = extctx.getRequestHeaderValuesMap(); String a

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

2011-11-03 Thread Georg Füchsle
lass load to PARENT_LAST (To > do 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, > > To

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 will

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 'transi

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 : > Hi Toby, > > I gave up for today. > No matte

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

2012-01-06 Thread Georg Füchsle
the transient members? > > On Fri, Jan 6, 2012 at 8:35 AM, Georg Füchsle 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. >> >&g

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

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: ExternalContext extContext = FacesContext.getCurrentInstance().ctx.getExternalContext(); String name = URLE

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

2009-04-21 Thread Georg Füchsle
Thank You for Your help. Regards Georg 2009/4/21 Simon Kitching : > 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 t

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

2009-04-21 Thread Georg Füchsle
gt; 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 > wrote: >> >> Hallo Simon, >> >> >> Yes Yo

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 that corresponds to your node and hide it by Javascript.

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
If it works (even the code is ugly) I could let it this way now and clean it another time Cheers Georg 2009/4/27 Matthias Wessendorf : > 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 &g

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: I have no example, where I can try this; so I canot pro

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 web-Ap

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

2013-07-25 Thread Georg Füchsle
4, 2013 5:46 AM, "Georg Füchsle" 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 >

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

2013-07-25 Thread Georg Füchsle
going on in a transaction. > > On Thu, Jul 25, 2013 at 3:06 AM, Georg Füchsle > 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 thi

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

2013-08-21 Thread Georg Füchsle
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 > Thanks! Im am still working for it.If I have a solution i will paste it > here. > > > 2013/7/25 Mike Kienenberger

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 pu

Re: Read Server Ip and Port inside JSF

2014-06-05 Thread Georg Füchsle
to read it from 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 : > Hallo, > > my Application is deployed inside a Firewall and/or behind a Load-Balancer. > > My application provies a web-app and an web-ser

Re: Read Server Ip and Port inside JSF

2014-06-05 Thread Georg Füchsle
But also there I 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 : > On 05/06/2014 14:59, Georg Füchsle wrote: > >> Hallo, >> >> my Applic

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 : > 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.getHeade

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
GET requests. > > Max > > > 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 s

Re: Distinguish if parameters are sent by POST or GET

2015-03-19 Thread Georg Füchsle
thod() > > regards, > > Volker > > > > > 2015-03-18 15:46 GMT+01:00 Georg Füchsle : > > > Hallo Max, > > > > Thanks for replying. My attempt did not work: > > > > I want distinguish GET and POST inside a PhaseListener. > > > >