Re: Demos crashed

2012-04-13 Thread Ravindra Mandre
Still server is not available , any info when it will be back in action ? Ravindra Mandre On Wed, Apr 11, 2012 at 2:41 AM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: I guess the infra team updated the system, both demos are back again Jacques

Re: Demos crashed

2012-04-13 Thread Jacques Le Roux
I'm on it Jacques From: Ravindra Mandre raviof...@gmail.com Still server is not available , any info when it will be back in action ? Ravindra Mandre On Wed, Apr 11, 2012 at 2:41 AM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: I guess the infra team updated the system, both

Re: Demos crashed

2012-04-13 Thread Jacques Le Roux
It was only trunk demo It's back, but I see no reasons why the same manual commands are not working from the script Maybe an issue with ant start-bat, but I can't see what Jacques From: Jacques Le Roux jacques.le.r...@les7arts.com I'm on it Jacques From: Ravindra Mandre

Re: view-last - vie last page

2012-04-13 Thread Jacques Le Roux
Have a look at http://code.google.com/p/simplemodal/ this could simplify your life and from your exeperience we could introduce it in OFBiz. We have already used it in a project with success, but it was in 2010... Jacques From: Robert2012 g...@mercon24.de Can you help me by doing it with the

Re: Unable to debug groovy script called by screen widget

2012-04-13 Thread Jacopo Cappellato
Leon, all, until we find a good solution I can share the following patch/tweak for data preparation scripts (screen, forms etc...): Index: framework/base/src/org/ofbiz/base/util/ScriptUtil.java === ---

Re: Unable to debug groovy script called by screen widget

2012-04-13 Thread Adrian Crum
That looks fine to me. We can leave it that way until the problem is solved in Groovy. -Adrian On 4/13/2012 10:40 AM, Jacopo Cappellato wrote: Leon, all, until we find a good solution I can share the following patch/tweak for data preparation scripts (screen, forms etc...): Index:

Re: Unable to debug groovy script called by screen widget

2012-04-13 Thread Jacques Le Roux
+1 Jacques From: Adrian Crum adrian.c...@sandglass-software.com That looks fine to me. We can leave it that way until the problem is solved in Groovy. -Adrian On 4/13/2012 10:40 AM, Jacopo Cappellato wrote: Leon, all, until we find a good solution I can share the following patch/tweak for

Adding condition in DynamicViewEntity without declaring it to be an Alias

2012-04-13 Thread Foo Shyn Chung
Hi all, I have a situation whereby there's a filter i need to add into the view-entity created via DynamicViewEntity, however this field is not being declared with an Alias field. The reason for this is because my SQL is actually a group by statement with sum in the fields to get a total sales

Re: view-last - vie last page

2012-04-13 Thread Robert2012
Thanks! I will have a look. Jacques Le Roux wrote Have a look at http://code.google.com/p/simplemodal/ this could simplify your life and from your exeperience we could introduce it in OFBiz. We have already used it in a project with success, but it was in 2010... Jacques From:

Re: view-last - vie last page

2012-04-13 Thread Adrian Crum
jQuery includes a modal dialog, so I don't understand why that additional code is necessary. -Adrian On 4/13/2012 1:40 PM, Robert2012 wrote: Thanks! I will have a look. Jacques Le Roux wrote Have a look at http://code.google.com/p/simplemodal/ this could simplify your life and from your

Re: view-last - vie last page

2012-04-13 Thread Robert2012
how do you call this dialog from ftl? thanks in advance. Robert adrian.crum wrote jQuery includes a modal dialog, so I don't understand why that additional code is necessary. -Adrian On 4/13/2012 1:40 PM, Robert2012 wrote: Thanks! I will have a look. Jacques Le Roux wrote Have

Re: view-last - vie last page

2012-04-13 Thread Adrian Crum
Go to the jQuery website for examples. -Adrian On 4/13/2012 1:52 PM, Robert2012 wrote: how do you call this dialog from ftl? thanks in advance. Robert adrian.crum wrote jQuery includes a modal dialog, so I don't understand why that additional code is necessary. -Adrian On 4/13/2012 1:40

Re: Demos crashed

2012-04-13 Thread Ravindra Mandre
Thanks Jacques these updates. Ravindra Mandre On Fri, Apr 13, 2012 at 12:40 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: OK I have tried to use only ant stop to stop the instance, since ti worked manually I will now use again the old ant stop sleep 10 ant stop sleep 10

RE: Complicated Question

2012-04-13 Thread Skip
Let me restate the two problems a little more succinctly. Problem 1 I want to include a controller from a hot-deploy component into an existing ofbiz controller in applications directories. I know I can use condition / widget / fail-widget tags in screen widgets, but can you use something

Re: view-last - vie last page

2012-04-13 Thread Robert2012
Ok, im on it :) but need a little help, cause im not so familiar with JS: in productsummary.ftl is i.ex: / form method=quot;postquot; action=quot;lt;@ofbizUrladditem/@ofbizUrl id=additem name=the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}form

Re: Complicated Question

2012-04-13 Thread Jacques Le Roux
From: Skip s...@thedevers.org Let me restate the two problems a little more succinctly. Problem 1 I want to include a controller from a hot-deploy component into an existing ofbiz controller in applications directories. I know I can use condition / widget / fail-widget tags in screen widgets,

RE: Complicated Question

2012-04-13 Thread Skip
Thanks Jacques, I'll have a look. This might be a nice feature generically to allow enhancement of existing applications without making modifications to them. This has been a big problem for me. I have to many modifications to existing controller.xml, etc that when I upgrade versions, it is a

Re: Complicated Question

2012-04-13 Thread Jacopo Cappellato
On Apr 13, 2012, at 6:44 PM, Skip wrote: Alternately, is it possible to inject the hot-deploy controller into the first. I would consider to declare, in your hot-deploy component a webapp that extends the ootb one with the same mount point. Jacopo