Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Jeff Schmitz
A little more info. I've noticed that in the dist folder where my WOApplication is built, the MacOSClassPath.txt file under .../Contents/MacOS does reference the ERAttachment jar... LOCALROOT/Library/Frameworks/ERAttachment.framework/Resources/Java/ERAttachment.jar I'm just not sure where it's

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Jeff Schmitz
If just having ERAttachment installed in Library/Frameworks isn't the problem, then that's true. But it is something that's burned me in the past, and in most cases you're the one that helped me figure out what was going on :-) On Nov 24, 2011, at 9:49 PM, Chuck Hill wrote: > > On 2011-11-24

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Chuck Hill
On 2011-11-24, at 7:39 PM, Jeff Schmitz wrote: > That's correct. I've always been hesitant to do that in the past because I'm > afraid it will make my deployment package very large, which means it would > take a lot of time to copy to my server over the network, as well as I assume > taking a

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Jeff Schmitz
That's correct. I've always been hesitant to do that in the past because I'm afraid it will make my deployment package very large, which means it would take a lot of time to copy to my server over the network, as well as I assume taking a lot of bandwidth. But I'll give it a try as it would al

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Paul Yu
Looking at the WOLips source code, it seems Local and System are there in the build.properties of wolipstemplate project. However, the last project I created these parameters were not there. Paul On Nov 24, 2011, at 9:07 PM, Paul D Yu wrote: > Speaking of could we make these parameters default

Re: Add multiple files as attachment to WOResponse

2011-11-24 Thread pavan.jayam
Thank you for your suggestions. But i am not getting those excel files from webserver, the excel files are generating in the java program by using poi.jar. -Thanks & Regards, Pavan Jayam. Johann Werner wrote: Another approach would be to create a zip containing all files you want to send an

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Paul D Yu
Speaking of could we make these parameters default in build.properties? Sent from my iPad On Nov 24, 2011, at 9:03 PM, Paul Yu wrote: > So it sounds like you are not embedding the frameworks in your deployment woa. > > You should change your build properties to include the following: > > embe

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Paul Yu
So it sounds like you are not embedding the frameworks in your deployment woa. You should change your build properties to include the following: embed.Local=true embed.Project=true embed.System=true On Nov 24, 2011, at 8:33 PM, Jeff Schmitz wrote: > I'm Lucky there's some Canadians on here to

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Jeff Schmitz
I'm Lucky there's some Canadians on here to respond on Thanksgiving day :-) I should have checked this before, but yes, looking at the startup log, it is getting set in my classpath (see below). Deleting the ERAttachment framework in /Library/Frameworks got rid of the problem. Is that the prop

Re: Ajax UpdateContainer stop

2011-11-24 Thread Paul Hoadley
Hi Matteo, On 24/11/2011, at 10:11 PM, Matteo Centro wrote: > Looking in the Prototype documentation i saw that there are > Ajax.PeriodicalUpdater#stop and Ajax.PeriodicalUpdater#start > The idea was calling stop in the onFocus of the textfield and start on the > onBlur but I don't know how to

Re: How to handle "system" preferences?

2011-11-24 Thread David Holt
Yes, you can set some things if you use ERCoreBusinessLogic It handles the number of objects in a list page (displayed objects) and sort order preferences, for example. David On 2011-11-24, at 3:38 PM, Chuck Hill wrote: > Yes, but I am not going to tell you the name of that class, you have to

Re: How to handle "system" preferences?

2011-11-24 Thread Chuck Hill
Yes, but I am not going to tell you the name of that class, you have to find it for yourself. :-P There might also be a model with preferences in it, maybe that was user preferences? Chuck On 2011-11-24, at 3:35 PM, Pascal Robert wrote: > Man, does Wonder also have a method to find the mean

Re: How to handle "system" preferences?

2011-11-24 Thread Pascal Robert
Man, does Wonder also have a method to find the meaning of life since it have something for everything else? :-) > No question, put them in the database. Use ERXEnterpriseObjectCache to avoid > needless repeated database trips. > > Using the standard WO classes: > > /** > * Creates a st

Re: How to handle "system" preferences?

2011-11-24 Thread Chuck Hill
No question, put them in the database. Use ERXEnterpriseObjectCache to avoid needless repeated database trips. Using the standard WO classes: /** * Creates a standard EO cache object for the passed entity name and keypath for all objects of * the entity that match restrictingQual

How to handle "system" preferences?

2011-11-24 Thread Pascal Robert
I want to add some "system preferences" to SimpleBlog, for things like number of comments per page, if comments are moderated or not, etc. I'm wondering what's the best way to handle that. I was thinking of using a plist and read it at "boot time" so that the preferences are in memory, and writi

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread David Holt
Hi Jeff, Some things that come to mind: Did you remove any reference to ERAttachment from your properties files?? Assuming you've removed ERAttachment from your classpaths in the app and framework? Any chance there is a relationship to ERAttachment kicking around in your model? Are the ERAtta

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Chuck Hill
It is almost certainly on your classpath somewhere. Check the classpath on the deployment machine. On 2011-11-24, at 8:17 AM, Jeff Schmitz wrote: > Hello, >I have a Wonder App/Wonder Framework combo application that runs on my > development machine, but when I deploy I'm getting the follow

Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Jeff Schmitz
Hello, I have a Wonder App/Wonder Framework combo application that runs on my development machine, but when I deploy I'm getting the following error about connection dictionaries not being equal: The connection dictionaries for netbracketsFW and ERAttachment have the same URL and username, b

Ajax UpdateContainer stop

2011-11-24 Thread Matteo Centro
Hi all, I have a nasty problem with an AjaxUpdateContainer set to autoupdate (i set frequency=1 in the bindings): the container contains a lot of stuff including some textfields, the problem is that the textfields must be edited and if the user does not type fast enough, all gets lost or worse it

Rép : Re: Cascade autoCompletion

2011-11-24 Thread Raymond NANEON
Hi Paul,I use debug mode to view how ajaxAutoCompletion use variables and I'm surprised about autoCompletion never set selection variable.Is this normal for an autoCompletion?I put a breakpoint on this method public void setMyObjectSelection(MyClass myObject) { _myObjectSelection = myObject ); and

Re: Add multiple files as attachment to WOResponse

2011-11-24 Thread Johann Werner
Another approach would be to create a zip containing all files you want to send and append that. Though you should then append the file as input stream instead of an in-memory data object as you don't know how big that file will get. jw Am 24.11.2011 um 08:39 schrieb Jérémy DE ROYER [INGENCYS]