nesting tiles layouts with myfaces.

2005-10-28 Thread Igor Marakov
Hi,   I am trying to create multiple nesting levels of the tiles’ layouts with myfaces. I am stuck on the tiles example provided with myfaces and don’t seem to be able to figure out how to create next level of nesting layouts. Since nobody else complaining I must be missing something ob

Schedule Component Problem

2005-10-28 Thread Kia Lewis
Hi,   I’m new to JSF and attempting to integrate the sandbox schedule component into my application.  I am constantly getting the exception below:   javax.servlet.ServletException: Client-id : scheduleNavigator_112728564_link is duplicated in the faces tree. This error happens most

sandbox InputSuggest problem

2005-10-28 Thread Dave
I tried Sandbox inputSuggest, issues: 1. selectItems: accept map only, the order can not be preserved. 2. the pull down box is covered by other components(e.g. selectOneMenu) below it. 3. Weird - the left upper corner of page become blank.   Anyone has the same problem?  Thanks, Dave Yahoo! Far

RE: How to pass parameters between pages..

2005-10-28 Thread Yee CN
Another situation related to bookmarking is when a user's session has expired. ASP.NET will routed the browser to a login page, and the login page can get hold of the return URL (encoded in URL parameters) and redirect the user back to where it was. I think the matter of URL support does require d

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-28 Thread gramani
So.. maybe I can ask this question differently..? Has anybody made command links work within a Many thanks in advance! Geeta [EMAIL PROTECTED] wrote on 10/28/2005 05:28:13 PM: > > Hi all: > > I am having trouble getting command links to work correctly when I > use tomahawk's > rowIndex

Re: Who can help me here?

2005-10-28 Thread Simon Kitching
The FacesServlet not only needs to be *defined* but needs to be *run*. So you need a servlet-mapping for the url "*.jsf", and the browser must request the desired page using the ".jsf" suffix, eg http://someapp/foo.jsf --> FacesServlet runs, creates the FacesContext object, then forwards

RE: Who can help me here?

2005-10-28 Thread urswagner
I could debug. The result is. log.error("Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml.") The method public static FacesContext getCurrentInstance() { return (FacesContext)_currentInstance.get(); } re

Re: curious problem with dates

2005-10-28 Thread CONNER, BRENDAN \(SBCSI\)
Man this mailing list is a life saver! I just got drawn into a severity 1 production problem at work in which they said that some of the dates from the database whose times were in the afternoon were being displayed as date+1. I recalled that, earlier this week, someone had posted a note about da

Dynamic include not working / component tree growing indefinitely

2005-10-28 Thread Andreas Schenk
Hi, I am trying to dynamically include jsp pages using the following construct: main.jsp: [] For every request testbean.path yields the page to include. The page may change for every request. These pages are of the form: included_pa

tree2 and checkboxes

2005-10-28 Thread Anu Padki
I want to add checkbox to each node of the tree.  When you click on the checkbox, the backing bean should  track the node it clicked on. At presnet the node identifier stores the key of the node, I mean the databse key. What would be the best way to do this> I thought of adding a map to the backing

Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-28 Thread gramani
Hi all: I am having trouble getting command links to work correctly when I use tomahawk's

Myfaces and Compiled JSP's?

2005-10-28 Thread Tom Cunningham
Our app is working fine with the JSF RI and we want to switch to Myfaces. We use precompiled jsp's, which seem to be a problem with Myfaces. Our app seems to work fine when the jsp's are left alone, but when we precompile them, we run into all sorts of problems. I've read through the list

RE: Problem while deploying in IBM WebSpher Application Server 5.1

2005-10-28 Thread CONNER, BRENDAN \(SBCSI\)
We have not run into problems with the jsp-2.0.jar file, but we also don't use PARENT_LAST. Let us know what you find with that combination. ;-) - Brendan -Original Message- From: Eric Hedström [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 1:04 PM To: MyFaces Discussion Subj

Re: Listener Method is called too many times

2005-10-28 Thread Mathias Brökelmann
yes I use ExtensionsFilter. What is the workaround? 2005/10/28, PATRICIA GUEDES <[EMAIL PROTECTED]>: > Are you using org.apache.myfaces.component.html.util.ExtensionsFilter? > I am using a workaround for tiles with JSF, because the tiles of > myfaces doesn't work in OC4J. > > Thanks for your reply

