Re: WOWODC 2016: call for papers!

2015-11-26 Thread Ken Anderson
Very cool!

> On Nov 26, 2015, at 2:42 PM, Aaron Rosenzweig  wrote:
> 
> Hi Pascal,
> 
> 1) What is the planned hotel for the conference? I might purchase flight 
> tickets now, they seem like a good price at the moment. 
> 
> 2) Topic idea (what I’d present):
> 
> “Single page apps with client side persistence and WO REST”
> 
> In Hamburg I showed what Single-Page-Apps are. I did not show how to persist 
> information on a server. In this talk I’d show how to use WO for permanent 
> storage via REST and also how to use local client storage when you are 
> disconnected from the internet like in a metro-rail.
> 
> Cool?
> AARON ROSENZWEIG / Chat 'n Bike
> e:  aa...@chatnbike.com  t:  (301) 956-2319   
>   
> 
>> On Nov 23, 2015, at 10:07 AM, Pascal Robert  wrote:
>> 
>> Hi guys,
>> 
>> It's that time of the year! Yes, I need topics for WOWODC 2016. Having them, 
>> even if it's not a complet list, before the end of the year would be great.
>> 
>> I'm going to present two things:
>> 
>> - Modern WO deployment with Puppet and mod_proxy
>> - Integration with other tools (JIRA, IMAP, phone systems).
>> 
>> Please send your topics to i...@wocommunity.org
>> 
>> See you in June 2015!
>> 
>> 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com
>> 
>> This email sent to aa...@chatnbike.com
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
> 
> This email sent to kenli...@anderhome.com
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Odd backtracking error

2015-11-26 Thread Mark Wardle
Thanks Chuck. I’m not sure. How can I check that? I haven’t got a favicon set 
presently. It shouldn’t default to accessing it via WO should it? I had thought 
it independent and a function of apache but of course, I do have a rewrite rule 
which redirects / to my WOA so it might well be doing that! Not entirely sure 
how to check or indeed fix!

Mark


