Re: [Trinidad] plugins build broken?

2007-06-01 Thread Matthias Wessendorf
I am not seeing this, but I saw it in the past. Strange... On 6/1/07, Adam Winer [EMAIL PROTECTED] wrote: I've seen this before - it's a bug in qdox, apparently, but I don't know how or why it goes away. -- Adam On 5/31/07, Laurie Harper [EMAIL PROTECTED] wrote: I just tried upgrading to

Link within a tree2 without a submit?

2007-06-01 Thread Lars Hagrot
I am using the Tomahawk tree2 component and do not want any server requests when the user clicks on a node. Instead I want to call a javascript method. Is it possible to declare a commandLink that does not resultat in a form submit but a href=javascript:foo(param); ? Currently I am using

Re: Error while processing state

2007-06-01 Thread Titi Wangsa
i've had that problem. then i changed saving state from client to server. i have no idea why it happens..

Error while processing state

2007-06-01 Thread Peter Mahoney
We have recently put live a new version of an application using a build of MyFaces core from 22nd May. Following the release I have been consistently seeing in the logs the following exception: javax.faces.FacesException: error while processing state :

Multiple selection in the tree component, Drag and Drop support

2007-06-01 Thread Kahlau, Matthias
Dear MyFaces Community! Does the Tomahawk tree component support the selection of multiple nodes? What about drag and drop support in MyFaces? Are there any components under development? I need drag and drop in trees and between tables and trees, of single and multiple selections.

RE: Change valueBinding of t:dataTable based on condition

2007-06-01 Thread Rønnevik , Eivind
Your suggestion worked :) I was on to it myself, but guess I mixed up a bit with my string-representation.. ;) Thanks for sorting it out! -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: 31. mai 2007 15:49 To: MyFaces Discussion Subject: Re: Change

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi! have you got any clue on this? I have't used Trinidad till now. @carsten: Do you see some javascript regarding submitOnEvent stuff rendered into the resulting html? @martin: I rely on the ComponentFamily, do you know if input fields in Trinidad use UIInput.COMPONENT_FAMILY and commands

Re: This code works in all other browsers than Firefox, why?

2007-06-01 Thread Bjørn T Johansen
I don't... BTJ On Fri, 1 Jun 2007 07:00:17 +0200 [EMAIL PROTECTED] wrote: Hi Be aware the you can not have two panelnavigation2 menus on the same page. Hermod -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 3:07 PM To:

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Matthias Wessendorf
@martin: I rely on the ComponentFamily, do you know if input fields in Trinidad use UIInput.COMPONENT_FAMILY and commands UICommand.COMPONENT_FAMILY? Alternatively I check the class using instanceof UIInput|UICommand, but this I know can not work with Trinidad. EditableValueHolder /

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi Matthias! But, the problem is, that Family/Type are strings. Why not going against the base interfaces, provided by JSF ? -javax.faces.component.EditableValueHolder -javax.faces.component.ActionSource Yepp, I'll change it that way. I just wanted to know ;-) Thanks! Ciao, Mario

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Matthias Wessendorf schrieb: On 6/1/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! have you got any clue on this? I have't used Trinidad till now. @carsten: Do you see some javascript regarding submitOnEvent stuff rendered into the resulting html? @martin: I rely on the

RE: This code works in all other browsers than Firefox, why?

2007-06-01 Thread hermod.opstvedt
Hi Be aware the you can not have two panelnavigation2 menus on the same page. Hermod -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 3:07 PM To: users@myfaces.apache.org Subject: Re: This code works in all other browsers than Firefox,

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Matthias Wessendorf
On 6/1/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! have you got any clue on this? I have't used Trinidad till now. @carsten: Do you see some javascript regarding submitOnEvent stuff rendered into the resulting html? @martin: I rely on the ComponentFamily, do you know if input fields in

[Trinidad] Changes to isPostback?

2007-06-01 Thread Francisco Passos
Good afternoon. Have there been any changes to the underlying mechanism of RequestContext.isPostback since version 1.0.0-incubating? I've noticed that returning null after executing an action triggered by a button, for instance, is no longer considered a postback. Is this true and if true, is

