[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-2304) optimize on namespacing

Chris Laprun (JIRA) jira-events at lists.jboss.org
Wed Feb 4 18:40:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBPORTAL-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12451216#action_12451216 ] 

Chris Laprun commented on JBPORTAL-2304:
----------------------------------------

_jbpns_2fadmin_2fMembers_2fIdentityAdminPortletWindowsnpbj:j_id39:roles-form:userlist:1:delete-role-link => jbpnsIdentityAdminPortletWindowsnpbj:j_id39:roles-form:userlist:1:delete-role-link now. The rest is under JSF control. Needs to be tested.

A better solution in terms of space (though probably not speed) would be to compute a hash for the namespace which could compress the window name into maybe 4-5 characters. Not sure what the impact would be in terms of speed, though.

> optimize on namespacing
> -----------------------
>
>                 Key: JBPORTAL-2304
>                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2304
>             Project: JBoss Portal
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Portal Core
>    Affects Versions: 2.7.1 Final
>            Reporter: Prabhat Jha
>            Assignee: Chris Laprun
>             Fix For: 2.7.2 Final
>
>
> See if we can shorten namespace like _jbpns_2fadmin_2fMembers_2fIdentityAdminPortletWindowsnpbj:j_id39:roles-form and 
> if(typeof jsfcljs == 'function'){jsfcljs(document.getElementById('_jbpns_2fadmin_2fMembers_2fIdentityAdminPortletWindowsnpbj:j_id39:roles-form'),{'_jbpns_2fadmin_2fMembers_2fIdentityAdminPortletWindowsnpbj:j_id39:roles-form:userlist:1:delete-role-link':'_jbpns_2fadmin_2fMembers_2fIdentityAdminPortletWindowsnpbj:j_id39:roles-form:userlist:1:delete-role-link','currentRole':'User'},'');}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list