> On 26 Nov 2015, at 22:25, Chuck Hill  wrote:
> 
> Is your web server (or Wonder) protecting /favicon.ico from getting to your 
> app or handling it?  That request won’t contain the cookies (IIRC) which 
> results in a new session getting created and the app will return the cookie 
> from the new session (usually with an error response as it is not handling 
> the request.
> 
> Chuck
> 
> 
> From:  > on 
> behalf of Mark Wardle mailto:m...@wardle.org>>
> Date: Thursday, November 26, 2015 at 2:18 PM
> To: Paul Hoadley mailto:pa...@logicsquad.net>>
> Cc: webobjects-dev  >
> Subject: Re: Odd backtracking error
> 
> Paul,
> 
> That sounds like what might be happening and explain the inconsistency 
> depending on, perhaps, the URL entered.
> 
> I’ll give it a go. Thank you!
> 
> Mark
> 
>> On 26 Nov 2015, at 22:16, Paul Hoadley > > wrote:
>> 
>> Hi Mark,
>> 
>> On 27 Nov 2015, at 6:50 am, Mark Wardle > > wrote:
>> 
>>> I’m getting a weird backtracking error. I have a component which mainly 
>>> uses component actions and one of these component actions uses 
>>> target=“_new” to show a PDF document in a new window.
>>> 
>>> The action uses 
>>> WOResponse response = 
>>> WOApplication.application().createResponseInContext(context);
>>> to create a new response.
>>> 
>>> Sessions are stored in cookies.
>>> 
>>> On some computers (but not all), when one clicks the link, I get a login 
>>> page and in the log a session restoration error with no session. It works 
>>> fine on other computers running the same version of IE. I can’t reproduce 
>>> the problem at all on my development machine.
>>> 
>>> Any ideas?
>> 
>> I’m not sure this would explain everything you’re seeing here, but you can 
>> get session loss (and the resulting unexpected bounce to a login page) when 
>> using cookies for session ID storage if WOSession.domainForIDCookies() is 
>> returning something “too specific” for your deployment setup. By default, 
>> that method returns the application’s full path, right down to the “.woa” 
>> extension. So, for example, if you’re using URL re-writing in deployment, 
>> there could easily be a mismatch. I usually override it to return “/”. 
>> Again, not sure it explains everything you’re seeing there, but it’s 
>> something to rule out.
>> 
>> 
>> -- 
>> Paul Hoadley
>> http://logicsquad.net/ 
>> 
>> 
>> 
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Odd backtracking error

2015-11-26 Thread Chuck Hill
Is your web server (or Wonder) protecting /favicon.ico from getting to your app 
or handling it?  That request won’t contain the cookies (IIRC) which results in 
a new session getting created and the app will return the cookie from the new 
session (usually with an error response as it is not handling the request.

Chuck


From: 
mailto:webobjects-dev-bounces+chill=gevityinc@lists.apple.com>>
 on behalf of Mark Wardle mailto:m...@wardle.org>>
Date: Thursday, November 26, 2015 at 2:18 PM
To: Paul Hoadley mailto:pa...@logicsquad.net>>
Cc: webobjects-dev 
mailto:webobjects-dev@lists.apple.com>>
Subject: Re: Odd backtracking error

Paul,

That sounds like what might be happening and explain the inconsistency 
depending on, perhaps, the URL entered.

I’ll give it a go. Thank you!

Mark

On 26 Nov 2015, at 22:16, Paul Hoadley 
mailto:pa...@logicsquad.net>> wrote:

Hi Mark,

On 27 Nov 2015, at 6:50 am, Mark Wardle 
mailto:m...@wardle.org>> wrote:

I’m getting a weird backtracking error. I have a component which mainly uses 
component actions and one of these component actions uses target=“_new” to show 
a PDF document in a new window.

The action uses
WOResponse response = 
WOApplication.application().createResponseInContext(context);
to create a new response.

Sessions are stored in cookies.

On some computers (but not all), when one clicks the link, I get a login page 
and in the log a session restoration error with no session. It works fine on 
other computers running the same version of IE. I can’t reproduce the problem 
at all on my development machine.

Any ideas?

I’m not sure this would explain everything you’re seeing here, but you can get 
session loss (and the resulting unexpected bounce to a login page) when using 
cookies for session ID storage if WOSession.domainForIDCookies() is returning 
something “too specific” for your deployment setup. By default, that method 
returns the application’s full path, right down to the “.woa” extension. So, 
for example, if you’re using URL re-writing in deployment, there could easily 
be a mismatch. I usually override it to return “/”. Again, not sure it explains 
everything you’re seeing there, but it’s something to rule out.


--
Paul Hoadley
http://logicsquad.net/




 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Odd backtracking error

2015-11-26 Thread Mark Wardle
Paul,

That sounds like what might be happening and explain the inconsistency 
depending on, perhaps, the URL entered.

I’ll give it a go. Thank you!

Mark

> On 26 Nov 2015, at 22:16, Paul Hoadley  wrote:
> 
> Hi Mark,
> 
> On 27 Nov 2015, at 6:50 am, Mark Wardle  > wrote:
> 
>> I’m getting a weird backtracking error. I have a component which mainly uses 
>> component actions and one of these component actions uses target=“_new” to 
>> show a PDF document in a new window.
>> 
>> The action uses  
>> WOResponse response = 
>> WOApplication.application().createResponseInContext(context);
>> to create a new response.
>> 
>> Sessions are stored in cookies.
>> 
>> On some computers (but not all), when one clicks the link, I get a login 
>> page and in the log a session restoration error with no session. It works 
>> fine on other computers running the same version of IE. I can’t reproduce 
>> the problem at all on my development machine.
>> 
>> Any ideas?
> 
> I’m not sure this would explain everything you’re seeing here, but you can 
> get session loss (and the resulting unexpected bounce to a login page) when 
> using cookies for session ID storage if WOSession.domainForIDCookies() is 
> returning something “too specific” for your deployment setup. By default, 
> that method returns the application’s full path, right down to the “.woa” 
> extension. So, for example, if you’re using URL re-writing in deployment, 
> there could easily be a mismatch. I usually override it to return “/”. Again, 
> not sure it explains everything you’re seeing there, but it’s something to 
> rule out.
> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/ 
> 
> 
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Odd backtracking error

2015-11-26 Thread Paul Hoadley
Hi Mark,

On 27 Nov 2015, at 6:50 am, Mark Wardle  wrote:

> I’m getting a weird backtracking error. I have a component which mainly uses 
> component actions and one of these component actions uses target=“_new” to 
> show a PDF document in a new window.
> 
> The action uses   
> WOResponse response = 
> WOApplication.application().createResponseInContext(context);
> to create a new response.
> 
> Sessions are stored in cookies.
> 
> On some computers (but not all), when one clicks the link, I get a login page 
> and in the log a session restoration error with no session. It works fine on 
> other computers running the same version of IE. I can’t reproduce the problem 
> at all on my development machine.
> 
> Any ideas?

I’m not sure this would explain everything you’re seeing here, but you can get 
session loss (and the resulting unexpected bounce to a login page) when using 
cookies for session ID storage if WOSession.domainForIDCookies() is returning 
something “too specific” for your deployment setup. By default, that method 
returns the application’s full path, right down to the “.woa” extension. So, 
for example, if you’re using URL re-writing in deployment, there could easily 
be a mismatch. I usually override it to return “/”. Again, not sure it explains 
everything you’re seeing there, but it’s something to rule out.


-- 
Paul Hoadley
http://logicsquad.net/



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

RE: WOWODC 2016: call for papers!

2015-11-26 Thread Pascal Robert

For the hotel, it's the Delta Montreal (same as 2014). And great topic!


De : Aaron Rosenzweig  de la part de Aaron 
Rosenzweig 
Envoyé : 26 novembre 2015 14:42
À : Pascal Robert
Cc : WebObjects Development
Objet : Re: WOWODC 2016: call for papers!

Hi Pascal,

1) What is the planned hotel for the conference? I might purchase flight 
tickets now, they seem like a good price at the moment.

2) Topic idea (what I'd present):

"Single page apps with client side persistence and WO REST"

In Hamburg I showed what Single-Page-Apps are. I did not show how to persist 
information on a server. In this talk I'd show how to use WO for permanent 
storage via REST and also how to use local client storage when you are 
disconnected from the internet like in a metro-rail.

Cool?
Aaron Rosenzweig / Chat 'n Bike
e:  aa...@chatnbike.com  t:  (301) 956-2319
[Chat 'n Bike]  [Chat 'n Bike]

On Nov 23, 2015, at 10:07 AM, Pascal Robert 
mailto:prob...@macti.ca>> wrote:

Hi guys,

It's that time of the year! Yes, I need topics for WOWODC 2016. Having them, 
even if it's not a complet list, before the end of the year would be great.

I'm going to present two things:

- Modern WO deployment with Puppet and mod_proxy
- Integration with other tools (JIRA, IMAP, phone systems).

Please send your topics to i...@wocommunity.org

See you in June 2015!




___
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:
https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com

This email sent to aa...@chatnbike.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Odd backtracking error

2015-11-26 Thread Mark Wardle
I mean “page restoration error”.

Mark

> On 26 Nov 2015, at 20:20, Mark Wardle  wrote:
> 
> Dear all,
> 
> I’m getting a weird backtracking error. I have a component which mainly uses 
> component actions and one of these component actions uses target=“_new” to 
> show a PDF document in a new window.
> 
> The action uses   
> WOResponse response = 
> WOApplication.application().createResponseInContext(context);
> to create a new response.
> 
> Sessions are stored in cookies.
> 
> On some computers (but not all), when one clicks the link, I get a login page 
> and in the log a session restoration error with no session. It works fine on 
> other computers running the same version of IE. I can’t reproduce the problem 
> at all on my development machine.
> 
> Any ideas?
> 
> Mark
> 
> 
> 
> 
> -- 
> Dr. Mark Wardle
> Consultant Neurologist, University Hospital Wales, Cardiff, UK
> Email: mark.war...@wales.nhs.uk  or 
> m...@wardle.org   Twitter: @mwardle
> Telephone: 02920745274 (secretary) or facsimile: 02920744166
> 
> 
> 
> 
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Odd backtracking error

2015-11-26 Thread Mark Wardle
Dear all,

I’m getting a weird backtracking error. I have a component which mainly uses 
component actions and one of these component actions uses target=“_new” to show 
a PDF document in a new window.

The action uses 
WOResponse response = 
WOApplication.application().createResponseInContext(context);
to create a new response.

Sessions are stored in cookies.

On some computers (but not all), when one clicks the link, I get a login page 
and in the log a session restoration error with no session. It works fine on 
other computers running the same version of IE. I can’t reproduce the problem 
at all on my development machine.

Any ideas?

Mark




-- 
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: mark.war...@wales.nhs.uk or m...@wardle.org  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166





 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2016: call for papers!

2015-11-26 Thread Aaron Rosenzweig
Hi Pascal,

1) What is the planned hotel for the conference? I might purchase flight 
tickets now, they seem like a good price at the moment. 

