Re: Adding new Render Kit

2005-06-15 Thread Martin Marinschek
Well, yes, but in this case you are reusing the standard renderkit! if you just want to define an additional renderkit, you copy the standard render-kit definition, give it a new rederkit-id, set your renderer names as appropriate, and set the default renderkit to your special render-kit id

RE: No Links working from inside a dataTable/PanelGrid - Was Displaying and linking search results

2005-06-15 Thread Klug, Boris
Hello! I have a similar problem. Here ist my jsf page: h:form h:panelGrid columns=2 h:panelGrid columns=1 !-- These buttons and the link works -- h:commandButton... / h:commandButton / h:commandLink

JSCookMenu actions in Sun JSF RI + myfaces-extensions

2005-06-15 Thread Juan Medín Piñeiro
Hi, For some reason JSCookMenu is ignoring the actions assigned to the NavigationMenuItem's. I'm using Sun RI (RSA 6.0 distribution) and the myfaces-extensions.jar. Converting the POSTto a GET (just to know what is being sent), this is the string:

RE: Displaying and linking search results

2005-06-15 Thread Daniel Murley
Ok so in the example, it works. But my question then becomes, what is the defining factor that actually makes it work? I notice there is no use of the h:form tag in the dataTable.jsp. There is however a use of PanelLayout, but surely this couldn't make a difference? It really seems like I'm

JSCookMenu actions in Sun JSF RI + myfaces-extensions

2005-06-15 Thread Juan Medín Piñeiro
Hi, For some reason JSCookMenu is ignoring the actions assigned to the NavigationMenuItem's. I'm using Sun RI (RSA 6.0 distribution) and the myfaces-extensions.jar. Converting the POSTto a GET (just to know what is being sent), this is the string:

BUG: using Converters

2005-06-15 Thread Stefan Lischke
Hi, The last day i played with the converter stuff and the result is, that i switched back to the SUN JSF RI, cause myfaces is not handling converter stuff properly. With myfaces my converter.getAsString(...) and converter.getAsObject(...) is called with a null value as Object or String argument.

Re: BUG: using Converters

2005-06-15 Thread Martin Marinschek
Hi Stefan, how about setting up the MyFaces examples as a project and debugging it there? regards, Martin On 6/15/05, Stefan Lischke [EMAIL PROTECTED] wrote: Hi, The last day i played with the converter stuff and the result is, that i switched back to the SUN JSF RI, cause myfaces is not

Re: Adding a validator programmatically

2005-06-15 Thread Csík Norbert
Maybe the encodeChildren method is never called. Due to the spec This method will only be called if the rendersChildren property is true. On 6/14/05, Balaji Saranathan [EMAIL PROTECTED] wrote: Hi, I'm trying to create a custom component and one of my requirements is to attach the Regular

Re: Pure client side tabbed pane

2005-06-15 Thread Werner Punz
Werner Punz wrote: Just wanted to drop a note, for the people who were waiting for a pure client side tabbed pane, that I dropped the first working version, refactored out of my project and bound to the myfaces server side tabs, into the sourceforge repo. Ok command back, the component does

Re: BUG: using Converters

2005-06-15 Thread Daniel Zwink
Hi, on 15.06.2005 11:42 Stefan Lischke said the following: [...] I'm willing to help with this bug, but i'm not able to debug the stuff, cause the sources are divided into many dirs and eclipse only accepts one source folder as an attachment to a jar. Any ideas? Not related to the bug

Re: two instances of my PhaseListener

2005-06-15 Thread Daniel Zwink
Hi, on 15.06.2005 00:57 Werner Punz said the following: I'm using Tomcat 5.5.9 and MyFaces 1.0.9. When I deploy my war-file the two debug-lines are printed twice on sysout with different hashcodes which indicates to me that the phase listener is instanced twice, too. If I request a

Re: two instances of my PhaseListener

2005-06-15 Thread Martin Marinschek
this is the code from MyFaces, and it shows that the phase listener should only be added once: // add phase listeners for (Iterator iterator = _dispenser.getLifecyclePhaseListeners(); iterator.hasNext();) { String listenerClassName = (String) iterator.next();

Re: two instances of my PhaseListener

2005-06-15 Thread Martin Marinschek
I think (would need to look it up in the spec, though) that the faces-config.xml is taken automatically... regards, Martin On 6/15/05, Daniel Zwink [EMAIL PROTECTED] wrote: Hi, on 15.06.2005 15:37 Martin Marinschek said the following: this is the code from MyFaces, and it shows that the

Radio buttons in dataTable

2005-06-15 Thread Peter Mahoney
I am trying to use the x:selectOneRadio component with the spread layout. The radio button choices are rendered dynamically as part of a dataTable. However, the setter in the backing bean is not being called and I am getting an error in the logs: There should always be a submitted value for

Re: two instances of my PhaseListener

2005-06-15 Thread Daniel Zwink
Hi, on 15.06.2005 18:02 Martin Marinschek said the following: I think (would need to look it up in the spec, though) that the faces-config.xml is taken automatically... You're right: JSF Spec 1.1, section 10.1.3 Thanks for your help! Daniel -- Orientation in Objects GmbH Weinheimerstr. 68

Duplicate id components in subview

2005-06-15 Thread Jordi Puiggené
A duplicated components id exception is thrown when using diferent subviews. Well, here is my code: Default.jsp f:view h:form id=MainForm enctype=multipart/form-data styleClass=height-100 ...some components... h:panelGrid columns=1 width=100%

Re: two instances of my PhaseListener

2005-06-15 Thread Martin Marinschek
You are welcome! regards, Martin On 6/15/05, Daniel Zwink [EMAIL PROTECTED] wrote: Hi, on 15.06.2005 18:02 Martin Marinschek said the following: I think (would need to look it up in the spec, though) that the faces-config.xml is taken automatically... You're right: JSF Spec 1.1,

RE: Displaying and linking search results

2005-06-15 Thread Srikanth Madarapu
I have a search results page in which I display the results in a dataTable. When user selects a particular row to see the details, the backing bean gets the clicked row details by calling getRowData on the dataTable's DataModel object. Use that row object to get the details and render the

Re: managed map properties - bug or spec loophole?

2005-06-15 Thread Martin Marinschek
Ok, it's been some time, but I have implemented your suggestion... try it out in SVN-Head (or the nightly build)... I think that you are right, even if the spec is not clear about that issue, it might be nice for the users to have that feature. regards, Martin On 6/12/05, Erik Gustavson

Re: Messages and navigation rule redirects

2005-06-15 Thread Richard Wallace
Richard Wallace wrote: Matt Blum wrote: The Faces servlet does a forward by default, so all you need to do is take out the redirect tag from your navigation rule, and that's what will happen. Well, ok. But I guess I'm just not understanding where the code to put the messages in the

Re: Adding new Render Kit

2005-06-15 Thread Mark
Martin Marinschek wrote: Well, yes, but in this case you are reusing the standard renderkit! if you just want to define an additional renderkit, you copy the standard render-kit definition, give it a new rederkit-id, set your renderer names as appropriate, and set the default renderkit to your