Re: Problem while deploying in IBM WebSpher Application Server 5.1

2005-10-28 Thread Eric Hedström
Have you run into any problems bundling jsp-2.0.jar in a jsp-1.2 container like WebSphere 5.1? We are leery of doing this because (due to some other jar version conflicts with WebSphere) we have to run our web app with the classloader set to PARENT_LAST. On 27 Oct 2005 8:32, CONNER, BRENDAN (S

Are the Java Class Sources for the Examples Available?

2005-10-28 Thread James Reynolds
I'm still wrapping my mind around much of the underlying bean code that deals with DataModels and other JSF issues.  Is the source code for the compiled Java classes of the simple.war example available somewhere?   Thanks

Re: PanelTabbedPane validation problem

2005-10-28 Thread Martin Marinschek
Server-Side patch is applied - get it from the next nightly. I would suppose that yes - it should work, it has worked in the old server side implementation. If you want to implement a listener for the client side, you'll need AJAX - possible, but not the most simple thing on earth. regards, Mar

AW: PanelTabbedPane validation problem

2005-10-28 Thread Hans Sowa
Hi, The next problem is here that the tabChanged listener doesn't work for the client-side tab. Does the listener work for the new server-side? And is there a plan to implement the listener also for the client-side tab? Thanks a lot. mfg Hans Sowa PROCON DATA Datenverarbeitung Ges.m.b.H. mailto:

Re: Error while saving state in 'client' - PLEASE HELP

2005-10-28 Thread PATRICIA GUEDES
Sorry, I forgot that's MyFaces list Thanks. Guedes On 10/28/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > > at > com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:197) > > "com.sun.faces" means you're using the JSF RI, not MyFaces JSF. > You'll have to ask for help

Re: Error while saving state in 'client' - PLEASE HELP

2005-10-28 Thread Mike Kienenberger
> at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:197) "com.sun.faces" means you're using the JSF RI, not MyFaces JSF. You'll have to ask for help on their support lists, or switch over to MyFaces, at which point the problem will probably go away or change to something

Fwd: Error while saving state in 'client' - PLEASE HELP

2005-10-28 Thread Martin Marinschek
That's it: com.sun.faces.taglib.jsf_core.* means reference implementation - not MyFaces. regards, Martin On 10/28/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote: > Thanks for your time > > I found in the google an stack trace of the same error, but to server-side. > It means something for

Re: Error while saving state in 'client' - PLEASE HELP

2005-10-28 Thread PATRICIA GUEDES
Thanks for your time I found in the google an stack trace of the same error, but to server-side. It means something for you? javax.servlet.jsp.JspException: Error while saving state in 'session': 'myPackage.MyBackingBean'. at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.

Re: Error while saving state in 'client' - PLEASE HELP

2005-10-28 Thread Martin Marinschek
Patricia, I have checked again - nothing in MyFaces would give you error messages like this. We just don't have the error message anywhere in our implementation. So I am very sorry - it might be that you have the reference implementation included somewhere, or that something in JDeveloper is resp

Re: Error while saving state in 'client' - PLEASE HELP

2005-10-28 Thread PATRICIA GUEDES
Anyone please ... I really need this information.. Thanks. Guedes > On 10/27/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote: > > I don't if the information is important, but if I take off the model > > inside my RowData class, the problem doesn't occurs. > > > > Thanks. > > Guedes > > > > > > > >

MyFaces Debugging in Eclipse

2005-10-28 Thread urswagner
Hello I have the source of myfaces in Eclipse. How can use it for breakpoints? In Java Build Path I have added the directories - myfaces/api - myfaces/impl - myfaces/share It does not work!! Or can I use the logging functionality without to debug? Thanks

Re: PanelTabbedPane validation problem

2005-10-28 Thread Mike Kienenberger
The hard way to do this is to try to use the OptionalValidationFramework. However, I think you could also make this work by switching back to server-side tab switching. I'm not positive, but I think server-side switching works by not rendering the other tabs. Since the other panes aren't render

Re: How to find out which implementation is running