2) Topic idea (what I’d present):

“Single page apps with client side persistence and WO REST”

In Hamburg I showed what Single-Page-Apps are. I did not show how to persist 
information on a server. In this talk I’d show how to use WO for permanent 
storage via REST and also how to use local client storage when you are 
disconnected from the internet like in a metro-rail.

Cool?
AARON ROSENZWEIG / Chat 'n Bike
e:  aa...@chatnbike.com  t:  (301) 956-2319 


On Nov 23, 2015, at 10:07 AM, Pascal Robert  wrote:

> Hi guys,
> 
> It's that time of the year! Yes, I need topics for WOWODC 2016. Having them, 
> even if it's not a complet list, before the end of the year would be great.
> 
> I'm going to present two things:
> 
> - Modern WO deployment with Puppet and mod_proxy
> - Integration with other tools (JIRA, IMAP, phone systems).
> 
> Please send your topics to i...@wocommunity.org
> 
> See you in June 2015!
> 
> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com
> 
> This email sent to aa...@chatnbike.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Mark your calendar: WOWODC 2016

2015-11-26 Thread Klaus Berkling

On Sep 25, 2015, at 11:20 AM, Pascal Robert  wrote:

> Hi guys,
> 
> WOWODC 2016 will be on June 24/25/26, in Montreal.
> 
> More details in early November.

