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
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
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
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
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
; 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
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
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
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
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
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:
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
>>
>>
>
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
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
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
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
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
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
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
>
&
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
: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
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
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 "
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
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
>>
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
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
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
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
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
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
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
-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
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
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
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
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
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
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.
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
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
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
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
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
>
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
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
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
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
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
.
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
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
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
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.
> >
> >
53 matches
Mail list logo