View Single Post
  #4 (permalink)  
Old June 28th, 2007, 08:09
satya_m satya_m is offline
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
satya_m is on a distinguished road
Re: screens

When you take a copy of the file, lets say you have named it 'A' in the same folder(contact). You have deleted some fields in A.

You will be able to view the changes of A in the UI only if you change the
getStyleSheetEditString() method in the PersonContactManagementServlet.java . If you check this method, it points to the xsl that should be displayed when you click on 'New' or 'Edit' . so in this method change the xsl path to 'contact/A.xsl' .

Once the getStyleSheetEditString() method is changed and now it points to your new xsl, the framework will automatically redirect you to the same xsl when you click on 'Create Another' .