WebXml.init must be called before

2006-03-20 Thread Jonathan Sutherland
I am attempting to delpoy to the SAP webAS server. The application works fine with Tomcat 4 but with webAS I get the following error: Error [javax.servlet.ServletException: org.apache.myfaces.webapp.webxml.WebXml.init must be called before!], with root cause [java.lang.IllegalStateException:

built-in javascript for confirmation

2006-03-20 Thread Nicola Benaglia
Hi! I am wonder if it exists a built-in javascript tag to ask for confirmation before proceeding. For example I have a button to delete a record and I want to associate ask a corfirmation before deleting ? Could you please tell if it exists? Thank you, Nico --- Questa mail ed eventuali suoi

WebXml.init must be called before

2006-03-20 Thread Jonathan Sutherland
I am attempting to delpoy to the SAP webAS server. The application works fine with Tomcat 4 but with webAS I get the following error: Error [javax.servlet.ServletException: org.apache.myfaces.webapp.webxml.WebXml.init must be called before!], with root cause [java.lang.IllegalStateException:

Re: built-in javascript for confirmation

2006-03-20 Thread Matthias Wessendorf
Nicola, this page contains some informations about JS and MyFaces / JSF ([1]) -Matthias [1] http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces On 3/20/06, Nicola Benaglia [EMAIL PROTECTED] wrote: Hi! I am wonder if it exists a built-in javascript tag to ask for confirmation

Checkbox by tree implementation

2006-03-20 Thread Jonathan Sutherland
I am a beginner and am looking for a simple example of an implementation with a checkbox integrated in a tree. Is it possible to integrate the check box also in the Tree2 example? Thanks in advance for any help given. Johnny Sutherland

Re: General question to AJAX stuff from the sandbox

2006-03-20 Thread Aleksei Valikov
Hi. the problem of not finding the ajax components should only occur in a row of a dataTable. Not only... I use a lot of programmatically created components. Sometimes they get automatic ids - probably that's the reason. I have tried the dojo inputSuggest in a few applications, never had

Re: jenia and myfaces 1.1.1

2006-03-20 Thread Aleksei Valikov
Hi. Is any one using jenia for popup windows with my faces 1.1.1. we tries using it but got some error during parameter passing. Any confirmation for same will be appreciated. I'm successfully using popupBox, but this is probably not what you need... Bye. /lexi

RE: Fix the Header of Datatable

2006-03-20 Thread Nikita Shah
Hello allI have found a post on the same issue, where this problem is solved.. http://www.mail-archive.com/users%40myfaces.apache.org/msg16386.htmlBut I am not able to yet solve this issue ... My whole jsp code and css is as below, can anyone plzz help on this issue ..?t:dataTable

Re: Checkbox by tree implementation

2006-03-20 Thread Matthias Wessendorf
there is a TreeNodeChecked clazz ([1]) for use case like this. HTH, Matthias [1] http://tinyurl.com/eknbk On 3/20/06, Jonathan Sutherland [EMAIL PROTECTED] wrote: I am a beginner and am looking for a simple example of an implementation with a checkbox integrated in a tree. Is it possible to

MyFaces release date?

2006-03-20 Thread Rogerio Pereira
Hi, Somebody knows the release date for myfaces 1.1.2? I saw a snapshot of version 1.1.3 in myfaces site, this is correct?-- Yours truly (Atenciosamente),Rogério

problems with escape property of HtmlOutputLabel on sun application server

2006-03-20 Thread Dudu
When the application is running on the oracle AppServer, the escapes works fine, but when it is running over SunAppServer the escapes is ignored and tags like br are showed in the page =(ps: I've removed the jsf libs under the folder appserver/lib, without success Thanks

Tobago t:link behaves oddly under IE

2006-03-20 Thread Iryna Stetska
Hi, I have t:link on the page which redirects to some other page (navigate). Sometimes if I click on it under IE once the page will remain unchanged (no action performed). It will only work if I click on it once again. The problem does not exist under Firefox. I am using trunk version of

Re: Tobago sheet column occupies space beyound header boundaries

2006-03-20 Thread Volker Weber
Hi Nazar, AFAIK this was fixed in the last one or two weeks. We saw this also in a app we are developping, but only in IE. Currendly i can't reproduce this behavior. If you still have this problem with svn head please repost and include some info about your environment. Regards, Volker

how to debug...another crptic exception

2006-03-20 Thread Dean Hiller
I am getting the following error from a jsp but it doesn't say which property it can't get a value for. Are there logs I can turn on and how? thanks, dean javax.servlet.ServletException: Could not get property value of component userRegisterForm:_id6

SelectOneChoice and PartialTriggers

2006-03-20 Thread Fábio C . Ríspoli
Title: Mensagem Hi!I am trying to update some af:inputText values when a selection is made on a af:selectOneChoice component. I am using autosubmit = true and a ValueChangeListener on the af:selectOneChoice and set the PartialTrigger on the af:panelForm containing the inputText fields.My

synchronized

2006-03-20 Thread Vladimir Coutinho
If put synchronized in a piece of code it only works for that object. How could I do to make a piece of code synchronized for all calls from my WebApplication. -- Vladimir M Coutinho

Using custom ResponseWriter

2006-03-20 Thread Schaal, Roland
Hi all, I have i.e. three components on my jsp-site. What I want is to use the default ResponseWriter for two of these components and a different MyCustomResponseWriter for the third component. Is there a way to achive this? Thank you Roland Schaal

Property can't be found that's definitely there!

2006-03-20 Thread octoberdan
I'm getting a really weird exception that I don't beleive I should be getting. javax.faces.el.PropertyNotFoundException: Bean: java.util.HashMap$Values, property: shortName Here's the jsf: (take a look at the t:columns) lt;bodygt; lt;f:viewgt; lt;t:dataTable

No variables in t:column header facets! Bug?

2006-03-20 Thread octoberdan
The header will be blank if I do the following [code] t:dataTable id=projectsDataTable var=project value=#{projectBacker.projects} t:column id=projectNameColumn f:facet name=headerh:outputText value=#{project.status}//f:facet h:outputText

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread Andrew Robinson
The header is printed before there is an active row. In your text, you are trying to print the status property of the GLOBAL variable 'project' since there is no 'project' variable in the data table yet. thead ... /thead tbody row iteration starts /tbody There is no project when t:columnf:facet

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread Volker Weber
Hi, you can't access the dataTables 'var' object in headers or footers! octoberdan wrote: The header will be blank if I do the following [code] t:dataTable id=projectsDataTable var=project value=#{projectBacker.projects} t:column id=projectNameColumn f:facet

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread octoberdan
How can I do as I described? Does my other recent post have the same answer? -- View this message in context: http://www.nabble.com/No-variables-in-t%3Acolumn-header-facets%21-Bug--t1312124.html#a3496786 Sent from the MyFaces - Users forum at Nabble.com.

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread octoberdan
From which project (row) should the header value taken? Well, I'm really trying to do this with t:colomns, but I was having some problems with that so I used this as an example. -- View this message in context:

Re: how to debug...another crptic exception

2006-03-20 Thread Dennis Byrne
Explicitly setting the @ids in the page will give a more meaningful error message. Dennis Byrne -Original Message- From: Dean Hiller [mailto:[EMAIL PROTECTED] Sent: Monday, March 20, 2006 08:43 AM To: 'MyFaces Discussion' Subject: how to debug...another crptic exception I am getting

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread octoberdan
I want a column with the shortName of each developer in the list of developers -- View this message in context: http://www.nabble.com/No-variables-in-t%3Acolumn-header-facets%21-Bug--t1312124.html#a3496897 Sent from the MyFaces - Users forum at Nabble.com.

logging question?

2006-03-20 Thread Dean Hiller
I modify tomcat/conf/logging.properties and no matter what i do, I cannot get myfaces logging to work. I am using tomcat 5.5.16. I can get the tomcat logs to log okay, but not myfaces stuff. Here is the bottom of my logging.properties file (I currently have all the tomcat stuff set to info

Using MyFaces with Oracle's JDeveloper

2006-03-20 Thread Mike Duffy
Does anyone have a link to a tutorial or blog entry on using MyFaces with Oracle's JDeveloper? Thx. Mike __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread Andrew Robinson
If you are building a dataTable as a grid with dynamic columns, then using the binding to a dynamic datamodel is probably what you are looking for. On 3/20/06, octoberdan [EMAIL PROTECTED] wrote: I want a column with the shortName of each developer in the list of developers -- View this

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread octoberdan
If you are building a dataTable as a grid with dynamic columns, then using the binding to a dynamic datamodel is probably what you are looking for. Sounds interesting... How would I go about implementing that? -- View this message in context:

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread Andrew Robinson
I actually haven't done it. Here is a start: t:dataTable binding=#{bean.data} / where data is a property that returns an instance of javax.faces.component.UIData. Then you would just build this UIData component programatically in your backing bean. Searching for posts and/or tutorials should

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread Andrew Robinson
You can also use: t:dataTable value=#{bean.data}/ where data in this case is an instance of javax.faces.model.DataModel -Andrew On 3/20/06, Andrew Robinson [EMAIL PROTECTED] wrote: I actually haven't done it. Here is a start: t:dataTable binding=#{bean.data} / where data is a property

myfaces t:dataTable

2006-03-20 Thread Greg
Hello, I have created a sample application which demo's similiar to the myfaces pagedSortTable demo: http://www.devosc.com/pub/myfaces-cars.zip This demo has a new type of DataModel class called a PagedDataModel, which will work with a ListDataModel, and presumably an ArrayDataModel, it might

java.lang.ClassNotFoundException with latest sandbox

2006-03-20 Thread octoberdan
I just built the latest sandbox source from the repository and added it to my project. During deployment I get thrown tons of java.lang.ClassNotFoundException and Unexpected error during load of. Here's an example 13:40:45,352 ERROR [ClassUtils] Class

Re: Fwd: panelTabbedPane serverSideTabSwitch

2006-03-20 Thread Mike Kienenberger
Raihan, Did you get an answer to your question? I'll probably be committing a serverSideTabSwitch patch to MyFaces today or tomorrow, and I can try to take a look at your tld issue if you haven't heard back from anyone else. -Mike On 3/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear

Re: java.lang.ClassNotFoundException with latest sandbox

2006-03-20 Thread octoberdan
I probably should have mentioned: Revision: 387274 -- View this message in context: http://www.nabble.com/%22java.lang.ClassNotFoundException%22-with-latest-sandbox-t1313112.html#a3499606 Sent from the MyFaces - Users forum at Nabble.com.

Re: CommandButton subclass

2006-03-20 Thread Mike Kienenberger
On 3/18/06, Dave [EMAIL PROTECTED] wrote: HtmlCommandButton is a subclass of UICommand. Should I subclass HtmlCommandButton and override queueEvent(), like Yes, I think that should work. Give it a try and see. I am new to creating custom components. How to set it up so that I can use it

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread octoberdan
Thank you for the help! This problem has been bugging me for a long time. -- View this message in context: http://www.nabble.com/No-variables-in-t%3Acolumn-header-facets%21-Bug--t1312124.html#a3499665 Sent from the MyFaces - Users forum at Nabble.com.

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread octoberdan
t:dataTable binding=#{bean.data} / where data is a property that returns an instance of javax.faces.component.UIData. Then you would just build this UIData component programatically in your backing bean. Looking over the classes methods there doesn't seem to be any able to add columns...

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread Andrew Robinson
I think it would be something like: UIData data = new UIData(); UIColumn col = new UIColumn(); data.getChildren().add(col); etc. You are basically building the component tree by hand. I think tomahawk has a columns item too (UIColumns) that may be less work. Has anyone else done this to

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread Mike Kienenberger
UIColumns is basically a UIData turned sideways So you have a data model for your rows, and then you have a second data model for each of your columns. crossDataTable.jsp in myfaces-example-simple gives an example of using it. Live online demo is here -- lets you add columns each submit.

Re: DummyFormUtils.isWriteDummyForm exception with March 15th build

2006-03-20 Thread octoberdan
I'm running into the same problem... is there a work around? Dave Brondsema wrote: Mikhail Grushinskiy wrote: Latest night (March 15th, 2006) build causes the following error at runtime: java.lang.NoSuchMethodError:

Does any one used zk1 for ajax purpose ?

2006-03-20 Thread Legolas Woodland
Hi Does any one used http://zk1.sourceforge.net/ for ajax purpose ? how does it compare with other ajax frameworks? Thanks

Re: DummyFormUtils.isWriteDummyForm exception with March 15th build

2006-03-20 Thread Andrew Robinson
Current SVN works. That is what I resorted to On 3/20/06, octoberdan [EMAIL PROTECTED] wrote: I'm running into the same problem... is there a work around? Dave Brondsema wrote: Mikhail Grushinskiy wrote: Latest night (March 15th, 2006) build causes the following error at runtime:

Re: DummyFormUtils.isWriteDummyForm exception with March 15th build

2006-03-20 Thread octoberdan
That's quite odd... I wonder why I'm still having that problem... Andrew Robinson-5 wrote: Current SVN works. That is what I resorted to On 3/20/06, octoberdan [EMAIL PROTECTED] wrote: I'm running into the same problem... is there a work around? Dave Brondsema wrote: Mikhail

Re: No variables in t:column header facets! Bug?

2006-03-20 Thread octoberdan
Great! Thank you all for the help. Any last pointers? Mike Kienenberger wrote: UIColumns is basically a UIData turned sideways So you have a data model for your rows, and then you have a second data model for each of your columns. crossDataTable.jsp in myfaces-example-simple gives an

Re: DummyFormUtils.isWriteDummyForm exception with March 15th build

2006-03-20 Thread octoberdan
Revision: 387290? Andrew Robinson-5 wrote: Current SVN works. That is what I resorted to On 3/20/06, octoberdan [EMAIL PROTECTED] wrote: I'm running into the same problem... is there a work around? Dave Brondsema wrote: Mikhail Grushinskiy wrote: Latest night (March 15th, 2006)

Re: mouse over..

2006-03-20 Thread Dean Hiller
I wonder if popup would work. I use it for a tree and the mouse over on the graphic in my tree works and pops up a popup menu. I just can't get the actual menu item to work and do what I want(but sounds like you can just use outputText and don't need commandLinks). dean [EMAIL PROTECTED]

Re: how to debug...another crptic exception

2006-03-20 Thread Dean Hiller
sweeet, thanks much, dean Dennis Byrne wrote: Explicitly setting the @ids in the page will give a more meaningful error message. Dennis Byrne -Original Message- From: Dean Hiller [mailto:[EMAIL PROTECTED] Sent: Monday, March 20, 2006 08:43 AM To: 'MyFaces Discussion'

Re: DummyFormUtils.isWriteDummyForm exception with March 15th build

2006-03-20 Thread Andrew Robinson
URL: http://svn.apache.org/repos/asf/myfaces/current Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 387131 Node Kind: directory Schedule: normal Last Changed Author: imario Last Changed Rev: 382077 Last Changed Date: 2006-03-01 09:40:55 -0700 (Wed, 01 Mar 2006) Properties Last

inputCalendar problem

2006-03-20 Thread Matthias Kahlau
Hi! I have a date 18.3.2006 shown in an outputText with a nested convertDateTime with timeZone=Europe/Berlin. If I open an edit form with this date 18.3.2006, the date is shown in an inputCalendar, also with a nested convertDateTime with timeZone=Europe/Berlin. The problem is that the date is

null pointer in myfaces....PLEASE....how to log?

2006-03-20 Thread Dean Hiller
I am now getting two different exceptions that both do not show up in tomcat logs(catalina.2006-03-20.log) at all for some reason. Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)

Re: Is there any add remove List component available ?

2006-03-20 Thread Craig McClanahan
On 1/1/06, Legolas Woodland [EMAIL PROTECTED] wrote: HiThank you for reading my posy.Add remove list is a component that has two list box and two buttonswhich facilitate selection of some items from available list to selectedlist.there is one component like the above but much more completer in

sorry, stupid mistake!!!

2006-03-20 Thread Dean Hiller
I should have looked closer at the stack trace and the fact is does not go through FacesServlet at all.sorry, stupid mistake of a newb. I now get the second exception below in the FacesServlet itself. thanks for any tips on that one, dean Dean Hiller wrote: I am now getting two

newbee question about navigation.

2006-03-20 Thread Legolas Woodland
Thank you for reading my post I have a button in one of my page which i want the application to navigate to another page when user pressed that button . i made the button like the folwoing h:commandButton action=Logout title=Logout label=Logout value=Logout /h:commandButton and my

RE: newbee question about navigation.

2006-03-20 Thread Lance Frohman
try a from-view-id (change mypage.jsp to the real page name): navigation-rule from-view-id/mypage.jsp/from-view-id navigation-case from-outcomeLogout/from-outcome to-view-id/Logout.jsp/to-view-id /navigation-case /navigation-rule

Re: newbee question about navigation.

2006-03-20 Thread Joey Geiger
commandButton and commandLink need to be surrounded by a form. h:form/h:form There are cases where commandLink will work without a form, but I've run into issues with that. Legolas Woodland wrote: Thank you for reading my post I have a button in one of my page which i want the application to

inputCalendar problem

2006-03-20 Thread Matthias Kahlau
Hi! I have a date 18.3.2006 shown in an outputText with a nested convertDateTime with timeZone=Europe/Berlin. If I open an edit form with this date 18.3.2006, the date is shown in an inputCalendar, also with a nested convertDateTime with timeZone=Europe/Berlin. The problem is that the date is

newBee question : what are these additional declaration in web.xml for jsf stuff.

2006-03-20 Thread Legolas Woodland
There are two declaration in web.xml that i can not understand these are : servlet servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup /servlet !-- Faces Servlet Mapping --

Re: newbee question about navigation.

2006-03-20 Thread Legolas Woodland
Thank you , the solution works fine :-) Joey Geiger wrote: commandButton and commandLink need to be surrounded by a form. h:form/h:form There are cases where commandLink will work without a form, but I've run into issues with that. Legolas Woodland wrote: Thank you for reading my post I

Re: newBee question : what are these additional declaration in web.xml for jsf stuff.

2006-03-20 Thread Dean Hiller
yes, I use *.jsf. when a url http://localhost:8080/webapp/page.jsf is called, it calls the jsp in webroot of your war file. I also personally put this in my web.xml. context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.jspx/param-value /context-param This allows

solution to exception(bad error message here)

2006-03-20 Thread Dean Hiller
The solution to my earlier exception was I named the backing bean incorrectly. funny that I did not get bean not exist error(I think I remember getting one from JSF before). Anyways in this case I had a backing bean misnamed in faces-config.xml and I get the very uninformitive exception

How to solve paginationed Data table restore that used in request scope?

2006-03-20 Thread Anthony Hong
I have a backing bean in request scope with a datamodel. Table has pagination function. Pagination logic is embered in backing bean, when click next and previous, data display correct. But if I click a commandLink in dataTable, the rowIndex always correct. But the data object fetched always the

inputDate --Birthday

2006-03-20 Thread Dave
Can I use inputDate for birthday (month,day,year)? I gave it a try, but it seemed it could not handle a birthday that is more than 100 years old. :) Is it ok to use java.util.Date for birthday and store it in database using a Date column? or do I need to store month,day and year in three

jscookmenu - why does getValue() always return a string?

2006-03-20 Thread David Schlotfeldt
Two quick questions. I am using the jscookmenu. I have an actionListener set on a menu item. Here is the JSF code: -- t:jscookMenu id=cmsMenu layout=hbr theme=ThemeOffice t:navigationMenuItem id=nav_1 actionListener=#{menu.onMenuItemAction}

java.lang.NullPointerException during render phase when using ADF and MyFaces Tomahwak components together

2006-03-20 Thread Murray Brandon
Apologies if this topic has been done to death in the group as I've just joined. I'm sure it's something to do with my configuration of web.xml or faces-config.xml, but what? Either the AdfRenderingContext isn't attached to the thread or getProperties() is returning null. I'm using the dump of ADF

Anyone got a working ADF + MyFaces Tomahwak setup?

2006-03-20 Thread Murray Brandon
If so, can you please shoot me a copy of your web.xml and faces-config.xml files? Thanks!

Re: Anyone got a working ADF + MyFaces Tomahwak setup?

2006-03-20 Thread Rogers Reilly
Murray Brandon wrote: If so, can you please shoot me a copy of your web.xml and faces-config.xml files? Thanks! note- I'm using Facelets, Spring, Shale as well. faces-config.xml (relevant parts) faces-config application default-render-kit-id oracle.adf.core

Re: java.lang.NullPointerException during render phase when using ADF and MyFaces Tomahwak components together

2006-03-20 Thread Adam Winer
Murray, You need to install the FaceletViewHandler using: context-param param-nameoracle.adf.view.faces.ALTERNATE_VIEW_HANDLER/param-name param-valuecom.sun.facelets.FaceletViewHandler/param-value /context-param in WEB-INF/web.xml, not in faces-config.xml. Also, not that it's

Re: newBee question : what are these additional declaration in web.xml for jsf stuff.

2006-03-20 Thread Legolas Woodland
Hi Dean, I have changed my web.xml  file as follow : servlet    servlet-nameFaces Servlet/servlet-name    servlet-classjavax.faces.webapp.FacesServlet/servlet-class    load-on-startup1/load-on-startup    /servlet    !-- Faces Servlet Mapping --    servlet-mapping