@project and @TypeInfo tags in Wonder

2012-01-29 Thread Pascal Robert
I'm cleanup the 371 warnings that get throw when the JavaDoc for Wonder is generated. I see that two tags, @project and @TypeInfo, are in a couple of classes, but are not handled (other custom tags like @d2w are indeed handled). So should we remove those or someone is using them somewhere else?

Re: apache RewriteEngine

2012-01-29 Thread Pascal Robert
Le 2012-01-29 à 22:31, Jesse Tayler a écrit : > > On Jan 29, 2012, at 10:22 PM, Pascal Robert wrote: > >> Any errors in the logs? And you can enable mod_rewrite logging with: >> >> RewriteLog "/var/log/httpd/rewrite.log" >> RewriteLogLevel 3 > > none, even after apache created the empty logfi

Re: It's never easy

2012-01-29 Thread David LeBer
Use ERXComponent instead of WOComponent - you are using Wonder, might as well take advantage of it. Synchronizing components don't understand 'valueForBinding' Turn off synchronization to get those to work: @Override public boolean synchronizesVariablesWithBindings() {

Re: It's never easy

2012-01-29 Thread Theodore Petrosky
ok I will give it a try. I did try this but ran into a few problems but based on the two part example from 2009 I see that the custom component extends ERXStatelessComponent. But then I get this error: Error: java.lang.IllegalStateException: <>: A stateless component can not have a stateful

Re: apache RewriteEngine

2012-01-29 Thread Jesse Tayler
On Jan 29, 2012, at 10:22 PM, Pascal Robert wrote: > Any errors in the logs? And you can enable mod_rewrite logging with: > > RewriteLog "/var/log/httpd/rewrite.log" > RewriteLogLevel 3 none, even after apache created the empty logfile when I turned the rule on. suggests the modrewrite isn't w

Re: apache RewriteEngine

2012-01-29 Thread Pascal Robert
Le 2012-01-29 à 21:56, Jesse Tayler a écrit : > > On Jan 29, 2012, at 9:28 PM, Paul D Yu wrote: > >> I'd suggest you just pay Pascal to set this up for you. > > > PFFT! gladly! > > Or I'll just pay someone to come over and club me. > > I notice my WOnder app is now actually generating the U

Re: apache RewriteEngine

2012-01-29 Thread Jesse Tayler
On Jan 29, 2012, at 9:28 PM, Paul D Yu wrote: > I'd suggest you just pay Pascal to set this up for you. PFFT! gladly! Or I'll just pay someone to come over and club me. I notice my WOnder app is now actually generating the URLs just as I'd expect -- cool, apache reports 404 still- suck. I'v

Re: apache RewriteEngine

2012-01-29 Thread Pascal Robert
Le 2012-01-29 à 21:20, Jesse Tayler a écrit : > > I noted that the WebObjects_module was indeed loading AFTER and indeed, there > are duplicate entries somewhere > > so, in my httpd.conf, I've simply moved the loading of mod_WebObjects.so to > BEFORE mod_rewrite.so > > however, I guess I sti

Re: It's never easy

2012-01-29 Thread David LeBer
A string containing line breaks will display as multiple lines in a textarea, but line breaks mean nothing in html so they are ignored otherwise. It looks like you are going to have to duplicate the functionality of the AjaxInPlaceEditor with an AjaxInPlace and edit and view template. The edit

Re: apache RewriteEngine

2012-01-29 Thread Paul D Yu
Jesse I'd suggest you just pay Pascal to set this up for you. Sent from my iPad On Jan 29, 2012, at 9:20 PM, Jesse Tayler wrote: > > I noted that the WebObjects_module was indeed loading AFTER and indeed, there > are duplicate entries somewhere > > so, in my httpd.conf, I've simply moved th

Re: apache RewriteEngine

2012-01-29 Thread Jesse Tayler
I noted that the WebObjects_module was indeed loading AFTER and indeed, there are duplicate entries somewhere so, in my httpd.conf, I've simply moved the loading of mod_WebObjects.so to BEFORE mod_rewrite.so however, I guess I still have a reference that you suggest I delete since I get the d

Re: apache RewriteEngine

2012-01-29 Thread Pascal Robert
Le 2012-01-29 à 20:34, Jesse Tayler a écrit : > > nice! > > but I must be having apache voodoo > > links with > > /apps/WebObjects/WOMan.woa/wa/signup > > pass through > > >RewriteEngine On >RewriteRule ^/woman(.*)$ /apps/WebObjects/WOMan.woa$1 [PT,L]

Re: apache RewriteEngine

2012-01-29 Thread Jesse Tayler
nice! but I must be having apache voodoo links with /apps/WebObjects/WOMan.woa/wa/signup pass through RewriteEngine On RewriteRule ^/woman(.*)$ /apps/WebObjects/WOMan.woa$1 [PT,L] and resolve to https://ec.planaby.com/woman/wa/signup but apa

Re: apache RewriteEngine

2012-01-29 Thread George Domurot
Correct. And, if you use your default action as your entrance, then this will provide a nice URL starting point: http://domain/myapp -G On Jan 29, 2012, at 4:21 PM, Jesse Tayler wrote: > ah, let me see if I follow > > when I use a rule like > >RewriteRule ^/myapp(.*)$ /apps

Re: apache RewriteEngine

2012-01-29 Thread Pascal Robert
Le 2012-01-29 à 19:21, Jesse Tayler a écrit : > ah, let me see if I follow > > when I use a rule like > >RewriteRule ^/myapp(.*)$ /apps/WebObjects/MyApp.woa$1 [PT,L] > > a url with my myapp in it, would expand and all I'd need is the /wa/entrance > or something like so? > >

