Re: ERPDFGeneration problem & best practices

2012-09-21 Thread Tim Worman
Q: It terminates right after logging out "making pdf" and when trying to capture the PDF component as NSData. I'll try what you suggested. What's also odd is that it runs great in development - with the only odd thing I see there that after this process there is a message in the console about

Re: Trouble Shooting Mountain Lion

2012-09-21 Thread Jeffrey Schmitz
Back in action. Somehow the old mod_webobjects file snuck back in there. Downloaded the wonder version and am good to go, and now I even have my own version of apache that apple can't mess with. As always, thanks for all the help. Jeff On Sep 19, 2012, at 11:52 PM, Chuck Hill wrote: > >

ERXFixedLengthString ?

2012-09-21 Thread Theodore Petrosky
I found this component while digging around. It appears to need appropriate rules, so I: 100 : (pageConfiguration = 'ListAgenda' and propertyKey = 'meetingPurpose') => componentName = "ERXFixedLengthString" [com.webobjects.directtoweb.Assignment] but it requires a value and a length binding. I

Re: ERPDFGeneration problem & best practices

2012-09-21 Thread Q
On 22/09/2012, at 6:26 AM, Tim Worman wrote: > All: > > My app is attempting to attach a PDF to an email and I'm getting a failure. > The only response is: > > "Your request produced an error." > > The code below works fine in development but fails in deployment. I'm using > ERJavaMail for

Re: ERPDFGeneration problem & best practices

2012-09-21 Thread Tim Worman
Thanks Amedeo. That is what I'm doing. Per the code below: mail.addAttachment(new ERMailDataAttachment(acctPdf.pdfFilename(),null,pdf)); Tim On Sep 21, 2012, at 1:30 PM, Amedeo Mantica wrote: > You shouldn't send the PDF directly in email. You should add it as attachment > > Sent from my iPh

Re: ERPDFGeneration problem & best practices

2012-09-21 Thread Amedeo Mantica
You shouldn't send the PDF directly in email. You should add it as attachment Sent from my iPhone On 21/set/2012, at 22:26, Tim Worman wrote: > All: > > My app is attempting to attach a PDF to an email and I'm getting a failure. > The only response is: > > "Your request produced an error."

ERPDFGeneration problem & best practices

2012-09-21 Thread Tim Worman
All: My app is attempting to attach a PDF to an email and I'm getting a failure. The only response is: "Your request produced an error." The code below works fine in development but fails in deployment. I'm using ERJavaMail for sending. There is no stack trace, etc. My attempt to produce my P

Re: Inappropriate OGNL expression !

