Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.10-plugins
-
None
Description
If a converter or a validator references the Id already associated with the existing tag, then the base Faces plugin finds ValidatorBean
or ConverterBean for the existing tag instead of creating a new bean instance. This means that we cannot create validator/converter tags
in ADF Faces that reference converter/validator IDs defined in Trinidad.
The proposed fix is to add new extension properties in metadata: mfp:root-converter-id and mfp:root-validator-id. If these are defined, Facelet tag generation will write out the 'root' (real) Id instead of the ID specified as validator-id or converter-id. This will allow us to use new (fake)
IDs as validator-id/converter-id to distinguish the new tags, while still writing out the correct Id in the .taglib.xml.