Quoting Craig McClanahan <[EMAIL PROTECTED]>:

> On 5/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> 
> > Hi,
> >
> > I'm a software architect and we have a major project coming where I
> > thought our
> > dev team should try new things. So I decided to replace Struts (default
> > option
> > :P) with JSF and Shale. I thought that it would be good when I personally
> > know
> > the limits of JSF and Shale first before I put them into our proposal.
> > For this I've written a small app where the user has to input his personal
> > data
> > in wizard style (dialog) but somehow I cannot go further than the first
> > page
> > >:( No errors or exceptions or something but the first dialog screen keeps
> > opened again and again.
> > I tried to understand what goes on in the Shale's usecases example app
> > (the
> > login and profile creation is also a dialog) and mostly copy/pasted the
> > dialog-config.xml, the jsps and backing beans (I couldn't get the usecases
> > login part to run btw) but with no luck :'(
> >
> >
> > Then I thought my "lone wolf" time is up and I should go and ask someone
> > smarter
> > ;)
> 
> 
> Good plan :-).
> One issue that often bites newbies to JSF (whether or not you use Shale) is
> that the existence of any validation errors on a submitted page will cause
> the input page to be redisplayed -- but if you have no way to see the error
> messages, you don't know why that happened.  Try putting an <h:messages>
> component in your page (set to display all messages for all input fields)
> and see if that helps.
> 
> Craig
> 


WOOHOO!!! Thanks Craig. Now I know the reason why it didn't forward to step 2,
but I'm still stuck :( 
It displays "Conversion error occurred."....for string fields. 
Errr...???

The person bean has all the fields with according getters/setters
        private String firstName;
        private String lastName;
        private String title;
        private Date dateOfBirth;

rgds Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to