|
|
Re: Is it possible to check if parameter allows null at rendering time? [message #827762 is a reply to message #827539] |
Fri, 23 March 2012 19:07 |
|
I believe it was deprecated in favor of using:
* @return whether the parameter is required.<br>
* the rule for String type is:
* <li>isRequired=true, allowNull and allowBlank are false</li>
* <li>isRequired=false, allowNull and allowBlank are true</li>
* <br>
* for other type like integer:
* <li>isRequired=true, allowNull and allowBlank are false</li>
* <li>isRequired=false, allowNull and allowBlank are true</li>
*/
boolean isRequired( );
Jason
On 3/23/2012 9:23 AM, Alexey Romanov wrote:
> Oh right, I can just check if IParameterDefnBase is an
> IScalarParameterDefn and cast it. But why is
> IScalarParameterDefn.allowNull() deprecated?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03106 seconds