tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adriaan Joubert (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2236) Strip of _ suffix in class transformation
Date Wed, 05 Mar 2008 10:27:41 GMT
Strip of _ suffix in class transformation

                 Key: TAPESTRY-2236
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2236
             Project: Tapestry
          Issue Type: Improvement
         Environment: Tapestry 5.0.11-SNAPSHOT
            Reporter: Adriaan Joubert


our convention is to use an _ suffix for fields, rather than a prefix. Tapestry cannot naturally
transform these field names where needed. Could you please change 

org.apache.tapestry.ioc.internal.util.InternalUtils.stripMemberPrefix(String memberName)

to strip an _ suffix as well. The following addition should do the job

       while (builder.length>0)
            char ch = builder.charAt(builder.length-1);

            if (InternalUtils.NAME_PREFIX.indexOf(ch) < 0) break;




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

To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org

View raw message