StreamingAddResource with JSF 1.2

2007-10-26 Thread CarlHowarth
Hello, Is it still the case in MyFaces 1.2.0 that using this: org.apache.myfaces.ADD_RESOURCE_CLASS org.apache.myfaces.component.html.util.StreamingAddResource with the Tomahawk document/documentHead/documentBody provides a performance enhancement? Are there any known issues usin

Faces 1.2 Command Button ActionListener Problem

2007-09-07 Thread CarlHowarth
Hello there, I have taken the plunge to start using MyFaces 1.2 (I've experience with 1.1.*). I have run into a strange problem that hopefully somebody will be able to help with. I have a standard h:commandButton with an actionListener, the code for which is in a standrad request-scoped backing

Immediate property on self-submitting drop-down

2007-08-14 Thread CarlHowarth
Hello there, I have a select one menu in a file that is included on all pages of my webapp. This is to change the language of the site based on user's preference. I have included onchange="submit();" and immediate="true" however the immediate property appears to be ignored and validation occurs o

Re: [Solved] ERROR: Value is not a valid option

2007-02-27 Thread CarlHowarth
gt;> > > > >> > > > On Mon, 2007-02-26 at 11:23 -0500, Kevin Galligan wrote: >> > > > > I'm having the same problem. I had some code that was working >> for a >> > > > > long time with 1.1.5-SNAPSHOT, and now I'm

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread CarlHowarth
Hi, I am having this problem too. My select one is set up as follows: - This was working fine with 1.1.4 but since the upgrade to 1.1.5 it now falls over. - The application bean is at application scope, so the values should always be available. - The converter changes an ID to a

Re: [Solved] "Validation error" "Value is not a valid option" appeared since upgrade to 1.1.5

2007-02-22 Thread CarlHowarth
ppreciated. Many thanks in advance, Carl CarlHowarth wrote: > > Hello there, > > I have just upgraded to MyFaces 1.1.5 from 1.1.4 and have come across a > problem with the UISelectOne component, using a custom converter. When my > form is submitted I now get a message on s

"Validation error" "Value is not a valid option" appeared since upgrade to 1.1.5

2007-02-21 Thread CarlHowarth
Hello there, I have just upgraded to MyFaces 1.1.5 from 1.1.4 and have come across a problem with the UISelectOne component, using a custom converter. When my form is submitted I now get a message on screen: Validation Error Region List: "regionList": Value is not a valid option. Where 'regionL

Dynamic Datatable CommandSortHeader Problem

2007-01-29 Thread CarlHowarth
Hi there, I have a strange problem with a datatable that I am generating on the fly (since the user may choose the columns they wish to appear). It all appears to be working just fine, except for the sortation under certain circumstances. On first load of the page, all sortation works without a

Re: download file breaks lifecycle

2007-01-19 Thread CarlHowarth
Hello, I posted a question previously relating to this that unfortunately has not had any replies - I'm hoping to get this resolved I have the same problem whereby the file's downloaded then any subsequent action on the page causes the file to re-download. I have added the saveSerializedView

convertDateTime short year entry

2007-01-15 Thread CarlHowarth
Hello there, I have a JSF app which allows date entry. My default pattern is the UK style (dd/mm/), however I would also like to allow shortened entry (dd/mm/yy). If I try and enter a date in that fashion today's date of 15/01/07 is amended to 15/01/0007. The tags are set up as follows:

Re: Error using inputHidden with resource file

2006-11-29 Thread CarlHowarth
Sorry, just got the response re output text - this works well with the display:none. Cheers, Carl CarlHowarth wrote: > > Hi, > > I'm trying to return javascript alerts for certain error messages in my > application, however I want to get the text from a resource fil

Re: Error using inputHidden with resource file

2006-11-29 Thread CarlHowarth
.errorMesage}" > > and remove the leading 'X' in javascript. > > Regards, > Volker > > 2006/11/29, CarlHowarth <[EMAIL PROTECTED]>: >> >> Hi Gerald, >> >> Unfortunately style is not a valid attribute of the inputHidden cont

Re: Error using inputHidden with resource file

