You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2017/11/27 10:35:09 UTC

[struts-site] 01/02: Fixes reference to OGNL

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 6096b3e51a71e445c39bca3a86382083d0532357
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Wed Nov 15 08:55:53 2017 +0100

    Fixes reference to OGNL
---
 source/getting-started/form-validation-using-xml.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/getting-started/form-validation-using-xml.md b/source/getting-started/form-validation-using-xml.md
index 473cf8b..c7c95ed 100644
--- a/source/getting-started/form-validation-using-xml.md
+++ b/source/getting-started/form-validation-using-xml.md
@@ -116,7 +116,7 @@ In the example application, we want to ensure the user checks at least one of th
 </validator>
 ```
 
-The param name="expression" node contains an OGNL expression that evaluates to true or false. We haven't previously discussed OGNL, which stands for Object-Graph Navigation Language (see [https://github.com/jkuhnert/ognl](https://github.com/jkuhnert/ognl) and [OGNL](../core-developers/ognl.html) ). OGNL expressions can be evaluated by the Struts 2 framework as Java statements.
+The param name="expression" node contains an OGNL expression that evaluates to true or false. We haven't previously discussed OGNL, which stands for Object-Graph Navigation Language (see [https://github.com/jkuhnert/ognl](https://github.com/jkuhnert/ognl) and [OGNL](../tag-developers/ognl.html) ). OGNL expressions can be evaluated by the Struts 2 framework as Java statements.
 
 In the above XML the value of the param name="expression" node, personBean.carModels.length \> 0, will be evaluated by the framework as a Java statement. The part personBean.carModels tells the framework to call the getCarModels method of class Person. That method returns an Array. Since class Array has a length attribute, the framework will get the value of the length attribute of the Array returned by the getCarModels method.
 

-- 
To stop receiving notification emails like this one, please contact
"commits@struts.apache.org" <co...@struts.apache.org>.