question about configuring the inputDate element

2010-04-28 Thread lunarb01
I have a question regarding the inputDate element. In the default implementation, the datepicker popup shows about 30 different years. However I want to use it to pick a birth date. Therefore I would like it to show about a hundred years. Is there a way to configure the inputDate element to

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Rudy De Busscher
Tom, I quickly assembled the add-on I was thinking about a few months ago. You can find it here (1) If you check out the code and do a mvn install in the requiredLabel directory, the add-on is locally available. You then can use it in your project by including following dependency in your POM.

[Trinidad] : Lightweight dialog issue with Firefox

2010-04-28 Thread Venkat Ramanan Viswanathan
When trying to open a lightweight dialog in Firefox, the calling page reloads over and over again and the dialog doesn't show up. Is someone else facing a similar problem ? However for IE and chrome light weight dialogs appear fine. I am using Firefox 3.6.3 . The application uses Trinidad 2 –

Re: [Trinidad] : Lightweight dialog issue with Firefox

2010-04-28 Thread Jozef Dropco
Hi, I am using trinidad 1.2.13 and I had similar problem the dialog does not show. I found solution I had on button partialSubmit=true when I removed it lightweight dialog appear. If I used popup windows the partialSubmit worked on button. Jozef On 28.4.2010 12:32, Venkat Ramanan

Re: question about configuring the inputDate element

2010-04-28 Thread Leonardo Uribe
Hi I checked t:inputDate and there is no property to configure that. But it is possible to provide your own javascript for the component, setting the javascriptLocation property, copying the default resources and changing the function org_apache_myfaces_PopupCalendar.prototype._constructYear in

Re: [Trinidad] : Lightweight dialog issue with Firefox

2010-04-28 Thread schneidc
I have the same problem, but only with certain instances of Firefox. On some PCs it's working in Firefox on others it isn't but with Chrome or Safari it always does. So far I couldn't figure out what's causing the problem. But as it is working in the majority of the firefoxes, so far I can live

Re: [Trinidad] : Lightweight dialog issue with Firefox

2010-04-28 Thread Luka Surija
Firefox 3.6 changed/dropped some proprietary JavaScript functions. I know there was a patch for this issue, but don't remember the version. On 04/28/2010 12:32 PM, Venkat Ramanan Viswanathan wrote: When trying to open a lightweight dialog in Firefox, the calling page reloads over and over

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Gerhard Petracek
hi, @rudy: thx for committing it to the sandbox. i reused some parts of it and combined it with my suggestion. as mentioned by rudy - esp. for extval-constraints it's better to use component initializers. however, the bv module is a bit different. it's also possible to use component

AW: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Tom M.
Hi Gerhard, hi Rudy, thanks for your explanation so far. MetaData, Transformers, Component Initializers and so on have become clear(er) to me now. Thanks for the coded add-on which covers some more aspects than I thought of (possibly EL expression in the label’s value, etc.) and which is

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Gerhard Petracek
hi tom, yes - the add-on i'll commit will also work with bv! regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2010/4/28 Tom M. mynewsgro...@arcor.de Hi Gerhard, hi Rudy,

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Gerhard Petracek
hi, i committed the first versions of the add-ons at [1] and [2]. - you are welcome to test it! regards, gerhard [1] http://code.google.com/p/os890/source/browse/#svn/trunk/java/web/jsf/extval/required_label [2]