Re: [Shale] Property in ViewController Backing Bean is null

2006-02-14 Thread Peter Goetz
Hi again, I tried the whole weekend, but I didn't get any results other than those mentioned in the email below. Shall I send some code to illustrate the problem or is it really so unusual, what I'm trying to do? Thanks a lot for any help! Peter Good morning Craig, thank you, I think I'm

Re: [Shale] Property in ViewController Backing Bean is null

2006-02-14 Thread Gary VanMatre
From: Peter Goetz [EMAIL PROTECTED] Hi again, I tried the whole weekend, but I didn't get any results other than those mentioned in the email below. Shall I send some code to illustrate the problem or is it really so unusual, what I'm trying to do? Make sure that you have a

Re: [Shale] Property in ViewController Backing Bean is null

2006-02-14 Thread Jason Vincent
I think you may running into a simular problem that I ran into. I have the following scenario: page 1 has the user choose from a list of options. On page 2, the form saves the selected option of page 1 in a hidden field in its form. In addition the selected value from page 1 is used to populate

AW: Re: [Shale] Property in ViewController Backing Bean is null

2006-02-14 Thread Peter Götz
Hi Jason, I'm a real newbie to JSF and Shale, but maybe the tip that Craig gave me about setting the immediate flag in the commandbutton could help you. Then validation is skipped, as far as I understood it. This helped me with my first problem. Maybe you can use it, too. Then you could

AW: Re: [Shale] Property in ViewController Backing Bean is null

2006-02-14 Thread Peter Götz
Hello Gary! [...] Make sure that you have a navigation rule setup to handle the immediate command button. Try adding a rule that directs you to the target viewid (sounds like the page you are submitting from). If you don't have a navigation case, I think the veiw is just restored using

Re: [Shale] Property in ViewController Backing Bean is null

2006-02-11 Thread Peter Goetz
Good morning Craig, thank you, I think I'm making a progress with your help. I set the immediate flag to true for my commandButton, and my method gets executed as I wanted it to do. In the edit method I set an attribute of the backing bean to its correct value (the person that should be

[Shale] Property in ViewController Backing Bean is null

2006-02-10 Thread Peter Goetz
Hi there! I'm new to Struts, to Shale and to this list, so excuse if I'm asking dumb questions. I have a simple .jsp (personmaintenance.jsp), backed by a backing bean (PersonMaintenance.class. In the jsp I have buttons with actions save, edit, delete, create, for which I defined the

Re: [Shale] Property in ViewController Backing Bean is null

2006-02-10 Thread Peter Goetz
Hello Craig, thank you very much, I didn't know that the action method is not executed when a validation error occurs. That seems to be the problem, because all of my form input fields are required fields and the messages get filled. Is there a way to skip validation on some actions? I would

Re: [Shale] Property in ViewController Backing Bean is null

2006-02-10 Thread Craig McClanahan
On 2/10/06, Peter Goetz [EMAIL PROTECTED] wrote: Hello Craig, thank you very much, I didn't know that the action method is not executed when a validation error occurs. That seems to be the problem, because all of my form input fields are required fields and the messages get filled. Is