2005-10-28 Thread Mike Kienenberger
Facelets has figured out this: Here's the class to imitate. https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/util/FacesAPI.java It's basically checking for the existance of Application.class.getExpressionFactory() -Mike On 10/28/05, Jesse Alexander (KBSA 21) <[EM

Re: How to find out which implementation is running

2005-10-28 Thread Martin Marinschek
you might best contact them on dev.java.net to figure things out. regards, Martin On 10/28/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote: > Well... > > I see two alternatives: > > 1) We add one/two method to javax.faces.application.Application > eg. getImplName() and getSpecVersion

RE: How to find out which implementation is running

2005-10-28 Thread Jesse Alexander \(KBSA 21\)
Well... I see two alternatives: 1) We add one/two method to javax.faces.application.Application eg. getImplName() and getSpecVersion() But that would require a spec change... 2) We ask that at startup one of the implementation classes adds the information as a managedBean or a extern

RE: How to pass parameters between pages..

2005-10-28 Thread Yee CN
There are plenty of applications where login is not required - catalog listings, search engine etc. Bookmarkings was not available with conventional applications platform until the internet and web browser came along and we started developing applications on it. Now that the functionality is here a

Re: How to find out which implementation is running

2005-10-28 Thread Martin Marinschek
Good question. If you devise something like this, there should also be a way to check for the spec version of the jsf implementation running. regards, Martin On 10/28/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote: > Hi > > When I want to write a component that must run under more than

AW: File Download responseComplete Problem

2005-10-28 Thread Hans Sowa
Title: RE: File Download responseComplete Problem Thanks too.   We got the same problem and this line solved our problem.   But I would like to know why we need this line exactly???   Thanks in advance.   mfg Hans Sowa PROCON DATA Datenverarbeitung Ges.m.b.H. mailto:[EMAIL PROTE

How to find out which implementation is running

2005-10-28 Thread Jesse Alexander \(KBSA 21\)
Hi When I want to write a component that must run under more than JSF-implementation, I often should know (runtime not development time) which implementation is running, in order to use the correct base-classes. Has somebody devised a clever method to find out which JSF-runtime is active? Or shou

Re: PanelTabbedPane validation problem

2005-10-28 Thread Turgay Zengin
Hi, Is it possible to get the effect described below programatically? Say I have three panelTabs in a panelTabbedPane. They are named "Search", "Update" and "New". I have an inputText component in the "New" panelTab, and I want it to have a validator of required="true". But when I set required="tr

Re: inputSuggestAjax trouble

2005-10-28 Thread Martin Marinschek
then search through the list - I do remember there was someone posting about this. aging is going fast, obviously ;) regards, Martin On 10/28/05, Francesco Consumi <[EMAIL PROTECTED]> wrote: > Quoting Martin Marinschek <[EMAIL PROTECTED]>: > > > there was a post recently with regard to that. >

Re: inputSuggestAjax trouble

2005-10-28 Thread Francesco Consumi
Quoting Martin Marinschek <[EMAIL PROTECTED]>: there was a post recently with regard to that. I think right after 10th, it should work - up until 19th or so? blame my brain if that is the wrong assumption ;) I just tried with sandbox.jar from myfaces 1.1.1rc2, which is dated octber, 18th, bu

RE: File Download responseComplete Problem

2005-10-28 Thread Rogerio Saulo (P)
Title: RE: File Download responseComplete Problem Yes, it works! Thanks Martin, this save me a lot of work to construct an servlet to run out of the faces context. -Original Message- From: Martin Koci [mailto:[EMAIL PROTECTED]] Sent: Friday, October 28, 2005 9:39 AM To: MyFac

Re: File Download responseComplete Problem

2005-10-28 Thread Martin Koci
Put this before responseComplete: context.getApplication().getStateManager().saveSerializedView(context); ... context.responseComplete(); Martin

File Download responseComplete Problem

2005-10-28 Thread Rogerio Saulo (P)
Hi all,   I read many posts about this issue but nothing resolved my problem yet.   Well, I have an backing bean method that generate an PDF report and send to the user to download. The link to the download is a commandLink tag, i have tried commandButton and the behavior is the same.   T

Re: Listener Method is called too many times

2005-10-28 Thread PATRICIA GUEDES
Are you using org.apache.myfaces.component.html.util.ExtensionsFilter? I am using a workaround for tiles with JSF, because the tiles of myfaces doesn't work in OC4J. Thanks for your reply. Guedes On 10/27/05, Mathias Brökelmann <[EMAIL PROTECTED]> wrote: > where do you use your onclick event? I´v

