Webobjects WoLips Wonder Tutorial Questions

2008-10-13 Thread Shaun Higgins
I have been following the tutorial "WO_WOLips_Wonder_Tutorial_Part_1". The tutorial is wonderful and answers a lot of questions I had about setting up a project using wolips. I am running into a few problems with this tutorial 1. For some reason migrations is not creating the table. I can create t

SQL Server 2005 Support Request 2

2008-09-30 Thread Shaun Higgins
I am having problems connecting Entity Modeler to SQL Server 2005 DB. I am using webobjects v5.4.3 First of all I found the last two articles on this subject extremely helpful. Each article got me closer to connecting to the database. I had the same problem as displayed in "RE: Microsoft SQL suppor

Wonder AJAX Fileupload problem.

2008-04-09 Thread shaun
used that in my test project but when i hit the page containing the fileupload the page just re-renders the fileupload component over and over again until the 'done' alert is displayed. Any idea why this would happen? Regards, shaun ___ Do

Re: String Qualifier for Number

2008-03-13 Thread shaun
sses got in the way and spoiled the fun; it checks that the object type provided matches the models type but '%1001%' is NAN so it throws an Exception. I'm not sure if there is somethign i can do to get around this or not? At that stage i figured i needed to try something els

Re: Slogan

2007-11-06 Thread shaun
dy hell are you?" Then a Kiwi may say something like: WO Bro! ey. Or not.. :) cheers bro, - shaun ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubs

Re: How does WO enforce serial request processing per session?

2007-08-28 Thread shaun
ssion.terminate application.sessionsToTerminate.remove(sessionId) end if cheers, - shaun ___ 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 Sub

Re: SQL Query Generation

2007-08-11 Thread shaun
%S")+"','-MM-DD HH24:MI:SS')"; else if( attribute.externalType().equals("NUMBER") ) formattedValue = value.toString(); else formattedValue = "'"+value.toString()+"'";

Re: Flex integration with WO

2007-08-09 Thread shaun
I web applications. AJAX, HTML, no thanks. Pascal Robert wrote: I'm looking at Flex 2 right now, and I was wondering if any of you is playing with this tech and if you are trying to integrate it with WO ? I guess I need to create a WO implementation of AMF3 so that data exchange is easier

Re: editingContext.deleteObject(object) immediately destroys relationships?

2007-04-08 Thread shaun
rmal? Are you calling removeObjectFromBothSidesOfRelationshipWithKey before deleting? regards, shaun ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Updat

Re: Display Correct Date and Time from Oracle DB

2007-01-23 Thread shaun
h mapped to oracle DATE attributes containing date & time information otherwise updates failed. You might want to ensure you have the correct drivers aswell. Oracle jdbc drivers: http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_1

Re: HTML to PDF?

2007-01-02 Thread shaun
www.htmldoc.org/ cheerio, - shaun ___ 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 Subscription: http://lists.apple.com/mailman/options/webo

Re: WOConditional Question

2007-01-02 Thread shaun
/WOKeyValueConditional.html The key needs to be a keypath in quotes, eg) kvc : WOKeyValueConditional{ key = "bar"; value = blah; } cheers, - shaun ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webo

Re: Best way to generate unique IDs that are not PKs

2007-01-01 Thread shaun
then catch the constraint violation exception and take appropriate action. I use a custom database function to do this type of thing. I use raw rows sql to select the next value from the function, then stuff the value into the relevant EO attribute. cheerio, - shaun _

Re: JAVAC or JIKES ?

2006-12-13 Thread shaun
Art Isbell wrote: On Dec 13, 2006, at 12:55 PM, shaun wrote: Amedeo Mantica wrote: a simple question… JAVAC or JIKES ? Jikes is a lot faster that Javac. Thats about it AFAIK. I've heard that claim as well, but also that recent javac versions have closed the performance gap

Re: JAVAC or JIKES ?

2006-12-13 Thread shaun
Amedeo Mantica wrote: a simple question… JAVAC or JIKES ? I looked in google, but unable to find benefits / advantages between these compilsrs… regards Amedeo Jikes is a lot faster that Javac. Thats about it AFAIK. - shaun ___ Do not post

Oracle and NVARCHAR2 with WO/EOF?

