Yeah, the problem is I saw that, and actually also copied the English.lproj 
directory (I had forgotten that, did it a while ago) and edited the 
Localizable.strings

{
  "Nav.Entity1s" = "<span>Entity1</span>";
...
  
  "ERD2W.advancedFindButtonLabel" = "Advanced...";
  
}

I also tried it with Entity1 rather than the plural.  (basing it one the 
NavigationMenu.plist.  I am not 100% clear on the association between this and 
the rule file.

Anyway, apparently there is also an 
ERXNavigationManager.localizeDisplayKeys=true that I needed to set in 
Properties.  NOW the tabs appear.

WOO HOO!

OK, so, to add it to an existing project, you need to:

1. Created a new framework (for your custom version of the default skin)
2. Copy the WSR from ERModernDefaultSkin into the new skin framework.
3. Add er.modern.look.skinframework = MySkin to the skin's Properties file in 
resources
4. Copy the d2w.d2wmodel file from the default skin into the new skin's 
resources folder
5. Add the skin to the project.
If based on ERModernMoviesDemo:
6. Copy the user.d2wmodel file from ERModernMoviesDemo into the app's resources 
(modifying it so it displayed the proper entities instead of movies)
7. Copy the Session, DirectAction and Application contents from 
ERModernMoviesDemo into my app (making appropriate changes to the package etc)
8. Copy the contents of PageWrapper into my own PageWrapper (and changed the 
rule to have pageWrapperName point to the new wrapper) - including wod and html
9. If you want copy the MenuHeader or I replace the MenuHeader in the wrapper 
with the ERXNavigationMenu and add the navigationContext method from the 
MenuHeader class in ERModernMoviesDemo
10. Copy the NavigationMenu.plist from ERModernMoviesDemo into mine, and 
changed the entities appropriately
11. Copy the English.lproj folder from ERModernMoviesDemo to the new project 
and edit the Localizable.strings to display the proper information from the 
NavigationMenu.plist

This seems to have worked for me.....  so far.

Thanks to everyone


On Jun 10, 2010, at 10:56 AM, David Holt wrote:

> 
> 
> On 2010-06-10, at 7:44 AM, "Andrew R. Kinnie" <akin...@mac.com> wrote:
> 
>> OK . . . I started typing that in, and realized something I missed . . . I 
>> copied the ERModernMoviesDemo d2w.d2wmodel file, but did not copy the 
>> ERModernDefaultSkin d2w.d2wmodel file into the skin.
>> 
>> Now it works.  Mostly.  The tab panel's tabs are not tabs, but rather 
>> strings running together.
> 
> This one is easy ;-)
> 
> If you edit the localizable strings file you will see that the words needs to 
> be wrapped in <span> tags. CSS issue. See demo for examples. Also, check the 
> archives of this and the wonder list where David explains what is going on 
> here.
> 
> David
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to