I had the same problem and I think it was related to the extension
filter mapping.
If you really can't fix it you could have a look at this sample app :
http://www.thogau.net/appfuse-facelets
it uses a JSCookmenu with facelets so you can check the difference
between the 2 configurations.
hope
Hello,
To use the 1.1.2 snapshot instead of the 1.1.1 libraries of MyFaces, I
just replaced myfaces-all.jar with the 3 following jar files I got from
the nightly snapshot:
myfaces-api-1.1.2-SNAPSHOT.jar
myfaces-commons-1.1.2-SNAPSHOT.jar
myfaces-impl-1.1.2-SNAPSHOT.jar
But then, I get the
Hi,
Is there a way to bind apecific outcome for an Exception type? For
example I want to redirect to an access denied page when a
javax.ejb.EJBAccessException was thrown
-- from debian manifesto:Debian Linux is a brand-new kind of Linux distribution. Rather than being developed by one isolated
I opened a issue for this (MYFACES-1090).
Does anybody know a workaround until it is fixed?
Christian
Thomas Spiegl wrote:
Christian,
please open a jira issue for this http://myfaces.apache.org/issue.html
regards
Thomas
--
Christian Bohn, Softwareentwicklung Tel.(+49)
Hi John,
as someone posted before. it is pretty unlikely that there is a problem
with managed beans in myfaces, so there must be something wrong with
your setup.
But i can't see any other problems, than i had mentioned before, in your
postet code.
So the only thing i can further do is waiting
Hi Matthias,
i don't know anything about the Tomahawk HtmlTag component, but
you can allways create a verbatim component programmatically.
This is just a UIOutput with escape=false.
With this you can render anything you want.
Regards,
Volker
Matthias Kahlau wrote:
Hi!
Is there nobody
Hi Laurie,
Laurie Harper wrote:
Thanks for the response, but that's not what I'm trying to do. I don't
need to locate and invoke an existing command link; I don't have a
command link to invoke. I need to achieve the same effect as clicking a
command link would give.
In other words, I
Hi,
I am receiving following error message when I configurated my
application to use myface implementation 1.1.1.
INFO: Reading config /WEB-INF/faces-config.xml
Feb 2, 2006 5:53:05 AM org.apache.myfaces.util.LocaleUtils toLocale
SEVERE: Locale name null or empty, ignoring
Same error message
Hi Matt,
I have the exact same problem you do, if you manage to sort it out please make a post about how you did it.
Cheers,
MikaelOn 02/02/06, Matt Fury [EMAIL PROTECTED] wrote:
Hi All,I've searched through the archives of the mailing listand could only find a few questions and few answersabout
THIS IS THE FINAL CALL
Dear All
I would like to formally announce that JAVAWUG (Java Web User Group)
is holding the fifteenth Birds-of-Feather (Meet up) at the
``Oracle City of London'' offices on Friday, 3rd January 2006.
The meeting will
Title: How to update fields from ValueChangeEvent
Hi!
This question seems to be very stupid, but I can't achieve to update inputText Components within a ValueChangeEvent when this inputTextComponents have a binding attribute.
If I remove the binding attribute, then the fields are
I'm using t:tree. I would like to have some visual indicator
(different backgroung, color or style) for the tree node currently
selected (which is changed when
TreeState.setMarker(DefaultMutableTreeNode node) is called).
Is it possible??
I has a bean to represent a worker. When the worker is a manager of a department , the property departmentWorkers lists the workers of that department. When I chose one department worker, how can I go back to the manager choosed in the first page?
-- Vladimir M Coutinho
You can get the object from the facescontext using
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("YOUR_OBJECT")
bye
Vladimir Coutinho wrote:
There is a way to put this object disponible in
facescontext?
On 2/1/06, Pierpaolo
Follia [EMAIL PROTECTED]
wrote:
How do I put the object disponible to JSF? I tried to put the object in the session, but I could not access in JSF like other JSF beans.On 2/2/06, Pierpaolo Follia
[EMAIL PROTECTED] wrote:
You can get the object from the facescontext using
Hi Martin I also have a similar requirement, where if a user is under a "Readonly" role then all the views/pages must be in "Readonly" mode. So the check is made during authentication depending on the user role. Can you please provide some example or a code snippet elaborating your point.?
In Dot.Net there is a method to check if the page is posted back(Page.IsPostBack), in JSF is there anything for that??regards,Arshad Ali.
Hi,Yes there is, I have written an entry on jsf ispostback, should be what you are looking for;http://www.jroller.com/page/cagataycivici?entry=ispostback_in_jsf
Best Regards,Cagatay CiviciOn 1/31/06, Arshad Ali [EMAIL PROTECTED] wrote:
In Dot.Net there is a method to check if the page is posted
The Shale ViewController provides a isPostback() method for your backing beans.
On 2/2/06, Cagatay Civici [EMAIL PROTECTED] wrote:
Hi,
Yes there is, I have written an entry on jsf ispostback, should be what you
are looking for;
Hi Catagay,
the code you are referring to (I attach it further down) is very often
right - but not always. You might also have a valueChangeListeners
which call renderResponse...
regards,
Martin
public boolean isPostBack( ) {
if( getFacesContext().getRenderResponse() )
Hi Martin,That's right, in our project that code is used and worked in all cases but I realize now that in all those cases valueChangeListeners calling renderResponse were also used.Regards,Cagatay,
On 2/2/06, Martin Marinschek [EMAIL PROTECTED] wrote:
Hi Catagay,the code you are referring to (I
Hi Tobago Team.
Help me with sorting column which contains t:link component.
In sorter there is a todo:
// TODO: locale / comparator parameter?
// don't compare numbers with Collator.getInstance() comparator
//Comparator comparator = Collator.getInstance();
//
Hi Vladimir,
maybe i don't understand what you want!
Would you say that the following did not work on your system?
-Begin JSP code--
%@ taglib uri=http://java.sun.com/jsf/html; prefix=h%
%@ taglib uri=http://java.sun.com/jsf/core; prefix=f%
%
Hi Olexandr,
First: please don't use SortableByApplication, this will be removed.
We are thinking about to allow applications to register a eventListener
to recieve sort events and do the sorting there.
Now to your problem:
Currently sorting of links should work if you use a t:label tag inside
Hi!
Is it legal to use HtmlPanelGrid with an odd amount of children? I can
recall some warnings shown in the logging output when not all possible cells
are used, but it's only a warning - the rendered grid looks correct.
Will the warning behaviour change to legal in the future, or shouldn't I
Well, you can always complete the missing childs with:t:panelGroup/2006/2/2, Matthias Kahlau [EMAIL PROTECTED]:
Hi!Is it legal to use HtmlPanelGrid with an odd amount of children? I canrecall some warnings shown in the logging output when not all possible cellsare used, but it's only a warning -
Hi all
I have a form for some data entry and a data table displaying the rows
already entered in the same view.
Everything works great except update. Since the restore view phase
occurs data is loaded and is I try to update I have an Hibernate
exception since there is another object in the
Some questions:1) Do you use the Open Session in View filter pattern?2) Is your backing bean request-scoped or session-scoped or application-scoped?2006/2/2, ::SammyRulez::
[EMAIL PROTECTED]:Hi allI have a form for some data entry and a data table displaying the rows
already entered in the same
1) yes
2) request-scoped
2006/2/2, Enrique Medina [EMAIL PROTECTED]:
Some questions:
1) Do you use the Open Session in View filter pattern?
2) Is your backing bean request-scoped or session-scoped or
application-scoped?
2006/2/2, ::SammyRulez:: [EMAIL PROTECTED]:
Hi all
I have a
Ok, apparently I had it working yesterday but there
was server troubles. When I got in this morning and
restarted, everything appeared as it was supposed to.
Thomas, you are correct, the extension filter mapping
and this
Ok. Then the problem is clear. As the pattern creates for you a new session in each request, the object you are trying to update is DETACHED, so unless you associate to a PERSISTENT instance in the current session, you will get the error. But as I can imagine this is not possible, you will have
Hi!
session.lock(object, LockMode.NONE)
This might also fail if the object already exists in the current
session, no?
You can safely reattach the object using
object = session.merge(object)
Though, you really should discard the old object then and work further
with the new one.
Ciao,
Mario
Hello guys
I have a problem with this code:
h:outputText value=Type/
h:panelGroup
h:selectOneMenu id=tipo immediate=true
value=#{webeugUsuario.formbean.tipocadastro} onchange=submit()
f:selectItems value=#{webeugUsuario.tiposCadastro} /
Hello all,
I'm attempting to create a sortable dataTable based
on the simpleCarList example in the source code. The dataTable builds correctly,
but it just won't sort for me. I've read through the similar posts on the
mailing list, but I can't see anything significantly different from what
Hello guys
I have a problem with this code:
h:outputText value=Type/
h:panelGroup
h:selectOneMenu id=tipo immediate=true
value=#{webeugUsuario.formbean.tipocadastro} onchange=submit()
f:selectItems value=#{webeugUsuario.tiposCadastro}
Jonas Jacobi wrote:
In case you wonder why I have been quite ;)
Today we released Oracle JDeveloper 10.1.3 Studio production release -
you can download it from here with plenty of tutorials and other
goodies. There is also improved doc on ADF Faces.
Re post
Hi , it is very good news
Volker Weber wrote:
Hi Laurie,
Laurie Harper wrote:
Thanks for the response, but that's not what I'm trying to do. I don't
need to locate and invoke an existing command link; I don't have a
command link to invoke. I need to achieve the same effect as clicking a
command link would give.
In
Hello all,
I'm trying to use the summaryFormat attribute of the tomahawk message
component with the following:
h:form id=form onsubmit=return validateForm(this);
h:panelGroup
h:outputLabel for=textInput value=Input /
h:inputText id=textInput required=true /
What about putting a command-link on your page and use style=display:none?
-Mike
On 2/1/06, Laurie Harper [EMAIL PROTECTED] wrote:
Ryan Wynn wrote:
On 2/1/06, Laurie Harper [EMAIL PROTECTED] wrote:
Hi, I need to do the equivalent of clicking a commandLink in Javascript;
in other words, I
Hi
Thank you for reading my post.
I want to know what is different betweena jsf portlet and a plain jsf
web application.
imagine that i made a web application using myfaces components , now i
wannt to deploy that web application
into some portlet container like JetSpeed . if i do not need any
Hi Neeraj, you will get an answer sooner if you ask directly in the
mailing list. About your problem I see sun classes involved. Are you
using the sun ri? I see that a class is missing
(org/apache/myfaces/application/ComponentNotFound?). Hope that helps,
Regards,
Bruno
2006/2/1, Neeraj Vora
hi tony,
JSCookMenu does not support this feature, but it would be a nice enhancement.
If you could implement it and send us a patch, this woudl be greait!
cheers
Thomas
On 2/2/06, tony kerz [EMAIL PROTECTED] wrote:
anyone aware of a way to grey out a jscook menu item dynamically?
--
I have 2 pages with the following code. The first works fine. The second I get errors. %@ taglib uri=http://java.sun.com/jsf/core prefix=f %
%@ taglib uri=http://java.sun.com/jsf/html prefix=h %%@ taglib uri=http://myfaces.apache.org/tomahawk
prefix=t%%@ taglib uri=http://www.jenia.org/jsf/popup
Did you try one of the latest nightly builds? Panelnavigation2 was
buggy in MyFaces 1.1.1.
You can download the nightly builds from
http://cvs.apache.org/builds/myfaces/nightly/
Cheers
Thomas
On 2/2/06, Marko Huebler [EMAIL PROTECTED] wrote:
Hi,
I've already tried this: In this case the text
Hi!
Is it legal to use HtmlPanelGrid with an odd amount of children? I can
recall some warnings shown in the logging output when not all possible cells
are used, but it's only a warning - the rendered grid looks correct.
Will the warning behaviour change to legal in the future, or shouldn't I
You may use t:safeState value=... to save the manger bean in your
worker-detail-page. When returning to the demartment/Workers view,
your manger-bean will be restored.
cheers
Thomas
On 2/2/06, Vladimir Coutinho [EMAIL PROTECTED] wrote:
I has a bean to represent a worker. When the worker is a
Odd, even - whichever you want. Just so much as the number of children is a
multiple of the @columns attribute for that grid.
Dennis Byrne
-Original Message-
From: Matthias Kahlau [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 2, 2006 07:10 PM
To: 'Users MyFaces'
Subject: Using
The column count has to be even. Use a panelGroup for empty cells.
Thomas
On 2/3/06, Dennis Byrne [EMAIL PROTECTED] wrote:
Odd, even - whichever you want. Just so much as the number of children is a
multiple of the @columns attribute for that grid.
Dennis Byrne
-Original Message-
Thanks,
and what happens if the number of children is not a a multiple of the
@columns attribute for that grid?
Regards,
Matthias
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Dennis Byrne
Gesendet: Freitag, 3. Februar 2006 01:16
An:
Thomas, are you sure :) ? The logging for MyFaces says
Child count should be a multiple of the columns attribute.
I have lots of odd columned panelGrids and they don't give a warning.
Dennis Byrne
-Original Message-
From: Thomas Spiegl [mailto:[EMAIL PROTECTED]
Sent: Thursday,
You'll just get the warning. I think it is safe to say the HTML will still be
good and it would never throw an exception in any future release.
Sometime I use t:div like this in order to make it be quiet
h:panelGrid columns=3
h:outputText value=1 /
Hi,
I am trying to implement the example from the myfaces wiki Working with large
tables http://wiki.apache.org/myfaces/WorkingWithLargeTables
The problem is, I really don't know, what the jsp has to look like.
Can somebody help me? The wiki says, the jsp pages are then trivial, but I am
On 2/2/06, Matthias Kahlau [EMAIL PROTECTED] wrote:
Hi!Is it legal to use HtmlPanelGrid with an odd amount of children?
By odd amount of children I presume you mean a number of children
that is not evenly divisible by the value you set for the columns
property?
Yah, MyFaces whines about this
Hi!
When using JSP and dataTable, I can add f:facet name=header.../f:facet
within more than one column.
But now I want to add a table header to a HtmlPanelGrid when
programmatically creating the UI components. It seems there's no facet
component to use, and I have to use
I ggled, but did not find good linksabout Ajax. can someone recommend article/tutorials to start with? I like to use Ajax with JSF.website for ajaxanywhere? ajaxanywhere.com/org does not work.Thanks.
Brings words and photos together (easily) with
PhotoMail - it's free and works
you can make it even by adding empty panelGroup ;)Matthias Kahlau [EMAIL PROTECTED] wrote: Hi!Is it legal to use HtmlPanelGrid with an odd amount of children? I canrecall some warnings shown in the logging output when not all possible cellsare used, but it's "only" a warning - the rendered grid
Hi all,
I have a JSCookMenu providing a common navigation menu to all
pages in an application, declared statically (as in the example
code) in a header.inc that is included in all JSP pages.
Now, I first enter the application via a non-JSF index.jsp that
redirects to the first JSF page. When
Are you using a nightly build? I saw something similar to this w/ one of the
other controls but haven't had the time to look into it.
Dennis Byrne
-Original Message-
From: Haesler, Paul [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 2, 2006 11:00 PM
To: users@myfaces.apache.org
Laurie Harper wrote:
Hmm, OK, thanks; that makes sense. So, it's either time to start
wrapping Dojo widgets with JSF components, or time to learn about
Shale's remoting features ;-)
Picking up on this- I'm just about to refactor two Dojo/JSP projects
(one work, one personal) into
No, this is in the current release: 1.1.1
Paul Haesler
Consultant
Dialog IT
Canberra Office
[EMAIL PROTECTED]
DEH: (02) 6274 2627
Dialog: (02) 6209 2600
Mobile: 0405 070136
-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED]
Sent: Friday, 3 February 2006 4:38 PM
To:
http://java.sun.com/blueprints/ajax.html
MyFaces' Sandbox also contains ajax components
-Matthias
On 2/3/06, Dave [EMAIL PROTECTED] wrote:
I ggled, but did not find good links about Ajax. can someone recommend
article/tutorials to start with? I like to use Ajax with JSF.
website for
Greetings again,Instead of adding components by rendering the htl myself i am adding chilid components and calling their encode methods as following:public void encodeBegin( FacesContext context ) {
try { ResponseWriter writer = context.getResponseWriter();
Hi,
no, but I found another posting where you proposed to use the forceID flags.
With this solution it works (menu is rendered correct). The reason for the
wrong placement of the text was my lack of html knowledge... ;-)
Thanks regards,
Marko
Did you try one of the latest nightly builds?
Hi,
I am trying to implement the example from the myfaces wiki Working with large
tables http://wiki.apache.org/myfaces/WorkingWithLargeTables
The problem is, I really don't know, what the jsp has to look like.
Can somebody help me? The wiki says, the jsp pages are then trivial, but I am
Our final goal is to get rid of prototype and use dojo instead as our
base-library for AJAX.
So we want to further AJAXify our component set with the help of dojo,
and replace the existing implementations with dojo-functionality.
The problem with prototype is lacking namespacing...
regards,
65 matches
Mail list logo