Hi,
not the best solution but I used it in one of my projects:
Use this code in your returnListener:
FacesContext context = Context.facesContext();
if(context != null) {
boolean isPPR = Context.requestContext().isPartialRequest(context);
if (isPPR) {
UIViewRoot
Hi Bernd,
how can this help me?
Anyway I figgured out that there was something wrong in the web.xml. And it
works now.
Regards
-Ursprüngliche Nachricht-
Von: Bernd Bohmann [EMAIL PROTECTED]
Gesendet: 04.12.08 17:27:48
An: MyFaces Discussion users@myfaces.apache.org
Betreff: Re:
Hi
I dont understand you problem,
what are you expecting?
redirect in jSF could be done for example in navigation rules in faces
config file.
2008/12/5 VIJAY SONAWANE [EMAIL PROTECTED]:
Hi all,
I am new to JSF.
I am facing one problem of url redirecting.
i.e. if user enters url
Thanks for reply Anton,
what I am trying to do is when user only enters url upto the folder
name where the actual page to be displayed is present
Example: I have folder User in my project structure.
So now if the user wants to access the page which is in this folder but
hello,
with jsp:
web.xml
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
then you can place an index.jsp file in the target folder
sample content:
%@ page session=false%
%
response.sendRedirect(directory_default_page.jsf);
%
or with html:
web.xml
Hmm,
cool requirement :)
ok - on first thoughts - you can handle somehow not found event (for
example by overriding default ErrorHandler in MyFaces config) and do
with NavigationHandler needed forward/redirect
for example - in Errorhandler you have access to FacesContext
class YOurErrorHandler{
I even have the same requirement but I want to do with Navigation rule.
Thank you,
Mariyappa
On Fri, Dec 5, 2008 at 3:41 PM, VIJAY SONAWANE [EMAIL PROTECTED]wrote:
Thanks for reply Anton,
what I am trying to do is when user only enters url upto the
folder name where the actual
hello,
there are several alternatives.
the following approach is just for the requested use-case.
sample url: http://localhost:8080/faces/subdirectory/
in web.xml add a servlet-mapping for the faces servlet:
sample:
servlet-mapping
servlet-nameFaces Servlet/servlet-name
Thanks Markus, have a good day.
Denis.
On Fri, Dec 5, 2008 at 9:13 AM, Döring Markus
[EMAIL PROTECTED] wrote:
Hi,
not the best solution but I used it in one of my projects:
Use this code in your returnListener:
FacesContext context = Context.facesContext();
if(context != null) {
Hi Markus,
can you file an enhancement request, so that we don't forget it ?
-Matthias
On Fri, Dec 5, 2008 at 9:13 AM, Döring Markus
[EMAIL PROTECTED] wrote:
Hi,
not the best solution but I used it in one of my projects:
Use this code in your returnListener:
FacesContext context =
You can do this from backing bean.
Give a control from that jsf to backing bean, through hidden field.
In backing bean, you can add code some thing like this.
FacesContext.getCurrentInstance().getExternalContext().redirect(/contex
troot/jsfpagename.faces);
-Original Message-
From:
Hi!
Where I can find a build that contains s:exporterActionListener as described
in the issue below?
https://issues.apache.org/jira/browse/TOMAHAWK-1230
--
Regards,
Rogério (_rogerio_)
[Blog: http://faces.eti.br] [Sandbox: http://bmobile.dyndns.org] [Twitter:
http://twitter.com/ararog]
Nevermind, I found a build that contains this actionlistener at
people.apache.org repo.
2008/12/5 Rogerio Pereira [EMAIL PROTECTED]
Hi!
Where I can find a build that contains s:exporterActionListener as
described in the issue below?
https://issues.apache.org/jira/browse/TOMAHAWK-1230
--
¡Hi everyone!
I want to use the inputSuggestAjax from the Tomahawk Sanbox in my
Trinidad-based application, but I've not been able to make it work. I'm using
MyFaces 1.1.6, Tomahawk 1.1.7 and Tomahawk Sandbox 1.1.7. What I did was the
following:
Uncompress the Sandbox-Examples WAR
Copy the
14 matches
Mail list logo