2006-11-22 Thread shaun
Obviously, doing so has some issues(see link above). Might not be a problem if all your columns are NVARCHAR2 though. HTH, - shaun ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev

Re: Earliest object in a table

2006-11-22 Thread shaun
objectFromRawRow(row); HTH. - shaun ___ 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 Subscription: http://lists.apple.com/mailman/options/webobject

Re: WebObjects Exception Details..

2006-11-21 Thread shaun
e 2.4 (downloading 2.4.1 now) on OS X Client 10.4.8 and WO 5.3. help, it's become really difficult to locate my exceptions without reference to any line or method. Baiss Eric Magnusson <http://www.Track-Your-Finances.com> <http://www.CascadeWebDesign.com> cheers, - sh

Re: WebObjects Exception Details...

2006-11-13 Thread shaun
eference to any line or method. ./james The log file should be helpful and provide a stack trace. grep for NullPointerException or something like that. cheers, - shaun ___ Do not post admin requests to the list. They will be ignored. Webobjects-d

Re: Eclipse / wolips / X-Code –– Baffled

2006-10-16 Thread shaun
le have when I say I prefer the WOD Editor in Eclipse :) Heh, well, I use a split emacs window a lot of the time for both, html and wod so I'm not saying a thing.. Although I have enjoyed using netbeans 5.something over the last few months.. I love being able to collapse the html

Re: Eclipse / wolips / X-Code –– Baffled

2006-10-16 Thread shaun
iful thing.. :) YMMV. regards - shaun ___ 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 Subscription: http://lists.apple.com/mailman/options/

WebObjects Developer position, Melbourne Australia

2006-10-12 Thread shaun
Hi, The company I work for is looking to hire an experienced WebObjects developer for fulltime work in our Melbourne office. If you are interested, contact me off list. regards, - shaun ___ Do not post admin requests to the list. They will be

Re: Problem with Oracle adapter and update

2006-10-10 Thread shaun
Hi, Tarun Reddy wrote: On Oct 10, 2006, at 8:02 PM, shaun wrote: Hi, Tarun Reddy wrote: On Oct 10, 2006, at 7:02 PM, Art Isbell wrote: On Oct 10, 2006, at 2:36 PM, Tarun Reddy wrote: Trying this in sqlplus with this statement: UPDATE IDEA SET STATUS = "A" WHERE (IDEA_O

Re: Problem with Oracle adapter and update

2006-10-10 Thread shaun
ULL AND NUMRATINGS is NULL AND PARENT_OID is NULL AND STATUS = 'P' AND USER_OID = 1); What is the oracle data type for the SUBMIT_DATE attribute? regards, - shaun ___ Do not post admin requests to the list. They will be ignored. Webobje

Re: Dealing with URLs length

2006-10-10 Thread shaun
think that is definitely Wiki worthy(if its not there already). regards, - shaun ___ 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

Re: TextDisplayFormatter.java - any updates? where can gnu.regexp be found?

2006-10-09 Thread shaun
e.woa/2/wa/ShareCodeItem?itemId=352 It requires gnu.regexp but I can't find anywhere to download it. I suspect that its functionality has been moved into a different package a couple of times. Try http://google.com/codesearch. regards, - shaun ___ Do

Re: EO/Java class default Values

2006-10-04 Thread shaun
ave defaults and what those defaults can be. FWIW. I also like to use the factory method pattern for constructing WOComponents too. YMMV. It seems that quite often something which makes sense to one person doesnt work so well for another, just something to consider I guess.. regards, - shaun

Re: Who's got the ?

2006-09-24 Thread shaun
Kurt Werle wrote: On Sep 22, 2006, at 1:48 PM, Paul Lynch wrote: On 22 Sep 2006, at 19:52, Kurt Werle wrote: > I want a row of submit buttons that don't look like crap. Which > means it looks like I can use on safari-like browsers and > on IE-like browsers. Unless someone can > suggest a

Re: Flattened relationship and iterator oddness

2006-09-10 Thread shaun
any documentation about it though that I can remember. Perhaps searching the omnigroup list archive would give you more info. cheers, - shaun ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: Newbie : Obtain the name of a server in Java

