Re: WYSIWIG editor with WO

2013-02-14 Thread Ken Anderson
Guys, I found a site called lynda.com that has tons of training videos that look really good so far. Anyone have any experience with them? Thanks, Ken On Feb 12, 2013, at 3:28 PM, Ramsey Gurley wrote: > The basics > > http://www.w3schools.com/TAGS/ref_byfunc.asp > > They also have an intr

Re: foreach: list must not be a constant

2013-02-14 Thread John Pollard
So changing getPlayerGroups to return an NSMutableArray fixed it, though why does foreach require a mutable array? Is there any documentation that covers all the inline bindings and their arguments? Many thanks John On 14 Feb 2013, at 22:24, John Pollard wrote: > It only seems to be called onc

Re: foreach: list must not be a constant

2013-02-14 Thread John Pollard
It only seems to be called once for the page; though I have now put in lazy evaluation thanks. I had a moment of hope when I found I could right click on the error and Delete it in the Problems tab, but it came back on a rebuild. If only errors could be eternally vanquished by a right click + De

Re: foreach: list must not be a constant

2013-02-14 Thread Ken Anderson
I would probably cache the result set and return it on subsequent calls (assuming it stays static throughout the page's lifetime). On Feb 14, 2013, at 2:43 PM, Chuck Hill wrote: > Just an aside, but if you are using auto-binding sync that is going to be > doing a lot of fetching. > > Chuck >

Re: foreach: list must not be a constant

2013-02-14 Thread Chuck Hill
Just an aside, but if you are using auto-binding sync that is going to be doing a lot of fetching. Chuck On 2013-02-14, at 11:33 AM, John Pollard wrote: > It is implemented as a method returning an NSArray: > >// Used to list players to tick who is playing >public NSArray getPlayerGrou

Re: foreach: list must not be a constant

2013-02-14 Thread John Pollard
It is implemented as a method returning an NSArray: // Used to list players to tick who is playing public NSArray getPlayerGroups() { Object orderings[]={EOSortOrdering.sortOrderingWithKey("name", EOSortOrdering.CompareAscending)}; NSArray sortOrderings = new NSArray(

Re: foreach: list must not be a constant

2013-02-14 Thread Musall Maik
Please show the Java implementation of that list. Am 14.02.2013 um 20:24 schrieb John Pollard : > Hi List, > > In wolips html view I get an error on the first line of the following html > code: > > > > > > > > The error is on the forea

foreach: list must not be a constant

2013-02-14 Thread John Pollard
Hi List, In wolips html view I get an error on the first line of the following html code: The error is on the foreach line: "list must not be a constant", though it isn't a constant and it works ok when run. I have updated wolips b

Re: D2W embedded editing ??

2013-02-14 Thread Theodore Petrosky
yea, this is it. my css guy wanted a better solution to hacking and slamming in an overlay. I was hoping I could figure out how to use a AjaxModalDialog as that would do better here. I also don't like that when I click to edit or create, it refreshes the page. many times my user will have to s

Re: D2W embedded editing ??

2013-02-14 Thread Fabian Peters
I think Ted wants to disable the background component's elements while there is an embedded component in front. I've thought about doing this, but haven't looked into it yet. I guess it should be sufficient to add an overlay via CSS. Fabian Am 14.02.2013 um 17:03 schrieb David Holt: > Turn all

Re: D2W embedded editing ??

2013-02-14 Thread David Holt
Turn all the editable components on the parent page into strings. On 2013-02-14, at 8:42 AM, Theodore Petrosky wrote: > I have a to-many pwoObjects to-many milestones. > > when I click to edit or create a new milestone, the background attributes are > still editable. The relationship is

D2W embedded editing ??

2013-02-14 Thread Theodore Petrosky
I have a to-many pwoObjects to-many milestones. when I click to edit or create a new milestone, the background attributes are still editable. The relationship is edited with: ERMODEditRelationshipPage I am looking at the keys available, but I don't see a way to make the parentComponent NO

Re: Default all ERREST to json?

2013-02-14 Thread James Cicenia
Thanks everyone and and I will definitely re-read ERREST from Pascal. http://www.slideshare.net/wocommunity/errest-in-depth (page 36) Thanks On Feb 14, 2013, at 8:46 AM, George Domurot wrote: > add to Properties file: > > # Rest > ERXRest.defaultFormat=json > > > On Feb 14, 2013, at 6:42 A

Re: Default all ERREST to json?

2013-02-14 Thread Pascal Robert
It's all documented here: http://www.slideshare.net/wocommunity/errest-in-depth (page 36) I took 3 days to build that presentation, so use it. > Is there a properties switch to set the default response to json vs. xml? > > Thanks > James > ___ > Do n

Re: Default all ERREST to json?

2013-02-14 Thread George Domurot
add to Properties file: # Rest ERXRest.defaultFormat=json On Feb 14, 2013, at 6:42 AM, James Cicenia wrote: > Is there a properties switch to set the default response to json vs. xml? > > Thanks > James > ___ > Do not post admin requests to the list

Re: Default all ERREST to json?

2013-02-14 Thread Mike Schrag
String defaultFormatName = ERXProperties.stringForKeyWithDefault("ERXRest.defaultFormat", ERXRestFormat.xml().name()); On Feb 14, 2013, at 9:42 AM, James Cicenia wrote: > Is there a properties switch to set the default response to json vs. xml? > > Thanks > James > __

Default all ERREST to json?

2013-02-14 Thread James Cicenia
Is there a properties switch to set the default response to json vs. xml? Thanks James ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subsc

Re: Business rules and filtering

2013-02-14 Thread Pascal Robert
Le 2013-02-14 à 09:13, Musall Maik a écrit : > > Am 14.02.2013 um 15:09 schrieb Ken Anderson : >> >> While a rule engine may seem like overkill, it really isn't. If you have >> just 2 discount schemes that could possibly overlap, you already could use a >> rule engine. In the rule engine,

Re: Business rules and filtering

2013-02-14 Thread Ken Anderson
Agreed! While Pascal used the WOWODC cart as an example, I'm not 100% sure that WOWODC is his final goal. In that case, definitely code! On Feb 14, 2013, at 9:13 AM, Musall Maik wrote: > Still I think for an app that sells WOWODC tickets, it's overkill. You can do > the rule engine yourself

Re: Business rules and filtering

2013-02-14 Thread Musall Maik
Am 14.02.2013 um 15:09 schrieb Ken Anderson : > > While a rule engine may seem like overkill, it really isn't. If you have > just 2 discount schemes that could possibly overlap, you already could use a > rule engine. In the rule engine, it will be real easy to add new rules as > you add new

Re: Business rules and filtering

2013-02-14 Thread Ken Anderson
I think the general idea of a line item for each discount is a good one - you have history and accountability should the need arise to investigate. I think a rule engine is definitely the way to go here. I'm not sure how rule engines and general BPM flesh out, but my experience with rules engin

Re: Business rules and filtering

2013-02-14 Thread Maik Musall
Am 14.02.2013 um 14:00 schrieb Pascal Robert : >>> In a shopping cart, how would you apply discount based on business rules? >>> For example, if someone buy a quantity of 3 of the same item, you apply >>> discount X, or if an item is ordered before a certain date, you apply >>> discount Y. Yes

Re: Business rules and filtering

2013-02-14 Thread Pascal Robert
Le 2013-02-14 à 08:07, Ralph Scheuer a écrit : > Hi Pascal, > > You could consider the JBoss Drools Framework, or, if you want to implement > more complex processes, jBPM. Yeah, I was thinking of using Activiti (another BPM engine). And I wrote the workflow of the store in BPM notation (wi

Re: Business rules and filtering

2013-02-14 Thread Ralph Scheuer
Hi Pascal, You could consider the JBoss Drools Framework, or, if you want to implement more complex processes, jBPM. http://www.jboss.org/jbpm http://www.jboss.org/drools/ JBPM comes with a nice Eclipse plugin that even lets you define the process as a nice flowchart and hook it up to your

Re: Business rules and filtering

2013-02-14 Thread Pascal Robert
Le 2013-02-14 à 07:52, Maik Musall a écrit : > > Am 14.02.2013 um 13:38 schrieb Pascal Robert : > >> Hi guys, >> >> In a shopping cart, how would you apply discount based on business rules? >> For example, if someone buy a quantity of 3 of the same item, you apply >> discount X, or if an it

Re: Business rules and filtering

2013-02-14 Thread Maik Musall
Am 14.02.2013 um 13:38 schrieb Pascal Robert : > Hi guys, > > In a shopping cart, how would you apply discount based on business rules? For > example, if someone buy a quantity of 3 of the same item, you apply discount > X, or if an item is ordered before a certain date, you apply discount Y.

Business rules and filtering

2013-02-14 Thread Pascal Robert
Hi guys, In a shopping cart, how would you apply discount based on business rules? For example, if someone buy a quantity of 3 of the same item, you apply discount X, or if an item is ordered before a certain date, you apply discount Y. Yes, I can do that all in code, but that's not very flexi

Re: Any interest in WOWODC recordings on DVDs?

2013-02-14 Thread Markus Ruggiero
On 13.02.2013, at 19:06, prob...@macti.ca wrote: > We can ship the recordings as ASCII on a Vax 750. > Does it include the VMS/VAX license for the operating system? If yes, I'd take it. However what about shipping cost? ---markus--- > Envoyé de mon iPhone > > Le 2013-02-13 à 13:05, "Chuck H