Re: how checked a radio from selectOneRadio

2007-01-10 Thread mathias °ö°
i have a solution: i set up the initial value in faces-config.xml managed-property property-nameure/property-name property-classjava.lang.String/property-class valueyes/value /managed-property mathias °ö° wrote: ok, i changed it. but its not the reason it does not work. which I

avoid back button with t:saveState

2007-01-10 Thread viorel.chelaru
hi, i work with myfaces 1.1.4 and tomahawk 1.1.3; i use request scoped backing beans and t:saveState for every section of my application, because i want to save the state of the backing beans during 3-4 pages per section; this works fine ... but my problem is that if do logOut() on one of my

Re: Error on page on sorting t:dataTable

2007-01-10 Thread Marius Oancea
I've tried to get rid of preserveDataModel=true preserveSort=true for the moment - nothing helped. Anybody has any clue how can i pass this javascript error? Error appears only when i click on the column to be sorted. Thanx begin:vcard fn:Oancea Marius n:Marius;Oancea org:Hermann Oberth

Problem with InputFileUpload and ValueChangeListener for InputCalendar component

2007-01-10 Thread akil prasad
Greetings, We are facing problem in adding files with the help of inputFileUpload component. We dynamically add rows to the table with the help of listDataModel and we have the fileUpload component in each of these rows. Consider the following scenario, the user adds one row and with the

Re: All, please read ...

2007-01-10 Thread Ted Husted
True. But the JavaDocs, tutorials, and FAQs don't write themselves. The sad truth is that by the time the volunteers doing the coding have done their part, there is very little time and energy left for documentation. (Aside form the source code, which is the only true documentation.) The

Any reason why t:inputCalendar doesn't work when using Opera?

2007-01-10 Thread Bjørn T Johansen
When I press the calendar icon to open the calendar, nothing happens... It works ok using Firefox and IE, but not Opera... Is this a known limitation of the calendar? Regards, BTJ -- --- Bjørn T

RE: Any reason why t:inputCalendar doesn't work when using Opera?

2007-01-10 Thread mario.buonopane
Application Server? -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: 10 gennaio 2007 11.41 To: users@myfaces.apache.org Subject: Any reason why t:inputCalendar doesn't work when using Opera? When I press the calendar icon to open the calendar, nothing happens...

Re: Any reason why t:inputCalendar doesn't work when using Opera?

2007-01-10 Thread Bjørn T Johansen
I am using Tomcat but should that make any difference? BTJ On Wed, 10 Jan 2007 12:12:54 +0100 [EMAIL PROTECTED] wrote: Application Server? -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: 10 gennaio 2007 11.41 To: users@myfaces.apache.org Subject: Any

RE: Any reason why t:inputCalendar doesn't work when using Opera?

2007-01-10 Thread mario.buonopane
On WebSphere 6.1 there is a bug that IBM is resolving. -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: 10 gennaio 2007 12.30 To: users@myfaces.apache.org Subject: Re: Any reason why t:inputCalendar doesn't work when using Opera? I am using Tomcat but should

AW: Re: AW: Re: AW: Re: [Tobago] Problem with input validation and tab group (again)

2007-01-10 Thread H. Swaczinna
Hello Bernd, I'll test this and the other issue tomorrow morning after the nightly build. Regards Helmut Hello Helmut, I add all pending changes to tabGroup. Can you test the tabGroup, please. Please add a comment to https://issues.apache.org/jira/browse/TOBAGO-237 Regards Bernd Bernd

Can you share your experience of JSF?

2007-01-10 Thread Danny Angus
Hi, I'm hoping someone here can help me, I've been asked by my boss as part of a review of our ICT strategy to find a company in the UK who has introduced the use of JSF to their development. We're hoping to find someone who we could discuss the practical benefits and drawbacks that they have

how to programmatically setAction for any command component