2006-09-06 Thread shaun
James Cicenia wrote: Jerry -- It works with Safari, IE6, and FireFox. I use this to change style sheets for "branded" customers. - James On Sep 6, 2006, at 7:07 PM, Jerry W. Walker wrote: Hi, James & Gilles, On Sep 6, 2006, at 7:37 PM, James Cicenia wrote: I do this in a Direct Action...

Re: Deploying 5.3 on Linux

2006-09-03 Thread shaun
ime via a sed script. You could create a shell script that echoes "Darwin", call it uname and put it in a dir which is in the path before the real uname binary. cheers, - shaun ___ Do not post admin requests to the list. They will be ig

Re: Mysterious EditingContext Swap

2006-08-01 Thread shaun
the error. cheers, - shaun Owen McKerrow wrote: Nope, not paraphrasing. You can see the full error message at bottom of the email. The only time I have heard of the active editing context is for a save. Nope haven't had the chnace yet to separate this out to its own project. Here

Re: ERJavaMail erroneously returns component

2006-08-01 Thread shaun
( toAddress , toName ); // Strings mail.setBCCAddresses ( bccAddresses ); // NSArray mail.sendMail(); } catch (Exception e) { System.out.println( "Email exception: " + e ); //replace with NSLog } } cheers, - shaun ___

Re: The most strange problem with bindings...

2006-07-31 Thread shaun
tween two different components, it acts as expected. Any ideias on this? Are you sure it is creating a new instance of the same component? I would guess it's not. Ie) if you println in the component constructor do you see the output when changing to the "new instance"

Re: The most strange problem with bindings...

2006-07-31 Thread shaun
r nested component non-synchronizing by overriding the method synchronizesVariablesWithBindings and return false. Then implement the valueForBinding method as you need to pull the binding values into the nested component. HTH. - shaun _

Re: JDBCChannel method failed to update

2006-07-25 Thread shaun
exception, then getting the user to handle the modification somehow is probably the solution you should consider rather than unchecking attributes used for locking. HTH. - shaun ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev

Re: New T-Shirts

2006-07-23 Thread shaun
d the screws. I recreated all the text + engraving effect on the interior, though, so I think it should look pretty good -- check the full-size one if you're concerned. The 3D EO one looks pretty darn cool on a shirt, IMHO :) Enjoy! ms cheers, - shaun _

Re: WWDC Security concern

2006-07-22 Thread shaun
Chuck Hill wrote: Besides, this IS America. You can always buy a nice, simple Glock 19 and a fresh box of ammo. :-P hmmf. I was under the impression that I would be issued with one when I got off the plane! Now I find out I have to BUY one! :) Chuck On Jul 21, 2006, at 3:14 PM, Migue

Re: WWDC WO Meet Up List

2006-07-19 Thread shaun
ounds good to me. I dont know how much a beer is worth, but I'm planning on having one of each listed on the website, so I dont think that $15 will be a problem, although finding my way back to my hotel afterwards might be.. :) cheers, - shaun

Re: WO and Memory Management

2006-07-16 Thread shaun
e. Are you a Project Wonder user? Nope, always wonder, never plunged. It may be my pet project while Im at WWDC this year. That sounds like another T-Shirt idea for Mike Schrag: Have you WONDERed? or Always WONDER! How about, WO Problems ? N

Re: WWDC WO Meet

2006-07-05 Thread shaun
gards - shaun ___ 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 Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%4

Re: Eclipse, WO and Windows

2006-06-28 Thread shaun
du.au - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cheers, - shaun ___ 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 Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ar

Re: Problem with webobject attributes in WOBuilder

2006-06-14 Thread shaun
ction setClass(){ var class = (classToUse == 1) ? "open" : "closed"; document.getElementById("myList").class=class; //whatever this is..? } //set the style. setClass(); Off the top of my head I don't know what the problems with this approach will be, if

Re: WOUnitTest pattern?

2006-05-13 Thread shaun
me("CustomPageOK") : pageWithName("CustomPageNotOk"); p.setLogicObject(lo); return (WOActionResults)p; } Now you simply test the LogicObject's functionality not the DA. regards, - shaun ___ Do not post admin request

Re: Postgresql + booleans = error

2006-02-17 Thread shaun
primitive). Not an int > or even an Object of type Boolean. > I just thought I'd point out that if your using Java 5.0 that you can do the following: Boolean b = new Boolean(true); if (b){ // its true }else{ // its false } Yay autoboxing! regards -shaun ___