How to have the label of SelectOneRadio as a commandLink

2007-06-01 Thread Beelen, Marco
Hello all, I'm building an application and I don't know how to solve a certain GUI problem. Use case: The employee enters an request for a certain seeker ( = a Customer ) 1) The employee searches for the seeker based upon it's name. 2) The employee select the appropreate seeker from the

Re: More Than One Forms in JSF Page Lead To Problems

2007-06-01 Thread Joe ONeil
I had the same problem there was a design change between MyFaces 1.13 and 1.15 to the way the forms work I was originally allow to have one form for the whole page but when upgrading to 1.15 That no longer work I had to break it into multiple forms either in panelgrids or Panel groups also I

Re: More Than One Forms in JSF Page Lead To Problems

2007-06-01 Thread Caroline Jen
Thanks very much for the information and the example provided. -Caroline --- Joe ONeil [EMAIL PROTECTED] wrote: I had the same problem there was a design change between MyFaces 1.13 and 1.15 to the way the forms work I was originally allow to have one form for the whole page but when

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi Matthias! Hi Matthias! But, the problem is, that Family/Type are strings. Why not going against the base interfaces, provided by JSF ? -javax.faces.component.EditableValueHolder -javax.faces.component.ActionSource When I hook on one of the UISelect* components I use a different

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi! just a short question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components? I've change submitOnEvent in a way that should make it work with Trinidad too, though, I have no Trinidad here and do not have the time to test it. Please give it a try and

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mike Kienenberger
We used the component family because we need to conditionally choose what kind of event is needed to determine the submit condition. That's not possible from the base interfaces. input fields require keypress, select menus require change, and so on. Worse case, the end-user can override it.

Re: How to have the label of SelectOneRadio as a commandLink

2007-06-01 Thread Mike Kienenberger
Your idea of using t:radio was the first thought I had as well. Maybe if you specify the for as a fully-qualified client-id it will work. If you don't want to hardcode this, one possibility is to bind the selectOneRadio to a backing bean and fetch the clientid for that component as the value

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Matthias Wessendorf
On 6/1/07, Mike Kienenberger [EMAIL PROTECTED] wrote: We used the component family because we need to conditionally choose what kind of event is needed to determine the submit condition. That's not possible from the base interfaces. input fields require keypress, select menus require change,

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Martin Marinschek
Hi Mario, here the strings: org.apache.myfaces.trinidad.component.UIXSelectBoolean public static final java.lang.String COMPONENT_FAMILY = org.apache.myfaces.trinidad.SelectBoolean; public static final java.lang.String COMPONENT_TYPE = org.apache.myfaces.trinidad.SelectBoolean; package

Re: Error while processing state

2007-06-01 Thread Mike Kienenberger
I've had one (maybe two) similar problems in the past. In one, the page gets randomly truncated by the Oracle Application Server, but runs fine elsewhere. In another, I've seen exceptions generated in the middle of the client-side state saving, corrupting the value -- that looks kind of like

Re: Link within a tree2 without a submit?

2007-06-01 Thread Andrew Robinson
h:outputLink value=# onclick=foo('#{node.id}'); return false; h:outputText value=#{myValue} / /h:outputLink On 6/1/07, Lars Hagrot [EMAIL PROTECTED] wrote: I am using the Tomahawk tree2 component and do not want any server requests when the user clicks on a node. Instead I want to call a

[Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-01 Thread H. Swaczinna
Hi, I have three sheets on a tab of a tab group with switchType=reloadTab. With Firefox everything is fine but with IE (6 and 7) there layout problems. In my app all three sheets disappear when I switch to this tab the first time. The sheets are shown for a short time (ca. 0,1 s) and than

Re: How to remove the UI component state?

2007-06-01 Thread Mike Kienenberger
What about doing something like this? This is how I clear out all state when the end-user clicks the Reset button on a search page. navigation-rule description/description from-view-id/pages/Search.xhtml/from-view-id navigation-case from-outcomeclear/from-outcome

How do I get the ValueBinding details for a given UIComponent?

2007-06-01 Thread ohfaces
I need to get the ValueBinding details for a given UIComponent on the fly - I wanted to write a generic method which will allow me to get the ValueBinding details once I get the UIComponent. Now, there is a method on the UIComponent - getValueBinding(String expr) but it expects me to pass the

Problem with Binding in tr:table

2007-06-01 Thread Anupama Dande
Hi All, I am trying to figure out solution for the following problem since 2 days. Problem: Whenever I use a binding in the tr:table binding=#{testObj.testListTable} it is giving me an error as follows. SEVERE: Error Rendering View[/common/xhtml/test.xhtml]

Issue with Tomahawk Menu

2007-06-01 Thread Anupama Dande
Hi, I am getting the following error SEVERE: Error Rendering View[/common/xhtml/jcm/createChangeOrder/manageChangeOrders.xhtml] java.lang.IllegalArgumentException: Value binding of UINavigationMenuItems with id menuForm:_id14 does not reference an Object of type NavigationMenuItem,

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-01 Thread Bernd Bohmann
Hello, just added your test to http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/tabSheet.jsp but I don't have a Windows with IE available. Can someone with a Windows test this page, please. Regards Bernd H. Swaczinna wrote: Hi, I have three sheets on a tab

Re: [Trinidad] Changes to isPostback?

2007-06-01 Thread Adam Winer
I don't think there've been any changes in Trinidad. Have you changed the version of JSF you're using? At what point in the JSF lifecycle are you calling isPostback()? -- Adam On 6/1/07, Francisco Passos [EMAIL PROTECTED] wrote: Good afternoon. Have there been any changes to the underlying

Re: How do I get the ValueBinding details for a given UIComponent?

2007-06-01 Thread Andrew Robinson
The valueBindingMap of UIComponentBase is not exposed through a method that allows access to the keys or values, only one at a time. You can however get access to all of the component's attributes through UIComponent.getAttributes() : Map. On 6/1/07, ohfaces [EMAIL PROTECTED] wrote: I need to

Re: Problem with Binding in tr:table

2007-06-01 Thread Andrew Robinson
Pretty self explanitory, #{testObj} is null. What is testObj, where is it defined? On 6/1/07, Anupama Dande [EMAIL PROTECTED] wrote: Hi All, I am trying to figure out solution for the following problem since 2 days. Problem: Whenever I use a binding in the tr:table

Exception Handling using JSF/MyFaces and Spring

2007-06-01 Thread bansi
I am using JSF MyFaces, Spring, Hibernate . Any pointers/suggestions on how to modify below code to display user-friendly messages onto browser incase an exception occured in JSF Backing Bean or Spring Bean will be highly appreciated JSF Backing Bean: public List getDeviceTypeList(){ try {

Re: Issue with Tomahawk Menu

2007-06-01 Thread Mike Kienenberger
Seems pretty straight forward -- what's the value binding of the _id14 component bound to? Apparently not a NavigationMenuItem or collection of NavigationMenuItems. On 6/1/07, Anupama Dande [EMAIL PROTECTED] wrote: Hi, I am getting the following error SEVERE: Error Rendering

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-01 Thread Volker Weber
Hi, the tobago-demo http://tobago.atanion.net/tobago-example-demo/faces/overview/tab.jsp already contains a sheet inside a tab. switch to Server side tabbing, Moons. this sheet is loaded by switchtype=reloadTab. BTW: i also have no IE available. Regards, Volker 2007/6/1, Bernd Bohmann

Re: tomahawk 1.1.5 and JSF 1.2/Tomcat 6

2007-06-01 Thread Martin Dubuc
I am using JSF version 1.2_04-b07-FCS. Martin On 5/31/07, rlubke [EMAIL PROTECTED] wrote: What's the exact version of the RI you're using? martind wrote: I would like to use tomahawk 1.1.5 with JSF 1.2 RI inside Tomcat 6. Is this combinatiion supported? I have tried to load the

Re: Issue with Tomahawk Menu

2007-06-01 Thread Anupama Dande
Hi Mike, It is NavigationMenuItem ( org.apache.myfaces.custom.navmenu.NavigationMenuItem) Collection. I am using Tomahawk JSCookMenu in test.xhtml as t:jscookMenu layout=hbr theme=ThemeOffice t:navigationMenuItems value=#{umenu.menu} /

Re: Issue with Tomahawk Menu

2007-06-01 Thread Mike Kienenberger
What is the method signature of myPackage.TestMenu.getMenu()? What is the contents of getMenu()? I don't see that the scope will matter provided that umenu is non-null. On 6/1/07, Anupama Dande [EMAIL PROTECTED] wrote: Hi Mike, It is NavigationMenuItem

Re: How do I get the ValueBinding details for a given UIComponent?

2007-06-01 Thread ohfaces
I did that earlier - should have posted this one too. I couldn't figure out how to get the valuebinding details off it though ... Is there a particular key I should be looking for? Thanks in advance! Andrew Robinson-5 wrote: The valueBindingMap of UIComponentBase is not exposed through a

Re: How do I get the ValueBinding details for a given UIComponent?

2007-06-01 Thread Andrew Robinson
What comes to mind: Map attributes = component.getAttributes(); for (Object key : attributes.keySet()) { ValueBinding vb = component.getValueBinding(key.toString()); if (vb != null) ... } On 6/1/07, ohfaces [EMAIL PROTECTED] wrote: I did that earlier - should have posted this one too. I

RE: Exception Handling using JSF/MyFaces and Spring

2007-06-01 Thread Kito D. Mann
-Original Message- From: bansi [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 1:29 PM To: users@myfaces.apache.org Subject: Exception Handling using JSF/MyFaces and Spring I am using JSF MyFaces, Spring, Hibernate . Any pointers/suggestions on how to modify below code

[Trinidad] tr:validator not available in Facelets

2007-06-01 Thread noah
Is there a reason that tr:validator is not in tr.taglib.xml?

Re: Issue with Tomahawk Menu

2007-06-01 Thread Anupama Dande
Hi Mike, Method Signature : public ListNavigationMenuItem getMenu() This problem is intermittent. Every time this happens I have to create a new workspace in Eclipse... and that solves the issue, maybe there is some Caching issue with Eclipse. I am deploying my web application from

Re: Issue with Tomahawk Menu

2007-06-01 Thread Mike Kienenberger
Is it umenu.menu = null or is it umenu = null? On 6/1/07, Anupama Dande [EMAIL PROTECTED] wrote: Hi Mike, Method Signature : public ListNavigationMenuItem getMenu() This problem is intermittent. Every time this happens I have to create a new workspace in Eclipse... and that solves

Re: Problem with Binding in tr:table

2007-06-01 Thread Anupama Dande
Hi Andrew, testObj is Managed Bean and is defined in the faces-config.xml as managed-bean descriptionMy Manager/description managed-bean-nametestObj/managed-bean-name managed-bean-classmyPackage.testObjMgr/managed-bean-class managed-bean-scoperequest/managed-bean-scope

Re: Issue with Tomahawk Menu

2007-06-01 Thread Anupama Dande
Both. --Anu On 6/1/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Is it umenu.menu = null or is it umenu = null? On 6/1/07, Anupama Dande [EMAIL PROTECTED] wrote: Hi Mike, Method Signature : public ListNavigationMenuItem getMenu() This problem is intermittent. Every time this

Re: Problem with Binding in tr:table

2007-06-01 Thread Andrew Robinson
What impl are you using RI or MyFaces? What impl version (i.e. 1.1.5)? If MyFaces, do you have the following listener registered in your web.xml: org.apache.myfaces.webapp.StartupServletContextListener Make sure you have only one JSF API/impl set of Jars in your WAR. Were there any exceptions

Re: Issue with Tomahawk Menu

2007-06-01 Thread Mike Kienenberger
This looks to me like the same issue as with Problem with Binding in tr:table -- your managed beans aren't being initialized. I think Andrew is probably farther along with helping you on that line than I am. On 6/1/07, Anupama Dande [EMAIL PROTECTED] wrote: Both. --Anu On 6/1/07, Mike

Re: Problem with Binding in tr:table

2007-06-01 Thread Anupama Dande
Hi Andrew, Went through the Jars list jsf-api.jar jsf-facelets.jar jsf-impl-messages.jar jsf-impl.jar jstl.jar myfaces-api-1.1.5.jar myfaces-impl-1.1.4.jar tagHandlers-0.9.jar tomahawk-1.1.3.jar trinidad-api-incubator-m1-SNAPSHOT.jar trinidad-impl-incubator-m1-SNAPSHOT.jar I was thinking

Re: Issue with Tomahawk Menu

2007-06-01 Thread Anupama Dande
Hi Mike, Maybe both issues (NavigationMenuItem and the binding) are related. I wasn't able to troubleshoot much. I hope to fix it with help from u guys. This is my first topic on this forum. It is great to get the replies so prompt. Thanks to all of you, Anu On 6/1/07, Mike

Re: tomahawk 1.1.5 and JSF 1.2/Tomcat 6

2007-06-01 Thread rlubke
I'm not able to reproduce. What do you have in WEB-INF/lib? martind wrote: I am using JSF version 1.2_04-b07-FCS. Martin On 5/31/07, rlubke [EMAIL PROTECTED] wrote: What's the exact version of the RI you're using? martind wrote: I would like to use tomahawk 1.1.5

Can't set render-kit-class in MyFaces

2007-06-01 Thread gzoller
Hello, I want to override the default HtmlRenderKitImpl, so in my faces-config.xml I have something like this: render-kit render-kit-idHTML_BASIC/render-kit-id render-kit-classcom.foo.MyHtmlRenderKitImpl/render-kit-class /render-kit I have output

Re: Problem with Binding in tr:table

2007-06-01 Thread Andrew Robinson
choose: jsf-api.jar jsf-impl.jar -or- myfaces-api-1.1.5.jar myfaces-impl-1.1.5.jar (don't mix 1.1.5 1.1.4 -- don't think that works) On 6/1/07, Anupama Dande [EMAIL PROTECTED] wrote: Hi Andrew, Went through the Jars list jsf-api.jar jsf-facelets.jar jsf-impl-messages.jar jsf-impl.jar

Re: Problem with Binding in tr:table

2007-06-01 Thread Anupama Dande
if i remove myfaces-impl-1.1.4.jar it gives me this error SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener *java.lang.ClassNotFoundException*: org.apache.myfaces.webapp.StartupServletContextListener So right now.. my application is

Re: Problem with Binding in tr:table

2007-06-01 Thread Andrew Robinson
You don't want jsf-impl.jar and myfaces-impl*.jar at the same time. They implement the same classes and may cause component and renderer conflicts. So if you want to use myfaces use myfaces-impl-1.1.x.jar and myfaces-api-1.1.x.jar (use x as the same version. 1.1.5 is the most JSF 1.1 compatible)

JSF/MyFaces Integration With WebService/Servlet

2007-06-01 Thread bansi
We are developing a web application based on JSF, Spring and Hibernate and we also have a legacy application written in Oracle PL/SQL Stored Procedures We want legacy application to access web application via a web service and/or servlet. Currently we are able to make a HttpRequest call from

Re: [Trinidad] tr:validator not available in Facelets

2007-06-01 Thread Adam Winer
IIRC, f:validator does everything tr:validator does in Facelets and in JSP+JSF 1.2. It's only in JSP + JSF 1.1 that it's useful, so in all other scenarios you should just use f:validator. -- Adam On 6/1/07, noah [EMAIL PROTECTED] wrote: Is there a reason that tr:validator is not in

Re: Problem with Binding in tr:table

2007-06-01 Thread Anupama Dande
Andrew, It worked... WOW I was struggling for days to solve this issue... n it works now... Thanks to all you guys. You guys r gr8 I had to replace the org.apache.myfaces.webapp.StartupServletContextListener of myfaces with com.sun.faces.config.ConfigureListener in web.xml, and remove

Re: [Trinidad] plugins build broken?

2007-06-01 Thread jtigg3r
I ran into the same problem. (JDK = 1.5.0_07; mvn = 2.0.4) A search on Google reveals that others are having problems with QDox 1.6.1. Some have rolled back to 1.6. I got the plugins to build by editing that line on XRTSParser like so: private MapString, Object _metaHt = new HashMap();