Author: dpillot
Date: Wed Jun 20 17:40:33 2007
New Revision: 719
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D719&repname=
=3Dcorporate_portal_templates_v2
Log:
avoid nfe in some case
Modified:
branches/JAHIA-5-0-SP-BRANCH/src/jsp/box/groupsContainer.inc
Modified: branches/JAHIA-5-0-SP-BRANCH/src/jsp/box/groupsContainer.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/src/jsp/box/groupsContainer.inc&rev=3D719&repname=3Dcorporate_porta=
l_templates_v2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/src/jsp/box/groupsContainer.inc (original)
+++ branches/JAHIA-5-0-SP-BRANCH/src/jsp/box/groupsContainer.inc Wed Jun 20=
17:40:33 2007
@@ -1,18 +1,18 @@
<%--
Copyright 2002-2006 Jahia Ltd
=
-Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDD=
L), =
-Version 1.0 (the "License"), or (at your option) any later version; you ma=
y =
-not use this file except in compliance with the License. You should have =
-received a copy of the License along with this program; if not, you may ob=
tain =
-a copy of the License at =
+Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDD=
L),
+Version 1.0 (the "License"), or (at your option) any later version; you may
+not use this file except in compliance with the License. You should have
+received a copy of the License along with this program; if not, you may ob=
tain
+a copy of the License at
=
http://www.jahia.org/license/
=
-Unless required by applicable law or agreed to in writing, software =
-distributed under the License is distributed on an "AS IS" BASIS, =
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. =
-See the License for the specific language governing permissions and =
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
limitations under the License.
--%><%
// the query from the user's request in an edit context
@@ -38,7 +38,7 @@
thequery.setValue(groupQueryString);
thequery.save(jParams);
}
- if (gdisplay =3D=3D null) {
+ if (gdisplay =3D=3D null || gdisplay.equals("")) {
gdisplay =3D thelimit.getValue();
} else {
thelimit.setValue(gdisplay);
@@ -47,7 +47,7 @@
=
// in case of null values
if (groupQueryString =3D=3D null || groupQueryString.equals("null")) g=
roupQueryString =3D "";
- if (gdisplay =3D=3D null) gdisplay =3D "5";
+ if (gdisplay =3D=3D null || gdisplay.equals("")) gdisplay =3D "5";
=
=
%>
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list