Re: TinyMCE and AjaxSubmitButton (field values allways set to null)

2012-01-11 Thread John Kim Larson
That's exactly right. Call tinyMCE.activeEditor.save() before making your Ajax request. John Sent from my iPhone On Jan 11, 2012, at 2:12 PM, Johann Werner j...@oyosys.de wrote: Hi Raymond, isn't tinyMCE putting the editable text into an own html element and catching the form's submit

Re: TinyMCE and AjaxSubmitButton (field values allways set to null)

2012-01-11 Thread John Kim Larson
Also, note that tinyMCE didn't work with iOS before version 5 and it may still not work with Android. (?) That can be really frustrating for your users. I detect the browser and don't load it if it is ios. John Sent from my iPhone On Jan 11, 2012, at 3:48 PM, John Kim Larson the_lars

Re: TinyMCE and AjaxSubmitButton (field values allways set to null)

2012-01-11 Thread John Kim Larson
Le 11 janv. 2012 à 22:48, John Kim Larson a écrit : That's exactly right. Call tinyMCE.activeEditor.save() before making your Ajax request. John Sent from my iPhone On Jan 11, 2012, at 2:12 PM, Johann Werner j...@oyosys.de wrote: Hi Raymond, isn't tinyMCE putting

AjaxFileUpload problem in deployment

