Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 56001 invoked from network); 20 Jan 2010 12:15:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2010 12:15:19 -0000 Received: (qmail 41280 invoked by uid 500); 20 Jan 2010 12:15:17 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 41262 invoked by uid 500); 20 Jan 2010 12:15:17 -0000 Mailing-List: contact click-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-dev@incubator.apache.org Received: (qmail 41230 invoked by uid 99); 20 Jan 2010 12:15:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 12:15:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 12:15:15 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C507234C1E9 for ; Wed, 20 Jan 2010 04:14:54 -0800 (PST) Message-ID: <1197608456.367801263989694507.JavaMail.jira@brutus.apache.org> Date: Wed, 20 Jan 2010 12:14:54 +0000 (UTC) From: "Bob Schellink (JIRA)" To: click-dev@incubator.apache.org Subject: [jira] Reopened: (CLK-599) Support private and protected bindable variables In-Reply-To: <1813805687.1261978829531.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLK-599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bob Schellink reopened CLK-599: ------------------------------- I received the following exception when trying to edit a customer in the advanced-form example: java.lang.IllegalAccessException: Class ognl.OgnlRuntime can not access a member of class org.apache.click.examples.page.EditCustomer with modifiers "protected" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) at java.lang.reflect.Field.doSecurityCheck(Field.java:960) at java.lang.reflect.Field.getFieldAccessor(Field.java:896) at java.lang.reflect.Field.set(Field.java:657) at ognl.OgnlRuntime.setFieldValue(OgnlRuntime.java:1154) at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:76) at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:131) at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1670) at ognl.ASTProperty.setValueBody(ASTProperty.java:101) at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177) at ognl.SimpleNode.setValue(SimpleNode.java:246) at ognl.Ognl.setValue(Ognl.java:476) at org.apache.click.util.PropertyUtils.setValueOgnl(PropertyUtils.java:170) at org.apache.click.ClickServlet.processPageRequestParams(ClickServlet.java:1167) at org.apache.click.ClickServlet.initPage(ClickServlet.java:1107) at org.apache.click.ClickServlet.createPage(ClickServlet.java:928) at org.apache.click.ClickServlet.handleRequest(ClickServlet.java:347) at org.apache.click.ClickServlet.doGet(ClickServlet.java:261) > Support private and protected bindable variables > ------------------------------------------------ > > Key: CLK-599 > URL: https://issues.apache.org/jira/browse/CLK-599 > Project: Click > Issue Type: Improvement > Components: core > Affects Versions: 2.1.0 RC1 > Reporter: Bob Schellink > Assignee: Malcolm Edgar > Fix For: 2.1.0 > > > A common complaint against Apache Click is its use of public bindable variables. > Would be good if Click supports binding of private and protected variables as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.