2007-01-10 Thread Madhav Bhargava
Hi All, It is easy to set the action for a ActionSource component when the action name is a valueReference pointing to a method. Following code will do it: if (UIComponentTag.isValueReference(action)) { ((ActionSource) component).setAction(FacesContext

how to programmatically setAction for any command component

2007-01-10 Thread Madhav Bhargava
Hi All, It is easy to set the action for a ActionSource component when the action name is a valueReference pointing to a method. Following code will do it: if (UIComponentTag.isValueReference(action)) { ((ActionSource) component).setAction(FacesContext

highlight

2007-01-10 Thread JS
Hi , I have 2 selectmanylistbox. In the first select box I have data from the database. The second one will be filled when the user selects items from the first one. Here I can I make it highlighted programatically in the second list box ? Could you please give me an example ? Please help me.

Re: Error on page on sorting t:dataTable

2007-01-10 Thread Cristi Toth
Hi Marius, try to set: preserveDataModel=false preserveSort=false sortable=true (it turns on automatic sorting on all columns - if you want) Cristi Toth == Codebeat www.codebeat.ro On 1/10/07, Marius Oancea [EMAIL PROTECTED] wrote: I've tried to get rid of preserveDataModel=true

RE: how to programmatically setAction for any command component

2007-01-10 Thread Madhav Bhargava
Found the answer: MethodBinding mb = new SimpleActionMethodBinding(action) - action will be the string - essentially the outcome. From: Madhav Bhargava [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 6:54 PM To: MyFaces Discussion Subject: how to

Re: highlight

2007-01-10 Thread Harlan Iverson
I'm not completely clear on what you're saying you want; but there is a tomahawk sandbox component that does what I think you're saying. I can't endorse it as I haven't used it yet, but I hope it helps. http://myfaces.apache.org/sandbox/selectManyPicklist.html Harlan On 1/10/07, JS [EMAIL

Re: highlight

2007-01-10 Thread Jeff Bischoff
Harlan Iverson wrote: I'm not completely clear on what you're saying you want; but there is a tomahawk sandbox component that does what I think you're saying. I can't endorse it as I haven't used it yet, but I hope it helps. http://myfaces.apache.org/sandbox/selectManyPicklist.html I'm using

how to programmatically setAction for any command component

2007-01-10 Thread Madhav Bhargava
Hi All, It is easy to set the action for a ActionSource component when the action name is a valueReference pointing to a method. Following code will do it: if (UIComponentTag.isValueReference(action)) { ((ActionSource) component).setAction(FacesContext

Re: How to capture events generated by components

2007-01-10 Thread Andrew Robinson
All events are propagated through the parent heirarchy of components. Typically, the renderer creates events and adds them to their respective components in the decode method. Then the component processes the event in the method: public void broadcast(FacesEvent event) So, the event is

RE: onload comp-jsf

2007-01-10 Thread Yaron Spektor
I am using MyEclipse to build the JSF capabilities for me. It is using MyFaces 1.1.1 Int the onload documentation it says it was tested with that version, so I guessed it was the best bet.

Re: How to capture events generated by components

2007-01-10 Thread Madhav Bhargava
Andrew, Thanks a lot your help. Another way that i tried will be to make my LeftNavComponent a listener to any ActionEvent that is generated from my TopBarComponent. All i need to do is provide an implementation for processAction. Let me know if i can face problems in this approach. Thanks,

Core 1.1.5 changes behaviour of f:attribute, breaks my app

2007-01-10 Thread Jeff Bischoff
Greetings colleagues, I have used in my web pages a pattern that apparently was not safe, yet it worked fine with all versions of MyFaces until the current trunk (1.1.5). Basically, when I needed to make sure a certain bean was instantiated before using non-JSF EL, I preceded the statement

[Tobago] readonly has no effect in tc:selectBooleanCheckbox

2007-01-10 Thread H. Swaczinna
Hello, the readonly attribute of tc:selectBooleanCheckbox has no effect. It is not rendered into the HTML code. Regards Helmut

Re: Core 1.1.5 changes behaviour of f:attribute, breaks my app

2007-01-10 Thread Paul Spencer
Jeff, I am not sure of the correct behavior. Have you tested with Sun's RI? Paul Spencer Jeff Bischoff wrote: Greetings colleagues, I have used in my web pages a pattern that apparently was not safe, yet it worked fine with all versions of MyFaces until the current trunk (1.1.5).

[Tobago] How to handle error during Ajax requests

2007-01-10 Thread H. Swaczinna
Hello, when an Ajax request failes, for example in a tabGroup with switchType reloadTab, I always see this message: Server Error: Fehler beim Bearbeiten der Anfrage. M�glicherweise ein Session Timeout! Is there a possibility to change (the ö) or customize this message? Or handle the error in

Re: Core 1.1.5 changes behaviour of f:attribute, breaks my app

2007-01-10 Thread Simon Kitching
Jeff Bischoff wrote: Greetings colleagues, I have used in my web pages a pattern that apparently was not safe, yet it worked fine with all versions of MyFaces until the current trunk (1.1.5). Basically, when I needed to make sure a certain bean was instantiated before using non-JSF EL, I

JSF Dropdown Converter Issues

2007-01-10 Thread bansi
I am having problems with JSF 1.1_01 (MyFaces 1.1.1). I have created page called page.jsp as follows: . . . . h:selectOneMenu value=#{test.selectedDevice} id=deviceTypeList styleClass=dropdown f:selectItems value=#{test.deviceTypes} / ajax:support action=#{test.loadDevice} event=onchange

Re: JSF Dropdown Converter Issues

2007-01-10 Thread Mike Kienenberger
You need to register or otherwise specify your converter for DeviceType. Put an entry like this in a faces-config.xml file and it'll be automatically used whenever the object in the SelectItem is a DeviceType. converter converter-for-classyourpackage.DeviceType/converter-for-class

Re: unexpected input while looking for attr name or '/'

2007-01-10 Thread nyon
yes you are right. I got this problem because of my included script file. In the .js file there is a condition like var1var2. When parsing the ReducedHtmlParser class takes var2 as a tag and tried to find a closing one for it. Finding nothing it then logs a warning which quickly fills my

how to selectively persist a page data (essentially a form)

2007-01-10 Thread Madhav Bhargava
Hi, I have a unique requirement: I have a form that has numerous fields which the user needs to fill up. Consider the following scenario: 1. User is in the middle of filling up a form. 2. The user needs to urgently go to some other part of the web application by clicking some other link. 3.