Re: Code completion for a component's binding

2012-11-15 Thread Johann Werner
Am 16.11.2012 um 00:52 schrieb Michael Sharp : > They seem to be defined in code in WOLips. The possible values for "defaults" > here: > > org.objectstyle.wolips.bindings.api.IApiBinding > > public static final String[] ALL_DEFAULTS = new String[] { "Undefined", > IApiBinding.ACTIONS_DEFAULT,

Re: Code completion for a component's binding

2012-11-15 Thread Johnny Miller
I should for my own betterment... I wonder what would be the smart way to do it? In the API editor you do get a list of choices that corresponds to the list in Sharpy's email. Maybe if one of the choices was "Custom" a table could appear, not unlike the bindings, where you could add the sugges

Re: Code completion for a component's binding

2012-11-15 Thread Chuck Hill
You could always extend WOLips! :-) On 2012-11-15, at 3:57 PM, Johnny Miller wrote: > Bummer... > > Thanks anyway! > > On Nov 15, 2012, at 1:52 PM, Michael Sharp wrote: > >> They seem to be defined in code in WOLips. The possible values for >> "defaults" here: >> >> org.objectstyle.wolips

Re: Code completion for a component's binding

2012-11-15 Thread Johnny Miller
Bummer... Thanks anyway! On Nov 15, 2012, at 1:52 PM, Michael Sharp wrote: > They seem to be defined in code in WOLips. The possible values for "defaults" > here: > > org.objectstyle.wolips.bindings.api.IApiBinding > > public static final String[] ALL_DEFAULTS = new String[] { "Undefined",

Re: Code completion for a component's binding

2012-11-15 Thread Michael Sharp
They seem to be defined in code in WOLips. The possible values for "defaults" here: org.objectstyle.wolips.bindings.api.IApiBinding public static final String[] ALL_DEFAULTS = new String[] { "Undefined", IApiBinding.ACTIONS_DEFAULT, "Boolean", "YES/NO", "Date Format Strings", "Number Format St

Re: Code completion for a component's binding

2012-11-15 Thread Chuck Hill
I think what you are referring to is hard coded for specific binding types in the component editor. Chuck On 2012-11-15, at 3:39 PM, Johnny Miller wrote: > Hi Lon, > > Actually, I'm wondering how to add code completion to the value of the > binding. > > i.e. when you set value of the datef

Re: Code completion for a component's binding

2012-11-15 Thread Lon Varscsak
Ah, gotcha…yeah for values like dateformat there isn't any completion (that I know of). For other values like "value" it will complete after the $. So http://www.kahalawai.com> | e-mail <+jlmil...@kahalawai.com> > > On Nov 15, 2012, at 1:30 PM, Lon Varscsak wrote: > > Create an .api file (it's a

Re: Code completion for a component's binding

2012-11-15 Thread Michael Sharp
I've wondered myself, so I just had a sniff around some API files. e.g. ERXEditDateJavascript.api contains the following: … and offers the right hand side completion of exactly that in the wod editor - date format strings. Changing this to: has the expected effect - number

Re: Code completion for a component's binding

2012-11-15 Thread Johnny Miller
Hi Lon, Actually, I'm wondering how to add code completion to the value of the binding. i.e. when you set value of the dateformat binding for WOString the code completion will give you a suggested list of possible date formats i.e. %m/%d/%y I image that could also be set in the .api file but I

Re: Code completion for a component's binding

2012-11-15 Thread Lon Varscsak
Create an .api file (it's a tab in WOLips on the component) and put what bindings you want in there. -Lon On Thu, Nov 15, 2012 at 3:14 PM, Johnny Miller wrote: > Hi, > > I would like to add code completion to a component the way in WOString it > will give you a list of suggested number or date f

Code completion for a component's binding

2012-11-15 Thread Johnny Miller
Hi, I would like to add code completion to a component the way in WOString it will give you a list of suggested number or date formats for the respective binding. How do you declare this in your component? Thanks in advance, Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Comp

WO Developers

2012-11-15 Thread Juergen Lorenz Simon
Hello, I can offer two experienced WO developers in Germany right now. If you need us, please drop me a line. Kind Regards, Jürgen Simon ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-de

Re: Sub-components woes

2012-11-15 Thread Ramsey Gurley
On Nov 15, 2012, at 5:12 AM, Pascal Robert wrote: > > Le 2012-11-14 à 21:07, Johnny Miller a écrit : > >> I too have trouble with this stuff all the time... >> >> if it is a stateless components where does qtyForSynthManifestTransaction >> get stored? > > It's not stored anywhere except in

Re: Sub-components woes

2012-11-15 Thread Pascal Robert
Le 2012-11-14 à 21:16, Chuck Hill a écrit : > I have had this happen to me before, but I don't recall why. Logging out a > stack trace (or setting a breakpoint if you are feeling modern) when > setQtyForSynthManifestTransaction is called with a null value is the quickest > way to solve this.

Re: Sub-components woes

2012-11-15 Thread Pascal Robert
Le 2012-11-14 à 21:07, Johnny Miller a écrit : > I too have trouble with this stuff all the time... > > if it is a stateless components where does qtyForSynthManifestTransaction get > stored? It's not stored anywhere except in the component, I use this variable in a method in the component a

Re: Sub-components woes

2012-11-15 Thread Amedeo Mantica
I had a similar trouble too. Dynamic Elements works better when applicable Sent from my iPhone On 15/nov/2012, at 03:14, prob...@macti.ca wrote: > > > Envoyé de mon iPhone > > Le 2012-11-14 à 21:00, "Chuck Hill" a écrit : > >> Does BuildManifest have a reset() method. > > Yes, I reset the