Re: MyFaces 1.1.1 bug: itemStyleClass went missing

2005-10-28 Thread Martin Marinschek
That was added after the branch of 1.1.1, afaik. Use the nightly build in between - and use 1.1.2 as soon as it's there. regards, Martin On 10/28/05, Randahl Fink Isaksen <[EMAIL PROTECTED]> wrote: > It looks very much like the documented attribute "itemStyleClass" of the > t:dataList tag never

Re: inputSuggestAjax trouble

2005-10-28 Thread Martin Marinschek
there was a post recently with regard to that. I think right after 10th, it should work - up until 19th or so? blame my brain if that is the wrong assumption ;) regards, Martin On 10/28/05, Francesco Consumi <[EMAIL PROTECTED]> wrote: > Quoting Martin Marinschek <[EMAIL PROTECTED]>: > > > Are

Re: responseComplete + lifecycle problems

2005-10-28 Thread Volker Weber
I'm not sure how tis came in your case, but in case of a first request, when no stored view is found, this is exactly the expected behavior. In restore the previous tree is recreated, if no view found there is nothing to for other phases and they are skipped. regards Volker Lucio Piccoli wrote:

dynamic tree2

2005-10-28 Thread Steffen Hankiewicz
Hi All, Until now I have spent a lot of days trying to make my tree2 dynamic, but it will not run at all. The problem is always the saved state, which I don't know how to delete, after changing the content of the tree. When I show a tree, where some nodes are expanded and close it to open it

Re: inputHtml strange behavior

2005-10-28 Thread Pierpaolo Follia
Hi, I have the same problem. Is there anyone who sorted it out? It seems to be an IE related issue... Thanks. Dave wrote: For the MyFaces simple example inputHtml, when I type something in the text area, then click Submit, nothing changes as expected. But when moving mouse over the text ar

Re: How to pass parameters between pages..

2005-10-28 Thread Werner Punz
Craig McClanahan wrote: > On the other hand, this technique is still pretty useless if your app > requires login, and does the typical "redirect to the login page if the > user is not currently logged in" trick (unless you also implement > something like "remember me" cookies). But that doesn't h

Re: How to pass parameters between pages..

2005-10-28 Thread Werner Punz
Bookmarking in real web applications, no matter being it jsf or non jsf is kindof problematic, you simply cannot really do it in a sane manner, to the the extensive usage of forms http post and other things. It does not make sense in most cases anyway, due to the fact that the user often has to go

MyFaces 1.1.1 bug: itemStyleClass went missing

2005-10-28 Thread Randahl Fink Isaksen
It looks very much like the documented attribute "itemStyleClass" of the t:dataList tag never made it into MyFaces 1.1.1. Looking at the Tomahawk TLD there is no attribute listed of that name, and a test run shows me that the attribute is simply ignored - list items still do not get styled. I

NAVIGATION

2005-10-28 Thread rosalba bochicchio
Hi, I have an issue about navigation among pages. I'm using MyFaces 1.0.9 and noticed a strange behaviour: when clicking on the BACK arrow of the browser (Firefox 1.0.7), the links in the page loaded (after pressing BACK) have to be fired two times before leading to the right page! Does anyone know

Re: sandbox schedule.jsp problem

2005-10-28 Thread Bruno Aranda
Yesterday I did a build from the svn and the sandbox is working pretty ok to me. You can also take a look to the examples at www.irian.at. The schedule is in http://www.irian.at/myfaces-sandbox/schedule.jsf, Regards, Bruno 2005/10/28, David G. Friedman <[EMAIL PROTECTED]>: > I'm trying to run th

Re: inputSuggestAjax trouble

2005-10-28 Thread Francesco Consumi
Quoting Martin Marinschek <[EMAIL PROTECTED]>: Are you using client-side state saving or server side? try to switch to client-side - server side used to work in some of the last nightly builds, but a recent bug has introduced another problem :( thank you. where can I find a older version wit

[ANNOUNCE] Apache MyFaces 1.1.1

2005-10-28 Thread Manfred Geiler
The Apache MyFaces team is pleased to announce the release of MyFaces 1.1.1. This is a minor patch release that fixes a few of the major problems with the previous release. Apache MyFaces 1.1.1 is available for download from http://myfaces.apache.org/binary.cgi Apache MyFaces is a free open