Hi guys,
I have a seam web application and for one page I have an hardcoded parameter like:
docCodesFrom=ClinicContactsView
In DocCodesEdit.page.xml I declare it simple like:
<param name="docCodesFrom"/>
The problem is that after I am loading the DocCodesEdit.xhtml page, when I press the cancel button (which redirects back to the page I was before) I receive a very strange error:
java.lang.String cannot be cast to javax.faces.validator.Validator
so it's complaining about this docCodesFrom parameter....
The link which does the propagation to the page where I press Cancel is:
<s:link view="/#{empty from ? 'DocCodes' : from}View.xhtml"
value="#{empty from ? 'View' : 'Select'}"
propagation="#{empty from ? 'none' : 'default'}"
id="docCodesViewId">
<f:param name="docCodesId"
value="#{_docCodes.id}"/>
<f:param name="docCodesFrom" value="ClinicContactsView"/>
</s:link>I have spent three hours on this and cannot figure the cause...
Do you see the issue?