Re: How to access WOApplication variables from inside a framework

2011-10-20 Thread Andrew Lindesay
Hello Jürgen; It depends on the situation. Can you elaborate what you mean by "variables". At the very least, you could use KVC; WOApplication.application().valueForKey() cheers. On 21/10/11 1:13 PM, Jürgen Tabert wrote: Hi all, I am looking for the easiest (best?) way to access a

How to access WOApplication variables from inside a framework

2011-10-20 Thread Jürgen Tabert
Hi all, I am looking for the easiest (best?) way to access a WOApplication variables from inside a framework. Thanks for any help, Jürgen ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-de

Re: no object DCH for MIME type application/pdf

2011-10-20 Thread Petite Abeille
On Oct 20, 2011, at 9:44 PM, John Baldwin wrote: > I was wondering if anybody has run into a similar situation and has a > solution. http://www.jguru.com/faq/view.jsp?EID=237257 ___ Do not post admin requests to the list. They will be ignored. Webob

no object DCH for MIME type application/pdf

2011-10-20 Thread John Baldwin
I'm trying to attach a pdf to an email and store it in an imap folder. I can create and store the email, but I can't get the pdf attachment to work. I get the error in the subject line. Here's some exception output: javax.mail.MessagingException: IOException while appending messages; nested e

Re: Quote kills nifty description field in javascript, how to prevent?

2011-10-20 Thread Johan Henselmans
On Oct 20, 2011, at 2:09 PM, Kieran Kelleher wrote: > Hi John, > > Any reason why you would not use a WOGenericContainter for the 'a' element > and provide bindings that way, with logic, such as > StringEscapeUtils.escapeJavaScript(..) that escapes the title text? > Perhaps because I did not

Re: Quote kills nifty description field in javascript, how to prevent?

2011-10-20 Thread Kieran Kelleher
Hi John, Any reason why you would not use a WOGenericContainter for the 'a' element and provide bindings that way, with logic, such as StringEscapeUtils.escapeJavaScript(..) that escapes the title text? BTW, StringEscapeUtils.escapeJavaScript(..) resides in Wonder/ERJars/commons-lang-2.5.jar

Quote kills nifty description field in javascript, how to prevent?

2011-10-20 Thread Johan Henselmans
I had a nice website that displays pictures, and as it happens to be thee are of course some quotes and double quotes involved. I noticed at a certain moment that the stuff I did (it's a google map with markers) did not display any more. I first thought it was caused by the intertubes, but appa