You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2010/01/20 13:14:54 UTC

[jira] Reopened: (CLK-599) Support private and protected bindable variables

     [ 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.