otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Branding, Screen Sets, XSL/CSS and Translations Customizing and Branding the UI of OTM / G-Log for your site, using Custom Screen Sets, Menu Managers, XSL/CSS customizations, Translations and more.

Tags:

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 26th, 2007, 09:07
Junior Member
 
Join Date: Jun 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
neelimachenta is on a distinguished road
Question [SOLVED] screens

I modified the contacts screen by modifying the CommonContact xsl file, in modified screen I want only the contact id , first name, last name, phone1, email address, location. So, I remove the code except the require code in personcontact template which is present in the CommonContact xsl file.

After entering the data in the modified screen, I click the finished button then I move to the result screen, in the result screen I have the buttons like create another, modify another, view, view log etc. If I click the create another it opens the original screen not the modified screen.

What are the modifications I should do, In order to open the modified screen when I click the create another button?

thank you.......
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old June 27th, 2007, 03:59
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

Your problem seems to be the same like sn1405 has in the thread 'Contacts screen'.

I have tried the same thing at my end(removed some fields from commoncontacts.xsl) and my 'CreateAnother' button takes me to the modified xsl. Its working fine. Let me know if you have changed any of the following:

1. PersonContactManager.xsl

2. Person_contact.xml ( finder set xml)

3. PersonContactManagementServlet.java

Before doing the above check, check whether the link on 'CreateAnother' button is something like this

http://localhost/GC3/glog.webserver.contact.PersonContactManagementServ let/1182919085953?a=b&new=y

Note: Like i have written earlier in the other thread, this CommonContacts.xsl is a common file used across different UI in GC3, so its not advisable to change this xsl unless your requirement says that this change should reflect in all other UI.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old June 27th, 2007, 08:18
Junior Member
 
Join Date: Jun 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
neelimachenta is on a distinguished road
Re: screens

I took the copy of PresonContactManager.xsl file,in that I delete the top, step button code and also in the personcontact template I delete the preference and I delete the client_corporation code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old June 28th, 2007, 07:09
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' .

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Screens in OTM Shob Branding, Screen Sets, XSL/CSS and Translations 1 November 29th, 2007 07:52
[SOLVED] Exporting more than 1000 records to Excel - Screens and Reports chrisplough Reports / FTI and Other Analytics 0 September 26th, 2007 12:43



All times are GMT. The time now is 20:32.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37