Re: apache RewriteEngine

2012-01-29 Thread Jesse Tayler
ah, let me see if I follow when I use a rule like RewriteRule ^/myapp(.*)$ /apps/WebObjects/MyApp.woa$1 [PT,L] a url with my myapp in it, would expand and all I'd need is the /wa/entrance or something like so? http://my.domain/myapp/wa/entrance am I following there?

Re: apache RewriteEngine

2012-01-29 Thread David Avendasora
On Jan 30, 2012, at 2:44 AM, Jesse Tayler wrote: > rewrite expert? ick! who would want to be that!! > > I mean, the syntax looks like someone was drunk while slapping their hands on > the keypad… I am _so_ glad you said "hands". Dave ___ Do not

Re: apache RewriteEngine

2012-01-29 Thread George Domurot
It looks like these options may be over complicating things. While you can get super fancy with rewrites, I've found it's easiest to use Wonder's built-in support and one singe rule to get deployed. If you need additional rules, you can stack them in above this one, otherwise this configuratio

Re: It's never easy

2012-01-29 Thread Theodore Petrosky
I tried this before but here it is for list edification. I created a component with an object and bound it with PublicationEditInPlace : AjaxInPlaceEditor { value = object.publication;//VALID rows = 5; cols = 15; } Perhaps because my component is bound into a repet

solved.. Re: Question about ERMD2WCombinedTableHeader

2012-01-29 Thread James Cicenia
public D2WContext d2wContext() { return (D2WContext)valueForBinding("localContext"); } valueForBinding via localContext for the d2wContext. James On Jan 29, 2012, at 9:58 AM, David LeBer wrote: > Why? > > I don't know, ghosts? No, maybe aliens? Oh, I know, alien ghosts! > >

Re: It's never easy

2012-01-29 Thread Theodore Petrosky
I saw the AjaxExample and I as a little confused. In the example app., in the middle of the page there is a multi line Multiline In-Place Editor (click text to edit): when it first runs, there are three lines: Multi Line Value but when I click the OK button, it is converted to MultiLineValue

Re: apache RewriteEngine

2012-01-29 Thread Jesse Tayler
A quick test, I wrote a rule like yours RewriteRule ^/(\d*?/?)wa/(.*)$ /apps/WebObjects/WOMan.woa/$1wa/$2 [L,PT,QSA] that I'd expect to redirect a URL like this: http://mydomain.com/wa/entrance to http://mydomain.com/apps/WebObjects/WOMan.woa/wa/entrance aside from using SSL port :443 I

Re: It's never easy

2012-01-29 Thread David LeBer
Ted, Please respond to the list. It looks like AjaxInPlaceEditor will render a textarea if you supply it with a rows and cols binding. The AjaxExample app in Wonder has a multiline in-place editor example that should give you what you need. Alternately you can use AjaxInPlace and give it your

Re: Question about ERMD2WCombinedTableHeader

2012-01-29 Thread James Cicenia
Damn good question really. I have been living in some possessed wonder environment. However, let us take this a different way so that I am not chasing my tail, your tail, or source code trails anymore. I want to simply create a component that works with your PropertyName. public String val

Re: apache RewriteEngine

2012-01-29 Thread Fabian Peters
Am 29.01.2012 um 19:44 schrieb Jesse Tayler: > > oh thanks fabian! > > maybe just what I was looking for -- > > the site is like twitter, so there's standard urls to reach a user profile, > or a post and those urls should be short, of course. > >> They work for me, but I'm by no means a "r

Re: apache RewriteEngine

2012-01-29 Thread Jesse Tayler
oh thanks fabian! maybe just what I was looking for -- the site is like twitter, so there's standard urls to reach a user profile, or a post and those urls should be short, of course. > They work for me, but I'm by no means a "rewrite expert"... rewrite expert? ick! who would want to be tha

Re: apache RewriteEngine

2012-01-29 Thread Fabian Peters
Hi Jesse, Am 29.01.2012 um 18:40 schrieb Jesse Tayler: > I'm confused about my apache rules. > > I have a virtual host setup with ssl > > > > Which works fine, but now I wanted to put in basic shortcuts like this > >RewriteEngine On > >RewriteRule ^/signup /apps/WebObjects/W

apache RewriteEngine

2012-01-29 Thread Jesse Tayler
I'm confused about my apache rules. I have a virtual host setup with ssl Which works fine, but now I wanted to put in basic shortcuts like this RewriteEngine On RewriteRule ^/signup /apps/WebObjects/WOMan.woa/wa/signup [last,passthrough] I use a standard rule which I guess

Re: Question about ERMD2WCombinedTableHeader

2012-01-29 Thread David LeBer
Why? I don't know, ghosts? No, maybe aliens? Oh, I know, alien ghosts! What are you doing in your code? What troubleshooting have you tried? You said it worked, what did you change? D -- David LeBer Codeferous Software On 2012-01-29, at 8:14 AM, James Cicenia wrote: > OK - > > I had this wo

Question about ERMD2WCombinedTableHeader

2012-01-29 Thread James Cicenia
OK - I had this working a bit. Now i get errors. I changed it: PropertyName: ERXSwitchComponent { WOComponentName = d2wContext.propertyNameComponentName; localContext = d2wContext; } I pass in a rule propertyNameComponentName via Assignment My component subclasses ERXStatele

It's never easy

2012-01-29 Thread Theodore Petrosky
I viewed David Leber's two part D2W tutorial from 2009 where he show how to use a CustomComponent. Great, I figured out how to add an AjaxInPlaceEditor to my D2W list page. But now I need a combination. An ERD2WEditLargeString that is an AjaxInPlaceEditor. Is there some magic that can help me w