You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2008/12/05 19:14:36 UTC

[jira] Commented: (WW-2814) Can't access an "id" named property in template

    [ https://issues.apache.org/struts/browse/WW-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45147#action_45147 ] 

James Holmes commented on WW-2814:
----------------------------------

Is there anything you are still proposing to be done to the Struts framework? If not, we should close this ticket.

> Can't access an "id" named property in template
> -----------------------------------------------
>
>                 Key: WW-2814
>                 URL: https://issues.apache.org/struts/browse/WW-2814
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.11.2, 2.1.2
>            Reporter: S. Grünewald
>
> You can't access a property "id" in a new/modified template (e.g. form.ftl)  via ${id} or ${Request.id} or ${Request['id']}. 
> You can access other properties e.g. ${name} and even id but only if you use an other getter e.g. 
> int getMyId(){
>    return getId();
> } 
> then ${myId} works.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.