I'll update the calendar as I get information, meanwhile it's here:

https://apps.berkling.us/wowodc16/WOWODC16.ics 

I can publish attachments as well when/if you have slides or files like code 
samples.



"The good thing about science is that it's true whether or not you believe in 
it." 
Neil deGrasse Tyson

Klaus Berkling
www.berkling.us | @kiberkli | Photography





 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wrong url generation for frameworks

2015-11-26 Thread Frank Stock
Hi all,

It must have something to do with 10.11 El Capitain!
I did a build on 10.10, same version of Eclipse, WOlips and Wonder and that 
works fine on the server!

Frank
> Op 26 nov. 2015, om 15:27 heeft Dr. Markus Stoll, junidas GmbH 
>  het volgende geschreven:
> 
> Hi Frank,
> 
> you might give my pull request
> 
> https://github.com/wocommunity/wonder/pull/704
> 
> a try, this fix automatically fixes the URL for WebServerResources for 
> embedded frameworks
> 
> Markus
> 
> 
> 
>> Am 26.11.2015 um 14:58 schrieb Frank Stock :
>> 
>> Hi Werner,
>> 
>> 
>> I did a complete new install of WO on another Mac, with a new Wonder project 
>> an I get the same result. My old application are running normal.
>> App resources are working fine.
>> 
>> Frank
>>> Op 26 nov. 2015, om 12:56 heeft Frank Stock  het 
>>> volgende geschreven:
>>> 
>>> Hi Werner,
>>> 
>>> 
>>> This is exactly what I have!
>>> I have created a new Wonder project and did a test on 2 servers with the 
>>> same result.
>>> 
>>> 
>>> Frank
 Op 26 nov. 2015, om 12:45 heeft Johann Werner  het 
 volgende geschreven:
 
 Hi Frank,
 
 you probably have an outdated build.xml file in your project. Within the 
 ant target build.woapp the woapplication task takes an attribute 
 „frameworksBaseURL“ that is either not set or set incorrectly in your 
 setup. From one of my build.xml I have:
 
 >>> frameworksBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" 
 destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" 
 principalClass="${principalClass}" webXML="${webXML}" 
 webXML_CustomContent="${webXML_CustomContent}" 
 servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor“>
 …
 
 
 This will put the necessary command line argument into the startup script 
 of your packaged application which should resolve your URL problem.
 
 HTH
 jw
 
 
> Am 26.11.2015 um 11:53 schrieb Frank Stock :
> 
> Hi all,
> 
> 
> I have update my app on the server and I get a wrong url for the 
> resources of the frameworks:
> 
> the url should be:
> 
> /WebObjects/xx.woa/Frameworks/Ajax.framework/WebServerResources/modalbox.css
> 
> but since today I get:
> 
> /WebObjects/Frameworks/Ajax.framework/WebServerResources/modalbox.css
> 
> Resources in the app are working fine:
> 
> /WebObjects/xxx.woa/Contents/WebServerResources/PageWrapper.css
> 
> Did I do something wrong? 
> 
> 
> Thanks in advance!
> Frank Stock
> Belgium
 
 
>>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de
>> 
>> This email sent to markus.st...@junidas.de
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wrong url generation for frameworks