2006-11-29 Thread CarlHowarth
eems that you need a hidden outputText > element, which will only be read but never posted back. > > I would suggest to set display:none in the style (or styleClass) and > that should do the job. > > cheers, > > Gerald > > On 11/29/06, CarlHowarth <[EMAIL PR

Error using inputHidden with resource file

2006-11-29 Thread CarlHowarth
Hi, I'm trying to return javascript alerts for certain error messages in my application, however I want to get the text from a resource file. I have added an inputHidden control and set its value to the text in the resource file. In the javascript I return the text from the inputHidden control's

Querying data on row creation in a dataTable

2006-11-23 Thread CarlHowarth
Hello there, I have a datatable is populated with a collection of items, and I want to query each item that is returned to determine whether or not the currently user has the rights to view/edit the item, thus returning the relevant icon/link. The Item bean is unaware of which user is logged in

Re: DataScroller/DataTable positioning

2006-11-01 Thread CarlHowarth
> > <%-- Second scroller --%> >columnClasses="standardTable_ColumnCentered" > >for="TheInvoiceReportDataTable" > ... > > > > > > ... > > > > > > > > Regards, > > Jeff Bischof

DataScroller/DataTable positioning

2006-11-01 Thread CarlHowarth
Hello there, I want to place my datascroller above my datatable - is this possible? I have added a condition to the scroller that makes sure it only gets rendered when there are enough rows: rendered="#{BackingBean.recordCount} > 20}" When the count does exceed 20 I get the facets appearing bu

users@myfaces.apache.org

2006-10-06 Thread CarlHowarth
Hi, I have an app that uses the tomahawk savestate component to save the state of the backing bean. I have just tried bind a selectonemenu component to the backing bean however as the HtmlSelectOneMenu class is not serializable I get an error as this can not be saved. If I change to session scop

commandLink commandButton differences in file download behaviour problem

2006-10-03 Thread CarlHowarth
Hello there, Hopefully someone can help - I have looked through the existing queries and can't just find what I'm after. I have a main record with asociated files - the files are uploaded through my web app and are downloaded from the same page that lists the files in a dataTable. I have a seri

Re: Strange actionListener/component value problem

2006-09-21 Thread CarlHowarth
any errors may happen? > > regards, > > Gerald > > On 9/21/06, CarlHowarth <[EMAIL PROTECTED]> wrote: >> >> Hi again, >> >> I have been having a look at the custom converters and have written one >> that >> should handle any potential n

Re: Strange actionListener/component value problem

2006-09-21 Thread CarlHowarth
Gerald Müllan wrote: > > Hi, > > have you inserted a t:messages tag into the page in order to see if > any errors may happen? > > regards, > > Gerald > > On 9/21/06, CarlHowarth <[EMAIL PROTECTED]> wrote: >> >> Hi again, >> >> I have

Re: Strange actionListener/component value problem

2006-09-21 Thread CarlHowarth
or Cayenne) rather than for the id value. > > Are you allowed to arbitrarily change the > BackingBean.object.subObject.id value in Hibernate? Is this really > doing what you want it to do? I use Cayenne, so I can't say, but > normally I want to set a variable to the data object re

Re: Strange actionListener/component value problem

2006-09-21 Thread CarlHowarth
n for the id value. > > Are you allowed to arbitrarily change the > BackingBean.object.subObject.id value in Hibernate? Is this really > doing what you want it to do? I use Cayenne, so I can't say, but > normally I want to set a variable to the data object returned, not set > an id on an existing

Re: Strange actionListener/component value problem

2006-09-20 Thread CarlHowarth
: > > Did you register an appropriate converter for the data types of your > select items? > > On 9/20/06, CarlHowarth <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have a strange issue with a JSF page I am working on... >> >> When I set the val

Strange actionListener/component value problem

2006-09-20 Thread CarlHowarth
Hi, I have a strange issue with a JSF page I am working on... When I set the value of a selectOneMenu component to a property of my backing bean, my action listeners stop being fired. If I set the value of my selectOneMenu to a property of an object stored on my backing bean they work again. Th

within dataTable

2006-08-23 Thread CarlHowarth
Hello all, Apologies if this has already been covered, I have not been able to find a suitable response to help me with this issue. I have a page that displays data in a datatable, and also displays a couple of dates independent of the table. All information is being drawn from the same backing