2012-09-21 Thread Ramsey Gurley
On Sep 21, 2012, at 9:59 AM, Chuck Hill wrote: > One solution is to add a method > > public String dateFormatForOperationStartDate() { > NSTimestampFormatter formatter = new > NSTimestampFormatter("%Y-%m-%d %H:%M:%S"); > formatter.setDefaultParseTimeZone(NSTime

Re: Inappropriate OGNL expression !

2012-09-21 Thread Louis Demers
Had some hope for a few seconds... Bot no Sep 21 11:59:23 ERROR ognl.webobjects.WOOgnlAssociation - Exception invoking setValue on WOOgnlAssociation: 'dateFormat(anOperation.dateStart())'. InappropriateExpressionException: Inappropriate OGNL expression: dateFormat(anOperation.dateStart()) at o

Re: Inappropriate OGNL expression !

2012-09-21 Thread Chuck Hill
Ah, missed this: "Exception invoking setValue on WOOgnlAssociation" See http://comments.gmane.org/gmane.comp.web.webobjects.wonder-disc/17475 http://www.digipedia.pl/usenet/thread/17625/10432/ One solution is to add a method public String dateFormatForOperationStartDate() {

Re: Inappropriate OGNL expression !

2012-09-21 Thread Chuck Hill
Hi Louis, Does this work? dateFormat(anOperation.dateStart()) Note the () after dateStart. Chuck On 2012-09-21, at 7:19 AM, Louis Demers wrote: > Hi, > > from some of my pages, I get the exception listed below. > > Sep 21 09:47:26 ERROR ognl.webobjects.WOOgnlAssociation - Exception in

Re: WebObjects and MS SQLServer 2012

2012-09-21 Thread Chuck Hill
Hi Anil, On 2012-09-21, at 5:34 AM, Anil Bajaj wrote: > Hi, > > We are trying to upgrade our DB to SQLServer 2000 to SQLServer 2012 (yeah, > it's a huge leap), and I'm having a bit of trouble getting it going. > > I've installed Microsoft's jdbc driver sqljdbc4.jar in > /Library/Java/Extensio

Re: WOTable class does not exist in Wonder and WOlips?

2012-09-21 Thread Pascal Robert
http://wiki.wocommunity.org/display/documentation/Deploying+on+Mac+OS+X+Server http://www.wocommunity.org/webobjects_screencasts.html (Practical Deployment) > Thank you Patrick. This was the fix. > > Do you know a good step by step tutorial for deployment on MAc OSX 10.7? > > Regards, > Catalin

Re: WOTable class does not exist in Wonder and WOlips?

2012-09-21 Thread Cretu Catalin
Thank you Patrick. This was the fix. Do you know a good step by step tutorial for deployment on MAc OSX 10.7? Regards, Catalin From: Patrick Robinson To: Cretu Catalin Cc: WebObjects Development Sent: Friday, September 21, 2012 9:53:19 AM Subject: Re: WO

Re: WOTable class does not exist in Wonder and WOlips?

2012-09-21 Thread Cretu Catalin
Thank you so much guys, This was the trick - to include specific the JavaWOExtensions in the class path. Do you know a step by step tutorial for deployment for my WebObjects app in Mac OSX - to work on 10.7? I appreciate your help, Catalin From: Pascal Robe

Re: WOTable class does not exist in Wonder and WOlips?

2012-09-21 Thread Patrick Robinson
I was afraid you were going to ask me that, and wasn't sure I had a good answer. :-) Look at your Build Path (ctrl-click on the project -> Build Path -> Configure Build Path. Click Add Library, select WebObjects Frameworks, then click Next. This will show you what frameworks have been added

WebObjects and MS SQLServer 2012

2012-09-21 Thread Anil Bajaj
Hi, We are trying to upgrade our DB to SQLServer 2000 to SQLServer 2012 (yeah, it's a huge leap), and I'm having a bit of trouble getting it going. I've installed Microsoft's jdbc driver sqljdbc4.jar in /Library/Java/Extensions. And setup the connection dictionary as follows: URL:j

Re: WOTable class does not exist in Wonder and WOlips?

2012-09-21 Thread Pascal Robert
Did you include JavaWOExtensions in the class path of the new project? > Hi JW, > > I recreated a Wonder project and try to run the app, but I got different > errors, like it is not recognizing EOModel and the classes for EOModel > entities. There are any special setups that I should make for i

Re: WOTable class does not exist in Wonder and WOlips?

2012-09-21 Thread Cretu Catalin
Hi JW, I recreated a Wonder project and try to run the app, but I got different errors, like it is not recognizing EOModel and the classes for EOModel entities. There are any special setups that I should make for importing EOModel in project? Still when create as a WO application is not recogn

Re: WOTable class does not exist in Wonder and WOlips?

2012-09-21 Thread Cretu Catalin
Good Morning Patrick, How can this reference be done? Thank you, Catalin From: Patrick Robinson To: WebObjects Development Cc: Cretu Catalin Sent: Thursday, September 20, 2012 2:10:54 PM Subject: Re: WOTable class does not exist in Wonder and WOlips? A

Integrating Servlet/JSP support to an existing Web Object application

2012-09-21 Thread Pavan Kumar Jayam
Hi List, We are using Web Objects 5.4.3 for our web application. Now we need to integrate CKFinder with CKEditor in our application with support of Servlet/JSP. I am un aware of how to use Servlet and JSP's in our webobject application. I have added this framework (JavaWOJSPServlet.framework)

Re: ERXPartials review and Example application

2012-09-21 Thread Alexis Tual
Hi Paul, great job, I guess it's time to really use this partials ! PS : logicsquad.net has the best corporate homepage I've seen :) Alex 2012/9/21 Paul Hoadley > On 21/09/2012, at 3:31 PM, Tim Worman wrote: > > Man, I need this now - but lack the time to pounce on it. I can't wait > until I c

Re: ERXPartials review and Example application

2012-09-21 Thread Paul Hoadley
On 21/09/2012, at 3:31 PM, Tim Worman wrote: > Man, I need this now - but lack the time to pounce on it. I can't wait until > I can mess with this and find out if it can work for me. David has set up the test app to run on FrontBase out of the box, but I can confirm that it's trivial to get it