t:schedule patch

2007-07-19 Thread Michał 'Gandalf' Stawicki
I have modified the schedule, so now it can display weekends not compressed in the month view: https://issues.apache.org/jira/browse/TOMAHAWK-577 if anyone would like to test it, let me know if everything works fine regards, -- Michał Stawicki [EMAIL PROTECTED] http://stawicki.jasliska.pl

[Trinidad] tr:panelTabbed - validation of unvisited tabs

2007-07-19 Thread Peter Rawlins
Hi All, Is it possible to make a tr:panelTabbed validate all its rendered tr:showDetailItem children? The default behaviour appears to not validate the children of undisclosed tabs, even though they have rendered=true. The application I am working on, wants to allow users to visit the tabs

[Trinidad] panelTabbed - validation of unvisited tabs

2007-07-19 Thread Peter Rawlins
I have a form containing various input fields followed by a panelTabbed, and lastly an OK commandButton. The panelTabbed contains some showDetailItem children, which have various input fields, some of which have required=true. The users may visit the tabs as they see fit, and then press the

RE: [Trinidad] panelTabbed - validation of unvisited tabs - apologies for duplicate

2007-07-19 Thread Peter Rawlins
the original didn't appear for over 12 hours :-(

Adding FacesMessage that can be available in view after handleNavigation

2007-07-19 Thread sed
Hi, I am trying to write some general way to handle application errors with JSF. I understand application error as error after that user redirected to some error page. In my implementation application error is FacesMessage with SEVERITY_FATAL. I have wrote ApplicationErrorsSupervisor, see code

Re: Adding FacesMessage that can be available in view after handleNavigation

2007-07-19 Thread Mario Ivankovits
Hi! But after redirecting to errors.faces all messages are discarded. And therefore user doesn't see his fatal error. How can I using JSF add all messages to view to redirect? See the tomahawk sandbox RedirectTracker stuff [1]. Correctly configured it will make the messages available after a

[Trinidad] trinidad libraries in Netbeans

2007-07-19 Thread Darren McEntee
Hi, Has anyone tried to use the Trinidad libraries in Netbeans or Sun Studio Creator? We have Netbeans 5.5 with the visual web pack installed. We're creating a JSF web application. We're using Apache Myfaces Trinidad, and want to add these JSF components to the Netbeans palette so We can

Re: [Trinidad] trinidad libraries in Netbeans

2007-07-19 Thread Michał 'Gandalf' Stawicki
I think that you can't add components to DD in NetBeans. On 19/07/07, Darren McEntee [EMAIL PROTECTED] wrote: Hi, Has anyone tried to use the Trinidad libraries in Netbeans or Sun Studio Creator? We have Netbeans 5.5 with the visual web pack installed. We're creating a JSF web

AW: [Trinidad] trinidad libraries in Netbeans

2007-07-19 Thread Fleischer Peter
It should be possible for any JSF component library. In Netbeans VWP it requires a complib file (see http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries). Creating one seems to be quite a lot of work. But it sure would be a nice thing. Peter -Ursprüngliche Nachricht- Von:

RE: [Trinidad] trinidad libraries in Netbeans