2015-11-26 Thread Frank Stock
Hi Marcus,


I have never worked with the source files, I've tried to build your source of 
the ERExtensions, but I can't build it.
Is it possible to send the ERXExtensions.frameworks, so I can test if that 
solves my problem.

I am preparing build my application on 10.10. perhaps 10.11 is the problem.

Thanks,
Frank

> Op 26 nov. 2015, om 15:27 heeft Dr. Markus Stoll, junidas GmbH 
>  het volgende geschreven:
> 
> Hi Frank,
> 
> you might give my pull request
> 
> https://github.com/wocommunity/wonder/pull/704
> 
> a try, this fix automatically fixes the URL for WebServerResources for 
> embedded frameworks
> 
> Markus
> 
> 
> 
>> Am 26.11.2015 um 14:58 schrieb Frank Stock :
>> 
>> Hi Werner,
>> 
>> 
>> I did a complete new install of WO on another Mac, with a new Wonder project 
>> an I get the same result. My old application are running normal.
>> App resources are working fine.
>> 
>> Frank
>>> Op 26 nov. 2015, om 12:56 heeft Frank Stock  het 
>>> volgende geschreven:
>>> 
>>> Hi Werner,
>>> 
>>> 
>>> This is exactly what I have!
>>> I have created a new Wonder project and did a test on 2 servers with the 
>>> same result.
>>> 
>>> 
>>> Frank
 Op 26 nov. 2015, om 12:45 heeft Johann Werner  het 
 volgende geschreven:
 
 Hi Frank,
 
 you probably have an outdated build.xml file in your project. Within the 
 ant target build.woapp the woapplication task takes an attribute 
 „frameworksBaseURL“ that is either not set or set incorrectly in your 
 setup. From one of my build.xml I have:
 
 >>> frameworksBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" 
 destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" 
 principalClass="${principalClass}" webXML="${webXML}" 
 webXML_CustomContent="${webXML_CustomContent}" 
 servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor“>
 …
 
 
 This will put the necessary command line argument into the startup script 
 of your packaged application which should resolve your URL problem.
 
 HTH
 jw
 
 
> Am 26.11.2015 um 11:53 schrieb Frank Stock :
> 
> Hi all,
> 
> 
> I have update my app on the server and I get a wrong url for the 
> resources of the frameworks:
> 
> the url should be:
> 
> /WebObjects/xx.woa/Frameworks/Ajax.framework/WebServerResources/modalbox.css
> 
> but since today I get:
> 
> /WebObjects/Frameworks/Ajax.framework/WebServerResources/modalbox.css
> 
> Resources in the app are working fine:
> 
> /WebObjects/xxx.woa/Contents/WebServerResources/PageWrapper.css
> 
> Did I do something wrong? 
> 
> 
> Thanks in advance!
> Frank Stock
> Belgium
 
 
>>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de
>> 
>> This email sent to markus.st...@junidas.de
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wrong url generation for frameworks

2015-11-26 Thread Dr. Markus Stoll, junidas GmbH
Hi Frank,

you might give my pull request

https://github.com/wocommunity/wonder/pull/704

a try, this fix automatically fixes the URL for WebServerResources for embedded 
frameworks

Markus



> Am 26.11.2015 um 14:58 schrieb Frank Stock :
> 
> Hi Werner,
> 
> 
> I did a complete new install of WO on another Mac, with a new Wonder project 
> an I get the same result. My old application are running normal.
> App resources are working fine.
> 
> Frank
>> Op 26 nov. 2015, om 12:56 heeft Frank Stock  het 
>> volgende geschreven:
>> 
>> Hi Werner,
>> 
>> 
>> This is exactly what I have!
>> I have created a new Wonder project and did a test on 2 servers with the 
>> same result.
>> 
>> 
>> Frank
>>> Op 26 nov. 2015, om 12:45 heeft Johann Werner  het volgende 
>>> geschreven:
>>> 
>>> Hi Frank,
>>> 
>>> you probably have an outdated build.xml file in your project. Within the 
>>> ant target build.woapp the woapplication task takes an attribute 
>>> „frameworksBaseURL“ that is either not set or set incorrectly in your 
>>> setup. From one of my build.xml I have:
>>> 
>>> >> frameworksBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" 
>>> destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" 
>>> principalClass="${principalClass}" webXML="${webXML}" 
>>> webXML_CustomContent="${webXML_CustomContent}" 
>>> servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor“>
>>> …
>>> 
>>> 
>>> This will put the necessary command line argument into the startup script 
>>> of your packaged application which should resolve your URL problem.
>>> 
>>> HTH
>>> jw
>>> 
>>> 
 Am 26.11.2015 um 11:53 schrieb Frank Stock :
 
 Hi all,
 
 
 I have update my app on the server and I get a wrong url for the resources 
 of the frameworks:
 
 the url should be:
 
 /WebObjects/xx.woa/Frameworks/Ajax.framework/WebServerResources/modalbox.css
 
 but since today I get:
 
 /WebObjects/Frameworks/Ajax.framework/WebServerResources/modalbox.css
 
 Resources in the app are working fine:
 
 /WebObjects/xxx.woa/Contents/WebServerResources/PageWrapper.css
 
 Did I do something wrong? 
 
 
 Thanks in advance!
 Frank Stock
 Belgium
>>> 
>>> 
>> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de
> 
> This email sent to markus.st...@junidas.de



smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Looking for multiple D2W rule files strategy

2015-11-26 Thread Ramsey Gurley
I do all rules in one file. I do create an empty user file to suppress warnings 
and keep it fast. Note: adding additional files adds a scan for that file in 
every framework.

Mostly I find this manageable so long as I reduce rules so they apply as 
broadly as possible. If every entity is a special little snowflake, it's less 
fun.

Markus Ruggiero  wrote:

> ___
>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:
>https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>
>This email sent to rgur...@smarthealth.com ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wrong url generation for frameworks

2015-11-26 Thread Frank Stock
Hi Werner,


I did a complete new install of WO on another Mac, with a new Wonder project an 
I get the same result. My old application are running normal.
App resources are working fine.

Frank
> Op 26 nov. 2015, om 12:56 heeft Frank Stock  het 
> volgende geschreven:
> 
> Hi Werner,
> 
> 
> This is exactly what I have!
> I have created a new Wonder project and did a test on 2 servers with the same 
> result.
> 
> 
> Frank
>> Op 26 nov. 2015, om 12:45 heeft Johann Werner > > het volgende geschreven:
>> 
>> Hi Frank,
>> 
>> you probably have an outdated build.xml file in your project. Within the ant 
>> target build.woapp the woapplication task takes an attribute 
>> „frameworksBaseURL“ that is either not set or set incorrectly in your setup. 
>> From one of my build.xml I have:
>> 
>> > frameworksBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" 
>> destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" 
>> principalClass="${principalClass}" webXML="${webXML}" 
>> webXML_CustomContent="${webXML_CustomContent}" 
>> servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor“>
>> …
>> 
>> 
>> This will put the necessary command line argument into the startup script of 
>> your packaged application which should resolve your URL problem.
>> 
>> HTH
>> jw
>> 
>> 
>>> Am 26.11.2015 um 11:53 schrieb Frank Stock >> >:
>>> 
>>> Hi all,
>>> 
>>> 
>>> I have update my app on the server and I get a wrong url for the resources 
>>> of the frameworks:
>>> 
>>> the url should be:
>>> 
>>> /WebObjects/xx.woa/Frameworks/Ajax.framework/WebServerResources/modalbox.css
>>> 
>>> but since today I get:
>>> 
>>> /WebObjects/Frameworks/Ajax.framework/WebServerResources/modalbox.css
>>> 
>>> Resources in the app are working fine:
>>> 
>>> /WebObjects/xxx.woa/Contents/WebServerResources/PageWrapper.css
>>> 
>>> Did I do something wrong? 
>>> 
>>> 
>>> Thanks in advance!
>>> Frank Stock
>>> Belgium
>> 
>> 
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Looking for multiple D2W rule files strategy

2015-11-26 Thread Fabian Peters
Hi Markus,

Personally I prefer keeping rules in a single file. If you do use multiple rule 
files, make sure you use a model group file to allow easy searching over all 
files. 

Maybe you could split the EOModel into different parts, given its size. Then 
you could maintain a rule file per model.

You could also override additionalModelNames() in ERD2WModel to get all 
entities and assume there's a rule file for each – which may not really be 
needed.

Fabian

> Am 26.11.2015 um 11:17 schrieb Markus Ruggiero :
> 
> Hi list,
> 
> A D2W app usually has the 2 rule files user.d2wmodel and d2w.d2wmodel. A 
> wonder property allows to add more rule files 
> (er.directtoweb.ERD2WModel.additionalModelNames). Up to now I have all my 
> rules in those 2 default files. I am thinking about having one rule file per 
> entity name. This works but is a nuisance because I have to maintain the 
> value for this property. We currently have about 50 entities, thus 50 rule 
> files, and therefore a rather large property value. During ongoing 
> development new entities will be needed, others will go away. How are you 
> folks handling this? All rules in one file? Separate files? How many? How to 
> decide what to put where? And how to maintain the contents of the 
> additionalModelNames property?
> 
> Thanks for any hints.
> 
> ---markus---
> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
> 
> This email sent to lists.fab...@e-lumo.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wrong url generation for frameworks

2015-11-26 Thread Frank Stock
Hi Werner,


This is exactly what I have!
I have created a new Wonder project and did a test on 2 servers with the same 
result.


Frank
> Op 26 nov. 2015, om 12:45 heeft Johann Werner  het volgende 
> geschreven:
> 
> Hi Frank,
> 
> you probably have an outdated build.xml file in your project. Within the ant 
> target build.woapp the woapplication task takes an attribute 
> „frameworksBaseURL“ that is either not set or set incorrectly in your setup. 
> From one of my build.xml I have:
> 
>  frameworksBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" 
> destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" 
> principalClass="${principalClass}" webXML="${webXML}" 
> webXML_CustomContent="${webXML_CustomContent}" 
> servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor“>
> …
> 
> 
> This will put the necessary command line argument into the startup script of 
> your packaged application which should resolve your URL problem.
> 
> HTH
> jw
> 
> 
>> Am 26.11.2015 um 11:53 schrieb Frank Stock > >:
>> 
>> Hi all,
>> 
>> 
>> I have update my app on the server and I get a wrong url for the resources 
>> of the frameworks:
>> 
>> the url should be:
>> 
>> /WebObjects/xx.woa/Frameworks/Ajax.framework/WebServerResources/modalbox.css
>> 
>> but since today I get:
>> 
>> /WebObjects/Frameworks/Ajax.framework/WebServerResources/modalbox.css
>> 
>> Resources in the app are working fine:
>> 
>> /WebObjects/xxx.woa/Contents/WebServerResources/PageWrapper.css
>> 
>> Did I do something wrong? 
>> 
>> 
>> Thanks in advance!
>> Frank Stock
>> Belgium
> 
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wrong url generation for frameworks

2015-11-26 Thread Johann Werner
Hi Frank,

you probably have an outdated build.xml file in your project. Within the ant 
target build.woapp the woapplication task takes an attribute 
„frameworksBaseURL“ that is either not set or set incorrectly in your setup. 
From one of my build.xml I have:


signature.asc
Description: Message signed with OpenPGP using GPGMail
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Wrong url generation for frameworks

2015-11-26 Thread Frank Stock
Hi all,


I have update my app on the server and I get a wrong url for the resources of 
the frameworks:

the url should be:

/WebObjects/xx.woa/Frameworks/Ajax.framework/WebServerResources/modalbox.css

but since today I get:

/WebObjects/Frameworks/Ajax.framework/WebServerResources/modalbox.css

Resources in the app are working fine:

/WebObjects/xxx.woa/Contents/WebServerResources/PageWrapper.css

Did I do something wrong? 


Thanks in advance!
Frank Stock
Belgium
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Looking for multiple D2W rule files strategy

2015-11-26 Thread Markus Ruggiero
Hi list,

A D2W app usually has the 2 rule files user.d2wmodel and d2w.d2wmodel. A wonder 
property allows to add more rule files 
(er.directtoweb.ERD2WModel.additionalModelNames). Up to now I have all my rules 
in those 2 default files. I am thinking about having one rule file per entity 
name. This works but is a nuisance because I have to maintain the value for 
this property. We currently have about 50 entities, thus 50 rule files, and 
therefore a rather large property value. During ongoing development new 
entities will be needed, others will go away. How are you folks handling this? 
All rules in one file? Separate files? How many? How to decide what to put 
where? And how to maintain the contents of the additionalModelNames property?

Thanks for any hints.

---markus---



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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