neharob / prettyfaces

Automatically exported from code.google.com/p/prettyfaces
0 stars 0 forks source link

It should be possible to attach validators to parameters by name, not just index #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
<pattern value="/path/#{p1}/#{p2}">
   <validator param="p2" validatorIds="val1 val2" />
</pattern>

Original issue reported on code.google.com by lincolnb...@gmail.com on 1 Jul 2010 at 3:24

GoogleCodeExporter commented 9 years ago
Nobody is asking for this.

Original comment by lincolnb...@gmail.com on 2 Oct 2011 at 6:43

GoogleCodeExporter commented 9 years ago
Isnt' there already a converter support with a simmilar syntax? I would say if 
the converter thing is available then validators should also be attachable to 
parameters!

Original comment by christia...@gmail.com on 2 Oct 2011 at 7:32

GoogleCodeExporter commented 9 years ago
No, converters can only be attached to parameters using the index, not the name 
(just like validators).

Original comment by chkalt on 3 Oct 2011 at 10:16