Reply To: How to validate the type of your attributs?

Splash Forums PrettyFaces Users How to validate the type of your attributs? Reply To: How to validate the type of your attributs?

#24688

Hey there William,

Sorry it took me so long to get back to you. I think I know what is wrong here.

First thing that stands out to me, is that you are trying to use a JSF navigation case from PrettyFaces – as far as I know this doesn’t work very well, and isn’t really intended to work.

You could try creating a URL-mapping for your error page and using the mapping id in onError.

The other things that stand out to me:

1. <to-view-id>//erreur500.xhtml</to-view-id> – Why two ‘/’ forward slashes?
2.##{form.age} – Why two ‘#’ hashes?

If the above doesn’t solve your problem:
What version of PrettyFaces are you using? What version of JSF? Which app-server? What does the rest of your pretty config look like? (This info typically helps us debug.)

Thanks,
I hope this helps give you somewhere to start,
~Lincoln