2011-12-16 Thread John Kim Larson
I have an AjaxFileUpload on a page that works fine in development but not in deployment. When I upload a file I get an UnknownKeyException on the AjaxProgressBar inside the AjaxFileUpload ?? My bindings are UploadPicture: AjaxFileUpload { data = uploadedFile; filePath =

Re: AjaxFileUpload problem in deployment

2011-12-16 Thread John Kim Larson
on both, development and deployment ? Jérémy Le 16 déc. 2011 à 18:03, John Kim Larson a écrit : I have an AjaxFileUpload on a page that works fine in development but not in deployment. When I upload a file I get an UnknownKeyException on the AjaxProgressBar inside

Re: AjaxFileUpload problem in deployment

2011-12-16 Thread John Kim Larson
, 2011, at 11:12 AM, John Kim Larson wrote: Yes. It's an embedded deploy. John A. Larson President Precision Instruments, Inc. Ph: 847-824-4194 Fax: 866-240-7104 Sent from my iPhone On Dec 16, 2011, at 11:07 AM, Jérémy DE ROYER [INGENCYS]jeremy.dero...@ingencys.net wrote

Re: AjaxFileUpload problem in deployment

2011-12-16 Thread John Kim Larson
It won't take a regular WOFileUpload either. Maybe an encoding problem? Is there something in apache that I didn't set up? I am using er.extensions.ERXApplication.DefaultEncoding=UTF-8 On Dec 16, 2011, at 12:17 PM, John Kim Larson wrote: So I did a deploy using the same package to a Mac

Re: Dynamic loading of a component into a container?

2011-08-26 Thread John Kim Larson
hard reference somewhere. I don't see it when profiling nor do I see it in production with a growing tenured generation. Any input? John Sent from my iPhone On Jul 28, 2011, at 5:51 PM, John Kim Larson the_lars...@mac.com wrote: It's my understanding that that method only works for directing

Re: Baffling WOD error

2011-08-24 Thread John Kim Larson
I've had that happen too. Instead of clean, I've found that a refresh of the project makes it go away. John Sent from my iPhone On Aug 24, 2011, at 12:38 PM, Valerio Luccio valerio.luc...@nyu.edu wrote: I have a project that I hadn't worked on in a while. When I opened it in Eclipse

Re: Performance Questions

2011-07-29 Thread John Kim Larson
rather than increasing worker threads, why not just spawn a new Java thread for sending the notifications? That thread can run in the background while you're doing EO stuff and free your app up to do the servicing of requests. If you go down this path, I always pass EOs to other threads as

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
: Yes, this is exactly what i am trying to do! I will try your approach - But first, i will have a look at the WOSwitchComponent (thanks Chuck!) Will tell you when i was successfull with that Am 10.06.2011 um 00:57 schrieb John Kim Larson: If I get what you're asking, you want a div

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
what i am trying to do! I will try your approach - But first, i will have a look at the WOSwitchComponent (thanks Chuck!) Will tell you when i was successfull with that Am 10.06.2011 um 00:57 schrieb John Kim Larson: If I get what you're asking, you want a div in your app template

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
:38 AM, Paul Dunkler paul.dunk...@xyrality.com wrote: Yes, this is exactly what i am trying to do! I will try your approach - But first, i will have a look at the WOSwitchComponent (thanks Chuck!) Will tell you when i was successfull with that Am 10.06.2011 um 00:57 schrieb John Kim

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
It's here now. http://torqwrench.com/Movies/Remote%20component%20demo.mov John On Jul 28, 2011, at 3:48 PM, John Kim Larson wrote: YouTube keeps screwing up the encoding and truncating the movie to 15 seconds. Any ideas on how to get this to interested parties aside from hosting it on my

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
://wocommunity.org/podcasts/RemoteComponentDemo.mov It's here now. http://torqwrench.com/Movies/Remote%20component%20demo.mov John On Jul 28, 2011, at 3:48 PM, John Kim Larson wrote: YouTube keeps screwing up the encoding and truncating the movie to 15 seconds. Any ideas on how

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
() { return pageWithName(Component1.class); } public WOActionResults showComponent2() { Component2 page = pageWithName(Component2.class); page.setValue(Some value); return page; } Ramsey On Jul 28, 2011, at 2:53 PM, John Kim Larson wrote: Thanks. My server kind

Re: You backtracked too far error after closing AjaxModalDialog and clicking on a link on the page

2011-07-13 Thread John Kim Larson
I thought your action methods had to be void methods for Ajax actions, otherwise this happens. ? jal Sent from my iPhone On Jul 12, 2011, at 10:58 PM, Chuck Hill ch...@global-village.net wrote: On Jul 12, 2011, at 4:29 PM, Ricardo J. Parada wrote: On Jul 12, 2011, at 5:53 PM, Chuck Hill

Re: You backtracked too far error after closing AjaxModalDialog and clicking on a link on the page

2011-07-13 Thread John Kim Larson
-240-7104 Sent from my iPhone On Jul 13, 2011, at 5:24 PM, Chuck Hill ch...@global-village.net wrote: They don't need to be, it is good style IMO to make them void if they don't need to return anything. Chuck On 2011-07-13, at 4:58 PM, John Kim Larson wrote: I thought your action

Re: Dynamic loading of a component into a container?

2011-06-10 Thread John Kim Larson
I think the trick is twofold. One, you want to be able to control from some ajax link or links which component is loaded and do it on any page. Two, if you want to have component actions in the loaded component, you have to somehow put it in the context. I could be totally wrong, but those

Re: Dynamic loading of a component into a container?

2011-06-09 Thread John Kim Larson
If I get what you're asking, you want a div in your app template, say, that you can replace ad hoc from some other component. If so, I've done something similar by pushing the name of the component and a dictionary with bindings to the session dictionary, then in your template pull that name

Re: saving pdf's to the database

2009-09-24 Thread John Kim Larson
create a response that simply returns my NSData object and set the proper content- type. Am I on the right track? That is what I have always done in the past. It _should_ be simple and straightforward. Chuck On Sep 23, 2009, at 9:02 AM, John Kim Larson wrote: Hi Tim, We do this all

Re: saving pdf's to the database

2009-09-23 Thread John Kim Larson
Hi Tim, We do this all the time with receiving reports, prints, etc. Since the component I use for upload handles any file type ( Word, images, PDF) I keep track of the file extension that the file was uploaded with in an attribute of my File entity. I then use that information to

Re: saving pdf's to the database

2009-09-23 Thread John Kim Larson
-type. Am I on the right track? Thanks for your help. Tim On Sep 23, 2009, at 9:02 AM, John Kim Larson wrote: Hi Tim, We do this all the time with receiving reports, prints, etc. Since the component I use for upload handles any file type ( Word, images, PDF) I keep track of the file

Re: saving pdf's to the database

2009-09-23 Thread John Kim Larson
on the right track? Thanks for your help. Tim On Sep 23, 2009, at 9:02 AM, John Kim Larson wrote: Hi Tim, We do this all the time with receiving reports, prints, etc. Since the component I use for upload handles any file type ( Word, images, PDF) I keep track of the file extension that the file

Re: Very interesting case

2009-09-22 Thread John Kim Larson
I've been following your thread and will throw this out at you. I write a lot of components that have to broken up into different forms for layout and continuity purposes, just like you are if you're using a batch nav bar. It is quite a pain to have submit buttons all over the place. Using