Re: Java Certificates applying to WebObjects
Re: Java Certificates applying to WebObjects
- Subject: Re: Java Certificates applying to WebObjects
- From: John Pollard <email@hidden>
- Date: Thu, 20 Nov 2014 15:40:01 +0000
Bart,
Very sorry for the slow reply, here are some notes I made when I did this with an Inrax Client java application. I found that it worked ok using IE on windows (for me I had a copy of Win XP on VMware fusion on my Mac which I used). I think I have mangled all the private bits!
Renewing with Tucows. 3yr, $195 Use IE on Win XP (as described below)
By email they told me:
The process for renewing your code signing certificate with Comodo is the same as when you first purchased with us. Simply sign into your Author Resource Center account at https://author.tucows.com/ then look to the the left where you'll find a link that says Code Signing Certificates. There, you can choose the length of your certificate and proceed to purchase. The expiration date will coincide with the date of your new purchase; the remaining days do not roll over. Take into consideration that it can take a few business days for Comodo to complete the validation process once you have provided your information.
Process: http://revolution.screenstepslive.com/s/revolution/m/10695/l/92953-purchasing-a-code-signing-certificate-for-windows-from-tucows
Questions on the cert. page:
(Optional) Enter the Contact Email Address to appear in your Certificate: email@hidden
I kept the default values for the rest:
CSP: Microsoft Enhanced Cryptography Provider 1.0
Key Size: 2048
Key Storage: In the CSP?
Exportable: yes
User protected: no
On Next, the IE browser pops up a message that say it is requesting a certificate for me, Agree
I then entered my first and last name and agreed to the licence agreement
Then: "Your details have been received and are awaiting validation...
Now wait until Comodo approve the certificate request before the certificate can be retrieved and signed
I had to email a bank statement to email@hidden and you can also email that address to check on progress. They then email me a link like https://secure.comodo.net/products/CollectCodeSigningCert?collectionCode=T3OcK3XXXXXXX [DO ON IE AGAIN] which pops up a window about installing a certificate, agree to that.
Again, do the next step from IE on Win XP to save a lot of trouble and then once installed in IE browser, export from there and use the resulting file which is a .pfx (type of keystore), see
https://support.comodo.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=225
Based on this web page:
In IE, Tools, Internet Options, Content, Certificates
Select the certificate in the list and Export...
Next, Yes Export the Private Key
PFX type and tick only "Include all certificates in the certificate path if possible"
Add a password to protect the key
View the keystone file content:
keytool -list -storetype pkcs12 -keystore file.pfx
Keystore type: PKCS12
Keystore provider: SunJSSE
Your keystore contains 1 entry
824ae68XXXXXXXXXXXXXXXXd8b5-20e8-4320-9751-fabea7c3665f, Dec 3, 2013, PrivateKeyEntry,
Certificate fingerprint (MD5): C6:BC:4A:71:6C:AA:FE:C5:3E:9D:0E:D8:XXXXXXXXX
The comodoKS.pfx file is then put on dev box under mpl/security and on deployment boxes under /Users/admin/wo and the signJar script in that directory must be updated to have the mangled string that is seen within the keystore listing, viewed as described above.
Alter signJar to refer to the correct new cert. keystore file and then signAllJarsComodo
My signJar script is passed the name of each jar file that needs signing (all of them including 3rd party ones) contains:
echo YOUR_PASSWORD | jarsigner -storetype pkcs12 -keystore ./comodoKS_20161202.pfx $1 824XXXXXXXXXXXXa7beccad581_5c84d8b5-20e8-4320-9751-fabea7c3665f
where you change YOUR_PASSWORD and $1 is the jar file passed to the script as a single argument and the last bit is your private key
I hope that helps
John
> On 7 Nov 2014, at 21:25, jazzsalsa <email@hidden> wrote:
>
> Hi list, John,
>
> I would be interested to know how to use Java certificates in Webobjects applications.Can you send the procedure to the list?
>
> Thanks, Bart
>
>
>> On 7 Nov 2014, at 14:30, email@hidden wrote:
>>
>> Send Webobjects-dev mailing list submissions to
>> email@hidden
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.apple.com/mailman/listinfo/webobjects-dev
>> or, via email, send a message with subject or body 'help' to
>> email@hidden
>>
>> You can reach the person managing the list at
>> email@hidden
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Webobjects-dev digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: displaying an uploaded swf (Paul Hoadley)
>> 2. Re: displaying an uploaded swf (Theodore Petrosky)
>> 3. Component caching? (Mark Wardle)
>> 4. Re: Java Certificates applying to WebObjects (John Pollard)
>> 5. Re: Component caching? (Johann Werner)
>> 6. Re: D2W Tiered Navigation (Flavio Donadio)
>> 7. Re: D2W Tiered Navigation (Theodore Petrosky)
>> 8. Re: D2W Tiered Navigation (Theodore Petrosky)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Fri, 07 Nov 2014 10:04:29 +1030
>> From: Paul Hoadley <email@hidden>
>> To: Theodore Petrosky <email@hidden>
>> Cc: WebObjects-Dev <email@hidden>
>> Subject: Re: displaying an uploaded swf
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=windows-1252
>>
>> Hi Ted,
>>
>> On 7 Nov 2014, at 5:22 am, Theodore Petrosky <email@hidden> wrote:
>>
>>> I am trying to use this:
>>>
>>> <object type="application/x-shockwave-flash"
>>> data="your-flash-file.swf" width="0" height="0">
>>> <param name="movie" value="your-flash-file.swf" />
>>> <param name="quality" value="high"/>
>>> </object>
>>>
>>> I was thinking I could adjust the data and value to be WOStrings. I am passing the attachment to my page and I wanted to access the attachment in the data element like
>>>
>>> data=<wo:WOString value = "$attachData"/ >
>>>
>>> where attachData:
>>>
>>> public String attachData() {
>>> String returnString = theAttachment().toString();
>>> return returnString;
>>> }
>>>
>>> which returns in the HTML:
>>>
>>> <object type="application/x-shockwave-flash" data="<er.attachment.model.ERFileAttachment" pk:"1">="" width="100" height="100">
>>> <param name="movie" value="<er.attachment.model.ERFileAttachment" pk:"1">="" <param="">
>>> </object>
>>
>> I’m not sure I can solve your larger problem, but if you’re trying to set attribute values in the rendered HTML, the best approach is to use WOGenericContainer or WOGenericElement. For example:
>>
>> <wo:WOGenericContainer elementName=“object” type=“application/x-shockwave-flash” data=“$attachData” …>
>> <wo:WOGenericElement elementName=“param” name=“movie” value=“$filename” />
>> …
>> </wo:WOGenericContainer>
>>
>> You would then need a method attachData() to return the value for the ‘data' attribute, and filename() to return the value for the ‘value' attribute. These are obviously just examples—I’m otherwise not sure how to achieve what you want, though calling toString() on ERAttachment can’t be right, can it?
>>
>>
>> --
>> Paul Hoadley
>> http://logicsquad.net/
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 06 Nov 2014 22:23:51 -0500
>> From: Theodore Petrosky <email@hidden>
>> To: Paul Hoadley <email@hidden>
>> Cc: WebObjects-Dev <email@hidden>
>> Subject: Re: displaying an uploaded swf
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=windows-1252
>>
>> Paul,
>>
>> Thank you, Thank you! the perfect push in the right direction. here’s my solution.
>>
>> at the bottom of this page:
>>
>> http://jenkins.wocommunity.org/job/Wonder/javadoc/er/attachment/package-summary.html
>>
>> there is information about custom viewers. so I added to my properties file:
>>
>> er.attachment.mimeType.application/x-Shockwave-Flash.viewer=com.eltek.components.TPSWFDefaultViewer
>>
>> Then I created a new component in my app TPSWFDefaultViewer. HTML:
>>
>> <webobject name = "SWFContainer"><webobject name = "params"/></webobject>
>>
>> WOD:
>>
>> SWFContainer: WOGenericContainer {
>> elementName="object";
>> type="application/x-shockwave-flash";
>> data=attachmentUrl;
>> }
>>
>>
>> params : WOGenericElement {
>> elementName = "param";
>> name = "movie";
>> value = attachment.fileName;
>> }
>>
>>
>> public String attachmentUrl() {
>> WOContext context = context();
>> ERAttachment attachment = attachment();
>> return ERAttachmentProcessor.processorForType(attachment).attachmentUrl(attachment, context.request(), context);
>> }
>>
>>
>> I then added two rules to create a link on the ListInsertions page:
>>
>> 100 : (pageConfiguration = 'ListInsertion' and propertyKey = 'theSWF') => componentName = "D2WCustomComponent" [com.webobjects.directtoweb.Assignment]
>> 100 : (pageConfiguration = 'ListInsertion' and propertyKey = 'theSWF') => customComponentName = "DisplaySWFComponent" [com.webobjects.directtoweb.Assignment]
>>
>> when you click the link, you get a dummy page with the swf embedded in the midst of a fictitious newspaper’s home page.
>>
>> The end result HTML:
>>
>> <object _componentname="com.eltek.components.TPSWFDefaultViewer" type="application/x-shockwave-flash" data="/cgi-bin/WebObjects/ASClientApproval.woa/attachments/id/1/1.swf"><param name="movie" value="1.swf" id="theSWF"></object>
>>
>>
>> BTW, This project is to allow my vendor, to upload swf ads, then my client will log in and be able to see an example page with the swf embedded with text and other ads.
>>
>> I don’t know what I would do without WO.
>>
>> Thanks again for the push.
>>
>> Ted
>>
>> On Nov 6, 2014, at 6:34 PM, Paul Hoadley <email@hidden> wrote:
>>
>>> Hi Ted,
>>>
>>> On 7 Nov 2014, at 5:22 am, Theodore Petrosky <email@hidden> wrote:
>>>
>>>> I am trying to use this:
>>>>
>>>> <object type="application/x-shockwave-flash"
>>>> data="your-flash-file.swf" width="0" height="0">
>>>> <param name="movie" value="your-flash-file.swf" />
>>>> <param name="quality" value="high"/>
>>>> </object>
>>>>
>>>> I was thinking I could adjust the data and value to be WOStrings. I am passing the attachment to my page and I wanted to access the attachment in the data element like
>>>>
>>>> data=<wo:WOString value = "$attachData"/ >
>>>>
>>>> where attachData:
>>>>
>>>> public String attachData() {
>>>> String returnString = theAttachment().toString();
>>>> return returnString;
>>>> }
>>>>
>>>> which returns in the HTML:
>>>>
>>>> <object type="application/x-shockwave-flash" data="<er.attachment.model.ERFileAttachment" pk:"1">="" width="100" height="100">
>>>> <param name="movie" value="<er.attachment.model.ERFileAttachment" pk:"1">="" <param="">
>>>> </object>
>>>
>>> I’m not sure I can solve your larger problem, but if you’re trying to set attribute values in the rendered HTML, the best approach is to use WOGenericContainer or WOGenericElement. For example:
>>>
>>> <wo:WOGenericContainer elementName=“object” type=“application/x-shockwave-flash” data=“$attachData” …>
>>> <wo:WOGenericElement elementName=“param” name=“movie” value=“$filename” />
>>> …
>>> </wo:WOGenericContainer>
>>>
>>> You would then need a method attachData() to return the value for the ‘data' attribute, and filename() to return the value for the ‘value' attribute. These are obviously just examples—I’m otherwise not sure how to achieve what you want, though calling toString() on ERAttachment can’t be right, can it?
>>>
>>>
>>> --
>>> Paul Hoadley
>>> http://logicsquad.net/
>>>
>>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Fri, 07 Nov 2014 09:33:17 +0000
>> From: Mark Wardle <email@hidden>
>> To: WebObjects-Dev Mailing List List <email@hidden>
>> Subject: Component caching?
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi. I’m generating a PDF report :
>>
>> WOComponent page = ERXApplication.application().pageWithName(componentName(), privateContext());
>> page.takeValueForKey(obj, "object");
>> page.takeValueForKey(report, "report");
>> WOResponse response = page.generateResponse();
>> report.setInterimHtml(response.contentString());
>>
>> This looks up a named WOComponent and generates the response, storing the HTML and allowing users to fine-tune the HTML in a web-based HTML editor. This has worked perfectly previously.
>>
>> Now I have added a custom “display boolean” component which is used within the report WOComponent. This is a stateless component but it displays the same value again and again when in production. In development, the component works properly.
>>
>> It is like the content of the component is being cached inappropriately. I thought component caching was related to caching the contents of the WOD file, not the bindings.
>>
>> Does anyone have any thoughts? Debugging this on a production machine quite tricky so if anyone can thing of something obvious, I’ll try that first!
>>
>> Thanks,
>>
>> Mark
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.apple.com/archives/webobjects-dev/attachments/20141107/120133f6/attachment.html>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Fri, 07 Nov 2014 09:42:05 +0000
>> From: John Pollard <email@hidden>
>> To: "email@hidden" <email@hidden>
>> Subject: Re: Java Certificates applying to WebObjects
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Daniel,
>>
>> If this is a Java Code Signing certificate, we use Tucows https://author.tucows.com/ to buy a Comodo certificate which cost $195 for a 3 year renewal last time round. If you need more info, let me know and feel free to email off list on this one.
>>
>> John
>>
>>> On 5 Nov 2014, at 16:41, Beatty, Daniel D CIV NAVAIR, 474300D <email@hidden> wrote:
>>>
>>> Greetings gang,
>>> Has any of you had any experience with a client that need a certificate for WebObjects to tell the JRE that it is safe to run? It seems that I have some requirements coming down saying that side from the certificate for the web site (HTTPS) itself, there also needs to be a certificate for the JRE, similar to Apple's developer certificate with its sandbox technology.
>>>
>>> If so, does anyone have a procedure that we can follow.
>>>
>>> V/R,
>>> Daniel Beatty, Ph.D.,
>>> IEEE Certified Software Development Professional (CSDP)
>>> Computer Scientist
>>> Code 474300D
>>> 1 Administration Circle. M/S 1109
>>> China Lake, CA 93555
>>> email@hidden
>>> (760)939-7097
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Fri, 07 Nov 2014 11:20:59 +0100
>> From: Johann Werner <email@hidden>
>> To: Mark Wardle <email@hidden>
>> Cc: WebObjects-Dev Mailing List List <email@hidden>
>> Subject: Re: Component caching?
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=utf-8
>>
>> Hi Mark,
>>
>> do you cache the binding values within your component? When using stateless components you need to clean any local variables yourself within the reset method.
>>
>> jw
>>
>>
>>> Am 07.11.2014 um 10:33 schrieb Mark Wardle <email@hidden>:
>>>
>>> Hi. I’m generating a PDF report :
>>>
>>> WOComponent page = ERXApplication.application().pageWithName(componentName(), privateContext());
>>> page.takeValueForKey(obj, "object");
>>> page.takeValueForKey(report, "report");
>>> WOResponse response = page.generateResponse();
>>> report.setInterimHtml(response.contentString());
>>>
>>> This looks up a named WOComponent and generates the response, storing the HTML and allowing users to fine-tune the HTML in a web-based HTML editor. This has worked perfectly previously.
>>>
>>> Now I have added a custom “display boolean” component which is used within the report WOComponent. This is a stateless component but it displays the same value again and again when in production. In development, the component works properly.
>>>
>>> It is like the content of the component is being cached inappropriately. I thought component caching was related to caching the contents of the WOD file, not the bindings.
>>>
>>> Does anyone have any thoughts? Debugging this on a production machine quite tricky so if anyone can thing of something obvious, I’ll try that first!
>>>
>>> Thanks,
>>>
>>> Mark
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Fri, 07 Nov 2014 11:27:44 -0200
>> From: Flavio Donadio <email@hidden>
>> To: WebObjects-Dev Mailing List List <email@hidden>
>> Subject: Re: D2W Tiered Navigation
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=windows-1252
>>
>> Hello, all...
>>
>>
>> Does anyone have any other idea why checking "Builds Automatically" in the Project menu isn't working for me?
>>
>> Theodore is right: the rules defining navigationState are needed. But every time I change "user.d2wmodel", I have to clean the project and build it again.
>>
>> If my memory is right, just clicking "Clear D2W Cache" (on the "ERD2WDebugFlags" box on the bottom right of the pages) used to apply new rules...
>>
>>
>> Cheers,
>> Flavio
>>
>> On 06/11/2014, at 17:32, Flavio Donadio <email@hidden> wrote:
>>
>>> Theodore,
>>>
>>>
>>> It's checked. :(
>>>
>>>
>>> Cheers,
>>> Flavio
>>>
>>> On 06/11/2014, at 17:27, Theodore Petrosky <email@hidden> wrote:
>>>
>>>> sounds like the “Builds Automatically” selection wasn’t checked. For most of the magic to happen, Builds Automatically must be selected under the Project menu.
>>>>
>>>> Ted
>>>>
>>>> On Nov 6, 2014, at 2:15 PM, Flavio Donadio <email@hidden> wrote:
>>>>
>>>>> Theodore,
>>>>>
>>>>>
>>>>> Cleaned the project, built it again... Worked.
>>>>>
>>>>> I swore I had done that before... I mean, a BUNCH of times...
>>>>>
>>>>>
>>>>> Cheers,
>>>>> Flavio
>>>>>
>>>>> On 06/11/2014, at 17:07, Flavio Donadio <email@hidden> wrote:
>>>>>
>>>>>> Theodore,
>>>>>>
>>>>>>
>>>>>> Just tried it again, the way you said. Still doesn't work.
>>>>>>
>>>>>> Also, when I tried to use direct acion names (instead of actions), I got a page with "Access denied" on it.
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> Flavio
>>>>>>
>>>>>>
>>>>>> On 06/11/2014, at 16:49, Theodore Petrosky <email@hidden> wrote:
>>>>>>
>>>>>>> they don’t show up because you need to set rules
>>>>>>>
>>>>>>> 100 : pageConfiguration like ‘*Product*' => navigationState = “Products" [com.webobjects.directtoweb.Assignment]
>>>>>>>
>>>>>>> be very careful with the plurals and such. Names must match exactly.
>>>>>>>
>>>>>>> Ted
>>>>>>>
>>>>>>>
>>>>>>> On Nov 6, 2014, at 1:43 PM, Flavio Donadio <email@hidden> wrote:
>>>>>>>
>>>>>>>> Hello, all!
>>>>>>>>
>>>>>>>>
>>>>>>>> Here I come again!
>>>>>>>>
>>>>>>>> This time, I am having the same problem Pascal had back in June. Please, check the "Can't see the tabs in D2W app" thread... Which means... My tiered navigation is not working. The "subtabs" don't show up.
>>>>>>>>
>>>>>>>> Here's my NavigationMenu.plist:
>>>>>>>>
>>>>>>>> (
>>>>>>>> {
>>>>>>>> name = Root;
>>>>>>>> directActionClass = DirectAction;
>>>>>>>> directActionName = default;
>>>>>>>> children = ("Products");
>>>>>>>> },
>>>>>>>> {
>>>>>>>> name = "Products";
>>>>>>>> action = "session.navController.listProductsAction";
>>>>>>>> children = ("ListProduct","CreateProduct");
>>>>>>>> },
>>>>>>>> {
>>>>>>>> name = "ListProduct";
>>>>>>>> action = "session.navController.listProductsAction";
>>>>>>>> },
>>>>>>>> {
>>>>>>>> name = "CreateProduct";
>>>>>>>> action = "session.navController.createProductAction";
>>>>>>>> }
>>>>>>>> )
>>>>>>>>
>>>>>>>> I tried all the solutions suggested by Ramsey Gurley, but still... No dice.
>>>>>>>>
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Flavio
>>>>>>>> _______________________________________________
>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>
>>>>>>>> This email sent to email@hidden
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>
>>>>>> This email sent to email@hidden
>>>>>
>>>>
>>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 7
>> Date: Fri, 07 Nov 2014 08:28:57 -0500
>> From: Theodore Petrosky <email@hidden>
>> To: Flavio Donadio <email@hidden>
>> Cc: WebObjects-Dev <email@hidden>
>> Subject: Re: D2W Tiered Navigation
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=windows-1252
>>
>> what about the WOLips server in WOLips preferences? it has to be turned on.
>>
>>
>> On Nov 7, 2014, at 8:27 AM, Flavio Donadio <email@hidden> wrote:
>>
>>> Hello, all...
>>>
>>>
>>> Does anyone have any other idea why checking "Builds Automatically" in the Project menu isn't working for me?
>>>
>>> Theodore is right: the rules defining navigationState are needed. But every time I change "user.d2wmodel", I have to clean the project and build it again.
>>>
>>> If my memory is right, just clicking "Clear D2W Cache" (on the "ERD2WDebugFlags" box on the bottom right of the pages) used to apply new rules...
>>>
>>>
>>> Cheers,
>>> Flavio
>>>
>>> On 06/11/2014, at 17:32, Flavio Donadio <email@hidden> wrote:
>>>
>>>> Theodore,
>>>>
>>>>
>>>> It's checked. :(
>>>>
>>>>
>>>> Cheers,
>>>> Flavio
>>>>
>>>> On 06/11/2014, at 17:27, Theodore Petrosky <email@hidden> wrote:
>>>>
>>>>> sounds like the “Builds Automatically” selection wasn’t checked. For most of the magic to happen, Builds Automatically must be selected under the Project menu.
>>>>>
>>>>> Ted
>>>>>
>>>>> On Nov 6, 2014, at 2:15 PM, Flavio Donadio <email@hidden> wrote:
>>>>>
>>>>>> Theodore,
>>>>>>
>>>>>>
>>>>>> Cleaned the project, built it again... Worked.
>>>>>>
>>>>>> I swore I had done that before... I mean, a BUNCH of times...
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> Flavio
>>>>>>
>>>>>> On 06/11/2014, at 17:07, Flavio Donadio <email@hidden> wrote:
>>>>>>
>>>>>>> Theodore,
>>>>>>>
>>>>>>>
>>>>>>> Just tried it again, the way you said. Still doesn't work.
>>>>>>>
>>>>>>> Also, when I tried to use direct acion names (instead of actions), I got a page with "Access denied" on it.
>>>>>>>
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Flavio
>>>>>>>
>>>>>>>
>>>>>>> On 06/11/2014, at 16:49, Theodore Petrosky <email@hidden> wrote:
>>>>>>>
>>>>>>>> they don’t show up because you need to set rules
>>>>>>>>
>>>>>>>> 100 : pageConfiguration like ‘*Product*' => navigationState = “Products" [com.webobjects.directtoweb.Assignment]
>>>>>>>>
>>>>>>>> be very careful with the plurals and such. Names must match exactly.
>>>>>>>>
>>>>>>>> Ted
>>>>>>>>
>>>>>>>>
>>>>>>>> On Nov 6, 2014, at 1:43 PM, Flavio Donadio <email@hidden> wrote:
>>>>>>>>
>>>>>>>>> Hello, all!
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Here I come again!
>>>>>>>>>
>>>>>>>>> This time, I am having the same problem Pascal had back in June. Please, check the "Can't see the tabs in D2W app" thread... Which means... My tiered navigation is not working. The "subtabs" don't show up.
>>>>>>>>>
>>>>>>>>> Here's my NavigationMenu.plist:
>>>>>>>>>
>>>>>>>>> (
>>>>>>>>> {
>>>>>>>>> name = Root;
>>>>>>>>> directActionClass = DirectAction;
>>>>>>>>> directActionName = default;
>>>>>>>>> children = ("Products");
>>>>>>>>> },
>>>>>>>>> {
>>>>>>>>> name = "Products";
>>>>>>>>> action = "session.navController.listProductsAction";
>>>>>>>>> children = ("ListProduct","CreateProduct");
>>>>>>>>> },
>>>>>>>>> {
>>>>>>>>> name = "ListProduct";
>>>>>>>>> action = "session.navController.listProductsAction";
>>>>>>>>> },
>>>>>>>>> {
>>>>>>>>> name = "CreateProduct";
>>>>>>>>> action = "session.navController.createProductAction";
>>>>>>>>> }
>>>>>>>>> )
>>>>>>>>>
>>>>>>>>> I tried all the solutions suggested by Ramsey Gurley, but still... No dice.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Flavio
>>>>>>>>> _______________________________________________
>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>
>>>>>>>>> This email sent to email@hidden
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>
>>>>>>> This email sent to email@hidden
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 8
>> Date: Fri, 07 Nov 2014 08:30:25 -0500
>> From: Theodore Petrosky <email@hidden>
>> To: Flavio Donadio <email@hidden>
>> Cc: WebObjects-Dev <email@hidden>
>> Subject: Re: D2W Tiered Navigation
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=windows-1252
>>
>> and an addendum to that is, that RuleModeler has to be started after eclipse and you must tell RuleModeler the password for WOLips server.
>>
>>
>>
>> On Nov 7, 2014, at 8:28 AM, Theodore Petrosky <email@hidden> wrote:
>>
>>> what about the WOLips server in WOLips preferences? it has to be turned on.
>>>
>>>
>>> On Nov 7, 2014, at 8:27 AM, Flavio Donadio <email@hidden> wrote:
>>>
>>>> Hello, all...
>>>>
>>>>
>>>> Does anyone have any other idea why checking "Builds Automatically" in the Project menu isn't working for me?
>>>>
>>>> Theodore is right: the rules defining navigationState are needed. But every time I change "user.d2wmodel", I have to clean the project and build it again.
>>>>
>>>> If my memory is right, just clicking "Clear D2W Cache" (on the "ERD2WDebugFlags" box on the bottom right of the pages) used to apply new rules...
>>>>
>>>>
>>>> Cheers,
>>>> Flavio
>>>>
>>>> On 06/11/2014, at 17:32, Flavio Donadio <email@hidden> wrote:
>>>>
>>>>> Theodore,
>>>>>
>>>>>
>>>>> It's checked. :(
>>>>>
>>>>>
>>>>> Cheers,
>>>>> Flavio
>>>>>
>>>>> On 06/11/2014, at 17:27, Theodore Petrosky <email@hidden> wrote:
>>>>>
>>>>>> sounds like the “Builds Automatically” selection wasn’t checked. For most of the magic to happen, Builds Automatically must be selected under the Project menu.
>>>>>>
>>>>>> Ted
>>>>>>
>>>>>> On Nov 6, 2014, at 2:15 PM, Flavio Donadio <email@hidden> wrote:
>>>>>>
>>>>>>> Theodore,
>>>>>>>
>>>>>>>
>>>>>>> Cleaned the project, built it again... Worked.
>>>>>>>
>>>>>>> I swore I had done that before... I mean, a BUNCH of times...
>>>>>>>
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Flavio
>>>>>>>
>>>>>>> On 06/11/2014, at 17:07, Flavio Donadio <email@hidden> wrote:
>>>>>>>
>>>>>>>> Theodore,
>>>>>>>>
>>>>>>>>
>>>>>>>> Just tried it again, the way you said. Still doesn't work.
>>>>>>>>
>>>>>>>> Also, when I tried to use direct acion names (instead of actions), I got a page with "Access denied" on it.
>>>>>>>>
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Flavio
>>>>>>>>
>>>>>>>>
>>>>>>>> On 06/11/2014, at 16:49, Theodore Petrosky <email@hidden> wrote:
>>>>>>>>
>>>>>>>>> they don’t show up because you need to set rules
>>>>>>>>>
>>>>>>>>> 100 : pageConfiguration like ‘*Product*' => navigationState = “Products" [com.webobjects.directtoweb.Assignment]
>>>>>>>>>
>>>>>>>>> be very careful with the plurals and such. Names must match exactly.
>>>>>>>>>
>>>>>>>>> Ted
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Nov 6, 2014, at 1:43 PM, Flavio Donadio <email@hidden> wrote:
>>>>>>>>>
>>>>>>>>>> Hello, all!
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Here I come again!
>>>>>>>>>>
>>>>>>>>>> This time, I am having the same problem Pascal had back in June. Please, check the "Can't see the tabs in D2W app" thread... Which means... My tiered navigation is not working. The "subtabs" don't show up.
>>>>>>>>>>
>>>>>>>>>> Here's my NavigationMenu.plist:
>>>>>>>>>>
>>>>>>>>>> (
>>>>>>>>>> {
>>>>>>>>>> name = Root;
>>>>>>>>>> directActionClass = DirectAction;
>>>>>>>>>> directActionName = default;
>>>>>>>>>> children = ("Products");
>>>>>>>>>> },
>>>>>>>>>> {
>>>>>>>>>> name = "Products";
>>>>>>>>>> action = "session.navController.listProductsAction";
>>>>>>>>>> children = ("ListProduct","CreateProduct");
>>>>>>>>>> },
>>>>>>>>>> {
>>>>>>>>>> name = "ListProduct";
>>>>>>>>>> action = "session.navController.listProductsAction";
>>>>>>>>>> },
>>>>>>>>>> {
>>>>>>>>>> name = "CreateProduct";
>>>>>>>>>> action = "session.navController.createProductAction";
>>>>>>>>>> }
>>>>>>>>>> )
>>>>>>>>>>
>>>>>>>>>> I tried all the solutions suggested by Ramsey Gurley, but still... No dice.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Flavio
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>>
>>>>>>>>>> This email sent to email@hidden
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>
>>>>>>>> This email sent to email@hidden
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Webobjects-dev mailing list
>> email@hidden
>> https://lists.apple.com/mailman/listinfo/webobjects-dev
>>
>> End of Webobjects-dev Digest, Vol 11, Issue 552
>> ***********************************************
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden