Re: URL re-writing at the root of the domain

2013-01-11 Thread Ted Archibald
Although I'm not running at the root domain I did write a rewrite rule so
that Rest routes are cleaner (i.e. no /ra crap).  I just added a bunch of
exceptions to the regex, which solved my problems with multiple request
handlers.

e.g.

RewriteRule
^AppName/([0-9]*/)?(?!(?:[0-9]*/)?ajax/|(?:[0-9]*/)?wis/|(?:[0-9]*/)?_wr_/|(?:[0-9]*/)?_sl_/|(?:[0-9]*/)?wa/|(?:[0-9]*/)?ra/|(?:[0-9]*/)?womp/|(?:[0-9]*/)?ja/|(?:[0-9]*/)?wo/|(?:[0-9]*/)?push/|(?:[0-9]*/)?wr/|(?:[0-9]*/)?ws/|(?:[0-9]*/)?erxadm/|(?:[0-9]*/?)?$)(.*)$
/cgi-bin/WebObjects/AppName.woa/$1ra/$2 [NC,PT,L]

RewriteRule
^AppName/([0-9]*/)?(ajax/|wis/|_wr_/|_sl_/|wa/|ra/|womp/|ja/|wo/|push/|wr/|ws/|erxadm/|(?:[0-9]*/))(.*)$
/cgi-bin/WebObjects/AppName.woa/$1$2$3 [NC,PT,L]

RewriteRule ^AppName(/[0-9]*)?$ /cgi-bin/WebObjects/AppName.woa [NC,PT,L]

On Thu, Jan 10, 2013 at 12:21 AM, Paul Hoadley  wrote:

> Hi George,
>
> On 10/01/2013, at 3:45 PM, George Domurot 
> wrote:
>
> This line doesn't look right:
> RewriteRule ^/(.*)$ /Apps/WebObjects/SomeApp.woa$1 [PT,L]
>
> Shouldn't it include a slash before "$1"?
> RewriteRule ^/(.*)$ /Apps/WebObjects/SomeApp.woa/$1 [PT,L]
>
> I haven't tried it, but it should work.
>
>
> Well spotted, you're completely right.  (Testing didn't get far enough to
> expose this bug, as I can't log in yet.)
>
> If the URLs then work, but not once you're in the app, then you'll want to
> dig into the auto rewrite are of Wonder and see what it's doing when the
> replace is only equal to "/".
>
>
> Yeah, that's next up.  Has anyone done this?  Is anyone deploying an app
> at the apex of some domain name like this?
>
>
> --
> 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/ted.archibald%40gmail.com
>
> This email sent to ted.archib...@gmail.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: Wonder 6.0.0 is out in the wild!

2013-01-11 Thread Stéphan Mertz
Hello Markus,

Could you provide to the community a 32 and 64bits of the tool ?

Thank you very much,

Stéphan

Le 9 janv. 2013 à 22:04, Markus Stoll  a écrit :

>> Nice job !
>> For WOStart : 
>> . How to use it?
>> . Can it be used with wotaskd ?
> 
> The WOStart can be used instead of the .cmd script under Windows
> Just copy it into your .woa folder and name it .exe
> and use it exactly like the cmd script.
> 
> I never tested this with wotaskd, but I see no reason, why it shouldn't
> work.
> 
> 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/s.mertz%40improve.fr
> 
> This email sent to s.me...@improve.fr


 ___
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: has anyone seen this weirdness in JasperReports?

2013-01-11 Thread Theodore Petrosky
I was able to fix this by updating JasperReports to version 5.0.

It was weird.

Ted


--- On Fri, 1/11/13, Theodore Petrosky  wrote:

> From: Theodore Petrosky 
> Subject: has anyone seen this weirdness in JasperReports?
> To: "WebObjects Development" 
> Date: Friday, January 11, 2013, 7:50 AM
> I have a simple textField that I am
> filling from my EO.
> 
> If the text fits within the frame of the stated textField
> everything is fine however, if the textField must stretch,
> the whole textField is baseline shifted down about 1/2 X
> height.
> 
> I have posted to the JasperReports answer forum but haven't
> received a reply so I thought someone here may know. I don't
> recall seeing this until I updated Wonder and this include
> 4.7.0 JasperReports.
> 
> Maybe I should try the 4.7.1 or even 5.x (whatever they are
> up to).
> 
> Ted
> 
> BTW, here is the XML. Nothing to write home about:
> 
> 
>      uuid="512a7174-2dd5-4e21-bc97-133fae03a85b" x="237" y="189"
> width="182" height="20"/>
>     
>    
> 
> 
>  ___
> 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/tedpet5%40yahoo.com
> 
> This email sent to tedp...@yahoo.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

D2W and date/time picker

2013-01-11 Thread Theodore Petrosky
How are youse guys creating a date picker that allows the user to then type in 
the time? I was thinking of two textfields. one for the date picker and a 
second where the user types in the time.

If I put two copies of the date time attribute with displayPropertyKeys, how do 
I target them so the first is for the date and the second is for the time. Or 
do I need to create a new component? Does one exist?

Ted
 ___
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


has anyone seen this weirdness in JasperReports?

2013-01-11 Thread Theodore Petrosky
I have a simple textField that I am filling from my EO.

If the text fits within the frame of the stated textField everything is fine 
however, if the textField must stretch, the whole textField is baseline shifted 
down about 1/2 X height.

I have posted to the JasperReports answer forum but haven't received a reply so 
I thought someone here may know. I don't recall seeing this until I updated 
Wonder and this include 4.7.0 JasperReports.

Maybe I should try the 4.7.1 or even 5.x (whatever they are up to).

Ted

BTW, here is the XML. Nothing to write home about:







 ___
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: Any interest in a Amazon AMI for Wonder?

2013-01-11 Thread Pascal Robert

Le 2013-01-10 à 19:03, Paul Hoadley  a écrit :

> Hi Pascal,
> 
> On 11/01/2013, at 1:40 AM, Pascal Robert  wrote:
> 
>> I was wondering if we should build a public AMI (template) on Amazon EC2 
>> that would contains:
>> 
>> - CentOS 6.x
>> - The Yum repository for wotaskd/Monitor/the adaptor
>> - RPMForge Yum repository (useful to install software not available from the 
>> main CentOS repo)
>> - Postgresql's Yum repository
>> - Jenkins's Yum repository
> 
> I would suggest that you don't invest the time doing this, and here's why.  
> Freezing an AMI like this involves a load of arbitrary decisions (e.g., Why 
> CentOS instead of Amazon Linux?  Why PostgreSQL instead of MySQL?).

That's why I'm adding the Yum repository, but not actually installing 
PostgreSQL. 

>  At each decision, you're carving off a segment of potential users from a 
> base that must already be incredibly small.  Say there's still some interest 
> left, though—who is going to keep this current?  When a security 
> vulnerability is patched in CentOS, are you going to re-roll this?

From my point of view, everyone should take care of security updates. Like you 
said, keeping the AMI up to date for everyone update would be a mess. The AMI 
should only be updated for major SSH or Apache, or when CentOS goes from 6.3 to 
6.4 or any major update like this.

>  (All these questions are rhetorical, by the way!)  The most likely scenario 
> is that in 18 months we've got a repeat of WOlastic on our hands—when that 
> went stale, it took time and effort to kill off, and I haven't checked lately 
> but I think the AMI itself is _still_ available, though the website is dead.

If we do it, it will be bonded to WOCommunity, I don't want something bonded to 
a business that might go away.

But anyway, the goal is to make it easier to deploy apps. At least with the Yum 
repository of WOCommunity, it will be much easier.

> Having said all that, if I haven't discouraged you and you're really keen, I 
> can certainly help you do it.  :-)
> 
> 
> -- 
> 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: Any interest in a Amazon AMI for Wonder?

2013-01-11 Thread Paul Hoadley
Hi Pascal,

On 11/01/2013, at 1:40 AM, Pascal Robert  wrote:

> I was wondering if we should build a public AMI (template) on Amazon EC2 that 
> would contains:
> 
> - CentOS 6.x
> - The Yum repository for wotaskd/Monitor/the adaptor
> - RPMForge Yum repository (useful to install software not available from the 
> main CentOS repo)
> - Postgresql's Yum repository
> - Jenkins's Yum repository

I would suggest that you don't invest the time doing this, and here's why.  
Freezing an AMI like this involves a load of arbitrary decisions (e.g., Why 
CentOS instead of Amazon Linux?  Why PostgreSQL instead of MySQL?).  At each 
decision, you're carving off a segment of potential users from a base that must 
already be incredibly small.  Say there's still some interest left, though—who 
is going to keep this current?  When a security vulnerability is patched in 
CentOS, are you going to re-roll this?  (All these questions are rhetorical, by 
the way!)  The most likely scenario is that in 18 months we've got a repeat of 
WOlastic on our hands—when that went stale, it took time and effort to kill 
off, and I haven't checked lately but I think the AMI itself is _still_ 
available, though the website is dead.

Having said all that, if I haven't discouraged you and you're really keen, I 
can certainly help you do it.  :-)


-- 
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