Custom Component Binding

2006-04-14 Thread Miller, John
Hi, I am trying to write a custom component and am having some trouble with the binding. Specifically I Create 2 MyFaces Components in my renderer class, for some reason the two date components are not binding. If anyone can help or point me to a custom component article that renders

RE: Working with large tables

2006-02-03 Thread Miller, John
t:dataTable id=events value=#{eventDataList.dataModel} var=event rows=#{eventDataList.recordsPerPage} preserveDataModel=false forceIdIndexFormula=#{event.eventId} renderedIfEmpty=true rowIndexVar=rIndex style=width:100%; is

pageTrail component

2006-01-25 Thread Miller, John
Does anyone know of a component that keeps track of the trail of pages youve been to as to be able to traverse back. I recall seeing a thread on this months ago, but cannot find it. We have an immediate need for this component, so if one doesnt exist I plan on writing one over the next few

Common submit button not working in IE 5

2006-01-24 Thread Miller, John
The Common Submit button does not seem to work in the Faces examples for IE5. This can be seen by going to the tabbedPane.jsf page of the sample and clicking the Common Submit button and nothing happen. The Code seems to work fine in Firefox. I am also noticing this same behavior in my own

Problem double click dataScroller

2006-01-17 Thread Miller, John
Has anyone seen issues double clicking dataScroller. I am going to try and reproduce with the examples app, and am not sure if its the dataScroller of buffer, but will follow up with the findings from the examples app. The behavior I have seen in my app is either an empty response with a

Shale and MyFaces

2006-01-16 Thread Miller, John
Can someone explain if there would be any reason to consider Shale if not converting an existing STRUTS application. I/We are currently moving an existing custom web app (not struts) to a standard framework (JSF/MyFaces). I have seen a lot of discussion about using Shale and MyFaces together.

RE: dataScroller

2006-01-12 Thread Miller, John
DataScroller by default will not render if there is only one page of data, however the facets will, you can turn this off by simply adding the following attribute to your datascroller renderFacetsIfSinglePage=false From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Getting an exception with the ExtensionsFilter

2006-01-11 Thread Miller, John
... On 1/11/06, Miller, John [EMAIL PROTECTED] wrote: Has anyone one seen this before. It only happens in IE, never in firefox, and it is somewhat intermittent. I have included all JSP code at the bottom, It is somewhat urgent because I am presenting to move over to JSF on Tues, and have

RE: Getting an exception with the ExtensionsFilter

2006-01-11 Thread Miller, John
- From: Miller, John [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 4:40 PM To: MyFaces Discussion Subject: RE: Getting an exception with the ExtensionsFilter I think it is something else, I can reproduce, by checking Show Closed, Click Apply, uncheck Show Closed, click Apply

RE: dataTable with two rows per data row

2006-01-06 Thread Miller, John
Why not just let the cell wrap and set the width of that column to like 70% using css?? Doesn't answer your question, but just an idea -Original Message- From: Robert Parsons [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 8:57 PM To: users@myfaces.apache.org Subject:

Problem with the PagedListDataModel from WIKI

2006-01-05 Thread Miller, John
Has anyone seen a problem like this? Any help would be greatly appreciated! I have a dataTable/dataScroller combo Here is some of the code t:commandButton value=Update Event Status / t:buffer into=#{eventTable} t:dataTable id=events value=#{eventDataList.data} var=event

RE: Problem with the PagedListDataModel from WIKI

2006-01-05 Thread Miller, John
To clarify I can reproduce the problem by simply changing the 1 line in the jsp where my bean has both ways to access the data: t:dataTable id=events value=#{eventDataList.data} var=event To t:dataTable id=events value=#{eventDataList.dataModel} var=event From: Miller

RE: unit testing in myfaces applications

2006-01-04 Thread Miller, John
I will be looking into a Mock FacesContext Object over the next 2 weeks, as the ability to JUnit EventListeneners will be critical for me to be able to move my company to jsf. Once I come up with something worthwhile I will add it to wiki -Original Message- From: [EMAIL PROTECTED]

RE: unit testing in myfaces applications

2006-01-04 Thread Miller, John
-shale/features-test-framework.html On 1/4/06, Miller, John [EMAIL PROTECTED] wrote: I will be looking into a Mock FacesContext Object over the next 2 weeks, as the ability to JUnit EventListeneners will be critical for me to be able to move my company to jsf. Once I come up with something

RE: Setting value to a HtmlInputDate component

2006-01-04 Thread Miller, John
Have you tried a Date -Original Message- From: Luiz Carlos Geron [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 2:02 PM To: users@myfaces.apache.org Subject: Setting value to a HtmlInputDate component Hi All, I'm trying to set the value of a HtmlInputDate componente but I'm

RE: Reset the dataScroller Page Number

2005-12-29 Thread Miller, John
); // Set a new dataModel for the table table.setValue(getDataModel()); Regards, Yee From: Miller, John [mailto:[EMAIL PROTECTED] Sent: Thursday, 29 December 2005 1:41 AM To: MyFaces Discussion Subject: RE: Reset the dataScroller Page Number To Clarify, I want to add an action

Reset the dataScroller Page Number

2005-12-28 Thread Miller, John
Could anyone tell me the best way to reset a dataScrollers page number to 1 from within an actionListenter? Thanks ! NOTICE: This message, including all attachments transmitted with it, is for the use of the addressee only. It may contain proprietary, confidential and/or legally

RE: dataScroller implementation

2005-12-22 Thread Miller, John
: Re: dataScroller implementation take a look into the t:buffer component 2005/12/21, Miller, John [EMAIL PROTECTED]: This is related to the RE: Tobago SheetRenderer calls getter for list twicely. Thread. It appears that where the dataScroller is on a page determines when

RE: dataScroller implementation

2005-12-22 Thread Miller, John
interesting about this thread is that both Simon and Mike didn't find the solution to your problem! That must have occurred exactly _once_ since they both are on the mailing list... Now, what's up guys? Any excuse? ;) regards, Martin On 12/22/05, Miller, John [EMAIL PROTECTED] wrote: I believe

RE: Is this a bug with buffer that anyone knows a workaround for -

2005-12-22 Thread Miller, John
I have taken the off the input control and added a separate control which seems to have made the problem go away. Still not sure why I got the behavior but is no longer a problem for me From: Miller, John [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 11:12 AM

dataScroller implementation

2005-12-21 Thread Miller, John
This is related to the RE: Tobago SheetRenderer calls getter for list twicely. Thread. It appears that where the dataScroller is on a page determines when in the lifecycle it obtains information about the dataModel. I have a datable with a dataScroller on the top and bottom. There is a

Multiple JSF inputs bound to the same property in the same form

2005-12-13 Thread Miller, John
Can anyone offer an elegant solution to this (i.e. some JSF functionality that solves this problem) I have various command components in a tile. I need to put this tile at the top and bottom of a data table. I had it working by having the form defined within the command component tile,

valueChangeListeners and Datatables

2005-12-12 Thread Miller, John
I am getting some unexpected behavior using a valueChangeListener in a dataTable. I have a dataTable that renderers a list of beans that have a status attributes displayed as a select control. The valuechangelistener updates the DB when the user clicks submit. NOTE: I do not submit the form

RE: valueChangeListeners and Datatables

2005-12-12 Thread Miller, John
I resolved this issue. This behavior was my fault, the dataTable was not enclosed in a form. Apologies for sending anyone on a wild goose chase it was just a stupid developer error From: Miller, John [mailto:[EMAIL PROTECTED] Sent: Monday, December 12, 2005 11:29 AM To: users

RE: Error adding dataScroller before my UIData

2005-12-07 Thread Miller, John
Kitching wrote: Miller, John wrote: I need to add a dataScroller to both the top and bottom of my dataTable. However I get an exception when putting it before the dataTable is defined (i.e. in the header) saying it cant find the UIData element. Does anyone know the solution for this (other

Error adding dataScroller before my UIData

2005-12-06 Thread Miller, John
I need to add a dataScroller to both the top and bottom of my dataTable. However I get an exception when putting it before the dataTable is defined (i.e. in the header) saying it cant find the UIData element. Does anyone know the solution for this (other than adding it after the datatable and

RE: naming conventions in faces-config.xml

2005-12-06 Thread Miller, John
Thanks for all the help. Embedding the dataScroller and dataTable within another JSF component worked. -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 10:24 AM To: MyFaces Discussion Subject: Re: naming conventions in faces-config.xml