2007-07-19 Thread Darren McEntee
Thanks Michał, Our client will be using the Sun app server. Can you recommend any setup for this? Thanks, Darren. -Original Message- From: Michał 'Gandalf' Stawicki [mailto:[EMAIL PROTECTED] Sent: 19 July 2007 11:06 To: MyFaces Discussion Subject: Re: [Trinidad]

Re: Getting contents for Tree2 component

2007-07-19 Thread kewldude
Okay I tried to integrate this code and this is what I've come up: List Cataloguelist = CatalogueDAO.instance().getCatalogues(refid); MapString, TreeNodeBase nodes = new HashMapString, TreeNodeBase(); MapString, SetString hier = new HashMapString, SetString();

RE: [Trinidad] trinidad libraries in Netbeans

2007-07-19 Thread Darren McEntee
It does look like a bit of work alright: http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries I wonder if the Trinidad guys would be interested in creating a complib file for the Trinidad releases.!? I think this would be very useful! -Original Message- From:

AW: [Trinidad] trinidad libraries in Netbeans

2007-07-19 Thread Fleischer Peter
For some projects it sure would be very useful. IMHO it would lower the entry level to JSF technology for a lot of users. But for a lot of projects this approach doesn't seam feasible to me, as Netbeans VWP doesn't support Facelets. My personal preferred setup is using a Netbeans project

Re: Adding FacesMessage that can be available in view after handleNavigation

2007-07-19 Thread sed
Sorry, maybe I am ambiguous. I mean changing navigation flow using getNavigationHandler().handleNavigation() but not really redirect with context.getExternalContext().redirect(error.faces); Should I use RedirectTracker also for handleNavigation? Thanks On 7/19/07, Mario Ivankovits [EMAIL

Re: [Trinidad] trinidad libraries in Netbeans

2007-07-19 Thread Matthias Wessendorf
Support for tools would be great, Feel free to start contributing :-) -Matthias On 7/19/07, Darren McEntee [EMAIL PROTECTED] wrote: It does look like a bit of work alright: http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries I wonder if the Trinidad guys would be interested

RE: [Trinidad] Renderer Listeners

2007-07-19 Thread William Hoover
This sounds great! I think usage could extend well beyond debugging as well! -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 5:33 PM To: MyFaces Discussion Subject: Re: [Trinidad] Renderer Listeners From: Adam Winer [EMAIL PROTECTED]

Re: Adding FacesMessage that can be available in view after handleNavigation

2007-07-19 Thread Petr Kotek
Hi, I resolve similar problem by next MessagesPhaseListener and saving message text into session bean: 1. Create class MessagesPhaseListener -- public class MessagesPhaseListener implements PhaseListener { public MessagesPhaseListener() { } public PhaseId

Re: Adding FacesMessage that can be available in view after handleNavigation

2007-07-19 Thread Mario Ivankovits
Hi! Sorry, maybe I am ambiguous. I mean changing navigation flow using getNavigationHandler().handleNavigation() but not really redirect with context.getExternalContext().redirect(error.faces); Should I use RedirectTracker also for handleNavigation? The RedirectTracker will handle every

[tree2] expand folder by clickling on folder name

2007-07-19 Thread Tomzi
I'd like to have to open a folder not only by clicking on +/- but also when I click on the folders name - Is there a way to accomplish that with tree2? -- View this message in context: http://www.nabble.com/-tree2--expand-folder-by-clickling-on-folder-name-tf4110244.html#a11687822 Sent from the

Myfaces 1.2 upgrading

2007-07-19 Thread Cormier, Matthieu
Hello all, I am attempting to upgrade our application to Myfaces 1.2 and have come across 2 interesting issues. Bot have workarounds but I was wondering if they are bugs or not. 1. The names of facets for tomahawk tree2 must be hardcoded and cannot come from a bean. So facet

Re: [tree2] expand folder by clickling on folder name

2007-07-19 Thread Michał 'Gandalf' Stawicki
f:facet name=objectProperties t:commandLink styleClass=properties actionListener=#{t.setNodeSelected}

Re: Getting contents for Tree2 component

2007-07-19 Thread Andrew Robinson
Ah, forgot to mention you need to set the node type. That is what the tree uses to determine that facet to use. I don't know the exact property, as I no longer have the code (we aren't working on JSF here anymore :-( ). -Andrew On 7/19/07, kewldude [EMAIL PROTECTED] wrote: Okay I tried to

Re: [Trinidad] panelTabbed - validation of unvisited tabs

2007-07-19 Thread Adam Winer
On 7/18/07, Peter Rawlins [EMAIL PROTECTED] wrote: I have a form containing various input fields followed by a panelTabbed, and lastly an OK commandButton. The panelTabbed contains some showDetailItem children, which have various input fields, some of which have required=true. The users may

Re: [Trinidad] How to set the tree rowKey to my entity's primary id?

2007-07-19 Thread Adam Winer
You'll need to implement a custom TreeModel, at which point you can define rowKey any way you want. -- Adam On 7/18/07, Tong Wang [EMAIL PROTECTED] wrote: I have my EJB3 entity with a one-to-many (parent-to-children) relationship with itself. I can construct a tree model from the entity. But

Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread mraible
From what I can tell, MyFaces 1.2 requires JSP 2.1. I developed a quick prototype using MyFaces 1.2 + Facelets 1.1.13 and I get the following error on startup: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread mraible
I should mention: I get the error below on startup when deploying on Tomcat 5.0.25. If I change from MyFaces to Sun's RI and deploy on Tomcat 5.0.25 again, no error. Matt mraible wrote: From what I can tell, MyFaces 1.2 requires JSP 2.1. I developed a quick prototype using MyFaces 1.2 +

Myfaces 1.2.0 setup issues (again)

2007-07-19 Thread Wolf Benz
Hi List It's very cool MyFaces 1.2 finally got out of the door but... It's again a true pain setting MyFaces up correctly before it works... (more than it should). I remember it took me an entire week before I had MyFaces 1.x configured correctly with the Extension Filter etc. What a waste

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread Simon Lessard
Hello Matt, Yes, you need JSP 2.1. JSP 2.1 and JSF 1.2 use the new Unified EL that allow better integration of both technologies such as using foreach with JSF. Regards, ~ Simon On 7/19/07, mraible [EMAIL PROTECTED] wrote: From what I can tell, MyFaces 1.2 requires JSP 2.1. I developed a

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread Andrew Robinson
JSF 1.2 requires JSP 2.1 unless you use facelets. I believe you have to run Tomcat 6 as a minimum version (servlet 2.5 support is required) On 7/19/07, mraible [EMAIL PROTECTED] wrote: I should mention: I get the error below on startup when deploying on Tomcat 5.0.25. If I change from MyFaces

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread mraible
I am using Facelets - that's why I find it strange. I'm able to use Sun's RI (the latest version) in place of MyFaces in the same application and everything works fine. Matt Andrew Robinson-5 wrote: JSF 1.2 requires JSP 2.1 unless you use facelets. I believe you have to run Tomcat 6 as a

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread Francisco Passos
I've had the same problem using Facelets on Weblogic 9.2, which does not support JSP 2.1. Simon, the fact that both JSP 2.1 and JSF 1.2 use the unified EL does not mean that JSP 2.1 and JSF 1.2 must always come together. What it means is that the pairs JSP 2.1/unified EL and JSF 1.2/unified EL

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread Andrew Robinson
I would ask the facelets list then. According to the JSF specification, JSP 2.1 and Servlet 2.5 support is required for JSF 1.2. On 7/19/07, mraible [EMAIL PROTECTED] wrote: I am using Facelets - that's why I find it strange. I'm able to use Sun's RI (the latest version) in place of MyFaces in

Re: Myfaces 1.2.0 setup issues (again)

2007-07-19 Thread Matthias Wessendorf
Hi wolf, nobody here is having a great time looking at how users have a terrible time figuring it all out themselves. can you please file jira issues on your items ? Yes there is a minimal example out there: http://svn.apache.org/viewvc/myfaces/current12/test-webapp/ We have to add it to the

RE: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread Jesse Alexander (KSFD 121)
No.. RI just makes a test on the JSP-version and disables certain stuff, when it detects a J2EE 1.4 environment (as in TC 5 and WLS 9.2). It then relies on facelets to provide certain functionality... Sounds like MyFaces is a bit harsher on the user here than the RI. OK... JSF 1.2 officially

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread Matthias Wessendorf
nice! that's a cool feature. -M On 7/19/07, Jesse Alexander (KSFD 121) [EMAIL PROTECTED] wrote: No.. RI just makes a test on the JSP-version and disables certain stuff, when it detects a J2EE 1.4 environment (as in TC 5 and WLS 9.2). It then relies on facelets to provide certain

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread Francisco Passos
Will the Myfaces team consider the possibility of providing similar support for non-JSP 2.1 containers using facelets? That would be very welcome :) On 7/19/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: nice! that's a cool feature. -M On 7/19/07, Jesse Alexander (KSFD 121) [EMAIL

[Addendum]: Myfaces 1.2 upgrading

2007-07-19 Thread Cormier, Matthieu
Hello all, My original hypothesis for issue 2 was incorrect. The issue is actually caused from the tag f:convertDateTime which we have embedded in an h:outputText. We use a bean to contain the configuration items for data display. The invalid style message is coming from this:

Re: [Addendum]: Myfaces 1.2 upgrading

2007-07-19 Thread Matthias Wessendorf
Hi Matthieu, regarding #2. I can't reproduce it. faces-config: managed-bean managed-bean-namebeany/managed-bean-name managed-bean-classorg.apache.myfaces.blank.SessionBean/managed-bean-class managed-bean-scopesession/managed-bean-scope

Re: null EL expression - ELResolver cannot handle a null base Object with identifier 'nullValue'

2007-07-19 Thread noah
So how do I make it work in MyFaces under Jetty? Why doesn't the presence of commons-el or Jetty or whatever cause the RI to blow up? On 7/18/07, Bruno Aranda [EMAIL PROTECTED] wrote: Ah yes, actually the problem was not commons-el (which is necessary for tomahawk to work) but a bug in jetty

Generic JSF question

2007-07-19 Thread CD
At what point in the lifecycle is a bean declared as session scoped get stored in the session?

Re: Myfaces 1.2.0 setup issues (again)

2007-07-19 Thread Werner Punz
Wolf Benz schrieb: Hi List It's very cool MyFaces 1.2 finally got out of the door but... It's again a true pain setting MyFaces up correctly before it works... (more than it should). I remember it took me an entire week before I had MyFaces 1.x configured correctly with the Extension Filter

Re: Generic JSF question

2007-07-19 Thread Andrew Robinson
When it is created by the variable resolver (first time it is accessed) On 7/19/07, CD [EMAIL PROTECTED] wrote: At what point in the lifecycle is a bean declared as session scoped get stored in the session?

Re: Generic JSF question

2007-07-19 Thread CD
As I would assume. The issue I am seeing in this particular instance is this (I'll try to shorten the description as details really aren't necessary for now): View/Code description: We have a page with links that are generated from the rows in a bound datatable (initially populated in the

Re: Generic JSF question

2007-07-19 Thread Andrew Robinson
Access the bean through a faces context in the servlet: http://wiki.apache.org/myfaces/AccessFacesContextFromServlet Then you can use FacesContext.getApplication().createValueBinding(String).getValue(FacesContext); Where the #{beanName} is string parameter. On 7/19/07, CD [EMAIL PROTECTED]

Re: Sun Java Application Server 9

2007-07-19 Thread Matthias Wessendorf
By accident, I noticed this flag com.sun.faces.useMyFaces http://www.google.com/search?q=com.sun.faces.useMyFaces On 7/13/07, alvaro tovar [EMAIL PROTECTED] wrote: if some one know how run myfaces in sun one application server 9, please tell me. On 6/19/07, Matthias Wessendorf [EMAIL

disable input text box generated from t:inputFileUpload

2007-07-19 Thread Madhav Bhargava
Hi All, I have a requirement where the user should not be given control to directly type in the path of a file. The user needs to necessarily click the browse button and then the path will then be populated in the disabled on client side input text that gets generated via this component. I

Re: Myfaces 1.2.0 setup issues (again)

2007-07-19 Thread Werner Punz
Ok sorry for this, as it seems there is an issue in the examples with Tomcat 6 and the jstl needed by the sandbox examples, my app was not affected since it does not use the jstl (and facelets work fine) can anyone confirm this, not sure why the jstl is in the tomahawk examples at all. If anyone

Re: disable input text box generated from t:inputFileUpload

2007-07-19 Thread Andrew Robinson
input file is not stylable (IE lets you do a little). There are many hacks out there to style it. Some involve putting an image over it, and such. Just google for searches like input file css style. If you set the width small enough, the text box goes away. The problem is that the font on the

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-19 Thread song
hi ,daniel ccss ,thank for your suggestion. i hope they will see this message. daniel ccss wrote: Paul another thing, I made a binding variable of the dataTable and I erased the dropScroller method and instead i made dataTable.setFirst(0) on my bean and works great :) I only need to do

RE: disable input text box generated from t:inputFileUpload

2007-07-19 Thread Madhav Bhargava
Hi Andrew, Thanks for the reply.Ideally we should have a feature similar to disableOnClientSide for t:inputFileUpload component. I am not sure about others but i feel that on many of the UI's the user is required to necessarily browse and not enter it manually to avoid user errors. What you

Re: Sun Java Application Server 9

2007-07-19 Thread Khurram Ahmed
Although i haven't used MyFaces with SJES, but i do have the experience of playing with the MyFaces on other App servers. Usually this kind of a behavior can be overcome by changing the class loading schemes of the application server from top down to bottom up. Or in other words you need to

[Tobago] when tc:in has no value user should be altered, When pressed enter form should be submitted.

2007-07-19 Thread Ramarao Venkata
Hi, I has a tc:in and a tc:link. when we click on the link the form is submited even though no value value in tc:in. When there is no value in tc:in and pressed on tc:link i should not submit instead i should display an alert message. With in tc:in when i press enter i need to invoke the