[Opensource] typos in EDG

larry hamel expresso at codeguild.com
Mon Dec 1 11:39:16 PST 2003


Maurizio,

thanks, fixes for the typos are checked in.

could you be mixing the two alternative, valid-values schemes? (i.e., using lookup object or not)

for now, do not use the lookup scheme, so that we can focus on one issue at a time.

can you review your code, compare with examples (search for "setMultiValued" in expresso framework and examples), and if there's still a problem, post the setup & setValidValues methods, along with the exception stack?

larry

At 01:47 AM 12/1/2003, you wrote:
>OK Sandra and Larry, then these are the first ones:
>
>Chapter 5, Section Database Objects, Paragraph about Multi-Valued Fields (page 22 of .pdf file)
> There is a listing (10 lines) starting with "public Vector getValidValues..."
>   at lines 5. and 6. the addElement sintax is wrong. It takes a blank between "new" and "ValidValue" and the lines are missing a closed parenthesis.
>Same errors are on next page (in the listing that starts with "package org.fooey.testapp.dbobj;").
>
>BTW, as I said in another post on friday, I just can't get this bit of code to work. After solving the syntax errors, I got the code to compile correctly, but when I tried to run DBMaint over this DbObject, I got an error saying: "This object: (fully qualified object name) does not have valid values defined."
>I thought it was a matter of field names, because it's not clear whether the setLookupObject and the getValuesDefault methods refer to the calling or the called field. So, not to make mistakes, I renamed both fields to have the same name (like in the example), but I still get the same error.
>Has anyone got any clues or a working piece of code to show me? (so maybe I could help correct the document)
>
>Thanks very much for your help
>Ciao
>Maurizio
>
>Sandra Cann ha scritto:
>
>>You can send them to this list of course, or if you have a lot of them you
>>can send them to support at jcorporate.com.
>>
>> 
>>
>>>Hi everybody!
>>>I found a few typos in the PDF EDG. Who shall I inform?
>>>Ciao
>>>Maurizio
>>>   
>>
>>_______________________________________________
>>Opensource mailing list
>>Opensource at jcorporate.com
>>http://mail.jcorporate.com/mailman/listinfo/opensource
>>Archives: http://mail.jcorporate.com/pipermail/opensource/
>>
>> 
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list