Re: Default D2W Rules for Components

2012-05-04 Thread Mark Wardle
Isn't there a difference between including additional information about a value (eg isLarge as in Anjo Krank's example) and putting in a pseudo-component name? The former clearly belongs in the model, the latter in the view. I'd tend to use the user info as hints to refine the description of

Re: Wonder JavaMonitor problem

2012-05-04 Thread Patrick Robinson
Using a reverse proxy is a great idea... thanks! For you folks who access JavaMonitor directly via its port, how do you *prevent* access via Apache (i.e. via .../JavaMonitor.woa/-56789) ? On May 4, 2012, at 3:34 PM, Pascal Robert wrote: >> Yes, I guess I've always used it via Apache -- with a

Re: Wonder JavaMonitor problem

2012-05-04 Thread Pascal Robert
> Yes, I guess I've always used it via Apache -- with a devl URL, i.e. > https://hostname/cgi-bin/WebObjects/JavaMonitor.woa/-56789 > and protected it via Apache config directives. Because I'm accessing w/a > devl URL, there's no bizarre "add JavaMonitor with JavaMonitor" weirdness. > > I'd be

Re: Wonder JavaMonitor problem

2012-05-04 Thread Patrick Robinson
Yes, I guess I've always used it via Apache -- with a devl URL, i.e. https://hostname/cgi-bin/WebObjects/JavaMonitor.woa/-56789 and protected it via Apache config directives. Because I'm accessing w/a devl URL, there's no bizarre "add JavaMonitor with JavaMonitor" weirdness. I'd been looking

Re: ListPage MySQL OutOfMemory

2012-05-04 Thread Ramsey Gurley
If you are fetching tens of thousands of rows for a list page, you may want to consider using the ERXBatchingDisplayGroup to minimize memory usage. By default, the WODisplayGroup pulls all the EOs into memory. The batching display group uses the database to handle the pagination. It only create

Re: Wonder JavaMonitor problem

2012-05-04 Thread Pascal Robert
I just did a raw installation on Ubuntu 10.04 Server (only installed Java 1.6 from Oracle and wotaskd/Monitor), and I don't get the problem you have. The path to prototype.js is : http://192.168.0.48:56789/cgi-bin/WebObjects/JavaMonitor.woa/wr/wodata=/opt/Local/Library/WebObjects/JavaApplication

Re: ERRest Contextual fields

2012-05-04 Thread Pascal Robert
Le 2012-05-04 à 12:00, Andries Brink a écrit : > Hello Wonder! > > Any ideas on getting only contextual data back based on user preferences > using ERRest controllers? i.e. I want to only display a list of products that > a user can transact on based on his credentials. So, User.party.products

ERRest Contextual fields

2012-05-04 Thread Andries Brink
Hello Wonder! Any ideas on getting only contextual data back based on user preferences using ERRest controllers? i.e. I want to only display a list of products that a user can transact on based on his credentials. So, User.party.products should be returned. I would imagine the place to throttle

Re: AjaxFileUpload succeeded message disappearing

2012-05-04 Thread Farrukh Ijaz
Hi, Try setting progressBarAfterDone=true for AjaxFileUpload bindings. Farrukh Sent from my iPhone On 2012-05-04, at 1:47 AM, Larry Mills-Gahl wrote: > I have an AjaxFileUpload component that is working well except that when it > is finished with the upload, the success message goes away. Th

Re: ListPage MySQL OutOfMemory

2012-05-04 Thread Kieran Kelleher
What VM arguments are you using for: -XX:MaxPermSize=??? -Xmsm -Xmxm On May 4, 2012, at 9:58 AM, Ron X wrote: > i have small database - about 50 Mb... > > code: > ListPageInterface listPage = D2W.factory().listPageForEntityNamed( > Song.ENTITY_NAME, session()); >

Re: Main or other...

2012-05-04 Thread Lachlan Deck
On 04/05/2012, at 5:15 PM, Ron X wrote: > JarResourceRequestHandler - what is it? i can not import it It was posted by Henrique some time ago (not sure why it's not in Wonder yet?) I changed it slightly .. fixing a method signature to use long instead of int). > 2012/5/4 Lachlan Deck > On 04/05

JDBC

2012-05-04 Thread Ron X
how can i use JavaERJDBCAdaptor instead of JavaJDBCAdaptor? if i add a dependency of JavaERJDBCAdaptor i've got: WARN 27.64 MB used/53.43 MB free [main] (ERXNSLogLog4jBridge.java:43) - Principal class 'er.coolcomponents.ERCoolComponents' not found in bundle ERCoolComponents WARN 27.87 MB used/

Re: Main or other...

2012-05-04 Thread Ron X
JarResourceRequestHandler - what is it? i can not import it 2012/5/4 Lachlan Deck > On 04/05/2012, at 4:38 PM, Ron X wrote: > > > but what should i do now? > > every time when i try to convert project into Maven - 8 of 10 cases i > get error of Session class or Main class or just nothing on page

Re: Main or other...

2012-05-04 Thread Lachlan Deck
On 04/05/2012, at 4:38 PM, Ron X wrote: > but what should i do now? > every time when i try to convert project into Maven - 8 of 10 cases i get > error of Session class or Main class or just nothing on page (defaultAction > executes and nothing appears) > > how can i fix this? This is the kind