Re: Overriding FacesIO

2006-10-19 Thread Venia
I already did so, but the question is how it is possible to plug new version of FacesIO without replacing the original one in the sandbox dist. Thanks. Dennis Byrne wrote: > > Perhaps you can elaborate on FacesIO ? You may want to try the ADF > mailing list if this is not MyFaces specific. >

Re: JSF and Java 5.0 Enums

2006-10-19 Thread Mario Ivankovits
Hi Yee! > Qestion - what is the purpose of th e following test? > > if (component instanceof UIInput || > UIInput.COMPONENT_FAMILY.equals(component.getFamily())) { > The idea behind this converter is, that in case of an input component the conversion has to be reversible (or symmetri

RE: JSF and Java 5.0 Enums

2006-10-19 Thread Yee CN
*** Your mail has been scanned by InterScan MSS. *** Qestion - what is the purpose of th e following test? if (component instanceof UIInput || UIInput.COMPONENT_FAMILY.equals(component.getFamily())) { Regards, Yee -Original Message- From:

Re: Conversation Component Servlet Filter Issue

2006-10-19 Thread Mario Ivankovits
Oh, and you don't need to map the ConversationFilter and RequestParameterProvider to the /faces/* if this space is for the ExtensionsFilter only, I assume you access your views using the *.jsf extension, no? Ciao, Mario

Re: Conversation Component Servlet Filter Issue

2006-10-19 Thread Mario Ivankovits
Hi Tom! Unhappily I do not use facelet, so I don't konw if there is something special we have to take care of. If I manage to get a free hour or two I'll try to setup a environment here and give it a try, though, if you have a simple - nearly empty - webapp I would be glad when you send it over t

Re: Tomahawk Tree2 Javascript problem.

2006-10-19 Thread Long Tran
Well, I figured out the problem myself, the jsp file needs to have and tag. I assume Tomahawk tries include tree.js in the tage but could not find it before. Thanks for all your replies anyway, Thanks Long Tran wrote: Yeah, it's wrapped around a component, any idea? Martin Marinschek

Re: Tomahawk Tree2 Javascript problem.

2006-10-19 Thread Long Tran
Yeah, it's wrapped around a component, any idea? Martin Marinschek wrote: Do you have a "form" around the tree? regards, Martin On 11/19/06, Long Tran <[EMAIL PROTECTED]> wrote: Hi, I think I had it, since the images (+ and - icons) show up, I assume they are rendered through the filt

Re: tomahawk on ibiblio?

2006-10-19 Thread Wendy Smoak
On 10/12/06, Roger Keays <[EMAIL PROTECTED]> wrote: I noticed ibiblio only has tomahawk jars up to version 1.1.1. http://www.ibiblio.org/maven2/myfaces/tomahawk/ Is anybody able to put the newer releases up there? There is a staging repository on the zone with Tomahawk 1.1.3, see: http://wik

Problem with and ajax4jsf

2006-10-19 Thread Michael Margozzi
The Tomahawk inputDate component doesn't function properly with Ajax4jsf :-( <%@ page language="java" pageEncoding="UTF-8"%><%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%><%@ taglib uri="http://myfaces.apache.org/tomahawk"

RE: Conversation Component Servlet Filter Issue

2006-10-19 Thread Tom Innes
Thanks Ben,   Unfortunately that didn’t work either.  I even took most of the web.xml in the samples directory with everything in the same order and I am still getting the same error.    Any other ideas?   Tom   -Original Message- From: Neuman, Ben J., A&M IRM [mailto:[EMA

Re: Strange ValueChangeListener effect

2006-10-19 Thread Jeff Bischoff
Have you tried simply "submit()" rather than "this.form.submit()" ? [EMAIL PROTECTED] wrote: If I select the item of the fist listbox both ValueChangeListeners are called. If I select the item in the second listbox only the ValueChangeListener of the first listbox is called. If I select a seco

Re: Problem with required=true?

2006-10-19 Thread Bjørn T Johansen
Aaahhh... Ok... Thx... :) BTJ On Thu, 19 Oct 2006 15:57:31 -0400 Jeff Bischoff <[EMAIL PROTECTED]> wrote: > Bjorn, > > That may have been because you were setting the values in the > valueChangeListener of an "immediate" component, and then the values of > the other components were overwritte

Re: javax.faces.FacesException: java.lang.ClassCastException:

2006-10-19 Thread Matthias Wessendorf
you are mixing myfaces and ri com.sun.faces.config.ConfigureListener remove all RI related stuff. like jars or tld files, shipped by ri -M On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: What is the reason of this exception? javax.faces.FacesException: java.lang.ClassCastException

Re: Problem with required=true?

2006-10-19 Thread Jeff Bischoff
Bjorn, That may have been because you were setting the values in the valueChangeListener of an "immediate" component, and then the values of the other components were overwritten in the "Update Model Values" phase. Your immediate action listener is running in between the "Apply Request Values

RE: Conversation Component Servlet Filter Issue

2006-10-19 Thread Neuman, Ben J., A&M IRM
Also, you'll need this one as well in your taglib.xml       endConversation        org.apache.myfaces.EndConversation              -Original Message-From: Tom Innes [mailto:[EMAIL PROTECTED]Sent: Thursday, October 19, 2006 3:04 PMTo: 'MyFaces Discu

Re: Problem with required=true?

2006-10-19 Thread Bjørn T Johansen
It may be that I am misunderstanding but I remember I had problem setting values in my valueChangeListener method a while ago because those values were overwritten after the valueChangeListener had been invoked... BTJ On Thu, 19 Oct 2006 15:13:00 -0400 Jeff Bischoff <[EMAIL PROTECTED]> wrote:

RE: Conversation Component Servlet Filter Issue

2006-10-19 Thread Neuman, Ben J., A&M IRM
Try defining the requestParameterProvider before the conversationFilter. Ben -Original Message-From: Tom Innes [mailto:[EMAIL PROTECTED]Sent: Thursday, October 19, 2006 3:04 PMTo: 'MyFaces Discussion'Subject: Conversation Component Servlet Filter Issue   I am tryi

Re: Tobago on Websphere 6.1 layout problems

2006-10-19 Thread Stojan Peshov
Do you have any ideas how can I implement such layout differently?Anybody .. ?StojanOn 10/19/06, Volker Weber < [EMAIL PROTECTED]> wrote:I have to correct my last comment:we did use jsp tags on my last project, but for subcomponents not for layout. and this works on WS6.1regards  Volekr

Re: Problem with required=true?

2006-10-19 Thread Jeff Bischoff
Sure it will. In your valueChangeListener: 1) Update your model as needed (i.e. explicitly call any setters for properties you need to change the value of). 2) Call refresh() from the wiki to update input components with the new values. Do this only if needed, as it will replace anything the

javax.faces.FacesException: java.lang.ClassCastException:

2006-10-19 Thread [EMAIL PROTECTED]
What is the reason of this exception? javax.faces.FacesException: java.lang.ClassCastException: org. apache.myfaces.renderkit.html.util.ExtensionsPhaseListener at com.sun.faces.config.ConfigureListener.contextInitialized (ConfigureListener.java:310) at org.apache.catalina.core.Stan

Conversation Component Servlet Filter Issue

2006-10-19 Thread Tom Innes
  I am trying out the new sandbox component Conversation. I have taken one of the saveState Examples and converted it to Facelets.  I am not sure what I am doing wrong but I am getting the following exception.  Any help would be appreciated. SEVERE: Error Rendering View[/pages/saveStat

Re: Problem with required=true?

2006-10-19 Thread Bjørn T Johansen
Well, I need to update my form with new data as a result of that value change, so as far as I can tell, using this skipValidation metehod won't help me? BTJ On Thu, 19 Oct 2006 09:31:17 -0400 Jeff Bischoff <[EMAIL PROTECTED]> wrote: > Bjorn, > > Put a method like this in some utility class in

Is it possible to use the autoscroll feature with JSF RI?

2006-10-19 Thread Bjørn T Johansen
If so, how? Regards, BTJ -- --- Bjørn T Johansen [EMAIL PROTECTED] --- Someone wrote: "I understand that if y

Re: JSF and Java 5.0 Enums

2006-10-19 Thread Jeff Bischoff
> Thanks for the tip, I changed our converter to use getEnumConstants() > now, though, did you have a look at its implementation? I'd say "butt > ugly" ;-) Well you piqued my curiosity. I took a look, and everything was looking good... until I got to the contents of that try clause. Massive brai

Re: Post-Redirect-Get-Pattern and t:datascoller

2006-10-19 Thread David Chandler
Ingo,Since this is not MyFaces-specific, I've replied directly at the blog (now http://learnjsf.com/wp/2006/08/06/a-prg-phase-listener-for-jsf/ )./dmcOn 10/14/06, Ingo Düppe <[EMAIL PROTECTED]> wrote: Hi,I tried to integrate the idea of the Post-Redirect-Get-PhaseListener ofhttp://turbomanage.wordp

Re: problem facing in A PRG Phase Listener for JSF

2006-10-19 Thread David Chandler
Asad,Since this isn't a MyFaces question, I've posted a reply on the blog you quoted./dmcOn 10/18/06, Asad Bashir < [EMAIL PROTECTED]> wrote: I am having the problem regarding  A PRG Phase Listener for JSF it is not saving my messages as it never enter into this for loop for (Iterator i = facesCo

Re: s:inputSuggestAjax problem

2006-10-19 Thread Gerald Müllan
I am more or less sure, that we can use both, but i have not tested it. It was only a thought that order of the filters may be a problem. regards, Gerald On 10/19/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote: Is that right? Why wouldn't we be able to use both?? eXiyenaya wrote: > I am using s

Re: Overriding FacesIO

2006-10-19 Thread Dennis Byrne
Perhaps you can elaborate on FacesIO ? You may want to try the ADF mailing list if this is not MyFaces specific. Dennis Byrne >-Original Message- >From: Venia [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 19, 2006 10:21 AM >To: users@myfaces.apache.org >Subject: Overriding FacesIO

Re: Tobago on Websphere 6.1 layout problems

2006-10-19 Thread Volker Weber
I have to correct my last comment: we did use jsp tags on my last project, but for subcomponents not for layout. and this works on WS6.1 regards Volekr 2006/10/18, Volker Weber <[EMAIL PROTECTED]>: Hi, the tc:page tag renders the ... stuff. Page tag is mandatory for tobago. In my last pro

Re: [announcement] new sandbox component: submitOnEvent

2006-10-19 Thread Mario Ivankovits
Hi Jeff! > I believe I have answered my own question. Sorry, I've missed your last mail :-( > If I first test to ensure the more complicated use-case works as > expected, do you mind if I update that wiki page with this additional > detail about the options for use of the "for" attribute? No, plea

Re: [announcement] new sandbox component: submitOnEvent

2006-10-19 Thread Jeff Bischoff
Hey all, I believe I have answered my own question. I have reviewed the source code for the submitOnEvent component, and I can see that Mario is using the UIComponent.findComponent() method to locate the component referenced by the "for" attribute. That find method uses an algorithm described

Re: sun Progress bar component with my faces

2006-10-19 Thread David Delbecq
Couldn't this layout fits your need? 1) first request do nothing but store in a bean that you have to pickup some information and provide a 'progressbar' result page 2) in progress bar page, an IFrame make a call to a 'load datas' page. This is the HTTP Thread that will process data loading 3) in

Re: update a parent window

2006-10-19 Thread Jeff Bischoff
Alexandre, The way I see it, (and I'm not a javascript expert) you have two options: 1) Use forceId on the components that you need to reference from javascript, as the wiki page suggests 2) Get some kind of a reference to the inputText and pass it to the popupWindow when you create that win

Overriding FacesIO

2006-10-19 Thread Venia
Hi, How is it possible to supply my FacesIO instead of one provided with myfaces? The problem is that we are using Oracle ADF and there are different hidden fields used to save the state than those specified in the FacesIO. Thanks, Veniamin Goldin -- View this message in context: http://ww

RE: sun Progress bar component with my faces

2006-10-19 Thread Madhav Bhargava
Creating threads in J2EE environment is not at all advisable. The whole advantage of having a container is lost if you have to manage your own threads. Is there any other way in which it can be achieved? If not then I guess I will have to make my own component.   Thanks & Regards, Mad

Re: s:inputSuggestAjax problem

2006-10-19 Thread Gerald Müllan
Hm..ok i didn`t test the component with ajax4Jsf, maybe their special filter ist the problem. The issue seems to me that the resources are not served. In the web.xml, does the filter come before other special filters? This is a requirement when using ajax4jsf with myfaces. regards, Gerald On 1

Re: sun Progress bar component with my faces

2006-10-19 Thread ::SammyRulez::
I thik binding attribute wold be usueful... btw I would approach the problem in a complete different manner. backing-bean lunch a thread and expose a sincronized property with the percentage of "loading state" on thread end backing bean value are updated and progress bar not rendered. if yo

Re: update a parent window

2006-10-19 Thread Alexandre Jaquet
First thanks for responding. I need a JS solution because, the value I want to get, come from a pop up window, and I want to directly update the value of a h:inputText and then close the pop up. I already have read the wiki page about mixing JSF and JS but it doesn't help. Regards Jeff Bis

Re: s:inputSuggestAjax problem

2006-10-19 Thread Werner Punz
Jeff Bischoff schrieb: > Is that right? Why wouldn't we be able to use both?? > Good question, i do not know what ajax4jsf does to the form, but since both mechanisms rely heavily on javascript, I assume a javascript interference from ajax4jsf into the input suggest.

Re: styleClass in

2006-10-19 Thread Jeff Bischoff
Sebastien, Have you tried a classname without an underscore? Older browsers don't support it. Also, make sure you hit the browser's refresh button to ensure you get the updated css file. Then view source, to make sure the browser is finding your css file and everything matches up. Regards,

Re: Problem with required=true?

2006-10-19 Thread Jeff Bischoff
Bjorn, Put a method like this in some utility class in your web tier java code: public static void skipValidation() { FacesContext context = FacesContext.getCurrentInstance(); context.renderResponse(); } Then you can call skipValidation() in your valueChangeListener method. You

RE: sun Progress bar component with my faces

2006-10-19 Thread Madhav Bhargava
Sammy,   The problem is this:   First time a request is made the business makes a call to an EAI engine to gather data. Since it takes a while before that data can be shown to the user a progress bar is shown to the user. When the first time the progress bar is shown then a value (a

Re: update a parent window

2006-10-19 Thread Jeff Bischoff
Alexandre, Why use javascript for this? I would recommend a more JSF-oriented approach to master/detail. See [1]. If you're really looking for a javascript solution, there may be some tips in [2]. [1] http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters [2] http://wiki.ap

RE: Tree2- how to hide a branch

2006-10-19 Thread Jiang, Jane \(NIH/NCI\) [C]
Thanks Andrew and Bill for the suggestions. I thought Andrew's idea was great and I went ahead and tried it. It worked well. But I could not get the screen to refresh right after the user click the radio button. I set up break points in the getChildren() and getChildrenCount() methods, and f

styleClass in

2006-10-19 Thread Sébastien Marin
Hello, i want to apply style in imputtext component. So for exemple boder and backgroung color. if i write: in the JSP,It is OK If i write in the jsp And: .css_ZoneChamp{ border-width:1px; border-color:#afafaf; } in my CSS, the backgroud is applyed buit not the boerde. How can i do... it is

Problem with required=true?

2006-10-19 Thread Bjørn T Johansen
I have some edit boxes that has the attribute required set to true but I also have a selectOneMenu which does a submit when value changes... What is the best way to skip the required test when submitting using the selectOneMenu onChange event? Regards, BTJ --

update a parent window

2006-10-19 Thread Alexandre Jaquet
Hi, I'm facing a problem, I'm trying to get the id / value of a component of a data table for updating a parent window exemple : alt="#{text.common_detail}" style="border-style:none" /> but the problem is how to get a dynamic id in Javascript ? if the generated

Re: s:inputSuggestAjax problem

2006-10-19 Thread Jeff Bischoff
Is that right? Why wouldn't we be able to use both?? eXiyenaya wrote: I am using sandbox 1.1.4 snapshot and server side state saving. I think problem caused from me. Because i am also using ajax4jsf jar . When i removed it from my application s:inputsuggestAjax starts to work. thanks ... Umut

Re: sun Progress bar component with my faces

2006-10-19 Thread ::SammyRulez::
with ajax4jsf I impletented progress bar in minutes https://ajax4jsf.dev.java.net/nonav/documentation/ajax-documentation/developerGuide.html#d0e650 2006/10/19, Madhav Bhargava <[EMAIL PROTECTED]>: Hi all,   I am using sun blueprints progress bar with my faces and facing some prob

sun Progress bar component with my faces

2006-10-19 Thread Madhav Bhargava
Hi all,   I am using sun blueprints progress bar with my faces and facing some problems. I want this component to call a particular managed bean method say fun().This method depends on a managed bean property. I need this property bound to an inputHidden component. I think AJAX won’t su

Tomahawk datascroller problem

2006-10-19 Thread Aneesha Govil
Hi,I have a t:datascroller that is used for a datatable created dynamically. I use component binding to render this datatable. The first time I load this page it works fine. The next time I again land on this page, I get the following exception: javax.faces.FacesException: could not find UIData ref

Re: Tomahawk Tree2 Javascript problem.

2006-10-19 Thread Long Tran
Yes, It's wrapped around a component. Regards, Long Martin Marinschek wrote: Do you have a "form" around the tree? regards, Martin On 11/19/06, Long Tran <[EMAIL PROTECTED]> wrote: Hi, I think I had it, since the images (+ and - icons) show up, I assume they are rendered through the

Re: s:exportExcel

2006-10-19 Thread Cagatay Civici
Hi,That's why it's in sandbox :) Thanks for reporting, I'll try to fix these.Regards,CagatayOn 10/19/06, Bogdan Sava < [EMAIL PROTECTED]> wrote:s:exportExcel doesn't work with:1. date cells2. t:graphicImage inside table cell . Even image+text table cells are exported as empty cells.3. paged dataTab

Re: MyFaces dialog framework

2006-10-19 Thread innflow-guenther
Probably there will be an issue with SSL? The popup "Mixing of secure and insecure content" might show up then. E.g. I got this IE message with the old t:popup (fixed now) and get it with the current s:modalDialog. Regards René On Wed, 18 Oct 2006 09:10:41 -0600 "Andrew Robinson" <[EMAIL PR

problem facing in A PRG Phase Listener for JSF

2006-10-19 Thread Asad Bashir
I am having the problem regarding  A PRG Phase Listener for JSF it is not saving my messages as it never enter into this for loop for (Iterator i = facesContext.getClientIdsWithMessages(); i.hasNext();) {--} please solve my problem  Regards, Asad Bashir Software Engineer The all-new

Re: s:inputSuggestAjax problem

2006-10-19 Thread eXiyenaya
I am using sandbox 1.1.4 snapshot and server side state saving. I think problem caused from me. Because i am also  using ajax4jsf jar . When i removed it from my application s:inputsuggestAjax starts to work. thanks ... Umut   On 10/19/06, Gerald Müllan <[EMAIL PROTECTED]> wrote: Hi,which version

Re: s:inputSuggestAjax problem

2006-10-19 Thread Gerald Müllan
Hi, which version of sandbox are you using? One of the last weeks? Apart from that, are you using client side state saving? Have not tested it against this requirement since the last refork, but maybe the component is broken in this mode. cheers, Gerald On 10/19/06, eXiyenaya <[EMAIL PROTECT

s:exportExcel

2006-10-19 Thread Bogdan Sava
s:exportExcel doesn't work with: 1. date cells 2. t:graphicImage inside table cell . Even image+text table cells are exported as empty cells. 3. paged dataTables Bogdan

s:inputSuggestAjax problem

2006-10-19 Thread eXiyenaya
Hi I am trying to use s:inputSuggestAjax component in my application. I am filling my list but i could not see my dropdown list on browser. There is no error only one warning. WARN [DefaultAddResource] MyFaces special _javascript_ could not be retrieved from request-map.   Do you have any idea.