Re: EOFetchSpecification - sorting by partial date

2015-07-13 Thread Timothy Worman
Just asking out loud mostly out of curiosity and a desire to get abused - I 
haven’t done this. Depending on the database could you use a trigger to update 
a “-mm column in the database on commit? Then model that column in 
addition to the date?

If you weren’t commonly committing changes to the initial date it seems like it 
would be pretty safe?

Tim Worman
UCLA GSEIS


 On Jul 13, 2015, at 2:18 PM, Calven Eggert cal...@mac.com wrote:
 
 I'm not going good to be changing the value of the date but thanks for the 
 heads up. Good idea on using the calculation to get a number!
 
 Calven
 
 
 On Jul 13, 2015, at 5:11 PM, Samuel Pelletier sam...@samkar.com wrote:
 
 Keep in mind that the YM value on your EO will not be updated if you change 
 the apptDate unless you refresh the object from the database.
 
 To save string creation and manipulation on the server, you may generate a 
 number instead of a string...
 
 EXTRACT(YEAR FROM APPT_DATE) * 100 + EXTRACT(MONTH FROM APPT_DATE) AS YM
 
 Samuel
 
 Le 2015-07-13 à 16:48, Calven Eggert cal...@mac.com a écrit :
 
 Thanks Chuck!
 
 I had to add the ‘AS’ clause to the Read Format, otherwise, I received an 
 invalid SQL statement.  I then took advantage of the situation by 
 concatenating my two values (year and month) and padded the month so that I 
 would always get a 6 digit string so I could then do some comparisons with 
 the value for a report.
 
 Read Format:
 EXTRACT(YEAR FROM APPT_DATE) || LPAD(EXTRACT(MONTH FROM APPT_DATE), 2, '0') 
 AS YM
 
 
 On Jul 13, 2015, at 4:10 PM, Chuck Hill ch...@gevityinc.com wrote:
 
 Sorry, not derived.  Battling too many tasks this morning.  A read format 
 should do it (so the same column defined as three class property 
 attributes: theDate, theDateYear and theDateMonth (feel free to pick 
 better names :-)
 DE4C48C1-45C2-420F-A017-59C3BC72CBD6.png
 
 
 
 
 On 2015-07-13, 1:05 PM, Theodore Petrosky wrote:
 
 I just looked in there. How do you set that up? I tried playing but I 
 guess I don’t understand the derived column.
 
 Thanks Chuck!
 
 
 On Jul 13, 2015, at 2:20 PM, Chuck Hill ch...@gevityinc.com wrote:
 
 Just a note that you can use the  extract (year from theDate) and extract 
 (month from theDate) in a derived column in EntityModeler which avoids 
 the need for a view.
 
 On 2015-07-13, 11:16 AM, Theodore Petrosky wrote:
 
 you didn’t mention your database, but I have done things like this with a 
 view.
 
 I created a view with the appropriate columns and in the select statement 
 I put in the order by
 
 CREATE OR REPLACE VIEW myNewView AS SELECT info1, info2, theDate FROM 
 theTable ORDER BY extract (year from theDate) desc, extract (month from 
 theDate) asc;
 
 A one point I actually set up some rules to make the ‘VIEW’ updatable.
 
 YMMV obviously depending on you access to the backend, and if Views are 
 supported.
 
 Ted
 
 
 On Jul 13, 2015, at 12:02 PM, Calven Eggert cal...@mac.com wrote:
 Hi, All
 I have a fetch that sorts records by three columns where one of the 
 columns is a date (timestamp).  Is there a way to sort the date by month 
  year only?  
 Thanks,
 Calven
 Here is the current fetch:
 ...
 EOSortOrdering sortBySource = new EOSortOrdering(source, 
 EOSortOrdering.CompareCaseInsensitiveAscending);
 EOSortOrdering sortByAppt = new EOSortOrdering(appointmentDate, 
 EOSortOrdering.CompareCaseInsensitiveAscending);
  EOSortOrdering sortBySite = new EOSortOrdering(“site, 
 EOSortOrdering.CompareCaseInsensitiveAscending);
  NSMutableArray orderings = new NSMutableArray();
  orderings.addObject(sortBySource);
  orderings.addObject(sortByAppt);
  orderings.addObject(sortBySite);
 EOFetchSpecification spec = new EOFetchSpecification(“records, qual, 
 orderings);
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
 This email sent to tedp...@yahoo.com
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com
 
 This email sent to ch...@gevityinc.com
 
 
 
 Calven
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
 
 This email sent to sam...@samkar.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 

Re: Components binding with custom object

2015-06-01 Thread Timothy Worman
+1

As is, WOSwitchComponent expects all child switched components to take the same 
bindings. It can be a pretty surly limitation. If your subcomponents take the 
same binding(s) then WOSwitchComponent works pretty great.

For “fun,” I created a set of interfaces (one each, for the base page with the 
switch component, and the switched component) which, when implemented, enforces 
an api where you can pass custom bindings. Then I can pass a single dictionary 
of bindings.

Works fine, but I’m not sure the cure was better than the disease!

Tim Worman
UCLA GSEIS


 On Jun 1, 2015, at 8:03 AM, Jean-François Veillette 
 jean_francois_veille...@yahoo.ca wrote:
 
 I can’t remember exactly.  It was solved a long time ago.
 All I can remember is that it was somehow related to instance not having 
 expected binding / ivars values.
 
 My comment where just to give good recommendation on the WOSwitch strategy:  
 it’s working great.
 
 But also to warn you that once you make it work in dev, you might still 
 encounter bug in extensive testing, and when you do, keep in mind that it 
 might be related to multiples instances of your component (WOSwitch will have 
 to instantiate one of your switched component).
 At the time, once I figured out exactly what was the problem, it was not hard 
 to fix, so you should have no problem fixing it either.
 
 Sorry, it’s all I remember.
 
 jfv
 
 
 On May 29, 2015, at 6:21 PM, HOUNKPONOU Ronald ronald.hounkpo...@gmail.com 
 wrote:
 
 Please Jean-François!
 
 How to not use it?
 I would like to learn good practices.
 
 
 2015-05-29 23:12 GMT+01:00 Jean-François Veillette 
 jean_francois_veille...@yahoo.ca:
 WOSwitchComponent?
 https://wiki.wocommunity.org/display/documentation/WOSwitchComponent
 
 I used it with great success, once I figured out how to not use it.
 Right now I can’t remember what was the symptom, what what the cause and how 
 I fixed it.
 All I remember is that it’s related to sharing instances your component 
 instantiated by the switch component.  So if you encounter a problem, keep 
 that in mind.
 
 jfv
 
 
 On May 29, 2015, at 5:22 PM, HOUNKPONOU Ronald 
 ronald.hounkpo...@gmail.com wrote:
 
 Hi everyone!!
 
 Thanks for all your response. 
 Everything is now working for me. 
 I was doing a mistake in the call of the component A in a third one (C) as 
 if A require the binding value. (A is the template that all pages should 
 use).
 
 But i have another question (I don't know if it is best to make a separate 
 post):
 
 Question : What is the best way to make a dynamiq page inclusion system?
 
 I have a lot of custumized components those i would like to listed on a 
 central page (this page use my template).
 And i want that depending of the clicked link the corresponding components 
 is load in the content area ofmy central page.
 
 Thanks for your help.
 
 2015-05-29 16:57 GMT+01:00 Jean-François Veillette 
 jean_francois_veille...@yahoo.ca:
 Hi Ronald,
 is your B component syncronizing bindings?
 If so, your B instance should receive a call equivalent to  « 
 b.takeValueForKey(session().authenticatedUser(), “userAccount”); »  so you 
 should comply to KVC for this key (public ivar, get/set method .. your 
 choice) to get it assigned and available.
 
 If your B component is non-synchronized, then you have to get it whenever 
 you need it:
 « User user = this.valueForBinding(“userAccount”); »
 
 Also, since your B component is in a framework and is aware of the concept 
 of a userAccount, I would try to keep the dependency as loose as possible 
 and NOT add coupling directly with the session object.
 But if you absolutely have to do it (last resort), it could be done with 
 simple KVC:
  « User user = (User) session().valueForKey(authenticatedUser”); »
 or even:
  « User user = (User) valueForKeyPath(“session.authenticatedUser”); »
 
 Ways of passing generic/contextual objects from the front-end layer to the 
 lower end without adding too much coupling is by going through the 
 editingContext.userInfo dictionary, or through the current thread userInfo 
 dictionary (see ERXThreadStorage).  Those 2 objects are available in most 
 lower level objects and can be set from the upper level just as easily.
 
 jfv
 
 
 On May 29, 2015, at 9:11 AM, HOUNKPONOU Ronald 
 ronald.hounkpo...@gmail.com wrote:
 
 In A.html
 
 webobject name = template
 
 /webobject
 
 
 In A.wood
 
 template : B {
userAccount = session.authenticatedUser;
 }
 
 
 in B.html
 
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
 
 html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
 head
meta http-equiv=Content-Type content=text/html; charset=utf-8/
titleuntitled/title
 /head
 body
 webobject name = specialitemedicale
 labelLibellé/label
 webobject name = libelle/
 webobject name = enregistrer/
 /webobject
 /body
 /html
 
 in B.wood
 
 specialitemedicale : WOForm {
 }
 
 libelle : WOTextField 

Re: D2W - help with rule

2015-05-13 Thread Timothy Worman
Nice. Thanks. I’m always solving problems right after I ask a question, 
so………..I also tried this and it works.

110 : ((entity.name = 'Role' and task != 'editRelationship') and 
session.loggedInMember.canEditRolesInAdminApp = 1) = isEntityEditable = true 
[com.webobjects.directtoweb.BooleanAssignment]

I don’t like either of the ones that work as much as the original one that 
doesn’t!!

Tim Worman
UCLA GSEIS


 On May 13, 2015, at 1:15 PM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 this one works for me:
 
 100 : entity.name = 'AdRelease' = isEntityEditable = {conditionKey = 
 session.user.security.canEditAdRelease; trueValue = true; } 
 [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment]
 
 
 
 On May 13, 2015, at 4:12 PM, Timothy Worman li...@thetimmy.com wrote:
 
 My D2W kung fu is not the strongest and I’m in need of some D2W guru love. I 
 have an entity that I only want to be editable for certain users. So, I have 
 this in my rule file:
 
 110 : (entity.name = ‘Role' and task != 'editRelationship') = 
 isEntityEditable = session.loggedInMember.canEditRolesInAdminApp 
 [com.webobjects.directtoweb.BooleanAssignment]
 
 The only problem is that now edit buttons are never presented regardless of 
 who the user is. If I simply use “true” on the RHS it works fine. Is the 
 issue that I cannot reference the session from the RHS of a rule?
 
 Tim Worman
 UCLA GSEIS
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
 
 This email sent to tedp...@yahoo.com
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: D2W - help with rule

2015-05-13 Thread Timothy Worman
I foolishly thought it might be cool enough to evaluate the key path. :-) 
Thinking it through I see why the receiver can’t do that.

Tim Worman
UCLA GSEIS

 On May 13, 2015, at 1:56 PM, Ramsey Gurley rgur...@smarthealth.com wrote:
 
 The boolean assignment expects a boolean value. A key path is not a boolean 
 value :) If it did somehow work, it still wouldn’t work because the first 
 time you fired the rule, it would cache the value, and that would be the 
 value forever. 
 
 Your second attempt is the proper approach, because it will cache and fire 
 correctly based on the keys in the lhs.
 
 On May 13, 2015, at 1:18 PM, Timothy Worman li...@thetimmy.com wrote:
 
 Nice. Thanks. I’m always solving problems right after I ask a question, 
 so………..I also tried this and it works.
 
 110 : ((entity.name = 'Role' and task != 'editRelationship') and 
 session.loggedInMember.canEditRolesInAdminApp = 1) = isEntityEditable = 
 true [com.webobjects.directtoweb.BooleanAssignment]
 
 I don’t like either of the ones that work as much as the original one that 
 doesn’t!!
 
 Tim Worman
 UCLA GSEIS
 
 
 On May 13, 2015, at 1:15 PM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 this one works for me:
 
 100 : entity.name = 'AdRelease' = isEntityEditable = {conditionKey = 
 session.user.security.canEditAdRelease; trueValue = true; } 
 [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment]
 
 
 
 On May 13, 2015, at 4:12 PM, Timothy Worman li...@thetimmy.com wrote:
 
 My D2W kung fu is not the strongest and I’m in need of some D2W guru love. 
 I have an entity that I only want to be editable for certain users. So, I 
 have this in my rule file:
 
 110 : (entity.name = ‘Role' and task != 'editRelationship') = 
 isEntityEditable = session.loggedInMember.canEditRolesInAdminApp 
 [com.webobjects.directtoweb.BooleanAssignment]
 
 The only problem is that now edit buttons are never presented regardless 
 of who the user is. If I simply use “true” on the RHS it works fine. Is 
 the issue that I cannot reference the session from the RHS of a rule?
 
 Tim Worman
 UCLA GSEIS
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
 
 This email sent to tedp...@yahoo.com
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

D2W - help with rule

2015-05-13 Thread Timothy Worman
My D2W kung fu is not the strongest and I’m in need of some D2W guru love. I 
have an entity that I only want to be editable for certain users. So, I have 
this in my rule file:

110 : (entity.name = ‘Role' and task != 'editRelationship') = isEntityEditable 
= session.loggedInMember.canEditRolesInAdminApp 
[com.webobjects.directtoweb.BooleanAssignment]

The only problem is that now edit buttons are never presented regardless of who 
the user is. If I simply use “true” on the RHS it works fine. Is the issue that 
I cannot reference the session from the RHS of a rule?

Tim Worman
UCLA GSEIS




 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder 7 and 8

2015-05-01 Thread Timothy Worman
You’d be surprised what some of us stupider people have done, I mean, are doing 
(going to a corner with my dunce cap). :-)

For people that need to run Java 6, there will be a stable branch for them.

Tim Worman
UCLA GSEIS

 On May 1, 2015, at 9:26 AM, Ramsey Gurley rgur...@smarthealth.com wrote:
 
 I’d wager if someone hasn’t updated OS since Snow Leopard, they aren’t going 
 to update Java or Wonder, even if it is available.
 
 On May 1, 2015, at 8:51 AM, Pascal Robert prob...@macti.ca wrote:
 
 I will give you a good reason of not moving to Java 8: a lot of people in 
 the community are still deploying on OS X versions that can only use Java 6 
 or 5. I still don't understand why people still deploy on OS X, but anyway.
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: OT: The Beers of WOWODC

2015-04-29 Thread Timothy Worman
Jealous, as always. Looks like Good Times ©. I hate myself for not attending - 
again.

We need names on the pictures so that we can smile or frown appropriately 
depending on who we’re looking at.

Tim Worman
UCLA GSEIS


 On Apr 29, 2015, at 4:52 AM, David Avendasora webobje...@avendasora.com 
 wrote:
 
 For those that were not able to make it to Hamburg:
 
 https://www.icloud.com/photostream/#A75qXGF1GXsg0N
 
 —
 WebObjects - so easy that even Dave Avendasora can do it!™
 —
 David Avendasora
 Senior Software Abuser
 Nekesto, Inc.
 
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: question on ERMailDeliveryHTML

2015-04-27 Thread Timothy Worman
The component in question contained a repetition which was repeating over a 
“row” subcomponent. I decided to make a “light” version of the row component 
which relied only on WOString and WOHyperlink. I refactored the “heavier” row 
component to extend the new, lighter one - and which will only be used inside 
the app.

Using ERMailUtils.instantiatePage does not create a session using the lighter 
version of the “row” component embedded. I think like Chuck said, something on 
the page was requiring a session.

Tim Worman
UCLA GSEIS


 On Apr 25, 2015, at 3:28 PM, A.R.E Angela olm...@me.com wrote:
 
 ERMailUtils.instantiatePage calls the component’s session() method which will 
 create a Session.
 What I used to do in a distant past was to create a component with the normal 
 constructor and pass to this constructor a dummy WOContext. I was using this 
 technique to send batches of emails in the background, so not triggered by 
 any UI action. Below you see how I used to create such a dummy WOContext.
 Hope this helps.
 
 Rudi Angela
 
 public WOContext dummyContext()
 {
 WOApplication app = Application.application();
 String dummyUrl = app.cgiAdaptorURL() + / + app.name() + 
 .woa/wa/dummy;
 WORequest request = app.createRequest(GET, dummyUrl, HTTP/1.0, 
 null, null, null);
 WOContext context = app.createContextForRequest(request);
 context._generateCompleteURLs ();
 return context;
 }
 
 
 On 24 apr. 2015, at 19:51, Chuck Hill ch...@gevityinc.com wrote:
 
 I’d be surprised if you could NOT replace some bindings to avoid session 
 creation.
 
 Chuck
 
 
 On 2015-04-24, 10:24 AM, Timothy Worman wrote:
 
 Yeah, I see what you’re saying. That’s why I mentioned in my first that the 
 component contains things that I wouldn’t want to do by hand. I’ll have to 
 examine the component and remind myself of which WOComponents require a 
 session. I may be able to replace bits and pieces.
 
 Tim Worman
 UCLA GSEIS
 
 On Apr 23, 2015, at 3:56 PM, Chuck Hill ch...@gevityinc.com wrote:
 I think you are missing my point.  It is not ERMailUtils.instantiatePage 
 that is creating a session, it is the content of your component.  The 
 component you are e-mailing is using component actions, or referencing 
 session.something, that is why it is creating a session (I think, this is 
 what the cause usually is).  You can log out a stack trace (new 
 RuntimeException(“Session Created HERE”).printStackTrace() ) in the session 
 constructor to see why and where they are being created.  If you examine the 
 component you should be able to see what needs to be changed.  If you are 
 mailing out component actions, the recipients are not going to be able to 
 use them.
 Chuck
 On 2015-04-23, 3:47 PM, Timothy Worman wrote:
 Hi Chuck!
 The component that is being emailed isn’t being sent as the result of a user 
 action. It is being sent as part of a quartz job. For a bunch of fetched 
 EO’s, their global ID’s are passed to a method that uses 
 ERMailUtils.instantiatePage to create an instance of the component for each 
 EO. This all happens outside of userland.
 One thing I did was add Session.terminate in the finally block after
 try {_mailDelivery.sendEmail()}
 is called. Not sure if that is necessary.
 Tim Worman
 UCLA GSEIS
 On Apr 23, 2015, at 3:07 PM, Chuck Hill ch...@gevityinc.com wrote:
 Hi Tim,
 It is probably because your email is using component actions instead of 
 direct actions.  Component actions require a session and are definitely not 
 what you want in an email.  For WOHyperlink, as an example, you need to bind 
 directActionName instead of action.
 Chuck
 On 2015-04-23, 12:25 PM, Timothy Worman wrote:
 In my app I am tracking session creation - as a way to sniff out some issues 
 I’ve had with some going stray. Anyhow, I am sending NSArrayEOGlobalID to 
 a background task that sends emails using ERMailDeliveryHTML. These are 
 component based emails.
 Low and behold, each and every one creates a new session. Certainly I 
 understand why this could/would happen depending on the contents of the 
 component/page.
 I am most curiouser about what approaches decent WO folk might use to avoid 
 this. This is how I’m abusing things:
for(Object aPersonGlobalIdObject : approverIds.toArray()) {
 EOGlobalID aGlobalID = (EOGlobalID)aPersonGlobalIdObject;
 MyComponent _component = (MyComponent) 
 ERMailUtils.instantiatePage(MyComponent, null);
 _component.setGlobalId(aGlobalID);
 try {
   _component.sendThisComponentToPerson();
 }
 other stuff….
 }
 I had thought ERMailUtils.instantiatePage was made for doing this without 
 creating a session? But I must have fooled myself.
 Tim Worman
 UCLA GSEIS
 
 
 ___
 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

Re: WOLips update site for Eclipse 4.4 (Luna)

2015-04-27 Thread Timothy Worman
Muchas Gracias!

Tim Worman
UCLA GSEIS

 On Apr 27, 2015, at 8:19 AM, Gavin Eadie ga...@umich.edu wrote:
 
 Kudos, gentlemen ..
 
 On Apr 26, 2015, at 12:39 PM, Ken Anderson kenli...@anderhome.com wrote:
 
 WOLips for Eclipse 4.4 (Luna) is now successfully building on the 
 WOCommunity Jenkins server!
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: question on ERMailDeliveryHTML

2015-04-24 Thread Timothy Worman
Yeah, I see what you’re saying. That’s why I mentioned in my first that the 
component contains things that I wouldn’t want to do by hand. I’ll have to 
examine the component and remind myself of which WOComponents require a 
session. I may be able to replace bits and pieces.

Tim Worman
UCLA GSEIS

 On Apr 23, 2015, at 3:56 PM, Chuck Hill ch...@gevityinc.com wrote:
 
 I think you are missing my point.  It is not ERMailUtils.instantiatePage that 
 is creating a session, it is the content of your component.  The component 
 you are e-mailing is using component actions, or referencing 
 session.something, that is why it is creating a session (I think, this is 
 what the cause usually is).  You can log out a stack trace (new 
 RuntimeException(“Session Created HERE”).printStackTrace() ) in the session 
 constructor to see why and where they are being created.  If you examine the 
 component you should be able to see what needs to be changed.  If you are 
 mailing out component actions, the recipients are not going to be able to use 
 them.
 
 Chuck
 
 
 On 2015-04-23, 3:47 PM, Timothy Worman wrote:
 
 Hi Chuck!
 
 The component that is being emailed isn’t being sent as the result of a user 
 action. It is being sent as part of a quartz job. For a bunch of fetched 
 EO’s, their global ID’s are passed to a method that uses 
 ERMailUtils.instantiatePage to create an instance of the component for each 
 EO. This all happens outside of userland.
 
 One thing I did was add Session.terminate in the finally block after
 
 try {_mailDelivery.sendEmail()}
 
 is called. Not sure if that is necessary.
 
 Tim Worman
 UCLA GSEIS
 
 
 On Apr 23, 2015, at 3:07 PM, Chuck Hill ch...@gevityinc.com wrote:
 Hi Tim,
 It is probably because your email is using component actions instead of 
 direct actions.  Component actions require a session and are definitely not 
 what you want in an email.  For WOHyperlink, as an example, you need to bind 
 directActionName instead of action.
 Chuck
 On 2015-04-23, 12:25 PM, Timothy Worman wrote:
 In my app I am tracking session creation - as a way to sniff out some issues 
 I’ve had with some going stray. Anyhow, I am sending NSArrayEOGlobalID to a 
 background task that sends emails using ERMailDeliveryHTML. These are 
 component based emails.
 Low and behold, each and every one creates a new session. Certainly I 
 understand why this could/would happen depending on the contents of the 
 component/page.
 I am most curiouser about what approaches decent WO folk might use to avoid 
 this. This is how I’m abusing things:
   for(Object aPersonGlobalIdObject : approverIds.toArray()) {
EOGlobalID aGlobalID = (EOGlobalID)aPersonGlobalIdObject;
MyComponent _component = (MyComponent) 
 ERMailUtils.instantiatePage(MyComponent, null);
_component.setGlobalId(aGlobalID);
try {
  _component.sendThisComponentToPerson();
}
 other stuff….
 }
 I had thought ERMailUtils.instantiatePage was made for doing this without 
 creating a session? But I must have fooled myself.
 Tim Worman
 UCLA GSEIS
 
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Timothy Worman
Hi Chuck!

The component that is being emailed isn’t being sent as the result of a user 
action. It is being sent as part of a quartz job. For a bunch of fetched EO’s, 
their global ID’s are passed to a method that uses ERMailUtils.instantiatePage 
to create an instance of the component for each EO. This all happens outside of 
userland.

One thing I did was add Session.terminate in the finally block after

try {_mailDelivery.sendEmail()}

 is called. Not sure if that is necessary.

Tim Worman
UCLA GSEIS


 On Apr 23, 2015, at 3:07 PM, Chuck Hill ch...@gevityinc.com wrote:
 
 Hi Tim,
 
 It is probably because your email is using component actions instead of 
 direct actions.  Component actions require a session and are definitely not 
 what you want in an email.  For WOHyperlink, as an example, you need to bind 
 directActionName instead of action.
 
 Chuck
 
 
 On 2015-04-23, 12:25 PM, Timothy Worman wrote:
 
 In my app I am tracking session creation - as a way to sniff out some issues 
 I’ve had with some going stray. Anyhow, I am sending NSArrayEOGlobalID to a 
 background task that sends emails using ERMailDeliveryHTML. These are 
 component based emails.
 
 Low and behold, each and every one creates a new session. Certainly I 
 understand why this could/would happen depending on the contents of the 
 component/page.
 
 I am most curiouser about what approaches decent WO folk might use to avoid 
 this. This is how I’m abusing things:
 
  for(Object aPersonGlobalIdObject : approverIds.toArray()) {
   EOGlobalID aGlobalID = (EOGlobalID)aPersonGlobalIdObject;
   MyComponent _component = (MyComponent) 
 ERMailUtils.instantiatePage(MyComponent, null);
   _component.setGlobalId(aGlobalID);
   try {
 _component.sendThisComponentToPerson();
   }
 other stuff….
 }
 
 I had thought ERMailUtils.instantiatePage was made for doing this without 
 creating a session? But I must have fooled myself.
 
 Tim Worman
 UCLA GSEIS
 
 
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: app deadlock issue

2015-02-13 Thread Timothy Worman
Thanks Chuck! I’ll look into some of those options. I appreciate your input.

Tim Worman
UCLA GSEIS

 On Feb 12, 2015, at 8:29 PM, Chuck Hill ch...@gevityinc.com wrote:
 
 Hi Tim,
 
 
 On 2015-02-12, 7:24 PM, Timothy Worman wrote:
 
 All:
 
 I have an application that deadlocks every time I try to bounce instances. 
 The previous instance of the app never will completely shutdown. Since this 
 isn’t (yet) my forte, this is what my jstack output looks like:
 
 General jstack reading tips welcome as well - gotta do some learnin’.
 
 The first thing I do is pop these into a text editor and search and replace 
 on the repeated traced (replace with nothing) so you can get it down to the 
 interesting ones.  At least then you can see the trees. 
 
 Next, No deadlocks found.” it is not deadlocked.  The run loop:
 
 Thread 1295: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be 
 imprecise)
 - 
 com.webobjects.appserver._WORunLoop._acceptInputBeforeDate(com.webobjects.foundation.NSTimestamp)
  @bci=98, line=244 (Interpreted frame)
 - 
 com.webobjects.appserver._WORunLoop.runBeforeDate(com.webobjects.foundation.NSTimestamp)
  @bci=39, line=95 (Interpreted frame)
 - com.webobjects.appserver.WOApplication._runOnce() @bci=17, line=1095 
 (Interpreted frame)
 - com.webobjects.appserver.WOApplication.run() @bci=106, line=1248 
 (Interpreted frame)
 - er.extensions.appserver.ERXApplication.run() @bci=292, line=1417 
 (Interpreted frame)
 - com.webobjects.appserver.WOApplication.main(java.lang.String[], 
 java.lang.Class) @bci=55, line=548 (Interpreted frame)
 - er.extensions.appserver.ERXApplication.main(java.lang.String[], 
 java.lang.Class) @bci=6, line=861 (Interpreted frame)
 - edu.ucla.gseis.ets.Application.main(java.lang.String[]) @bci=3, line=68 
 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, 
 java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, 
 java.lang.Object[]) @bci=100, line=62 (Interpreted frame)
 - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, 
 java.lang.Object[]) @bci=6, line=43 (Interpreted frame)
 - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) 
 @bci=56, line=483 (Interpreted frame)
 - com.webobjects._bootstrap.WOBootstrap.main(java.lang.String[]) @bci=118, 
 line=87 (Interpreted frame)
 
 Can’t exit as some thread is still running.
 
 And this here is the problem:
 
 Thread 62723: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be 
 imprecise)
 - java.lang.Object.wait() @bci=2, line=502 (Compiled frame)
 - 
 com.webobjects.appserver.WOSessionStore.checkOutSessionWithID(java.lang.String,
  com.webobjects.appserver.WORequest) @bci=48, line=191 (Compiled frame)
 - 
 com.webobjects.appserver.WOApplication.restoreSessionWithID(java.lang.String, 
 com.webobjects.appserver.WOContext) @bci=9, line=1913 (Compiled frame)
 - 
 er.extensions.appserver.ERXApplication.restoreSessionWithID(java.lang.String, 
 com.webobjects.appserver.WOContext) @bci=134, line=2406 (Compiled frame)
 - 
 er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(com.webobjects.appserver.WOApplication,
  com.webobjects.appserver.WOContext, com.webobjects.foundation.NSDictionary) 
 @bci=55, line=260 (Compiled frame)
 - 
 er.extensions.appserver.ERXComponentRequestHandler._handleRequest(com.webobjects.appserver.WORequest)
  @bci=113, line=302 (Compiled frame)
 - 
 er.extensions.appserver.ERXComponentRequestHandler.handleRequest(com.webobjects.appserver.WORequest)
  @bci=44, line=378 (Compiled frame)
 - 
 com.webobjects.appserver.WOApplication.dispatchRequest(com.webobjects.appserver.WORequest)
  @bci=32, line=1687 (Compiled frame)
 - 
 er.extensions.appserver.ERXApplication.dispatchRequestImmediately(com.webobjects.appserver.WORequest)
  @bci=74, line=2112 (Compiled frame)
 - 
 er.extensions.appserver.ERXApplication.dispatchRequest(com.webobjects.appserver.WORequest)
  @bci=13, line=2077 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.runOnce() @bci=473, 
 line=144 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=129, line=226 
 (Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)
 
 It is waiting to check out a session that is already checked out.  As there 
 are zero other active threads, the only possible explanation for this is that 
 the session never got checked back in.  This is almost certainly because one 
 of our Session method threw an exception.  The most likely culprit is 
 sleep().  You should have a try…finally block in this method and call super() 
 in the finally.  Exceptions thrown from awake() and terminate() might 
 possibly also cause this, I don’t recall at the moment, but I would use a 
 try…finally block around the call to super() just to be safe.If you

Re: AjaxAutoComplete

2015-02-13 Thread Timothy Worman
Louis:

Always make sure that all Ajax elements have unique id’s. If the items in the 
list have a unique attribute like “employeeId” or something, in your java you 
can make the id =  aac_employeeId. You can also generate id values like in some 
Wonder components:

public String id() {
  String id = _id;
  if (id == null) {
id = ERXWOContext.safeIdentifierName(context(), true);
_id = id;
  }
  return id;
}

Then, different elements in the row could have id’s like:

public String modalDialogId() {
return rowModalDialog_ + id();
}

public String checkboxId() {
return rowCheckbox_ + id();
}

public String autoCompleteId() {
return “rowAutoComplete + id();
}

Tim Worman
UCLA GSEIS


 On Feb 13, 2015, at 1:25 PM, Louis Demers louisdem...@mac.com wrote:
 
 Hi,
 
   I successfully used AjaxAutoComplete in a few places in my app. I was 
 able to get 2 AjaxAutoComplete to work in the same page but I get this 
 “quouizy feeling I did it wrong but got it working anyway.
 
 But now I’m trying to use it inside a wo:repetition and not getting any luck. 
 Is that possible ?  I seem to remember discussion about setting unique 
 element ID  but could not locate anything in the mail archives.
 
 Pointers ?
 
 Thanks for any help
 
 
 
 PS: Here is how I got 2 AjaxAutoComplete to work in the same page.
 
 Partial .wo _
   div
 div class = labelsold by:/div
 wo:AjaxAutoComplete value = $aSellerString list = 
 $candidateSeller displayString = $aSeller.fullName item = $aSeller 
 selection = $selectedSeller maxItems = 20 size = 20 /
   /div
   div class = info
 prewo:str value = $sal.soldBy.coordinates/wo:str /pre
   /div
 /div
 div class = cell
   div
 div class = labelsold to:/div
 wo:AjaxAutoComplete value = $aBuyerString list = 
 $candidateBuyer displayString = $aBuyer.fullName item = $aBuyer 
 selection = $selectedBuyer maxItems = 20 size = 20 /
   /div
   div class = info
 prewo:str value = $sal.soldTo.coordinates/wo:str /pre
   /div
 /div
 Partial .wo _
 
 
 Partial .java ___
 
   public String aSellerString;
   public Contact aSeller;
   private Contact selectedSeller;
 
   public String aBuyerString;
   public Contact aBuyer;
   private Contact selectedBuyer;
 
   // 
 __
   public NSArrayContact candidateSeller() {
   return Contact.suggestions(ec, aSellerString);
   }
 
   // 
 __
   public NSArrayContact candidateBuyer() {
   return Contact.suggestions(ec, aBuyerString);
   }
 
   // 
 __
   public NSArrayContact candidateBiller() {
   return Contact.suggestions(ec, aBillerString);
   }
 
   // 
 __
   public NSArraySpec candidateSpec() {
   return Spec.suggestions(ec, aSpecString);
   }
 
   // 
 __
   public Contact getSelectedSeller() {
   return selectedSeller;
   }
 
   public void setSelectedSeller(Contact selectedItem) {
   sal.setSoldByRelationship(selectedItem);
   selectedSeller = selectedItem;
   }
 
   // 
 __
   public Contact getSelectedBuyer() {
   return selectedBuyer;
   }
 
   public void setSelectedBuyer(Contact selectedItem) {
   sal.setSoldToRelationship(selectedItem);
   selectedBuyer = selectedItem;
   }
 
   // 
 __
 
 
 
 
 
 Louis Demers eng.
 www.obzerv.com
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

 ___
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 

app deadlock issue

2015-02-12 Thread Timothy Worman
All:

I have an application that deadlocks every time I try to bounce instances. The 
previous instance of the app never will completely shutdown. Since this isn’t 
(yet) my forte, this is what my jstack output looks like:

General jstack reading tips welcome as well - gotta do some learnin’.

==

Attaching to process ID 51753, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.25-b02
Deadlock Detection:

No deadlocks found.

Thread 71171: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be 
imprecise)
 - er.javamail.ERMailSender.run() @bci=26, line=356 (Compiled frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)


Thread 66307: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Compiled 
frame; information may be imprecise)
 - java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7, 
line=404 (Compiled frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=545 
(Compiled frame)
 - java.net.ServerSocket.accept() @bci=48, line=513 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=210 
(Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)


Thread 65795: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Compiled 
frame; information may be imprecise)
 - java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7, 
line=404 (Compiled frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=545 
(Compiled frame)
 - java.net.ServerSocket.accept() @bci=48, line=513 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=210 
(Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)


Thread 65283: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Compiled 
frame; information may be imprecise)
 - java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7, 
line=404 (Compiled frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=545 
(Compiled frame)
 - java.net.ServerSocket.accept() @bci=48, line=513 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=210 
(Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)


Thread 64771: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Compiled 
frame; information may be imprecise)
 - java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7, 
line=404 (Compiled frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=545 
(Compiled frame)
 - java.net.ServerSocket.accept() @bci=48, line=513 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=210 
(Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)


Thread 64259: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Compiled 
frame; information may be imprecise)
 - java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7, 
line=404 (Compiled frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=545 
(Compiled frame)
 - java.net.ServerSocket.accept() @bci=48, line=513 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=210 
(Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)


Thread 63747: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Compiled 
frame; information may be imprecise)
 - java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7, 
line=404 (Compiled frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=545 
(Compiled frame)
 - java.net.ServerSocket.accept() @bci=48, line=513 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=210 
(Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)


Thread 63235: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Compiled 
frame; information may be imprecise)
 - java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7, 
line=404 (Compiled frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=545 
(Compiled frame)
 - java.net.ServerSocket.accept() @bci=48, line=513 (Compiled frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=210 
(Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)


Thread 62723: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be 
imprecise)
 - java.lang.Object.wait() @bci=2, line=502 (Compiled frame)
 - 

Re: assigning relationship in willInsert()

2015-02-11 Thread Timothy Worman
Isn’t init() the Wonder Preferred Method ™? :-)

Tim Worman
UCLA GSEIS


 On Feb 11, 2015, at 8:38 AM, Chuck Hill ch...@gevityinc.com wrote:
 
 On 2015-02-11, 8:26 AM, Theodore Petrosky wrote:
 
 so are you suggesting that awakeFromInsertion is the correct place to assign 
 these entities?
 
 That is a more correct place.
 
 
 I actually assumed that there was an editingContext at this point. And you 
 know what they say about assuming.
 
 My interpretation of “willInsert” is that there is an EC, but the EO has not 
 been inserted into it yet.  And EO that is not in an EC is a bomb.
 
 
 If I put my code in awake from insertion, I then call 
 “editingContext().saveChanges” at the end?
 
 I am NOT a fan of having EOs call saveChanges().  That is possibly OK but not 
 something that I would do.   All of this seems like something that belongs in 
 an Controller object.
 
 
 Chuck
 
 
 
 
 On Feb 11, 2015, at 11:21 AM, Chuck Hill ch...@gevityinc.com wrote:
 
 Doing anything to an EO when it is not in an EC (e.g. Before it is inserted) 
 seems like a Very Bad Idea.  EOF is not expecting this.
 
 Chuck
 
 
 On 2015-02-11, 8:17 AM, Theodore Petrosky wrote:
 
 but (and I will test this assumption) isn’t awakeFromInsertion called AFTER 
 the insertion? and willInsert Before?
 
 I need to assign these relationships BEFORE the main EO is inserted. So in 
 my case, I want to relate all the BOOKS that belong to the Show, then assign 
 the PrimaryPlayer to the books.
 
 As I said, I will confirm the order of events with some tests.
 
 The next question is the exception. If two people are marked PrimaryMusician 
 ( which is an operator error ), I want to throw an exception and tell the 
 user, “Sorry, could not assign person to Viola as two people are marked 
 “Primary Player”! (Jane Doe, Peter Simpson)
 
 
 On Feb 11, 2015, at 10:49 AM, Samuel Pelletier sam...@samkar.com wrote:
 
 Theodore,
 I think your code would be in a better place in the awakeFromInsertion 
 instead of willInsert.
 awakeFromInsertion is called only once when the EO is created. My 
 understanding is willInsert is called when a EO will be saved the first time 
 by an EOEditingcontext.
 Samuel
 Le 2015-02-10 à 09:13, Theodore Petrosky tedp...@yahoo.com a écrit :
 I am in the process of creating an example d2w app. Basically it manages 
 Shows and the People that play them. the end result is a report for any 
 given week and specific show, who played what book?
 So I can create shows, people, instruments. and I am looking at the Events. 
 An event is a performance. It needs a show, and date/time (there could be 
 multiple performances on any given day).
 So I create an Event, and I need to pick up all the books that belong to the 
 Show and the people that are the Primary players of the book.
 My solution was to use the willInsert() in the EO:
 @Override
 public void willInsert() {
 super.willInsert();
 EOQualifier bookForPrimaryPersonQualifier = Person.CURRENT.eq(true);
 bookForPrimaryPersonQualifier = ERXQ.and(bookForPrimaryPersonQualifier, 
 Person.PERSON_BOOKS.dot(PersonBook.IS_PRIMARY_PLAYER.eq(true)));
 EOQualifier booksAssignedToShowQualifier = Book.SHOW.eq(this.show()); //all 
 the books for this show
 NSArrayBook booksForThisEvent = Book.fetchBooks(editingContext(), 
 booksAssignedToShowQualifier, null);
 for (Book aBook: booksForThisEvent) {
 bookForPrimaryPersonQualifier = ERXQ.and(bookForPrimaryPersonQualifier, 
 Person.PERSON_BOOKS.dot(PersonBook.BOOK.eq(aBook)));
 Person aPerson = Person.fetchPerson(this.editingContext(), 
 bookForPrimaryPersonQualifier);
 if (aPerson != null) { //if there is a primary person applied to this book, 
 assign him/her to the EventBook else it's null!
 EventBook eo = EventBook.createEventBook(this.show().editingContext(), 
 aBook, this);
 eo.setPersonRelationship(aPerson);
 } else {
 EventBook.createEventBook(this.show().editingContext(), aBook, this); 
 }
 bookForPrimaryPersonQualifier = Person.CURRENT.eq(true); //resetting the 
 qualifier to base case
 }
 }
 Am I stepping on myself doing this in the EO and willInsert?
 and
 I need help with throwing an exception. if there are two people assigned as 
 the primary player of a given book, of course it blows up.
 Person aPerson = Person.fetchPerson(this.editingContext(), 
 bookForPrimaryPersonQualifier);
 Assuming that the willInsert() method is okay to do, what’s the correct way 
 to surround this with a try/catch and throw the exception. Obviously, if I 
 just surround it with the try/catch like this:
 Person aPerson = null;
 try {
 aPerson = Person.fetchPerson(this.editingContext(), 
 bookForPrimaryPersonQualifier);
 } catch (Exception e) {
 // TODO Auto-generated catch block
 e.printStackTrace();
 }
 the insertion will succeed assigning no one to the offending book.
 I can only hope that willInsert passes muster!
 Ted
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  

Re: sql logging

2015-02-06 Thread Timothy Worman
Hola!

With Wonder you want to do these:

# Enable delegate to emit SQL debugging info. The Logger used is
log4j.category.er.extensions.ERXAdaptorChannelDelegate.sqlLogging=DEBUG
#  put this to true if you want to log sql stuff
er.extensions.ERXAdaptorChannelDelegate.enabled=true
# How long a statement must run to cause a log message. Messages with longer 
than
# error also emit a stack-trace
er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.debug=0
er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.info=50
er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.warn=1000
er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.error=5000
# MaxLength of the message
er.extensions.ERXAdaptorChannelDelegate.trace.maxLength = 3
# What entities to watch
er.extensions.ERXAdaptorChannelDelegate.trace.entityMatchPattern = .*

Tim Worman
UCLA GSEIS



 On Feb 6, 2015, at 11:18 AM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 I have googled, searched the wiki, and tried everything I could think of, but 
 I can not get my sql  to log. In my properties:
 
 # ERExtensions
 # Transaction - Switching this to debug will start the sql ouputting.
 log4j.logger.er.transaction.adaptor.EOAdaptorDebugEnabled=DEBUG
 
 still no SQL  :-(
 
 I tried in the Launch Configuration Properties
 
 EOAdaptorDebugEnabled=true
 
 Please, I want to see my SQL.
 
 Ted
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: [OT] .Net goes Open Source

2015-02-04 Thread Timothy Worman
WebObjects is one of Apple’s weapons - it helps them be fluid and quick - 
especially with the devs they have. Maybe open sourcing WO seems threatening 
because it is a internal business advantage.

Tim Worman
UCLA GSEIS

 On Feb 4, 2015, at 4:59 PM, OC o...@ocs.cz wrote:
 
 On 5. 2. 2015, at 1:42, Hugi Thordarson h...@karlmenn.is wrote:
 Apple cares about money, not us.
 
 Oh, absolutely! Given the zilliards Apple charges for WebObjects licences... 
 oh, wait.
 
 Actually I just don't get it -- for long long years I don't get it at all.
 
 (i) first, they seriously cripple the world's best web application framework 
 by cutting out the ObjC support, leaving it Java-only, and thus half-unusable.
 
 (ii) then they stop bundling it.
 
 (iii) then they stop supporting it at all.
 
 All right, I can see after (i) they could hardly charge any money for 
 licencing, whilst the support price would skyrocket; but why on earth not put 
 it to open source at the same moment?!?
 
 The same company who is known to put _lots_ of pretty interesting things to 
 public (see Darwin).
 
 Oh, sigh.
 
 About the only (dumb and conspirational) theory I can think of is that were 
 the sources open, hacking App Store would get the usual 'varsity freaks 
 pastime :)
 
 
 - hugi
 
 
 
 http://blogs.msdn.com/b/dotnet/archive/2015/02/03/coreclr-is-now-open-source.aspx
 
 The github is here
 
 https://github.com/dotnet/coreclr
 
 It’s a shame Apple never did the same with WO.
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/ocs%40ocs.cz
 
 This email sent to o...@ocs.cz
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: use case for ERPDFWrapper?

2015-01-16 Thread Timothy Worman
Yes, I have used it. ERPDFWrapper is easy and simple. It will wrap any well 
formed xhtml and turn it into a PDF. There is a great podcast that demonstrates 
a basic example in ~60 seconds. There are options for more complex use cases.

It has been some time since I reviewed documentation, but I think I found what 
I needed when I did. I also have additions to my wonder branch that will 
password protect the generated PDF - if anyone around is interested.

Tim Worman
UCLA GSEIS


 On Jan 16, 2015, at 12:29 PM, Ray Kiddy r...@ganymede.org wrote:
 
 
 Does anyone have a use case for the ERPDFWrapper classes? I am not
 seeing, for example, package-level javadoc that might explain this.
 
 The reason I ask is that I recently had to generate PDF invoices for an
 order system and the conversation in my head followed a very common
 pattern:
 
 - How do I do this in Wonder? Oh, here is a way. And here's a way, and
  another and another and...
 - Which one is newer? Which one is working? Which one depends on what?
 - What are they using? Another (Apache or Google or ...) technology
 - I can just use that directly and ... (two hours later, more if I
  need to make coffee) ... it works.
 - Wow! I could still be trying to figure what those Wonder classes do
  and why they don't work, not that it is not great to hear how Chuck
  and Ramsey are doing these days, but
 
 So, I used the org.apache.pdfbox classes directly from my app and the
 client was happy. The pretty picture is in the right place, multiple
 page invoices, yep. The hardest part was writing helper classes which
 translated goTo and moveTo commands to the PDFBox page geometry,
 but once those were written, it just fell together.
 
 It kind of looks as though if I have a XML doc to write out to PDF and
 I am not trying to do much with the layout or to change the appearance,
 I can use ERPDFWrapper. But if I do not care about configuring the
 appearance, why would I be using PDFs?
 
 I probably could put my code in Wonder, but it does not depend on
 anything else, doesn't include a new technology and would not require
 the addition of 2 or 3 jars to the ERExtensions project so that would
 just be weird
 
 Or maybe ERPDFWrapper is more amazing than I can see. Is it? For what?
 
 thanx - ray
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: use case for ERPDFWrapper?

2015-01-16 Thread Timothy Worman
https://itunes.apple.com/us/podcast/webobjects-podcasts/id270165303

ERPDF in 60 seconds”

Podcast #78

Tim Worman
UCLA GSEIS


 On Jan 16, 2015, at 1:19 PM, James Cicenia ja...@jimijon.com wrote:
 
 I never could find a working video.
 
 
 
 
 On Jan 16, 2015, at 2:29 PM, Ray Kiddy r...@ganymede.org wrote:
 
 
 Does anyone have a use case for the ERPDFWrapper classes? I am not
 seeing, for example, package-level javadoc that might explain this.
 
 The reason I ask is that I recently had to generate PDF invoices for an
 order system and the conversation in my head followed a very common
 pattern:
 
 - How do I do this in Wonder? Oh, here is a way. And here's a way, and
  another and another and...
 - Which one is newer? Which one is working? Which one depends on what?
 - What are they using? Another (Apache or Google or ...) technology
 - I can just use that directly and ... (two hours later, more if I
  need to make coffee) ... it works.
 - Wow! I could still be trying to figure what those Wonder classes do
  and why they don't work, not that it is not great to hear how Chuck
  and Ramsey are doing these days, but
 
 So, I used the org.apache.pdfbox classes directly from my app and the
 client was happy. The pretty picture is in the right place, multiple
 page invoices, yep. The hardest part was writing helper classes which
 translated goTo and moveTo commands to the PDFBox page geometry,
 but once those were written, it just fell together.
 
 It kind of looks as though if I have a XML doc to write out to PDF and
 I am not trying to do much with the layout or to change the appearance,
 I can use ERPDFWrapper. But if I do not care about configuring the
 appearance, why would I be using PDFs?
 
 I probably could put my code in Wonder, but it does not depend on
 anything else, doesn't include a new technology and would not require
 the addition of 2 or 3 jars to the ERExtensions project so that would
 just be weird
 
 Or maybe ERPDFWrapper is more amazing than I can see. Is it? For what?
 
 thanx - ray
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
 
 This email sent to ja...@jimijon.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERXSQLHelper

2015-01-12 Thread Timothy Worman
OC:

I don’t know how far you’ve dug - but just in case I’ll throw this out. One of 
the keys to how all this works is ERXSQLHelper sqlHelper = 
ERXSQLHelper.newSQLHelper. This returns the vendor specific ERXSQLHelper for 
your database (Frontbase). DB specific code is there.

You might want to check the inner class:

public static class FrontBaseSQLHelper extends ERXSQLHelper

Just my 2¢, but instead of that large block of code, why not just change some 
properties, run migrations at app startup, and declare your changes there? 
Migrations work and you don’t have to reinvent the wheel. Then, if your SQL 
continues to be incorrect, you know where to focus. 

Tim Worman
UCLA GSEIS


 On Jan 12, 2015, at 2:18 PM, OC o...@ocs.cz wrote:
 
 P.S. my current environment is
 
 Groovy 2.3.8 / WebObjects 5.4.3 / ERExtensions 6.1.2-SNAPSHOT / Java 1.7.0_13 
 / Mac OS X 10.8.5 / FrontBase 7.2
 
 On 12. 1. 2015, at 22:56, OC o...@ocs.cz wrote:
 
 Theodore,
 
 On 12. 1. 2015, at 19:00, Theodore Petrosky tedp...@yahoo.com wrote:
 have you looked at the migrations? 
 ERXMigrationTable personTable = database.existingTableNamed(person);
 personTable.existingColumnNamed(Foo).renameTo(Bar”);
 personTable.newStringColumn(name, width, allowsNull)
 
 well... the API looks OK, but in practice it does not seem quite work. Can 
 you (or anybody knowledgeable) please point out what am I doing wrong? 
 Here's my code (sans error checking etc. for better readability)
 
 ===
   EOObjectStoreCoordinator 
 osc=EOObjectStoreCoordinator.defaultCoordinator()
   EODatabaseContext 
 ctxt=ERXEOAccessUtilities.databaseContextForEntityNamed(osc,'DBAuction')
   ctxt.lock();
   try {
   EOAdaptorChannel ach = ctxt.availableChannel().adaptorChannel();
   if (!ach.isOpen()) ach.openChannel();
   def tables=ach.describeTableNames() // looks like Migration API 
 does not read the current state reliably
   EOModel dbModel=ach.describeModelWithTableNames(tables)
   ERXMigrationDatabase mdb=nil // created on-demand
   mdg.models.each { EOModel localModel -
   localModel.entities.each { EOEntity localEntity -
   if (localEntity.isAbstractEntity()) return
   String tname=localEntity.externalName()
   EOEntity dbEntity=dbModel.entityNamed(tname)
   ERXMigrationTable mtable=nil // on-demand
   localEntity.attributes.each { EOAttribute localAttribute -
   String cname=localAttribute.columnName()
   EOAttribute dbAttribute=dbEntity.attributeNamed(cname)
   if (!dbAttribute) {
   println   adding column $cname 
 ($localAttribute.name): $localAttribute.externalType (VT: 
 $localAttribute.valueType) ...
   if (!mdb) mdb=ERXMigrationDatabase.database(ach)
   if (!mtable) mtable=mdb.existingTableNamed(tname)
   switch (localAttribute.externalType) {
 ...
   case 'TIMESTAMP':
   mtable.newTimestampColumn(cname,YES)
   break
   }
   println   - OK
   }
   }
   }
   }
   } finally {
   ctxt.unlock()
   }
 ===
 
 but it crashes, printing out
 
 ===
 adding column DC_ID (ID): TIMESTAMP (VT: null) ...
 22:42:09.409 INFO  Executing alter table T_AUCTION null DC_ID TIMESTAMP  
  //log:er.extensions.jdbc.ERXJDBCUtilities [main]
 ...
 Caused by: java.lang.RuntimeException: Failed to execute 'alter table 
 T_AUCTION null DC_ID TIMESTAMP'.
 Caused by: java.sql.SQLException: Syntax error 179. Illegal ALTER TABLE 
 statement.
 ===
 
 Well self-evidently it _is_ an illegal statement, it lacks add column 
 having null instead; but what's the culprit and how to fix the problem?
 
 (Note: I've tried to bump up log levels to
 log4j.logger.er.extensions.jdbc.ERXJDBCUtilities=TRACE
 log4j.logger.er.extensions.migration.ERXMigrationDatabase=TRACE
 log4j.logger.er.extensions.migration.ERXMigrationTable=TRACE
 log4j.logger.er.extensions.migration.ERXMigrationColumn=TRACE
 but no more logs occurred anyway.)
 
 Thanks,
 OC
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/ocs%40ocs.cz
 
 This email sent to o...@ocs.cz
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to 

Re: ERPDFWrapper ?

2014-12-17 Thread Timothy Worman
James:

I think I had a thread about this (SAXParseException) some time ago though not 
necessarily D2W related. You might want to try to google for previous list 
threads. I think I had to do some things to make sure my component was valid 
XML.

Tim Worman
UCLA GSEIS


 On Dec 17, 2014, at 2:03 PM, James Cicenia ja...@jimijon.com wrote:
 
 I found this wrapper.
 
 So I dutifully assigned it:
 
 100 : pageConfiguration like 'ListCustomPDF*' = pageWrapperName = 
 ERPDFWrapper [com.webobjects.directtoweb.Assignment]
 
 But then when I run the page:
 
 ListPageInterface newListPage = (ListPageInterface) 
 D2W.factory().pageForConfigurationNamed(ListCustomPDF+entityName, 
 session());
 
 It blows up;
 
 com.webobjects.foundation.NSForwardException [org.xml.sax.SAXParseException] 
 The markup in the document following the root element must be 
 well-formed.:org.xml.sax.SAXParseException: The markup in the document 
 following the root element must be well-formed.
 
 Is there a way to debug this?
 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 Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

JNDI Adaptor and Inserting Records

2014-12-11 Thread Timothy Worman
Hello All:

We are setting up a new LDAP server (389 Directory Server) and are moving away 
from Open Directory. With the new directory server I’d like to try to insert 
new user records directly through the WO JNDI adaptor.

Reverse engineering the directory sets relativeDistinguishedName as the primary 
key for inetOrgPerson. I’m doing a simple test trying to insert a user and I 
get the exception below. Apparently, in the model or elsewhere I have to create 
a ‘format’ for relativeDistinguishedName. I can find _some_ documentation of 
this online but I can’t find any examples of applying a format from the model. 
Can anyone give me a push as to what this might look like?

Can anyone give me an idea of what such a ‘format’ would include and where I 
should include it?

JNDIAdaptorException: The format for the distinguished name is null or empty! 
Entity: InetOrgPerson
  at 
com.webobjects.jndiadaptor.LDAPPlugIn._formatDistinguishedName(LDAPPlugIn.java:325)
  at 
com.webobjects.jndiadaptor.LDAPPlugIn.relativeDistinguishedNameForNewRow(LDAPPlugIn.java:413)
  at com.webobjects.jndiadaptor.JNDIContext._newPrimaryKey(JNDIContext.java:171)
 ... skipped 2 stack elements
  at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
  at 
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
  at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1179)
  at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1102)
  at edu.ucla.gseis.jndi.test.components.Main.insertNewPerson(Main.java:34)
 ... skipped 25 stack elements
  at 
er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:157)
  at 
er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235)
  at 
er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268)
  at 
er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302)
  at 
er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:378)
  ... skipped 6 stack elements

Tim Worman
UCLA GSEIS




 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: PDF in 60 secs ?

2014-12-10 Thread Timothy Worman
ERPDF in 60 Seconds podcast. It plays fine for me.

http://www.wocommunity.org/podcasts/wopodcasts.xml

Tim Worman
UCLA GSEIS

 On Dec 10, 2014, at 7:40 AM, James Cicenia ja...@jimijon.com wrote:
 
 I remember seeing something like PDF in 60 secs.
 Searched for it and found it linked to iTunes.
 I went to run it and it said it required “QuickTime” which iTunes doesn’t 
 support.
 
 So how can I watch it or is there a link to read about it?
 
 Thanks
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: PDF in 60 secs ?

2014-12-10 Thread Timothy Worman
James,

The link I offered is a podcast meant for iTunes. It plays for me in iTunes as 
expected. I don’t have any other advice.

Tim Worman
UCLA GSEIS



 On Dec 10, 2014, at 9:11 AM, James Cicenia ja...@jimijon.com wrote:
 
 that didn’t work either
 Safari barfed and said I need an rss reader.
 Firefox took me to a listing and the final link was:
 http://idisk.mac.com/qdolan-Public/webobjects/PDFIn60Seconds.mov 
 http://idisk.mac.com/qdolan-Public/webobjects/PDFIn60Seconds.mov
 
 which was unavailable.
 
 
 On Dec 10, 2014, at 10:54 AM, Timothy Worman li...@thetimmy.com 
 mailto:li...@thetimmy.com wrote:
 
 ERPDF in 60 Seconds podcast. It plays fine for me.
 
 http://www.wocommunity.org/podcasts/wopodcasts.xml 
 http://www.wocommunity.org/podcasts/wopodcasts.xml
 
 Tim Worman
 UCLA GSEIS
 
 On Dec 10, 2014, at 7:40 AM, James Cicenia ja...@jimijon.com wrote:
 
 I remember seeing something like PDF in 60 secs.
 Searched for it and found it linked to iTunes.
 I went to run it and it said it required “QuickTime” which iTunes doesn’t 
 support.
 
 So how can I watch it or is there a link to read about it?
 
 Thanks
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com
 
 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO Crashs while trying to set a boolean property used in a wo:if

2014-11-13 Thread Timothy Worman
Christoph:

As a matter of practice, I usually don’t sync my components - stateless or not. 
There are some exceptions where the convenience of syncing overrides the norm.

Tim Worman
UCLA

 On Nov 13, 2014, at 1:26 PM, Christoph Wick c...@i4innovation.de wrote:
 
 Hi Chuck, 
 
 thanks for the information.
 
 Does it make sense to have a non-stateless non-synchronizing component?
 
 My rule-of-thumb has always been stateless+non-synchronizing or 
 non-stateless-synchronizing. But it seems to be a 2x2 matrix.
 
 C.U.CW
 -- 
 The three great virtues of a programmer are Laziness, Impatience and Hubris. 
 (Randal Schwartz)
 
 On 13.11.2014, at 21:27, Chuck Hill ch...@gevityinc.com wrote:
 
 This is part of binding synchronization:
 at com.webobjects.appserver.WOComponent._doPushValuesUp(WOComponent.java:558)
 at 
 com.webobjects.appserver.WOComponent.pushValuesToParent(WOComponent.java:535)
 
 You can either implement the setter or turn off automatic synchronization.
 
 Chuck
 
 
 
 On 2014-11-13, 12:16 PM, CHRISTOPH WICK | i4innovation GmbH, Bonn wrote:
 
 I have a strange problem:
 
 in a component I use a wo:if:
 
 wo:if condition = 
 $ses.programmeManager.providerCanChangeStatusToSUBMITTED
 ...
 /wo:if
 
 Its 'condition' property is bound to a method that calculates true or false.
 There is no corresponding setter method like 
 'setProviderCanChangeStatusToSUBMITTED(boolean b)' because it's not 
 necessary to store such a value.
 
 Nevertheless my app crashes complaining that there is no corresponding 
 setter method (Stacktrace below).
 
 For testing I implemented an empty setter method:
 
  public void setProviderCanChangeStatusToSUBMITTED(boolean b) {}
 
 and then everything works fine.
 
 Any ideas why WO is trying to call this setter method?
 
 
 Stacktrace is:
 
 Nov 13 20:44:58 EBACMgmt[4] WARN  NSLog  - 
 er.extensions.appserver.ERXComponentRequestHandler: Exception occurred 
 while handling request:
 com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message 
 'de.i4innovation.ebacmgmt.eo.managers.EMEventManager 0x6abafc4c 
 takeValueForKey(): attempt to assign value to unknown key: 
 'providerCanChangeStatusToSUBMITTED'.
 This class does not have an instance variable of the name 
 providerCanChangeStatusToSUBMITTED or _providerCanChangeStatusToSUBMITTED, 
 nor a method of the name setProviderCanChangeStatusToSUBMITTED or 
 _setProviderCanChangeStatusToSUBMITTED' object 
 'de.i4innovation.ebacmgmt.eo.managers.EMEventManager@6abafc4c' key 
 'providerCanChangeStatusToSUBMITTED'
 [2014-11-13 20:44:58 MEZ] WorkerThread0 
 com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message 
 'de.i4innovation.ebacmgmt.eo.managers.EMEventManager 0x6abafc4c 
 takeValueForKey(): attempt to assign value to unknown key: 
 'providerCanChangeStatusToSUBMITTED'.
 This class does not have an instance variable of the name 
 providerCanChangeStatusToSUBMITTED or _providerCanChangeStatusToSUBMITTED, 
 nor a method of the name setProviderCanChangeStatusToSUBMITTED or 
 _setProviderCanChangeStatusToSUBMITTED' object 
 'de.i4innovation.ebacmgmt.eo.managers.EMEventManager@6abafc4c' key 
 'providerCanChangeStatusToSUBMITTED'
 at 
 com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.handleTakeValueForUnboundKey(NSKeyValueCoding.java:1399)
 at 
 com.webobjects.foundation.NSKeyValueCoding$Utility.handleTakeValueForUnboundKey(NSKeyValueCoding.java:521)
 at 
 com.webobjects.foundation.NSKeyValueCoding$_KeyBinding.setValueInObject(NSKeyValueCoding.java:899)
 at 
 com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.takeValueForKey(NSKeyValueCoding.java:1354)
 at 
 com.webobjects.foundation.NSKeyValueCoding$Utility.takeValueForKey(NSKeyValueCoding.java:471)
 at 
 com.webobjects.foundation.NSValidation$DefaultImplementation.validateTakeValueForKeyPath(NSValidation.java:679)
 at 
 com.webobjects.foundation.NSValidation$Utility.validateTakeValueForKeyPath(NSValidation.java:504)
 at 
 com.webobjects.foundation.NSValidation$DefaultImplementation.validateTakeValueForKeyPath(NSValidation.java:687)
 at 
 com.webobjects.foundation.NSValidation$Utility.validateTakeValueForKeyPath(NSValidation.java:504)
 at 
 com.webobjects.foundation.NSValidation$DefaultImplementation.validateTakeValueForKeyPath(NSValidation.java:687)
 at 
 com.webobjects.appserver.WOComponent.validateTakeValueForKeyPath(WOComponent.java:1424)
 at 
 com.webobjects.appserver._private.WOKeyValueAssociation.setValue(WOKeyValueAssociation.java:76)
 at 
 ognl.helperfunction.WOHelperFunctionKeyValueAssociation.setValue(WOHelperFunctionKeyValueAssociation.java:21)
 at com.webobjects.appserver.WOComponent._doPushValuesUp(WOComponent.java:558)
 at 
 com.webobjects.appserver.WOComponent.pushValuesToParent(WOComponent.java:535)
 at 
 com.webobjects.appserver._private.WOComponentReference._popComponentFromContext(WOComponentReference.java:109)
 at 
 

Re: limiting a textfield to numbers

2014-11-10 Thread Timothy Worman
I use Integer.parseInt - throws NumberFormatException if the String does not 
contain a parseable integer.

Tim
UCLA GSEIS

 On Nov 7, 2014, at 9:04 PM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 I’ve never written a validator before. Is this okay:
 
   public String validateJobNumber(String value) throws 
 ValidationException {
 
   value = value.trim();
 
   boolean isNumber = true;
   endOfLoop:
   for (int i = 0; i  value.length(); i++) {
   
   if (Character.isDigit(value.charAt(i))) {
   isNumber = true;
   } else {
   isNumber = false;
   break endOfLoop;
   }
   }
 
   if (!isNumber) {
   throw new ValidationException(There can be only 
 numbers in the Job Number field! (value was  + value +));
   }
   return value;
   }
 
 It works, but is there some error that I am making that will bite me later?
 
 Ted
 
 On Nov 7, 2014, at 8:04 PM, Ramsey Gurley rgur...@smarthealth.com wrote:
 
 If you always only want to allow number characters, then implement a 
 validateKey() method for that key on your EO. This is easier.
 
 public String validateJobNumber(String value)
 
 Alternately, you can provide a custom component that does the validation at 
 the component level. For example, you have a bunch of old jobs that already 
 have strings outside your defined range and you cannot validate at the EO. 
 This prevents new jobs from being entered with job numbers like “00-103A” or 
 something, but also won’t throw errors on old jobs unless the user tries to 
 edit them using the component.
 
 
 On Nov 7, 2014, at 5:51 PM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 How would you limit the characters typed into a WOTextField in a D2W app?
 
 I need a text field for a Job Number. It’s not really a number per se. 
 Although I want to limit the characters typed to the number keys. So 
 basically ascii 48 to 57 inclusive.
 
 Ted
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

[SOLVED] *** JDBCAdaptor : no type info found for VARCHAR

2014-10-17 Thread Timothy Worman
My recent addition of using enum prototypes was causing this issue. The 
OpenBase JDBC prototypes were using “VARCHAR” as the external type from some 
things and that was compatible.

Tim
UCLA GSEIS

 On Oct 16, 2014, at 3:23 PM, Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 This issue has been popping up for me recently. I know I’ve experienced 
 something like this before but I’m not sure what the solution was. There do 
 seem to sometimes be db transaction errors that go hand-in-hand with this. 
 I’ve searched my entity.plist files for anything where externalType=‘VARCHAR’ 
 but I really don’t have anything. I had some legacy jdbcInfo and typeInfo 
 stuff in my index.eomodeld, so I removed it. I can’t figure out what is 
 causing the problem.
 
 Can anyone point me in the right direction or fill me in on how to get better 
 logging that maybe tells me more?
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

*** JDBCAdaptor : no type info found for VARCHAR

2014-10-16 Thread Timothy Worman
All:

This issue has been popping up for me recently. I know I’ve experienced 
something like this before but I’m not sure what the solution was. There do 
seem to sometimes be db transaction errors that go hand-in-hand with this. I’ve 
searched my entity.plist files for anything where externalType=‘VARCHAR’ but I 
really don’t have anything. I had some legacy jdbcInfo and typeInfo stuff in my 
index.eomodeld, so I removed it. I can’t figure out what is causing the problem.

Can anyone point me in the right direction or fill me in on how to get better 
logging that maybe tells me more?

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: URGENT help needed: app simply stopped working (sort of)

2014-09-29 Thread Timothy Worman
This. Apple’s update likely changed your apache conf. For this reason I always 
install apache using homebrew and run that instead of the built-in apache.

Tim
UCLA GSEIS


 On Sep 29, 2014, at 11:47 AM, Frank Stock frank.st...@telenet.be wrote:
 
 Marcus,
 
 
 did you check the Apache settings?
 
 
 Folks,
 
 I don't get it anymore. I have a Mac Mini Server running one Wonder app. 
 Deployment is with JavaMonitor from Wonder. The app has been running for a 
 couple months. This weekend I updated Max OS X from 10.9.4 to 10.9.5. Now my 
 application simply does not accept any network connection anymore. Besides 
 the system update I installed a patched bash. These are the only changes. I 
 do not suspect bash, I have already verified that the problem is independent 
 of bash version.
 
 wotaskd runs and answers properly on port 1085
 Monitor runs, configured to use port . Works perfectly.
 
 I start an instance of my app - Monitor is happy, app is running, no deaths 
 reported, logfile generated, last line reads waiting for requests (the 
 standard blabla), URL looks good. Monitor tells me the app is on port 2001.
 
 When I try to connect to the app I get nothing, just a white screen, no 
 proper html. The same happens whether I connect through Apache or directly 
 to port 2001.
 I built another deployment tar from my build system (also 10.9.5, Eclipse 
 3.8 with matching WOLips). App runs fine inside Eclipse. Moving the tarball 
 over the the deployment machine, unpacking, setting correct owner/group, 
 starting via Monitor - everything looks great, still no output at all. 
 Tried with Safari as well as from the command line with curl. - Empty 
 response. Still Monitor is happy, no deaths reported, logfile is on waiting 
 for requests.
 
 The same happens when I start the app manually from the command line. 
 Everything looks good, just nothing comes back from the port 2001 (and there 
 is no connection failure, connect but empty reply!)
 
 HELP! What the h** is going on here? Any idea how to debug such a thing?
 I'll attach the log file as well as Properties. Maybe anybody spots something
 
  Properties **
 
 # Project Encoding
 er.extensions.ERXApplication.DefaultEncoding=UTF-8
 
 # OGNL
 ognl.helperFunctions=true
 ognl.inlineBindings=true
 
 # Misc
 er.extensions.stackTrace.cleanup=true
 
 # EOF
 er.extensions.ERXEC.safeLocking=true
 er.extensions.ERXEC.useSharedEditingContext=false
 er.extensions.ERXEnterpriseObject.applyRestrictingQualifierOnInsert=true
 er.extensions.ERXEnterpriseObject.updateInverseRelationships=true
 
 # MySQL Connection Dictionary
 #dbConnectUserGLOBAL=
 #dbConnectPasswordGLOBAL=
 #dbConnectDriverGLOBAL=com.mysql.jdbc.Driver
 #Movies.URL=jdbc:mysql://localhost/movies?capitalizeTypenames=truezeroDateTimeBehavior=convertToNullcharacterEncoding=UTF-8
 
 
 # Migrations
 #er.migration.migrateAtStartup=true
 #er.migration.createTablesIfNecessary=true
 #er.migration.modelNames=YourModel
 
 # Misc Components
 er.extensions.ERXWOForm.multipleSubmitDefault=true
 #er.extensions.ERXWORepetition.checkHashCodes=true
 #er.extensions.ERXWORepetition.raiseOnUnmatchedObject=true
 #er.extensions.ERXWORepetition.eoSupport=true
 
 er.component.clickToOpen=true
 wolips.password=my_password
 
 # ERJavaMail
 er.javamail.centralize=true
 er.javamail.adminEmail=mar...@example.com 
 mailto:er.javamail.adminEmail=mar...@example.com
 er.javamail.debugEnabled=false
 er.javamail.smtpHost=192.168.11.33
 er.javamail.smtpAuth=false
 er.javamail.smtpUser=
 er.javamail.smtpPassword=
 
 # Log4j Configuration
 log4j.loggerFactory=er.extensions.logging.ERXLogger$Factory
 log4j.rootCategory=INFO,A1
 log4j.appender.A1=er.extensions.logging.ERXConsoleAppender
 log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout
 log4j.appender.A1.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %$[%#] %-5p 
 %c %x - %m%n
 
 # Log4j Categories
 # Here are a few log4j sub-categories that are interesting.
 # Don't forget that in developement mode this file will get reloaded
 # everytime it changes, so if you say want to turn adaptor debugging
 # on in the middle of the app simply set the below category to debug.
 # Very handy.
 # Base Category
 log4j.logger.er=INFO
 
 # ERExtensions
 # Transaction - Switching this to debug will start the sql ouputting.
 log4j.logger.er.transaction.adaptor.EOAdaptorDebugEnabled=DEBUG
 
 # Fixes - Turning this on will show all the models that are loaded
 log4j.logger.er.extensions.fixes.ERSharedEOLoader=INFO
 
 er.extensions.ERXNSLogLog4jBridge=INFO
 #log4j.logger.er.eo.ERXGenericRecord=DEBUG
 #log4j.logger.er.validation.ERXEntityClassDescription=DEBUG
 #log4j.logger.er.default.ERXEntityClassDescription=DEBUG
 log4j.logger.er.extensions.ERXDatabaseContextDelegate=WARN
 log4j.logger.er.extensions.ERXConfigurationManager=INFO
 #log4j.logger.er.extensions.ERXApplication.RequestHandling=DEBUG
 
 #ERXNavigation
 
 

Re: Adding functionality to existing View D2W

2014-09-08 Thread Timothy Worman
Ted:

There are some excellent pages on the WOCommunity wiki about how to customize 
D2W. In general, you subclass components to give them custom functionality and 
then you use the rule system to inject your custom components into the flow of 
the project.

http://wiki.wocommunity.org/pages/viewpage.action?pageId=1048915src=search

The “Flow Control” document would be useful in giving you options for putting 
your own actions into your projects.

Tim
UCLA GSEIS

 On Sep 7, 2014, at 11:38 AM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 I hope my subject line isn’t too far off the mark.
 
 I want to understand more of D2W so, I am creating a simple Invoicing 
 project. it has Users (with differing permissions), clients, inventory, and 
 invoices (so far). I am not attempting to create a complete ledger with 
 control accounts, at least not yet as it is beyond the scope of this self 
 tutorial.
 
 I create an invoice and assign it to a client. then I add line items from 
 inventory. Line items have a list price. so an Invoice has a to-many relation 
 to invoiceLineItems which is to one lineItem.
 
 simple, but now I want to print this invoice. When I select edit on the 
 ListInvoice page, I see it is a ERMODInspectPage. I guess I could create my 
 own version of the page, cloning it into my framework, then I could add a 
 ‘Print’ button, passing the object() to a JasperReport function. There must 
 be a WO way of doing this that I just don’t understand.
 
 I have a list of invoices, I click the edit button and I want to ‘print’ this 
 object. How to inject this ‘print’ button, icon, widget, in D2W? And if the 
 answer is “Clone ERMODInspectPage and add the appropriate code”, so be it.
 
 Ted
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

WOCompile/ant class loader issue

2014-09-04 Thread Timothy Worman
All:

I’m getting this error when I try to run app builds:

build.xml:203: taskdef A class needed by class 
org.objectstyle.woproject.ant.WOCompile cannot be found: 
org/apache/tools/ant/taskdefs/Javac
 using the classloader AntClassLoader[]

All framework install ant tasks are working normally and other ant tasks work 
as well. I found this past message on the dev list where this issue was solved 
by removing WOCompile.jar from /Library/Java/Extensions. I don’t have any jars 
in the extensions folder so I am not sure what is going on there.

Any ideas how I could solve this before I go ballistic and start blowing stuff 
up?

Tim
UCLA GSEIS ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOCompile/ant class loader issue

2014-09-04 Thread Timothy Worman
All:

A new workspace appears to have cleared this issue up. Now to re-do all my 
working sets - again. :-|

Tim
UCLA GSEIS

 On Sep 4, 2014, at 1:51 PM, Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 I’m getting this error when I try to run app builds:
 
 build.xml:203: taskdef A class needed by class 
 org.objectstyle.woproject.ant.WOCompile cannot be found: 
 org/apache/tools/ant/taskdefs/Javac
  using the classloader AntClassLoader[]
 
 All framework install ant tasks are working normally and other ant tasks work 
 as well. I found this past message on the dev list where this issue was 
 solved by removing WOCompile.jar from /Library/Java/Extensions. I don’t have 
 any jars in the extensions folder so I am not sure what is going on there.
 
 Any ideas how I could solve this before I go ballistic and start blowing 
 stuff up?
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOCompile/ant class loader issue

2014-09-04 Thread Timothy Worman
Hi Chuck:

I was using the standard Run As - And Build. It appears it is resolved but 
thanks for the tips. As always, good stuff.

Tim

 On Sep 4, 2014, at 2:03 PM, Chuck Hill ch...@global-village.net wrote:
 
 Hi Tim,
 
 Trying running ant with –verbose –debug
 That missing class is obviously part of Ant, so it should not be missing.   
 Either it is finding something else on the class path (and running with 
 –verbose –debug should let you see that), or some exception is getting caught 
 and mis-reported.
 
 It could also be a class loader issue, but as AntClassLoader is being used 
 here, that seems unlikely.  Is this a straight up ant command line build, or 
 are you running this inside of Eclipse for something?
 
 
 Chuck
 
 
 On 2014-09-04, 1:51 PM, Timothy Worman wrote:
 
 All:
 
 I’m getting this error when I try to run app builds:
 
 build.xml:203: taskdef A class needed by class 
 org.objectstyle.woproject.ant.WOCompile cannot be found: 
 org/apache/tools/ant/taskdefs/Javac
  using the classloader AntClassLoader[]
 
 All framework install ant tasks are working normally and other ant tasks work 
 as well. I found this past message on the dev list where this issue was 
 solved by removing WOCompile.jar from /Library/Java/Extensions. I don’t have 
 any jars in the extensions folder so I am not sure what is going on there.
 
 Any ideas how I could solve this before I go ballistic and start blowing 
 stuff up?
 
 Tim
 UCLA GSEIS

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse 4.4 support for WOLips

2014-08-31 Thread Timothy Worman
I actually had that happen when I tried to build it locally - even though the 
file in question was there. Is it possible that maybe the necessary properties 
aren’t in the build file? Mine required some additions:

eclipse.home=/Applications/eclipse
wo.woroot=/
wo.dir.reference.api=/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/Resources/Documents/documentation/MacOSXServer/Reference/WO54_Reference

Tim
UCLA GSEIS

 On Aug 31, 2014, at 5:14 PM, Pascal Robert prob...@macti.ca wrote:
 
 I have tried to configure Jenkins to build it, but it always say:
 
 /var/lib/jenkins/jobs/WOLips44/workspace/buildscripts/woproperties.xml:10: 
 Could not find 
 /var/lib/jenkins/jobs/WOLips44/workspace/Library/wobuild.properties. There 
 should now be a generated one. Just launch ant again
 
 Even if the file is there. Doing a build manually in the same directory works 
 fine.
 
 Is there a jenkins build of the 4_4 branch?
 
 Paul
 On Aug 30, 2014, at 9:20 AM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 I don’t think so. Yesterday, I created a new folder, cloned the repo, and 
 built. it failed until I did the checkout of the 4_4.
 
 
 
 On Aug 30, 2014, at 9:14 AM, Pascal Robert prob...@macti.ca wrote:
 
 Well, looks like I really did merge into master :-/
 
 OK, I guess I misunderstood. Pull request 109 says:
 
 “
 Eclipse 4.4 compatibility #109
 Mergedpascalrobert merged 8 commits into wocommunity:master from 
 Wolfy42:eclipse_4_4 20 days ago
 
 I didn’t see any commits after that so I assumed everything was in master.
 
 FYI, I was able to build WOLips for Eclipse 4.4 without any errors.
 
 Tim
 UCLA GSEIS
 
 On Aug 29, 2014, at 2:20 PM, Pascal Robert prob...@macti.ca wrote:
 
 I didn't merge into master, I merged the pull request in the 
 Wolfsonething-4.4 branch.
 
 Envoyé de mon iPhone
 
 Le 2014-08-29 à 16:27, Timothy Worman li...@thetimmy.com a écrit :
 
 OK, the reason I was getting an error earlier is because I was working 
 from my own fork on github. So, if anyone else is doing that then the 
 command to checkout pull request 109 is:
 
 git remote add upstream https://github.com/wocommunity/wolips.git
 git fetch upstream pull/109/head:eclipse_4_4
 git checkout eclipse_4_4
 
 What is confusing to me is that github indicates that Pascal merged 109 
 into wocommunity:master 20 days ago. I don’t see changes since then. Am 
 I misunderstanding the current state of things? Is there another branch 
 with further fixes?
 
 Tim
 UCLA GSEIS
 
 
 On Aug 29, 2014, at 12:54 PM, Theodore Petrosky tedp...@yahoo.com 
 wrote:
 
 BTW, I googled:git what branch am I on
 
 http://stackoverflow.com/questions/5059441/how-to-find-which-git-branch-i-am-on-when-my-disk-is-mounted-on-other-server
 
 
 
 On Aug 29, 2014, at 2:11 PM, Ruggentaler, JR 
 jr.ruggenta...@experian.com wrote:
 
 I started over and did the following but I am still getting compile 
 errors.  How do I tell if I am building the correct branch?
 
 git clone https://github.com/wocommunity/wolips.git wolips-4_4
 cd wolips-4_4
 git fetch origin pull/109/head:eclipse_4_4
 git checkout eclipse_4_4
 
 ant -Dbuild.version=4.4.0
 Buildfile: /Users/a07278a/Repository/wolips-4_4/build.xml
 
 definestableupdatesite:
 
 print.environment:
 [echo] 
 [echo] 
 [echo] * java.home = 
 /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre
 [echo] * build.compiler = javac1.5
 [echo] * ant.home = /Users/a07278a/bin/ant
 [echo] * user.home = /Users/a07278a
 [echo] * build.version = 4.4.0
 [echo] * build.version.to.replace = 1.0.6
 [echo] * build.output.dir = temp
 [echo] * build.output.java.dir = temp/classes
 [echo] * build.output.java.test.dir = temp/testclasses
 [echo] * build.output.build.dir = temp/build
 [echo] * build.output.dist.dir = temp/dist
 [echo] * build.output.dist.targz.dir = temp/targz
 [echo] * deploy.dir = ${deploy.dir} (set by the buildserver)
 [echo] * eclipse.home = /Applications/eclipseLUNA44
 [echo] * eclipse.deps.home = ${eclipse.deps.home}/features
 [echo] * no.clean = ${no.clean}
 [echo] * no.docs = ${no.docs}
 [echo] * compile options
 [echo] * compile.deprecation= on
 [echo] * compile.debug= on
 [echo] * compile.optimize= off
 [echo] * compile.source= 1.5
 [echo] * compile.target= 1.5
 [echo] * feature.updateSiteName= WOLips stable
 [echo] * feature.updateSite= 
 http://webobjects.mdimension.com/wolips/stable/
 [echo] 
 [echo] 
 
 verify.clean:
 
 set.clean:
 [echo] To skip the clean set the property no.clean in your 
 build.properties
 
 call.clean:
 
 clean:
 
 .ds_store:
 
 .ds_store:
 
 check:
 
 check_file:
 
 set_other:
 
 correct_win:
 
 check_env:
 
 set_mac:
 
 check

Re: Eclipse 4.4 support for WOLips

2014-08-30 Thread Timothy Worman
Yep. Install the dependencies (JRebel, JProfiler) and the build process works 
exactly as described on the wiki.

T

 On Aug 30, 2014, at 3:29 PM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 Ray,
 
 I just did a default install of both JRebel and JProfiler. I purchased the 
 JRebel and like it a lot.
 
 There is a post earlier that states you can remove the requirement by 
 removing the line(s) from the build file:
 
 /Repository/wolips-4_4/wolips/build.xml
 
 I preferred to just install the two pieces. As long as they are installed you 
 are golden.
 
 Ted
 
 On Aug 30, 2014, at 6:18 PM, Ray Kiddy r...@ganymede.org 
 mailto:r...@ganymede.org wrote:
 
 On Fri, 29 Aug 2014 21:23:34 -0700
 Timothy Worman li...@thetimmy.com mailto:li...@thetimmy.com wrote:
 
 OK, I guess I misunderstood. Pull request 109 says:
 
 “
 Eclipse 4.4 compatibility #109
 Merged  pascalrobert https://github.com/pascalrobert 
 https://github.com/pascalrobert merged
 8 commits into wocommunity:master from Wolfy42:eclipse_4_4 20 days
 ago
 
 I didn’t see any commits after that so I assumed everything was in
 master.
 
 FYI, I was able to build WOLips for Eclipse 4.4 without any errors.
 
 Tim
 UCLA GSEIS
 
 Did you already have JRebel and JProfile installed? How did you have
 these set up?
 
 I had to install them and I my build is now failing on JProfile-related
 stuff.
 
 It would be so great if we could build wolips without these
 dependencies, yes? Well, I have to get _something_, _anything_ built
 before I can worry about that.
 
 - ray
 
 
 On Aug 29, 2014, at 2:20 PM, Pascal Robert prob...@macti.ca 
 mailto:prob...@macti.ca
 mailto:prob...@macti.ca mailto:prob...@macti.ca wrote:
 
 I didn't merge into master, I merged the pull request in the
 Wolfsonething-4.4 branch.
 
 Envoyé de mon iPhone
 
 Le 2014-08-29 à 16:27, Timothy Worman li...@thetimmy.com 
 mailto:li...@thetimmy.com
 mailto:li...@thetimmy.com mailto:li...@thetimmy.com a écrit :
 
 OK, the reason I was getting an error earlier is because I was
 working from my own fork on github. So, if anyone else is doing
 that then the command to checkout pull request 109 is:
 
 git remote add upstream https://github.com/wocommunity/wolips.git 
 https://github.com/wocommunity/wolips.git
 https://github.com/wocommunity/wolips.git 
 https://github.com/wocommunity/wolips.git git fetch upstream
 pull/109/head:eclipse_4_4 git checkout eclipse_4_4
 
 What is confusing to me is that github indicates that Pascal
 merged 109 into wocommunity:master 20 days ago. I don’t see
 changes since then. Am I misunderstanding the current state of
 things? Is there another branch with further fixes?
 
 Tim
 UCLA GSEIS
 
 
 On Aug 29, 2014, at 12:54 PM, Theodore Petrosky
 tedp...@yahoo.com mailto:tedp...@yahoo.com mailto:tedp...@yahoo.com 
 mailto:tedp...@yahoo.com wrote:
 
 BTW, I googled:git what branch am I on
 
 http://stackoverflow.com/questions/5059441/how-to-find-which-git-branch-i-am-on-when-my-disk-is-mounted-on-other-server
  
 http://stackoverflow.com/questions/5059441/how-to-find-which-git-branch-i-am-on-when-my-disk-is-mounted-on-other-server
 http://stackoverflow.com/questions/5059441/how-to-find-which-git-branch-i-am-on-when-my-disk-is-mounted-on-other-server
 
 
 
 On Aug 29, 2014, at 2:11 PM, Ruggentaler, JR
 jr.ruggenta...@experian.com
 mailto:jr.ruggenta...@experian.com wrote:
 
 I started over and did the following but I am still getting
 compile errors.  How do I tell if I am building the correct
 branch?
 
 git clone https://github.com/wocommunity/wolips.git
 https://github.com/wocommunity/wolips.git wolips-4_4 cd
 wolips-4_4 git fetch origin pull/109/head:eclipse_4_4
 git checkout eclipse_4_4
 
 ant -Dbuild.version=4.4.0
 Buildfile: /Users/a07278a/Repository/wolips-4_4/build.xml
 
 definestableupdatesite:
 
 print.environment:
 [echo] 
 [echo] 
 [echo] * java.home
 = /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre
 [echo] * build.compiler = javac1.5 [echo] *
 ant.home = /Users/a07278a/bin/ant [echo] * user.home
 = /Users/a07278a [echo] * build.version = 4.4.0
 [echo] * build.version.to.replace = 1.0.6
 [echo] * build.output.dir = temp
 [echo] * build.output.java.dir = temp/classes
 [echo] * build.output.java.test.dir =
 temp/testclasses [echo] * build.output.build.dir =
 temp/build [echo] * build.output.dist.dir = temp/dist
 [echo] * build.output.dist.targz.dir = temp/targz
 [echo] * deploy.dir = ${deploy.dir} (set by the
 buildserver) [echo] * eclipse.home
 = /Applications/eclipseLUNA44 [echo] * eclipse.deps.home
 = ${eclipse.deps.home}/features [echo] * no.clean =
 ${no.clean} [echo] * no.docs = ${no.docs}
 [echo] * compile options
 [echo] * compile.deprecation= on
 [echo] * compile.debug

Re: Eclipse 4.4 support for WOLips

2014-08-29 Thread Timothy Worman
I tried this and I got the following:

fatal: Couldn't find remote ref pull/109/head
Unexpected end of command stream

I thought when I was reviewing github that the changes were merged into master. 
But maybe that merge did not include the latest fixes.

T

 On Aug 29, 2014, at 5:42 AM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 I had this one. it appears you didn’t change to the 4.4 so you were still on 
 the 3.7 branch
 it’s these two lines”
 
 git fetch origin pull/109/head:eclipse_4_4
 git checkout eclipse_4_4
 
 I got these from the post from Dennis Bliefernicht:
 
 from the post:
 
 As a side-note: the repository/branch mentioned in the first post doesn’t 
 seem to contain the latest changes concerning velocity, wizards and 
 templates. I needed to fetch the actual pull request repository state to get 
 the latest changes:
 
 git clone https://github.com/wocommunity/wolips.git 
 https://github.com/wocommunity/wolips.git wolips-4_4
 cd wolips-4_4
 git fetch origin pull/109/head:eclipse_4_4
 git checkout eclipse_4_4
 
 see if this helps
 
 
 
 On Aug 28, 2014, at 10:04 PM, Ruggentaler, JR jr.ruggenta...@experian.com 
 mailto:jr.ruggenta...@experian.com wrote:
 
 I Tried building wolips 4.4 following Theodore Petrosky's steps, but I 
 encountered the following errors. Is there a build somewhere I can try?
 
 OS X version 10.9.4
 
 java -version
 java version 1.7.0_65
 Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
 Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
 
 ant -Dbuild.version=4.4.0
 Buildfile: /Users/a07278a/Repository/wolips-4_4/build.xml
 
 definestableupdatesite:
 
 print.environment:
 [echo]
 [echo] 
 [echo] * java.home = 
 /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre
 [echo] * build.compiler = javac1.5
 [echo] * ant.home = /Users/a07278a/bin/ant
 [echo] * user.home = /Users/a07278a
 [echo] * build.version = 4.4.0
 [echo] * build.version.to.replace = 1.0.6
 [echo] * build.output.dir = temp
 [echo] * build.output.java.dir = temp/classes
 [echo] * build.output.java.test.dir = temp/testclasses
 [echo] * build.output.build.dir = temp/build
 [echo] * build.output.dist.dir = temp/dist
 [echo] * build.output.dist.targz.dir = temp/targz
 [echo] * deploy.dir = ${deploy.dir} (set by the buildserver)
 [echo] * eclipse.home = /Applications/eclipseLUNA44
 [echo] * eclipse.deps.home = ${eclipse.deps.home}/features
 [echo] * no.clean = ${no.clean}
 [echo] * no.docs = ${no.docs}
 [echo] * compile options
 [echo] * compile.deprecation= on
 [echo] * compile.debug= on
 [echo] * compile.optimize= off
 [echo] * compile.source= 1.5
 [echo] * compile.target= 1.5
 [echo] * feature.updateSiteName= WOLips stable
 [echo] * feature.updateSite= http://webobjects.mdimension.com/wolips/stable/ 
 http://webobjects.mdimension.com/wolips/stable/
 [echo] 
 [echo]
 
 verify.clean:
 
 set.clean:
 [echo] To skip the clean set the property no.clean in your build.properties
 
 call.clean:
 
 clean:
 
 .ds_store:
 
 .ds_store:
 
 check:
 
 check_file:
 
 set_other:
 
 correct_win:
 
 check_env:
 
 set_mac:
 
 check:
 
 prepare:
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/classes
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/build
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/dist
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/doc
 
 woenvironment:
 
 java:
 
 java:
 [javac] 
 /Users/a07278a/Repository/wolips-4_4/buildscripts/ant-style-project.xml:17: 
 warning: 'includeantruntime' was not set, defaulting to 
 build.sysclasspath=last; set to false for repeatable builds
 [javac] Compiling 62 source files to 
 /Users/a07278a/Repository/wolips-4_4/temp/classes
 [javac] warning: [options] bootstrap class path not set in conjunction with 
 -source 1.5
 [javac] Note: 
 /Users/a07278a/Repository/wolips-4_4/woenvironment/src/java/org/objectstyle/woenvironment/plist/WOLPropertyListSerialization.java
  uses or overrides a deprecated API.
 [javac] Note: Recompile with -Xlint:deprecation for details.
 [javac] Note: Some input files use unchecked or unsafe operations.
 [javac] Note: Recompile with -Xlint:unchecked for details.
 [javac] 1 warning
 
 all:
 
 woproject:
 
 copy.resources:
 [mkdir] Created dir: 
 /Users/a07278a/Repository/wolips-4_4/temp/build/woproject_4.4.0
 [mkdir] Created dir: 
 /Users/a07278a/Repository/wolips-4_4/temp/build/woproject_4.4.0/examples
 [copy] Copying 56 files to 
 /Users/a07278a/Repository/wolips-4_4/temp/build/woproject_4.4.0/examples
 [mkdir] Created dir: 
 /Users/a07278a/Repository/wolips-4_4/temp/build/woproject_4.4.0/doc
 
 java:
 
 java:
 [javac] 
 /Users/a07278a/Repository/wolips-4_4/buildscripts/ant-style-project.xml:17: 
 warning: 'includeantruntime' was not set, defaulting to 
 build.sysclasspath=last; set to false for repeatable builds
 [javac] Compiling 29 source files to 
 

Re: Eclipse 4.4 support for WOLips

2014-08-29 Thread Timothy Worman
OK, the reason I was getting an error earlier is because I was working from my 
own fork on github. So, if anyone else is doing that then the command to 
checkout pull request 109 is:

git remote add upstream https://github.com/wocommunity/wolips.git 
https://github.com/wocommunity/wolips.git
git fetch upstream pull/109/head:eclipse_4_4
git checkout eclipse_4_4

What is confusing to me is that github indicates that Pascal merged 109 into 
wocommunity:master 20 days ago. I don’t see changes since then. Am I 
misunderstanding the current state of things? Is there another branch with 
further fixes?

Tim
UCLA GSEIS


 On Aug 29, 2014, at 12:54 PM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 BTW, I googled:git what branch am I on
 
 http://stackoverflow.com/questions/5059441/how-to-find-which-git-branch-i-am-on-when-my-disk-is-mounted-on-other-server
  
 http://stackoverflow.com/questions/5059441/how-to-find-which-git-branch-i-am-on-when-my-disk-is-mounted-on-other-server
 
 
 
 On Aug 29, 2014, at 2:11 PM, Ruggentaler, JR jr.ruggenta...@experian.com 
 mailto:jr.ruggenta...@experian.com wrote:
 
 I started over and did the following but I am still getting compile errors.  
 How do I tell if I am building the correct branch?
 
 git clone https://github.com/wocommunity/wolips.git 
 https://github.com/wocommunity/wolips.git wolips-4_4
 cd wolips-4_4
 git fetch origin pull/109/head:eclipse_4_4
 git checkout eclipse_4_4
 
 ant -Dbuild.version=4.4.0
 Buildfile: /Users/a07278a/Repository/wolips-4_4/build.xml
 
 definestableupdatesite:
 
 print.environment:
  [echo] 
  [echo] 
  [echo] * java.home = 
 /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre
  [echo] * build.compiler = javac1.5
  [echo] * ant.home = /Users/a07278a/bin/ant
  [echo] * user.home = /Users/a07278a
  [echo] * build.version = 4.4.0
  [echo] * build.version.to.replace = 1.0.6
  [echo] * build.output.dir = temp
  [echo] * build.output.java.dir = temp/classes
  [echo] * build.output.java.test.dir = temp/testclasses
  [echo] * build.output.build.dir = temp/build
  [echo] * build.output.dist.dir = temp/dist
  [echo] * build.output.dist.targz.dir = temp/targz
  [echo] * deploy.dir = ${deploy.dir} (set by the buildserver)
  [echo] * eclipse.home = /Applications/eclipseLUNA44
  [echo] * eclipse.deps.home = ${eclipse.deps.home}/features
  [echo] * no.clean = ${no.clean}
  [echo] * no.docs = ${no.docs}
  [echo] * compile options
  [echo] * compile.deprecation= on
  [echo] * compile.debug= on
  [echo] * compile.optimize= off
  [echo] * compile.source= 1.5
  [echo] * compile.target= 1.5
  [echo] * feature.updateSiteName= WOLips stable
  [echo] * feature.updateSite= 
 http://webobjects.mdimension.com/wolips/stable/ 
 http://webobjects.mdimension.com/wolips/stable/
  [echo] 
  [echo] 
 
 verify.clean:
 
 set.clean:
  [echo] To skip the clean set the property no.clean in your 
 build.properties
 
 call.clean:
 
 clean:
 
 .ds_store:
 
 .ds_store:
 
 check:
 
 check_file:
 
 set_other:
 
 correct_win:
 
 check_env:
 
 set_mac:
 
 check:
 
 prepare:
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/classes
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/build
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/dist
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/doc
 
 woenvironment:
 
 java:
 
 java:
 [javac] 
 /Users/a07278a/Repository/wolips-4_4/buildscripts/ant-style-project.xml:17: 
 warning: 'includeantruntime' was not set, defaulting to 
 build.sysclasspath=last; set to false for repeatable builds
 [javac] Compiling 62 source files to 
 /Users/a07278a/Repository/wolips-4_4/temp/classes
 [javac] warning: [options] bootstrap class path not set in conjunction 
 with -source 1.5
 [javac] Note: 
 /Users/a07278a/Repository/wolips-4_4/woenvironment/src/java/org/objectstyle/woenvironment/plist/WOLPropertyListSerialization.java
  uses or overrides a deprecated API.
 [javac] Note: Recompile with -Xlint:deprecation for details.
 [javac] Note: Some input files use unchecked or unsafe operations.
 [javac] Note: Recompile with -Xlint:unchecked for details.
 [javac] 1 warning
 
 all:
 
 woproject:
 
 copy.resources:
 [mkdir] Created dir: 
 /Users/a07278a/Repository/wolips-4_4/temp/build/woproject_4.4.0
 [mkdir] Created dir: 
 /Users/a07278a/Repository/wolips-4_4/temp/build/woproject_4.4.0/examples
  [copy] Copying 56 files to 
 /Users/a07278a/Repository/wolips-4_4/temp/build/woproject_4.4.0/examples
 [mkdir] 

Re: Eclipse 4.4 support for WOLips

2014-08-29 Thread Timothy Worman
OK, I guess I misunderstood. Pull request 109 says:

“
Eclipse 4.4 compatibility #109
 Merged pascalrobert https://github.com/pascalrobert merged 8 commits into 
wocommunity:master from Wolfy42:eclipse_4_4 20 days ago

I didn’t see any commits after that so I assumed everything was in master.

FYI, I was able to build WOLips for Eclipse 4.4 without any errors.

Tim
UCLA GSEIS

 On Aug 29, 2014, at 2:20 PM, Pascal Robert prob...@macti.ca 
 mailto:prob...@macti.ca wrote:
 
 I didn't merge into master, I merged the pull request in the 
 Wolfsonething-4.4 branch.
 
 Envoyé de mon iPhone
 
 Le 2014-08-29 à 16:27, Timothy Worman li...@thetimmy.com 
 mailto:li...@thetimmy.com a écrit :
 
 OK, the reason I was getting an error earlier is because I was working from 
 my own fork on github. So, if anyone else is doing that then the command to 
 checkout pull request 109 is:
 
 git remote add upstream https://github.com/wocommunity/wolips.git 
 https://github.com/wocommunity/wolips.git
 git fetch upstream pull/109/head:eclipse_4_4
 git checkout eclipse_4_4
 
 What is confusing to me is that github indicates that Pascal merged 109 into 
 wocommunity:master 20 days ago. I don’t see changes since then. Am I 
 misunderstanding the current state of things? Is there another branch with 
 further fixes?
 
 Tim
 UCLA GSEIS
 
 
 On Aug 29, 2014, at 12:54 PM, Theodore Petrosky tedp...@yahoo.com 
 mailto:tedp...@yahoo.com wrote:
 
 BTW, I googled:git what branch am I on
 
 http://stackoverflow.com/questions/5059441/how-to-find-which-git-branch-i-am-on-when-my-disk-is-mounted-on-other-server
  
 http://stackoverflow.com/questions/5059441/how-to-find-which-git-branch-i-am-on-when-my-disk-is-mounted-on-other-server
 
 
 
 On Aug 29, 2014, at 2:11 PM, Ruggentaler, JR jr.ruggenta...@experian.com 
 mailto:jr.ruggenta...@experian.com wrote:
 
 I started over and did the following but I am still getting compile 
 errors.  How do I tell if I am building the correct branch?
 
 git clone https://github.com/wocommunity/wolips.git 
 https://github.com/wocommunity/wolips.git wolips-4_4
 cd wolips-4_4
 git fetch origin pull/109/head:eclipse_4_4
 git checkout eclipse_4_4
 
 ant -Dbuild.version=4.4.0
 Buildfile: /Users/a07278a/Repository/wolips-4_4/build.xml
 
 definestableupdatesite:
 
 print.environment:
  [echo] 
  [echo] 
  [echo] * java.home = 
 /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre
  [echo] * build.compiler = javac1.5
  [echo] * ant.home = /Users/a07278a/bin/ant
  [echo] * user.home = /Users/a07278a
  [echo] * build.version = 4.4.0
  [echo] * build.version.to.replace = 1.0.6
  [echo] * build.output.dir = temp
  [echo] * build.output.java.dir = temp/classes
  [echo] * build.output.java.test.dir = temp/testclasses
  [echo] * build.output.build.dir = temp/build
  [echo] * build.output.dist.dir = temp/dist
  [echo] * build.output.dist.targz.dir = temp/targz
  [echo] * deploy.dir = ${deploy.dir} (set by the buildserver)
  [echo] * eclipse.home = /Applications/eclipseLUNA44
  [echo] * eclipse.deps.home = ${eclipse.deps.home}/features
  [echo] * no.clean = ${no.clean}
  [echo] * no.docs = ${no.docs}
  [echo] * compile options
  [echo] * compile.deprecation= on
  [echo] * compile.debug= on
  [echo] * compile.optimize= off
  [echo] * compile.source= 1.5
  [echo] * compile.target= 1.5
  [echo] * feature.updateSiteName= WOLips stable
  [echo] * feature.updateSite= 
 http://webobjects.mdimension.com/wolips/stable/ 
 http://webobjects.mdimension.com/wolips/stable/
  [echo] 
  [echo] 
 
 verify.clean:
 
 set.clean:
  [echo] To skip the clean set the property no.clean in your 
 build.properties
 
 call.clean:
 
 clean:
 
 .ds_store:
 
 .ds_store:
 
 check:
 
 check_file:
 
 set_other:
 
 correct_win:
 
 check_env:
 
 set_mac:
 
 check:
 
 prepare:
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/classes
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/build
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/dist
 [mkdir] Created dir: /Users/a07278a/Repository/wolips-4_4/temp/doc
 
 woenvironment:
 
 java:
 
 java:
 [javac] 
 /Users/a07278a/Repository/wolips-4_4/buildscripts/ant-style-project.xml:17:
  warning: 'includeantruntime' was not set, defaulting to 
 build.sysclasspath=last; set to false for repeatable builds
 [javac] Compiling 62 source files to 
 /Users/a07278a/Repository/wolips-4_4/temp/classes
 [javac] warning: [options] bootstrap class path not set in conjunction 
 with -source 1.5
 [javac] Note: 
 /Users/a07278a

D2W Enum Query

2014-07-30 Thread Timothy Worman
D2W’ers:

I’ve set up a custom component for querying an enum attribute (thanks to Ramsey 
for some good ideas and Ponder). I’ve got a rule that indicates that this 
component should be used when querying my entity. It looks like this:

100 : (task = 'query' and entity.name = 'KeyCheckout' and propertykey = 
'status') = componentName = GSEISD2WQueryEnum 
[com.webobjects.directtoweb.Assignment]

When I run the app, the attribute in question shows this on the query page: - 
cannot be used in a query -

I’ve done what I thought I needed to do but obviously something is missing. 
Could anyone point me in the right direction? I have a similar custom component 
in place for editing the enum attribute and that works fine. Any help is 
appreciated.

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: D2W Enum Query

2014-07-30 Thread Timothy Worman
Ah, for the love of….. :-) Of course all of the rules above and below are 
correct.

That fixes it. Thanks!

Tim

On Jul 30, 2014, at 7:12 PM, Theodore Petrosky tedp...@yahoo.com wrote:

 I thought propertyKey had a capital K.
 
 
 On Jul 30, 2014, at 9:36 PM, Timothy Worman li...@thetimmy.com wrote:
 
 D2W’ers:
 
 I’ve set up a custom component for querying an enum attribute (thanks to 
 Ramsey for some good ideas and Ponder). I’ve got a rule that indicates that 
 this component should be used when querying my entity. It looks like this:
 
 100 : (task = 'query' and entity.name = 'KeyCheckout' and propertykey = 
 'status') = componentName = GSEISD2WQueryEnum 
 [com.webobjects.directtoweb.Assignment]
 
 When I run the app, the attribute in question shows this on the query page: 
 - cannot be used in a query -
 
 I’ve done what I thought I needed to do but obviously something is missing. 
 Could anyone point me in the right direction? I have a similar custom 
 component in place for editing the enum attribute and that works fine. Any 
 help is appreciated.
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
 
 This email sent to tedp...@yahoo.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Enums in D2W

2014-07-18 Thread Timothy Worman
** Now hijacking this thread **

I was looking forward to trying this Enum component out. I added Ponder ERR2d2w 
to my project and it made my app do weird things. :-)

Now setting to-do item (when I have time) to go back and read through past list 
messages to see how best to drop Ponder in sans conflicts. Thanks for the 
awesome contributions Ramsey!

Tim
UCLA GSEIS

On Jul 14, 2014, at 1:10 PM, Pascal Robert prob...@macti.ca wrote:

 Working fine now!
 
 - Mail original -
 De: Ramsey Gurley rgur...@smarthealth.com
 À: Pascal Robert prob...@macti.ca
 Cc: webobjects-dev@lists.apple.com
 Envoyé: Lundi 14 Juillet 2014 16:06:44
 Objet: Re: Enums in D2W
 
 Oh, there’s a rule for that. Try
 
 100: smartAttribute.prototype.name = 'javaEnum' = localizeDisplayKeys = 
 “true [BooleanAssignment]
 
 Sorry about that. That’s not intuitive at all. I should have included that 
 rule in my framework.
 
 On Jul 14, 2014, at 12:48 PM, Pascal Robert prob...@macti.ca wrote:
 
 I did try that, and I get Enum.TYPE (AssetStatus.DEPLOYED) instead of the 
 localized key. enumDisplayString() don't call any ERXLocalizer method to 
 translate the string (maybe your R2D2W framework is doing something 
 automatically that ERModernLook doesn't do?).
 
 - Mail original -
 De: Ramsey Gurley rgur...@smarthealth.com
 À: Pascal Robert prob...@macti.ca
 Cc: webobjects-dev@lists.apple.com
 Envoyé: Mercredi 9 Juillet 2014 16:36:40
 Objet: Re: Enums in D2W
 
 Whatever works best for you. In the method on my component, it might not be 
 obvious, but if you have an enum like Color.RED, then if you do
 
 “Color.RED” = “Rouge”;
 
 in your localizable.strings file, you should get the desired results.
 
 On Jul 9, 2014, at 12:01 PM, Pascal Robert prob...@macti.ca wrote:
 
 It works with your components :-) I have a question about localization (I'm 
 not sure one the D2W presentations talks about localization). My enum is 
 like this:
 
 ANNUAL(com.druide.softwaretype.annual),
 MONTHLY(com.druide.softwaretype.monthly),
 OPEN_SOURCE(com.druide.softwaretype.open_source),
 BINARY_FREE(com.druide.softwaretype.binary_free),
 FREE_LICENSE(com.druide.softwaretype.free_license),
 UPGRADE(com.druide.softwaretype.upgrade),
 NON_EXPIRING(com.druide.softwaretype.non_expiring);
 
 private String _localizationKey;
 
 private SoftwareType(String descriptionEn) {
  this._localizationKey = descriptionEn;
 }
 
 public String localizationKey() {
  return _localizationKey;
 }
 
 public static NSArrayLanguage allSoftwareTypes() {
  return new NSArrayLanguage(Language.values());
 }
 
 So I added the following rule in the model:
 
 100 : (task = 'edit' and entity.name = 'Software' and propertyKey = 
 'licenceType') = destinationDisplayKey = localizationKey 
 [com.webobjects.directtoweb.Assignment]
 
 And I made some changes to R2D2WEditEnum.enumDisplayString() to add:
 
 if (displayString != null) {
  displayString = 
 ERXLocalizer.currentLocalizer().localizedStringForKey(displayString);
 }
 
 Is this the way to go?
 
 - Mail original - 
 De: Ramsey Gurley rgur...@smarthealth.com 
 À: Pascal Robert prob...@macti.ca 
 Cc: webobjects-dev@lists.apple.com 
 Envoyé: Mercredi 9 Juillet 2014 13:09:15 
 Objet: Re: Enums in D2W 
 
 Use my framework. If you’re not completely satisfied after 30 days, mail it 
 back for a full refund ;-) 
 
 https://github.com/nullterminated/ponder/tree/master/ERR2d2w/Components/Nonlocalized.lproj/R2D2WEditEnum.wo
  
 
 I think you can also use a regular toOneRelationship edit component with 
 the right rules and/or custom assignment class. I did a presentation at a 
 conference about it one time :D 
 
 http://www.wocommunity.org/podcasts/wowodc/2010/ComponentAssignment.mov 
 
 On Jul 9, 2014, at 9:53 AM, Pascal Robert  prob...@macti.ca  wrote: 
 
 
 
 Hi guys, 
 
 What is the trick to select a enum (javaEnum prototype in the model) from a 
 Edit component in D2W? 
 ___ 
 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: 
 https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
  
 
 This email sent to rgur...@smarthealth.com 
 
 
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

EO_PK_TABLE and weird stuff

2014-07-03 Thread Timothy Worman
All:

This week I had something happen that I’d never experienced before. I had two 
EO’s get inserted without incrementing the pk value in EO_PK_TABLE. The app is 
a self-serve account creation tool that injects records into LDAP - so the EO 
is Person.

The last id’s to be used for this Person entity were:

16662   2014-06-25 13:57:33 -0700  
16663   2014-06-25 13:59:49 -0700  
16664   2014-07-02 08:25:37 -0700  
16665   2014-07-02 12:35:36 -0700

Jul 02 12:02:43PM I have a person trying to create a record for themselves and 
it attempts to use 16662 as the person_id. Then, at Jul 02 12:11:23PM, there is 
an attempt by the same person and the pk selected is 16663.

On the chance that this possibly continues to happen, where should I be looking 
to figure out what might be occurring here.

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EO_PK_TABLE and weird stuff

2014-07-03 Thread Timothy Worman
I haven’t done any maintenance lately and I’ve never done any individual table 
restores with this database - I always do full dumps. So it’s unlikely that any 
tables would individually have their state changed.

I checked the value yesterday to confirm that it properly incremented after a 
successful add of a record. It did - so I was relieved about that. It sits 
(properly) at 16667 right now.

Where is the code that handles this? Deep in the bowels of EOF or in the DB 
plug-in?

Tim

On Jul 3, 2014, at 3:00 PM, Ken Anderson kenli...@anderhome.com wrote:

 This usually happens to me when I restore database tables and forget about 
 EO_PK_TABLE.  Have you checked to see what value is in EO_PK_TABLE right now?
 
 Have you done any maintenance to your DB lately?
 
 Ken
 
 On Jul 3, 2014, at 5:56 PM, Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 This week I had something happen that I’d never experienced before. I had 
 two EO’s get inserted without incrementing the pk value in EO_PK_TABLE. The 
 app is a self-serve account creation tool that injects records into LDAP - 
 so the EO is Person.
 
 The last id’s to be used for this Person entity were:
 
 166622014-06-25 13:57:33 -0700  
 166632014-06-25 13:59:49 -0700  
 166642014-07-02 08:25:37 -0700  
 166652014-07-02 12:35:36 -0700
 
 Jul 02 12:02:43PM I have a person trying to create a record for themselves 
 and it attempts to use 16662 as the person_id. Then, at Jul 02 12:11:23PM, 
 there is an attempt by the same person and the pk selected is 16663.
 
 On the chance that this possibly continues to happen, where should I be 
 looking to figure out what might be occurring here.
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
 
 This email sent to kenli...@anderhome.com
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EO_PK_TABLE and weird stuff

2014-07-03 Thread Timothy Worman
On Jul 3, 2014, at 3:37 PM, Ray Kiddy r...@ganymede.org wrote:

 On Thu, 03 Jul 2014 14:56:49 -0700
 Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 This week I had something happen that I’d never experienced before. I
 had two EO’s get inserted without incrementing the pk value in
 EO_PK_TABLE. The app is a self-serve account creation tool that
 injects records into LDAP - so the EO is Person.
 
 The last id’s to be used for this Person entity were:
 
 166622014-06-25 13:57:33 -0700  
 166632014-06-25 13:59:49 -0700  
 166642014-07-02 08:25:37 -0700  
 166652014-07-02 12:35:36 -0700
 
 Jul 02 12:02:43PM I have a person trying to create a record for
 themselves and it attempts to use 16662 as the person_id. Then, at
 Jul 02 12:11:23PM, there is an attempt by the same person and the pk
 selected is 16663.
 
 On the chance that this possibly continues to happen, where should I
 be looking to figure out what might be occurring here.
 
 Tim
 UCLA GSEIS
 
 Are you doing some things to this table in another app also? I may be
 confused here. LDAP is handled by the JavaJNDIAdaptor framework.
 References to the EO_PK_TABLE appear only in the JavaDJDBCAdaptor
 framework.
 
 I can see that there is code in the newPrimaryKeys() method in the
 JDBCPlugin class that manipulates the EO_PK_TABLE. I do not see
 anything similar in the primaryKeysForNewRowsWithEntity() method in the
 JNDIChannel class. Since LDAP is not a relational database, what sort
 of primary keys do you think are being used?
 
 Insofar as LDAP has keys, they seem to be strings. So again, what would
 the EO_PK_TABLE, which stores numbers, do with them?
 
 Your info suggests that this sometimes works and sometimes does not. I
 do not see how it would ever work. Any ideas?
 
 - ray

Ray, these insertions are not happening directly to LDAP. They are happening 
against a relational db which the app then subsequently utilizes to perform 
scheduled insertions into LDAP.

I will be looking at my JDBCPlugin to be sure something isn’t going afoul there.

Thanks,

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: basic use of migrations with MySQL...

2014-06-25 Thread Timothy Worman
On Jun 24, 2014, at 1:57 PM, Ray Kiddy r...@ganymede.org wrote:

 On Tue, 24 Jun 2014 16:29:01 -0400
 Theodore Petrosky tedp...@yahoo.com wrote:
 
 and you are using the MYSQL plugin from WO 5.4 as Pascal is
 suggesting?
 
 
 Well, of course I had. Duh!
 
 And then ... I have just double-checked. I had put the framework into
 the build path, but not high enough up to over-ride the non-working
 functionality. Urf!

This was my experience.

I posted recently to the list that the Wonder OpenBase plugin had to be above 
the eoaccess framework in order to properly override the functionality in the 
built-in plugins. The migrations frameworks need to be able to call the proper 
synchronization framework and SQLHelper classes.

Tim
UCLA GSEIS

 Well, I am still going to add a document to the wocommunity site which
 is just about Migrations.
 
 I bet the Wonder migrations code can check, if it is using a MySQL
 plugin, that the class it is using is the correct version. At the very
 least, this would make for a better error message. There should be a
 way to stop people from stubbing their toe on this.
 
 - ray
 
 
 
 On Jun 24, 2014, at 4:21 PM, Ray Kiddy r...@ganymede.org wrote:
 
 On Tue, 24 Jun 2014 16:17:51 -0400
 Theodore Petrosky tedp...@yahoo.com wrote:
 
 Ray,
 
 If I understand, (It always seems that I don’t understand the
 question), you want to alter a table through migrations. I have
 always done it like this.
 
 
 ERXMigrationTable theTable =
 database.existingTableNamed(“theTableIWantToAlter);
 
 theTable.existingColumnNamed(“theColumnName).setAllowsNull(false);
 
 Is this what you are looking for?
 
 Ted
 
 This code:
 
 ERXMigrationTable skuTable =
 database.existingTableNamed(product_skus);
 skuTable.newStringColumn(tag, 63, true);
 
 Generates this SQL:
 
 alter table skus null column tag varchar(63);
 
 - ray
 
 On Jun 24, 2014, at 3:59 PM, Ray Kiddy r...@ganymede.org wrote:
 
 
 I should have been using migrations for a long time, but I have
 not. I have just never had the time to add another thing that
 might break. But you know. But I thought I knew the theory of it.
 
 So, the only place I am seeing basic documentation on the
 wocommunity site is in the page on creating an ERRest application.
 Is this right? Did I miss something? I know there have been WOWODC
 presentations, but that is not completely a replacement for a
 simple how-to document.
 
 But starting out, migrations seemed pretty easy to use. Ok,
 setting the encoding of the tables to latin1 instead of utf-8 was
 not amazingly helpful, but I can deal.
 
 But then I tried my first table change, as opposed to a create.
 
  alter table foo_table null column1 column2 varchar(10);
 
 Hm. Not helpful. I guess falling back to reasonable defaults is
 not what happens here. I tried adding things to my classpath,
 such as the Wonder MySQL plugin framework. No difference.
 
 So, I now use my migration java sources as a convenient place for
 the comments which give me the SQL I have to execute manually to
 make this work. This is probably not the best use of this feature,
 though.
 
 Any obvious things I am missing before I try to debug this and,
 perhaps, put some basic documentation on the site?
 
 thanx - ray
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Can't see the tabs in D2W app

2014-06-23 Thread Timothy Worman
On Jun 23, 2014, at 1:34 PM, Pascal Robert prob...@macti.ca wrote:

 [cc’ing the list.. begrudgingly. Here comes six more undeliverable 
 messages :/ maybe time to move to the wonder list?]
 
 The Wonder list is under the control of people who are not in the community 
 anymore. I don't think it's a better option.

This list never had this issue before - I’m wondering why it is suddenly a 
problem.

 - Mail original -
 De: Ramsey Gurley rgur...@smarthealth.com
 À: Pascal Robert prob...@macti.ca
 Cc: WebObjects-Dev Apple webobjects-dev@lists.apple.com
 Envoyé: Lundi 23 Juin 2014 16:02:43
 Objet: Re: Can't see the tabs in D2W app
 
 You need to set your navigationState in your d2wContext in some way. That can 
 be as straightforward as a few rules like
 
 100: pageConfiguration = ‘ListComputer’ = navigationState = ‘Computers’ 
 [Assignment]
 100: pageConfiguration = ‘CreateComputer’ = navigationState = 
 ‘Computers.CreateComputer’ [Assignment]
 … and so on.
 
 I think BugTracker does this through a page factory bottleneck so it can set 
 the navigationState values programatically. But then, it has a lot of 
 navigationState rules as well.
 
 BTW, if you’re just using the standard page configs, the ERD2WDirectAction 
 class can save you a lot of navigationController boilerplate. It’s just 
 directActionName = ‘PageConfigurationName’ like
 
 name = Computers;
 directActionName = “ListComputer”;
 
 I do this whenever possible and generally I use the pageConfiguration as the 
 name as well
 
 name = ListComputer;
 directActionName = “ListComputer”;
 
 That way it’s easier to remember what localized key applies to what.
 
 [cc’ing the list.. begrudgingly. Here comes six more undeliverable messages 
 :/ maybe time to move to the wonder list?]
 
 On Jun 23, 2014, at 12:30 PM, Pascal Robert prob...@macti.ca wrote:
 
 I'm trying to build a prototype for a inventory system, and I'm trying to 
 use D2W in that system. Problem is that my navigation doesn't work. I have 
 two first-level children, Computers and Mobile, and each have two children. 
 Problem is: I only see the tabs for Computers and Mobile, the sub tabs don't 
 appears.
 
 My NavigationMenu.plist file:
 
 (
   {
   name = Root;
   directActionClass = DirectAction;
   directActionName = default;
   children = (Computers, Mobile);
   },
   {
   name = Computers;
   action = session.navController.listComputersAction;
   children = (CreateComputer,SearchComputers);
   },
   {
   name = CreateComputer;
   action = session.navController.createComputerAction;
   },
   {
   name = SearchComputers;
   action = session.navController.searchComputersAction;
   },
   {
   name = Mobile;
   action = session.navController.listMobileDevicesAction;
   children = (CreateMobileDevice,SearchMobileDevices);
   },
   {
   name = CreateMobileDevice;
   action = session.navController.createMobileDeviceAction;
   },
   {
   name = SearchMobileDevices;
   action = session.navController.searchMobileDevicesAction;
   }
 )
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: On TreasureBoat

2014-06-16 Thread Timothy Worman
If possible, I would like to be included as well.

Thanks,

Tim
UCLA GSEIS

On Jun 16, 2014, at 10:56 AM, Ângelo Andrade Cirino aacir...@gmail.com wrote:

 Hi Ken,
 
 No need to hurry, take your time and prioritize your work.
 
 I would also like to know how to contribute to the TreasureBoat project.
 
 Regards,
 
 Angelo
 
 Em 16/06/2014, à(s) 12:07, ISHIMOTO Ken k...@ksroom.com escreveu:
 
 Hi Angelo,
 
 I will you write you a Mail tomorrow, currently very busy.
 
 Ken
 
 2014/06/15 23:57、Ângelo Andrade Cirino aacir...@gmail.com のメール:
 
 Unfortunately I was not able to attend WOWODC and would like to know more 
 about TreasureBoat. Is an NDA needed now that there is a public git 
 repository?
 
 Having access to TBRuleModeler would be very nice too.
 
 Cheers,
 
 Angelo
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
 
 This email sent to k...@ksroom.com
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: D2W Rule Question

2014-06-15 Thread Timothy Worman
In rule modeler the value shows with quotes - so that’s weird. Another weird 
thing - in RuleModeler, I have two 'BooleanAssignment 
(com.webobjects.directtoweb).’ I selected the other one and now things work 
fine. They were stacked right on top of each other in the assignment popup in 
RM.

I’m not using TBRuleModeler. Actually, I know nothing of any treasure boat. :-) 
Was this something I needed to be at WOWODC to track with? :-)

Tim

On Jun 14, 2014, at 7:03 PM, Theodore Petrosky tedp...@yahoo.com wrote:

 I was just playing with this and I can not get the boolean value to appear 
 without the quotes
 
 100 : (entity.name = 'Instrument' or entity.name = 'Person') = 
 isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment]
 
 also I could not get the LHS to appear with the extra parenthesis that you 
 have. If I add them, they are removed when I save the rues file.
 
 Are you using the new Treasure boat  TBRuleModeler?
 
 Ted
 
 On Jun 14, 2014, at 9:46 PM, Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 I’ve got a rule that looks like this:
 
 110 : ((entity.name = 'PTAMembership') or (entity.name = 'PTAMember')) = 
 isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment ]
 
 Is anyone able to tell me what I'm doing wrong with this rule? At 
 application launch this is causing an error like:
 
 IllegalArgumentException: ** DirectToWeb exception - a rule cannot be 
 instantiated if its right hand side is null. LHS=((entity.name = 
 'PTAMembership') or (entity.name = 'PTAMember'))  RHS=null
 at com.webobjects.directtoweb.Rule.init(Rule.java:211)
 at er.directtoweb.ERD2WRule.init(ERD2WRule.java:48)
 at er.directtoweb.ERD2WRule.decodeWithKeyValueUnarchiver(ERD2WRule.java:57)
... skipped 3 stack elements
 at 
 com.webobjects.eocontrol.EOKeyValueUnarchiver._objectForPropertyList(EOKeyValueUnarchiver.java:192)
 at 
 com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256)
 at 
 com.webobjects.eocontrol.EOKeyValueUnarchiver._arrayForPropertyList(EOKeyValueUnarchiver.java:215)
 at 
 com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:250)
 at 
 com.webobjects.eocontrol.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:275)
 at er.directtoweb.ERD2WModel.mergePathURL(ERD2WModel.java:648)
 at com.webobjects.directtoweb.D2WModel.loadRules(D2WModel.java:982)
 at com.webobjects.directtoweb.D2WModel.checkRules(D2WModel.java:907)
 at er.directtoweb.ERDirectToWeb.finishInitialization(ERDirectToWeb.java:99)
 at 
 er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:94)
... skipped 7 stack elements
 at er.extensions.appserver.ERXApplication.init(ERXApplication.java:1147)
 at com.donbenitopta.admin.app.Application.init(Application.java:11)
 
 I could swear I’ve had this rule in there for a long time and it just 
 recently started to throw exceptions - but I’ve been known to be very wrong. 
 :-)
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
 
 This email sent to tedp...@yahoo.com
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

D2W Rule Question

2014-06-14 Thread Timothy Worman
All:

I’ve got a rule that looks like this:

110 : ((entity.name = 'PTAMembership') or (entity.name = 'PTAMember')) = 
isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment ]

Is anyone able to tell me what I'm doing wrong with this rule? At application 
launch this is causing an error like:

IllegalArgumentException: ** DirectToWeb exception - a rule cannot be 
instantiated if its right hand side is null. LHS=((entity.name = 
'PTAMembership') or (entity.name = 'PTAMember'))  RHS=null
  at com.webobjects.directtoweb.Rule.init(Rule.java:211)
  at er.directtoweb.ERD2WRule.init(ERD2WRule.java:48)
  at er.directtoweb.ERD2WRule.decodeWithKeyValueUnarchiver(ERD2WRule.java:57)
 ... skipped 3 stack elements
  at 
com.webobjects.eocontrol.EOKeyValueUnarchiver._objectForPropertyList(EOKeyValueUnarchiver.java:192)
  at 
com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256)
  at 
com.webobjects.eocontrol.EOKeyValueUnarchiver._arrayForPropertyList(EOKeyValueUnarchiver.java:215)
  at 
com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:250)
  at 
com.webobjects.eocontrol.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:275)
  at er.directtoweb.ERD2WModel.mergePathURL(ERD2WModel.java:648)
  at com.webobjects.directtoweb.D2WModel.loadRules(D2WModel.java:982)
  at com.webobjects.directtoweb.D2WModel.checkRules(D2WModel.java:907)
  at er.directtoweb.ERDirectToWeb.finishInitialization(ERDirectToWeb.java:99)
  at 
er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:94)
 ... skipped 7 stack elements
  at er.extensions.appserver.ERXApplication.init(ERXApplication.java:1147)
  at com.donbenitopta.admin.app.Application.init(Application.java:11)

I could swear I’ve had this rule in there for a long time and it just recently 
started to throw exceptions - but I’ve been known to be very wrong. :-)

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder addition - updated openbase plugin

2014-06-09 Thread Timothy Worman
Hola from CA:

Following up and looking for advice on this. I did follow this approach (below) 
for naming of the OpenBasePlugIn class. I’ve added some new expressions to the 
OpenBaseSynchronization factory to support functions that are missing for 
migrations. So, in a migration where you alter the column type, you’d call this:

ERXMigrationColumn.setDataType(). In that method are these calls:

EOSchemaSynchronization schemaSynchronization = (EOSchemaSynchronization) 
_table.database().synchronizationFactory();
NSArrayEOSQLExpression expressions = 
schemaSynchronization.statementsToConvertColumnType(_name, _table.name(), null, 
new _ColumnType(externalType, scale, precision, width), options);

The sync factory that  is returned is an instance of 
OpenBasePlugIn$OpenBaseSynchronizationFactory. However, the  
statementsToConvertColumnType that I added to the update 
OpenBaseSynchronizationFactory isn't called. This makes me think it is still 
referencing the OpenBasePlugIn that is part of the WO 5.4.3 distribution. App 
launch fails with:

“Your EOSynchronizationFactory does not support the required 'convert column 
type' operation.

Any thoughts on why the newer plugin with changes might not be getting called? 
Is it possible that migrations are running before the newer plugin is loaded 
into the classpath?

Tim
UCLA GSEIS 

On May 28, 2014, at 1:42 PM, Chuck Hill ch...@global-village.net wrote:

 The replacement plugins are in ERExtensions which is forced into the class 
 path before any of the WO frameworks.  As such any classes that they contain 
 that have the same package and class names as in WO proper will render the 
 original classes invisible to the JVM.
 
 Chuck
 
 
 
 On 2014-05-28, 1:13 PM, David Avendasora wrote:
 
 All of the other PlugIns (Oracle excluded) seem to use the same name as the 
 one included in the WO binaries, but I do see your point about it possibly 
 causing confusion for all the WO developers out there using OpenBase.
 
 …
 
 …
 
 …
 
 snk. snrk. cough. cough…
 
 Okay, seriously though, I think it would be best to use the expected name 
 (OpenBasePlugIn) and use the same mechanisms that the other DB plugins use to 
 keep there from being conflicts.
 
 Now, let me get back to my servlet-based D2JC project with vertical 
 inheritance and sharedEC on SQLServer.
 
 Which reminds me, somewhere around here I have Chuck’s MicrosoftPlugIn… I 
 should look at updating that and getting it into Wonder, too - as I promised 
 I would … a couple years ago.
 
 :-)
 
 Dave
 
 
 On May 28, 2014, at 12:27 PM, Timothy Worman li...@thetimmy.com wrote:
 
 I received permission to include a modified OpenBasePlugIn into Wonder. 
 Thought I’d open this up to a best practice discussion here. Since the 
 original plugin was bundled with the WO frameworks, my assumption is that the 
 plugin class should be renamed - sth like EROpenBasePlugIn? By doing so we 
 could eliminate any possible confusion.
 It was communicated to me that the plugin was an enhanced version of the one 
 that shipped with WO. I have modified it to correct immediate issues with 
 migrations in Wonder (including updates to WO 5.4 synchronization classes). 
 This would also make it somewhat dependent on a version of Wonder that has 
 been updated in the same fashion - which I also have and, if it passes 
 muster, could be pulled into Wonder as well.
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 This email sent to webobje...@avendasora.com
 
 
 —
 WebObjects - so easy that even Dave Avendasora can do it!™
 —
 David Avendasora
 Senior Software Abuser
 Nekesto, Inc.
 
 
 
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder addition - updated openbase plugin

2014-06-09 Thread Timothy Worman
This is solved. I had to make sure to order the newer, modified 
OpenBaseWOPKPlugIn framework above the EOAccess framework in the build path.

Tim
UCLA GSEIS

On Jun 9, 2014, at 2:28 PM, Timothy Worman li...@thetimmy.com wrote:

 Hola from CA:
 
 Following up and looking for advice on this. I did follow this approach 
 (below) for naming of the OpenBasePlugIn class. I’ve added some new 
 expressions to the OpenBaseSynchronization factory to support functions that 
 are missing for migrations. So, in a migration where you alter the column 
 type, you’d call this:
 
 ERXMigrationColumn.setDataType(). In that method are these calls:
 
 EOSchemaSynchronization schemaSynchronization = (EOSchemaSynchronization) 
 _table.database().synchronizationFactory();
 NSArrayEOSQLExpression expressions = 
 schemaSynchronization.statementsToConvertColumnType(_name, _table.name(), 
 null, new _ColumnType(externalType, scale, precision, width), options);
 
 The sync factory that  is returned is an instance of 
 OpenBasePlugIn$OpenBaseSynchronizationFactory. However, the  
 statementsToConvertColumnType that I added to the update 
 OpenBaseSynchronizationFactory isn't called. This makes me think it is still 
 referencing the OpenBasePlugIn that is part of the WO 5.4.3 distribution. App 
 launch fails with:
 
 “Your EOSynchronizationFactory does not support the required 'convert column 
 type' operation.
 
 Any thoughts on why the newer plugin with changes might not be getting 
 called? Is it possible that migrations are running before the newer plugin is 
 loaded into the classpath?
 
 Tim
 UCLA GSEIS 
 
 On May 28, 2014, at 1:42 PM, Chuck Hill ch...@global-village.net wrote:
 
 The replacement plugins are in ERExtensions which is forced into the class 
 path before any of the WO frameworks.  As such any classes that they contain 
 that have the same package and class names as in WO proper will render the 
 original classes invisible to the JVM.
 
 Chuck
 
 
 
 On 2014-05-28, 1:13 PM, David Avendasora wrote:
 
 All of the other PlugIns (Oracle excluded) seem to use the same name as the 
 one included in the WO binaries, but I do see your point about it possibly 
 causing confusion for all the WO developers out there using OpenBase.
 
 …
 
 …
 
 …
 
 snk. snrk. cough. cough…
 
 Okay, seriously though, I think it would be best to use the expected name 
 (OpenBasePlugIn) and use the same mechanisms that the other DB plugins use 
 to keep there from being conflicts.
 
 Now, let me get back to my servlet-based D2JC project with vertical 
 inheritance and sharedEC on SQLServer.
 
 Which reminds me, somewhere around here I have Chuck’s MicrosoftPlugIn… I 
 should look at updating that and getting it into Wonder, too - as I promised 
 I would … a couple years ago.
 
 :-)
 
 Dave
 
 
 On May 28, 2014, at 12:27 PM, Timothy Worman li...@thetimmy.com wrote:
 
 I received permission to include a modified OpenBasePlugIn into Wonder. 
 Thought I’d open this up to a best practice discussion here. Since the 
 original plugin was bundled with the WO frameworks, my assumption is that 
 the plugin class should be renamed - sth like EROpenBasePlugIn? By doing so 
 we could eliminate any possible confusion.
 It was communicated to me that the plugin was an enhanced version of the one 
 that shipped with WO. I have modified it to correct immediate issues with 
 migrations in Wonder (including updates to WO 5.4 synchronization classes). 
 This would also make it somewhat dependent on a version of Wonder that has 
 been updated in the same fashion - which I also have and, if it passes 
 muster, could be pulled into Wonder as well.
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 This email sent to webobje...@avendasora.com
 
 
 —
 WebObjects - so easy that even Dave Avendasora can do it!™
 —
 David Avendasora
 Senior Software Abuser
 Nekesto, Inc.
 
 
 
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

 ___
Do not post admin requests

partials and migrations

2014-06-02 Thread Timothy Worman
I’m just wondering before I head down this road - does migrations work OK with 
partial entities? I’m specifically wondering about a partial entity that might 
share a few class attributes. I wouldn’t want migrations to try to create the 
same fields twice in the database.

Looking to flex my new-found freedom to use migrations with OpenBase!

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: the trouble with migrations...

2014-06-01 Thread Timothy Worman
I took a look at the FrontBase plugin. It’s also pretty straight forward with 
one exception.

override
FrontBasePlugIn.schemaCreationStatementsForEntities(NSArray entities, 
NSDictionary options)

Moving to the newer API requires passing in a EOSchemaGenerationOptions instead 
of NSDictionary. In this case there is a mechanism to message a default in 
where an option is null in the dictionary. This will be tougher with 
EOSchemaGenerationOptions since it merely returns booleans for desired options. 
Surprisingly, it doesn’t implement NSKeyValueCodingAdditions.

Tim
UCLA GSEIS

On May 27, 2014, at 2:41 PM, David Avendasora webobje...@avendasora.com wrote:

 Wow Tim! 
 
 Very cool! I’m going to pull this into one of my projects and check it out - 
 I started down this road with one or two of the plugins, but I didn’t get 
 this far. Hopefully I can add my plugin changes to this and we can have a 
 nice “modernization (2008ish) of Wonder!
 
 Dave
 
 On May 27, 2014, at 5:03 PM, Timothy Worman li...@thetimmy.com wrote:
 
 David et al:
 
 Sorry to reply to myself. Fixed. Migrations, etc., are now working for me 
 with everything updated to the WO 5.4 API’s. I have branch of wonder called 
 ‘worman’ which has the changes. Here is the diff:
 
 https://github.com/timsquared/wonder/commit/3b39cfc00fcb9327931d8fe5835442c9ca1e1327
 
 Database plugins MAY need to be updated - but maybe not. :-)
 
 Tim
 UCLA GSEIS
 
 On May 27, 2014, at 11:23 AM, Timothy Worman li...@thetimmy.com wrote:
 
 Hey Dave:
 
 I saw that you had a similar post to the list about the older deprecated 
 API’s.
 
 Yeah, I’ve jumped in that pool - SQLHelper and all. I have a branch of 
 Wonder that is completely updated off of the older, deprecated API’s. If 
 you’re interested in checking it out, I can make it available on github.
 
 I’m still seeing ERXMigrationDatabase.synchronizationFactory returning a 
 com.webobjects.eoaccess.EOSynchronizationFactory - which makes me concerned 
 that something down deep and unreachable by me is making that happen.
 
 Curiously, this stuff is correct:
 
 expression class: 
 com.webobjects.jdbcadaptor.OpenBasePlugIn$OpenBaseExpression
 plugin name: OpenBase
 
 I’ve been away all weekend too so I haven’t been able to look into it 
 further. Let me know if you’d like to hammer on this thing a little.
 
 Tim
 UCLA GSEIS
 
 On May 24, 2014, at 9:00 AM, David Avendasora webobje...@avendasora.com 
 wrote:
 
 Hi Tim,
 
 In addition to the schema synchronization stuff you also need to look at 
 the SQLHelper subclasses defined for the plug-in. 
 
 I believe these were created as part of Mike's original migrations 
 implementation and it's entirely possible that there was never one created 
 for open base and therefore it's not doing what it supposed.
 
 Sorry I can't be more specific right now I'm not in front of my computer, 
 but I've been digging around down in the plug-ins and the schema 
 synchronization code quite a bit in the last couple months so I think I'll 
 should be able to help more once I am back at my computer.  By Tuesday for 
 sure.
 
 Dave
 
 Sent from my iPhone
 
 On May 23, 2014, at 7:26 PM, Timothy Worman li...@thetimmy.com wrote:
 
 So, I’ve been looking into a problem with ERXMigrations related to 
 OpenBase. The SQL in migrations is wonky which was detailed here many 
 moons ago:
 
 http://prod.lists.apple.com/archives/webobjects-dev/2008/Oct/msg00431.html
 
 Namely, the “constraints” sql-isms are different. But wait, aren’t the 
 frameworks supposed to build SQL expressions based on the JDBC plugin 
 you’re using (in this case OpenBasePlugIn)?
 
 I decided to mess with the OpenBase plugin source and see if I could fix 
 this issue - maybe sth more recent in WO-ness wasn’t being properly 
 overridden in the plugin. This is what I’ve found -
 
 ERXMigrationDatabase.synchronizationFactory() is supposed to return a 
 database-specific subclass of EOSynchronizationFactory (if I’m not 
 mistaken). For OpenBase this should be OpenBaseSynchronizationFactory. 
 However, it doesn’t appear to. The first time I run my app and 
 ERAttachment0 is called, a standard base EOSynchronizationFactory (not 
 OpenBaseSynchronizationFactory) is returned. No code from the subclass is 
 called.
 
 Do others using PostgreSQL or other database experience this?
 
 Bueller…….Bueller……
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options

Re: Announcement: EROldFart Interface and a solid default implementation

2014-05-30 Thread Timothy Worman
That is really good stuff. Happy birthday Chuck.

My favorite part is the default case for process(memory).  :-)

Tim
UCLA GSEIS

On May 30, 2014, at 8:41 AM, David Avendasora webobje...@avendasora.com wrote:

 Ken Ishimoto actually merged it about 30 seconds after I submitted it!
 
 On May 30, 2014, at 11:35 AM, Ângelo Andrade Cirino aacir...@gmail.com 
 wrote:
 
 Cheers
 
 Happy birthday Chuck
 
 Nice work Dave, I think the pull request should be accepted without much 
 concern.
 
 Ângelo
 
 
 2014-05-30 12:30 GMT-03:00 David Avendasora webobje...@avendasora.com:
 In honor of Chuck’s 50th birthday...
 
 https://github.com/wocommunity/wonder/pull/583/files
 
 Yours in Beer,
 Dave Avendasora
 
 —
 WebObjects - so easy that even Dave Avendasora can do it!™
 —
 David Avendasora
 Senior Software Abuser
 Nekesto, Inc.
 
 
 
 
 
 
  ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/aacirino%40gmail.com
 
 This email sent to aacir...@gmail.com
 
 
 
 —
 WebObjects - so easy that even Dave Avendasora can do it!™
 —
 David Avendasora
 Senior Software Abuser
 Nekesto, Inc.
 
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Wonder addition - updated openbase plugin

2014-05-28 Thread Timothy Worman
I received permission to include a modified OpenBasePlugIn into Wonder. Thought 
I’d open this up to a best practice discussion here. Since the original plugin 
was bundled with the WO frameworks, my assumption is that the plugin class 
should be renamed - sth like EROpenBasePlugIn? By doing so we could eliminate 
any possible confusion.

It was communicated to me that the plugin was an enhanced version of the one 
that shipped with WO. I have modified it to correct immediate issues with 
migrations in Wonder (including updates to WO 5.4 synchronization classes). 
This would also make it somewhat dependent on a version of Wonder that has been 
updated in the same fashion - which I also have and, if it passes muster, could 
be pulled into Wonder as well.

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Latest working Eclipse/WOLips combination

2014-05-28 Thread Timothy Worman
On May 28, 2014, at 9:17 PM, Klaus Berkling webobje...@berkling.us wrote:

 
 On May 28, 2014, at 7:23 PM, Klaus Berkling webobje...@berkling.us wrote:
 
 I had some issues updating an existing and a clean install of Eclipse 3.7 
 and WOLips 3.7.  I can post the exact errors later.  Right now I'm wondering 
 what is the latest working combination of Eclipse and WOLips?
 
 ...talking to myself :-) ... Looks like the error is with the JProfiler and 
 jRebel parts of WOLips (Optional) - Eclipse 3.7/WOLips 3.7 still works, just 
 don't select JProfiler and jRebel and do a clean install.  
 
 Going through 'Check for Updates', selecting WOLips, only, fails with an 
 error:
 
 An error occurred while installing the items
 session context was:(profile=epp.package.java, 
 phase=org.eclipse.equinox.internal.p2.engine.phases.Install, 
 operand=[R]org.objectstyle.wolips.templateengine 3.7.20120723.28 -- 
 [R]org.objectstyle.wolips.templateengine 3.7.20140223.48, action=).
 Failed to prepare partial IU: [R]org.objectstyle.wolips.templateengine 
 3.7.20140223.48.
 
 FWIW...

Right now I’m on Keplar release 2 with WOLips 4.3. I have no issues except for 
the known issue with the modeler where the attribute detail pane does not 
always refresh when selecting an attribute of an entity. Before that I was on 
3.8.2 which is what GOLipse installs. That is rock solid and has no problems 
that I’m aware of.

I’ve worked some on trying to get a version of GOLipse that installs the 4.3 
combination but the p2 plugin install stuff is always a little hairy to work 
out. I guess it depends on whether folks really want it.

Tim
UCLA GSEIS ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: the trouble with migrations...

2014-05-27 Thread Timothy Worman
Hey Dave:

I saw that you had a similar post to the list about the older deprecated API’s.

Yeah, I’ve jumped in that pool - SQLHelper and all. I have a branch of Wonder 
that is completely updated off of the older, deprecated API’s. If you’re 
interested in checking it out, I can make it available on github.

I’m still seeing ERXMigrationDatabase.synchronizationFactory returning a 
com.webobjects.eoaccess.EOSynchronizationFactory - which makes me concerned 
that something down deep and unreachable by me is making that happen.

Curiously, this stuff is correct:

expression class: com.webobjects.jdbcadaptor.OpenBasePlugIn$OpenBaseExpression
plugin name: OpenBase

I’ve been away all weekend too so I haven’t been able to look into it further. 
Let me know if you’d like to hammer on this thing a little.

Tim
UCLA GSEIS

On May 24, 2014, at 9:00 AM, David Avendasora webobje...@avendasora.com wrote:

 Hi Tim,
 
 In addition to the schema synchronization stuff you also need to look at the 
 SQLHelper subclasses defined for the plug-in. 
 
 I believe these were created as part of Mike's original migrations 
 implementation and it's entirely possible that there was never one created 
 for open base and therefore it's not doing what it supposed.
 
 Sorry I can't be more specific right now I'm not in front of my computer, but 
 I've been digging around down in the plug-ins and the schema synchronization 
 code quite a bit in the last couple months so I think I'll should be able to 
 help more once I am back at my computer.  By Tuesday for sure.
 
 Dave
 
 Sent from my iPhone
 
 On May 23, 2014, at 7:26 PM, Timothy Worman li...@thetimmy.com wrote:
 
 So, I’ve been looking into a problem with ERXMigrations related to OpenBase. 
 The SQL in migrations is wonky which was detailed here many moons ago:
 
 http://prod.lists.apple.com/archives/webobjects-dev/2008/Oct/msg00431.html
 
 Namely, the “constraints” sql-isms are different. But wait, aren’t the 
 frameworks supposed to build SQL expressions based on the JDBC plugin you’re 
 using (in this case OpenBasePlugIn)?
 
 I decided to mess with the OpenBase plugin source and see if I could fix 
 this issue - maybe sth more recent in WO-ness wasn’t being properly 
 overridden in the plugin. This is what I’ve found -
 
 ERXMigrationDatabase.synchronizationFactory() is supposed to return a 
 database-specific subclass of EOSynchronizationFactory (if I’m not 
 mistaken). For OpenBase this should be OpenBaseSynchronizationFactory. 
 However, it doesn’t appear to. The first time I run my app and ERAttachment0 
 is called, a standard base EOSynchronizationFactory (not 
 OpenBaseSynchronizationFactory) is returned. No code from the subclass is 
 called.
 
 Do others using PostgreSQL or other database experience this?
 
 Bueller…….Bueller……
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: the trouble with migrations...

2014-05-27 Thread Timothy Worman
David et al:

Sorry to reply to myself. Fixed. Migrations, etc., are now working for me with 
everything updated to the WO 5.4 API’s. I have branch of wonder called ‘worman’ 
which has the changes. Here is the diff:

https://github.com/timsquared/wonder/commit/3b39cfc00fcb9327931d8fe5835442c9ca1e1327

Database plugins MAY need to be updated - but maybe not. :-)

Tim
UCLA GSEIS

On May 27, 2014, at 11:23 AM, Timothy Worman li...@thetimmy.com wrote:

 Hey Dave:
 
 I saw that you had a similar post to the list about the older deprecated 
 API’s.
 
 Yeah, I’ve jumped in that pool - SQLHelper and all. I have a branch of Wonder 
 that is completely updated off of the older, deprecated API’s. If you’re 
 interested in checking it out, I can make it available on github.
 
 I’m still seeing ERXMigrationDatabase.synchronizationFactory returning a 
 com.webobjects.eoaccess.EOSynchronizationFactory - which makes me concerned 
 that something down deep and unreachable by me is making that happen.
 
 Curiously, this stuff is correct:
 
 expression class: com.webobjects.jdbcadaptor.OpenBasePlugIn$OpenBaseExpression
 plugin name: OpenBase
 
 I’ve been away all weekend too so I haven’t been able to look into it 
 further. Let me know if you’d like to hammer on this thing a little.
 
 Tim
 UCLA GSEIS
 
 On May 24, 2014, at 9:00 AM, David Avendasora webobje...@avendasora.com 
 wrote:
 
 Hi Tim,
 
 In addition to the schema synchronization stuff you also need to look at the 
 SQLHelper subclasses defined for the plug-in. 
 
 I believe these were created as part of Mike's original migrations 
 implementation and it's entirely possible that there was never one created 
 for open base and therefore it's not doing what it supposed.
 
 Sorry I can't be more specific right now I'm not in front of my computer, 
 but I've been digging around down in the plug-ins and the schema 
 synchronization code quite a bit in the last couple months so I think I'll 
 should be able to help more once I am back at my computer.  By Tuesday for 
 sure.
 
 Dave
 
 Sent from my iPhone
 
 On May 23, 2014, at 7:26 PM, Timothy Worman li...@thetimmy.com wrote:
 
 So, I’ve been looking into a problem with ERXMigrations related to 
 OpenBase. The SQL in migrations is wonky which was detailed here many moons 
 ago:
 
 http://prod.lists.apple.com/archives/webobjects-dev/2008/Oct/msg00431.html
 
 Namely, the “constraints” sql-isms are different. But wait, aren’t the 
 frameworks supposed to build SQL expressions based on the JDBC plugin 
 you’re using (in this case OpenBasePlugIn)?
 
 I decided to mess with the OpenBase plugin source and see if I could fix 
 this issue - maybe sth more recent in WO-ness wasn’t being properly 
 overridden in the plugin. This is what I’ve found -
 
 ERXMigrationDatabase.synchronizationFactory() is supposed to return a 
 database-specific subclass of EOSynchronizationFactory (if I’m not 
 mistaken). For OpenBase this should be OpenBaseSynchronizationFactory. 
 However, it doesn’t appear to. The first time I run my app and 
 ERAttachment0 is called, a standard base EOSynchronizationFactory (not 
 OpenBaseSynchronizationFactory) is returned. No code from the subclass is 
 called.
 
 Do others using PostgreSQL or other database experience this?
 
 Bueller…….Bueller……
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: openbase

2014-05-27 Thread Timothy Worman
Michael:

I use OpenBase at UCLA and have for 10 years. Currently, our server uses 
version 11 I believe. OpenBase has always been very solid for us. We’ve always 
run it on Mac OS X (and have no experience with OB on Linux).

On a side note, I’m currently working on addressing some issues with Wonder 
migrations and OpenBase.

Tim
UCLA GSES

On May 27, 2014, at 8:50 PM, Michael Kondratov mich...@aspireauctions.com 
wrote:

 Anyone using OpenBase db system here? How is the reliability? Are you running 
 on Mac or Linux?
 
 Michael Kondratov
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

the trouble with migrations...

2014-05-23 Thread Timothy Worman
So, I’ve been looking into a problem with ERXMigrations related to OpenBase. 
The SQL in migrations is wonky which was detailed here many moons ago:

http://prod.lists.apple.com/archives/webobjects-dev/2008/Oct/msg00431.html

Namely, the “constraints” sql-isms are different. But wait, aren’t the 
frameworks supposed to build SQL expressions based on the JDBC plugin you’re 
using (in this case OpenBasePlugIn)?

I decided to mess with the OpenBase plugin source and see if I could fix this 
issue - maybe sth more recent in WO-ness wasn’t being properly overridden in 
the plugin. This is what I’ve found -

ERXMigrationDatabase.synchronizationFactory() is supposed to return a 
database-specific subclass of EOSynchronizationFactory (if I’m not mistaken). 
For OpenBase this should be OpenBaseSynchronizationFactory. However, it doesn’t 
appear to. The first time I run my app and ERAttachment0 is called, a standard 
base EOSynchronizationFactory (not OpenBaseSynchronizationFactory) is returned. 
No code from the subclass is called.

Do others using PostgreSQL or other database experience this?

Bueller…….Bueller……

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERPDFGeneration problem

2014-05-15 Thread Timothy Worman
David et al:

I was able to get my PDF gen working again by starting with new components. I 
used the wocomponent wizard, allowed it to create the html and left the doctype 
as xhtml transitional. Essentially building from there with a document saying 
Hello World, I was able to get things working again.

I haven’t solved why components that worked before didn’t work anymore.

Tim
UCLA GSEIS

On May 9, 2014, at 2:52 PM, Timothy Worman li...@thetimmy.com wrote:

 Hi David:
 
 I guess I’m not alone in the wilderness! At least this means it isn’t my 
 fault - this time!! I haven’t had time to look into it at all today. Maybe 
 the supporting libraries were updated and something got broken. When I have a 
 chance I’ll start looking at when the ERPDFGeneration framework may have had 
 updates.
 
 Tim
 UCLA GSEIS
 
 On May 8, 2014, at 1:11 PM, David Holt programming...@mac.com wrote:
 
 I am seeing the same issue that you are with ERPDFGeneration. Disabling 
 click to open has no impact on the problem.
 
 David
 
 
 On 2014-05-08, at 12:29 PM, Timothy Worman li...@thetimmy.com wrote:
 
 I was suspecting the _componentName attribute yesterday and I was looking 
 for properties to turn it off. After a quick search I didn’t find anything. 
 It does appear that clickToOpen could be involved and I have the property 
 set true in my props. I haven’t used it so I don’t know why I have it 
 enabled. And I seem to remember reading it caused issues with excel 
 generation. This could be it. I’ll respond with more after some 
 investigation.
 
 Tim
 UCLA GSEIS
 
 On May 8, 2014, at 9:41 AM, Fabian Peters lists.fab...@e-lumo.com wrote:
 
 I somehow assumed this problem occurred in deployment. Still, if Bastian 
 is on the right track, then this should help:
 
public boolean clickToOpenEnabled(WOResponse response, WOContext 
 context) {
return false;
}
 
 
 Am 08.05.2014 um 18:15 schrieb Bastian Triller bastian.tril...@gmail.com:
 
 I think the _componentName attribute is the problem. There's a switch to 
 turn that off.
 
 On Wed, 2014-05-07 at 19:33 -0700, Timothy Worman wrote:
 All:
 
 
 I have a problem that recently popped up with PDF generation. I have a 
 custom component that utilizes the simple FlyingSaucerImpl in 
 ERPDFGeneration. My component was failing with:
 
 
 [org.xml.sax.SAXParseException] The markup in the document preceding 
 the root element must be well-formed.
 
 
 So, I simplified things and basically made a test component content sth 
 like SimplePDFGeneration1 from the ERPDFExamples. Same issue - 
 SAXParseException. I overrode appendToResponse to generate some 
 diagnostics on the content I’m trying pdf-ify (is that allowed?). Below 
 is what it sayeth. So, what the heck is in line 0, column 2 in the 
 document?
 
 
 May 07 19:20:21 eTimesheet[5] WARN  NSLog  - 
 'edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent' 
 caused a SAXParseException
 Message: 'The markup in the document preceding the root element must be 
 well-formed.'
 Line   : 0
 Column : 2
 --- content begin ---
 1 !DOCTYPE html
 2 html  _componentName = 
 edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent lang 
 = en
 3   head
 4 meta charset = utf-8 /
 5 titleERPDFGeneration Examples/title
 6 
 7 link rel=stylesheet type=text/css 
 href=/cgi-bin/WebObjects/eTimesheet.woa/_wr_/wodata=/Users/worman/Source/etswo/eTimesheet/WebServerResources/print.css
  media=print/
 8 
 9   /head
 10   body
 11   
 12   /body
 13 /html
 --- content end —
 
 
 Tim
 UCLA GSEIS
 
 
 
 
 ___
 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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
 
 
 This email sent to 
 bastian.tril...@gmail.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
 
 This email sent to lists.fab...@e-lumo.com
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.com
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

Re: ERPDFGeneration problem

2014-05-15 Thread Timothy Worman
Xavier:

Everything reflects UTF-8. I’m suspecting something about the doctype 
declaration or the meta tag. I’m guessing something changed in the framework 
since I first built my custom PDF wrapper.

Tim

On May 15, 2014, at 1:13 PM, Dev WO webobje...@anazys.com wrote:

 Hi Tim,
 
 Maybe I'm all wrong, but you could check the Property of each .wo file (it 
 should be inherited if the container is UTF-8 or manually select 
 OtherUTF-8)
 You could also check the corresponding .woo file and compare them with the 
 one from the working component.
 
 Xavier
 
 On 15 mai 2014, at 21:57, Timothy Worman li...@thetimmy.com wrote:
 
 David et al:
 
 I was able to get my PDF gen working again by starting with new components. 
 I used the wocomponent wizard, allowed it to create the html and left the 
 doctype as xhtml transitional. Essentially building from there with a 
 document saying Hello World, I was able to get things working again.
 
 I haven’t solved why components that worked before didn’t work anymore.
 
 Tim
 UCLA GSEIS
 
 On May 9, 2014, at 2:52 PM, Timothy Worman li...@thetimmy.com wrote:
 
 Hi David:
 
 I guess I’m not alone in the wilderness! At least this means it isn’t my 
 fault - this time!! I haven’t had time to look into it at all today. Maybe 
 the supporting libraries were updated and something got broken. When I have 
 a chance I’ll start looking at when the ERPDFGeneration framework may have 
 had updates.
 
 Tim
 UCLA GSEIS
 
 On May 8, 2014, at 1:11 PM, David Holt programming...@mac.com wrote:
 
 I am seeing the same issue that you are with ERPDFGeneration. Disabling 
 click to open has no impact on the problem.
 
 David
 
 
 On 2014-05-08, at 12:29 PM, Timothy Worman li...@thetimmy.com wrote:
 
 I was suspecting the _componentName attribute yesterday and I was looking 
 for properties to turn it off. After a quick search I didn’t find 
 anything. It does appear that clickToOpen could be involved and I have 
 the property set true in my props. I haven’t used it so I don’t know why 
 I have it enabled. And I seem to remember reading it caused issues with 
 excel generation. This could be it. I’ll respond with more after some 
 investigation.
 
 Tim
 UCLA GSEIS
 
 On May 8, 2014, at 9:41 AM, Fabian Peters lists.fab...@e-lumo.com wrote:
 
 I somehow assumed this problem occurred in deployment. Still, if Bastian 
 is on the right track, then this should help:
 
  public boolean clickToOpenEnabled(WOResponse response, WOContext 
 context) {
  return false;
  }
 
 
 Am 08.05.2014 um 18:15 schrieb Bastian Triller 
 bastian.tril...@gmail.com:
 
 I think the _componentName attribute is the problem. There's a switch 
 to turn that off.
 
 On Wed, 2014-05-07 at 19:33 -0700, Timothy Worman wrote:
 All:
 
 
 I have a problem that recently popped up with PDF generation. I have a 
 custom component that utilizes the simple FlyingSaucerImpl in 
 ERPDFGeneration. My component was failing with:
 
 
 [org.xml.sax.SAXParseException] The markup in the document preceding 
 the root element must be well-formed.
 
 
 So, I simplified things and basically made a test component content 
 sth like SimplePDFGeneration1 from the ERPDFExamples. Same issue - 
 SAXParseException. I overrode appendToResponse to generate some 
 diagnostics on the content I’m trying pdf-ify (is that allowed?). 
 Below is what it sayeth. So, what the heck is in line 0, column 2 in 
 the document?
 
 
 May 07 19:20:21 eTimesheet[5] WARN  NSLog  - 
 'edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent' 
 caused a SAXParseException
 Message: 'The markup in the document preceding the root element must 
 be well-formed.'
 Line   : 0
 Column : 2
 --- content begin ---
 1 !DOCTYPE html
 2 html  _componentName = 
 edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent 
 lang = en
 3   head
 4 meta charset = utf-8 /
 5 titleERPDFGeneration Examples/title
 6 
 7 link rel=stylesheet type=text/css 
 href=/cgi-bin/WebObjects/eTimesheet.woa/_wr_/wodata=/Users/worman/Source/etswo/eTimesheet/WebServerResources/print.css
  media=print/
 8 
 9   /head
 10   body
 11   
 12   /body
 13 /html
 --- content end —
 
 
 Tim
 UCLA GSEIS
 
 
 
 
 ___
 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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
 
 
 This email sent to 
 bastian.tril...@gmail.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
 
 This email sent to lists.fab...@e-lumo.com
 
 
 
 ___
 Do

Re: ERXKey to check to many relationship is null

2014-05-15 Thread Timothy Worman
Oscar:

Any of these maybe?

http://osdir.com/ml/webobjects-dev/2011-05/msg00251.html

or:

er.extensions.eof.qualifiers.ERXInQualifier
er.extensions.eof.qualifiers.ERXExistsQualifier
ERXEOControlUtilities.objectCountWithQualifier
EOUtilities.rawRowsForSQL - which could give you efficient count execution 
without having to use EOF relationships.

Tim
UCLA GSEIS

On May 15, 2014, at 2:07 PM, Oscar González racso...@hotmail.com wrote:

 Hi list,
 I'm trying to generate a ERXKey to check to many relationship is null in the 
 database.
 Person--Address
 I want all the persons that have no address.
 
 Appreciate any help,
 
 Saludos,
 
 Oscar.
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: advice on inheritance??

2014-05-11 Thread Timothy Worman
Ted:

Rather than inheritance, I use ERXPartials for this. Have one database entity 
for ‘Person’ and various types of persons as partials. One database row has all 
of the attributes of the different types.

If not partials, I probably prefer the role pattern to inheritance.

Tim
UCLA GSEIS

On May 11, 2014, at 1:02 PM, Theodore Petrosky tedp...@yahoo.com wrote:

 I am starting a project. I need to manage assets (people). But people will be 
 both a User of the system and the managed asset. 
 
 Also a person could be an employee of a company that needs to manage the 
 assets.
 
 So I thought I would create a person class and do inheritance. 
 
 a worker inherits from a person
 a supervisor inherits from a person
 
 Am I going nuts and too deep with inheritance? Would it be easier to have a 
 single entity person that has booleans to identify workers or supervisors. I 
 mean a person could be both a worker and supervisor.
 
 maybe just talking about it will help me think if through.
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERPDFGeneration problem

2014-05-09 Thread Timothy Worman
Hi David:

I guess I’m not alone in the wilderness! At least this means it isn’t my fault 
- this time!! I haven’t had time to look into it at all today. Maybe the 
supporting libraries were updated and something got broken. When I have a 
chance I’ll start looking at when the ERPDFGeneration framework may have had 
updates.

Tim
UCLA GSEIS

On May 8, 2014, at 1:11 PM, David Holt programming...@mac.com wrote:

 I am seeing the same issue that you are with ERPDFGeneration. Disabling click 
 to open has no impact on the problem.
 
 David
 
 
 On 2014-05-08, at 12:29 PM, Timothy Worman li...@thetimmy.com wrote:
 
 I was suspecting the _componentName attribute yesterday and I was looking 
 for properties to turn it off. After a quick search I didn’t find anything. 
 It does appear that clickToOpen could be involved and I have the property 
 set true in my props. I haven’t used it so I don’t know why I have it 
 enabled. And I seem to remember reading it caused issues with excel 
 generation. This could be it. I’ll respond with more after some 
 investigation.
 
 Tim
 UCLA GSEIS
 
 On May 8, 2014, at 9:41 AM, Fabian Peters lists.fab...@e-lumo.com wrote:
 
 I somehow assumed this problem occurred in deployment. Still, if Bastian is 
 on the right track, then this should help:
 
 public boolean clickToOpenEnabled(WOResponse response, WOContext 
 context) {
 return false;
 }
 
 
 Am 08.05.2014 um 18:15 schrieb Bastian Triller bastian.tril...@gmail.com:
 
 I think the _componentName attribute is the problem. There's a switch to 
 turn that off.
 
 On Wed, 2014-05-07 at 19:33 -0700, Timothy Worman wrote:
 All:
 
 
 I have a problem that recently popped up with PDF generation. I have a 
 custom component that utilizes the simple FlyingSaucerImpl in 
 ERPDFGeneration. My component was failing with:
 
 
 [org.xml.sax.SAXParseException] The markup in the document preceding the 
 root element must be well-formed.
 
 
 So, I simplified things and basically made a test component content sth 
 like SimplePDFGeneration1 from the ERPDFExamples. Same issue - 
 SAXParseException. I overrode appendToResponse to generate some 
 diagnostics on the content I’m trying pdf-ify (is that allowed?). Below 
 is what it sayeth. So, what the heck is in line 0, column 2 in the 
 document?
 
 
 May 07 19:20:21 eTimesheet[5] WARN  NSLog  - 
 'edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent' caused 
 a SAXParseException
 Message: 'The markup in the document preceding the root element must be 
 well-formed.'
 Line   : 0
 Column : 2
 --- content begin ---
 1 !DOCTYPE html
 2 html  _componentName = 
 edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent lang = 
 en
 3   head
 4 meta charset = utf-8 /
 5 titleERPDFGeneration Examples/title
 6 
 7 link rel=stylesheet type=text/css 
 href=/cgi-bin/WebObjects/eTimesheet.woa/_wr_/wodata=/Users/worman/Source/etswo/eTimesheet/WebServerResources/print.css
  media=print/
 8 
 9   /head
 10   body
 11   
 12   /body
 13 /html
 --- content end —
 
 
 Tim
 UCLA GSEIS
 
 
 
 
 ___
 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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
 
 
 This email sent to 
 bastian.tril...@gmail.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
 
 This email sent to lists.fab...@e-lumo.com
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder build issue?

2014-05-08 Thread Timothy Worman
On May 7, 2014, at 11:26 PM, Ray Kiddy r...@ganymede.org wrote:

 On Wed, 07 May 2014 19:56:45 -0700
 Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 After running this:
 
 ant clean frameworks; sudo ant frameworks.install
 
 I get the following errors:
 
 BUILD FAILED
 /Users/worman/Source/wonder/build.xml:18: The following error
 occurred while executing this
 line: /Users/worman/Source/wonder/Build/build/build.xml:1509: The
 following error occurred while executing this
 line: /Users/worman/Source/wonder/Build/build/build.xml:1500: The
 following error occurred while executing this
 line: /Users/worman/Source/wonder/Build/build/build.xml:58: The
 following error occurred while executing this
 line: /Users/worman/Source/wonder/Build/build/generic.xml:526: 
 /var/root/Roots/ERJars.framework
 does not exist.
 
 
 Very weird. I got this to work by doing:
 
   sudo ant -Dwo.external.root=/home/ray/Roots frameworks.install
 
 I do not know _why_ we would have to do this, though. I believe that
 this worked at some time in the past. Does anyone else have any
 theories about when this stopped working?
 
 And frankly, it seems odd that one could have ever run sudo ant and
 gotten a correct value for ${user.home}. Than again, it's been a long
 day. Maybe I am squinting at this wrong.
 
 - ray

If you:
1. sudo -s (to gain root privs)
2. cd
3. pwd

The output should reflect your user home not root’s home. For me it was 
/Users/worman. That is just the way sudo works. It doesn’t clobber your 
environment variables - at least not on OS X-nix. So, the build scripts should 
work with sudo. They definitely changed at some point because I have always 
built wonder this way and the BUILD.txt also instructs building this way. My 
wolips.properties and build.properties have not changed in a long time so I 
don’t think it is that.

Tim

 It appears `ant clean frameworks` is successful - build to ~/Roots
 looks normal. It seems to be failing because it is looking in the
 root user’s home for ERJars.framework. This looks good:
 
 global.framework.build:
[mkdir] Created dir: /Users/worman/Roots/ERJars.framework
 
 global.dummy:
 [woframework] Installing ERJars in /Users/worman/Roots
  [jar] Building jar: /Users/worman/Roots/ERJars-6.0.jar
 
 global.dummy:
 [echo] -
 [echo] ERJars.framework done
 [echo] -
 
 Possibly the `sudo   ` is causing something to interpret ‘home'
 as root’s home instead of the my home? This has never happened before
 and I’d love to know if I’ve suffered a self-inflicted wound.
 Otherwise, I’d love to fix this up - or know what the fix-up is!
 
 If I do `sudo ls ~` my user home is returned, not /var/root so I’m
 pretty sure it isn’t an issue with my environment.
 
 Tim


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERPDFGeneration problem

2014-05-08 Thread Timothy Worman
Hi Matt:

Thanks for the thought. I’ve tried these:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML Basic 1.0//EN
http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd”

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml11/xhtml11-strict.dtd”

The one from ERPDFExamples uses simply this:

!DOCTYPE html
html lang = en”

Tomorrow I’m going to run the example and test to see if it is broken as well. 
Unfortunately you have to disable bundless builds to run it - which will muck 
with my workspace a bit.

T

On May 7, 2014, at 8:34 PM, Matt Ness m...@logicsquad.net wrote:

 Hi Tim,
 
 Perhaps you need to specify a DTD?
 
 http://www.w3.org/QA/Tips/Doctype
 http://www.w3.org/QA/2002/04/valid-dtd-list.html
 
 
 Regards,
 
 Matt
 --
 http://logicsquad.net
 
 
 
 On 08/05/2014, at 12:33 PM, Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 I have a problem that recently popped up with PDF generation. I have a 
 custom component that utilizes the simple FlyingSaucerImpl in 
 ERPDFGeneration. My component was failing with:
 
 [org.xml.sax.SAXParseException] The markup in the document preceding the 
 root element must be well-formed.
 
 So, I simplified things and basically made a test component content sth like 
 SimplePDFGeneration1 from the ERPDFExamples. Same issue - SAXParseException. 
 I overrode appendToResponse to generate some diagnostics on the content I’m 
 trying pdf-ify (is that allowed?). Below is what it sayeth. So, what the 
 heck is in line 0, column 2 in the document?
 
 May 07 19:20:21 eTimesheet[5] WARN  NSLog  - 
 'edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent' caused a 
 SAXParseException
 Message: 'The markup in the document preceding the root element must be 
 well-formed.'
 Line   : 0
 Column : 2
 --- content begin ---
 1 !DOCTYPE html
 2 html  _componentName = 
 edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent lang = 
 en
 3   head
 4 meta charset = utf-8 /
 5 titleERPDFGeneration Examples/title
 6 
 7 link rel=stylesheet type=text/css 
 href=/cgi-bin/WebObjects/eTimesheet.woa/_wr_/wodata=/Users/worman/Source/etswo/eTimesheet/WebServerResources/print.css
  media=print/
 8 
 9   /head
 10   body
 11   
 12   /body
 13 /html
 --- content end —
 
 Tim
 UCLA GSEIS
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/matt%40logicsquad.net
 
 This email sent to m...@logicsquad.net
 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder build issue?

2014-05-08 Thread Timothy Worman
On May 8, 2014, at 12:07 PM, Ray Kiddy r...@ganymede.org wrote:

 On Thu, 8 May 2014 00:31:22 -0700
 Timothy Worman li...@thetimmy.com wrote:
 
 On May 7, 2014, at 11:26 PM, Ray Kiddy r...@ganymede.org wrote:
 
 On Wed, 07 May 2014 19:56:45 -0700
 Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 After running this:
 
 ant clean frameworks; sudo ant frameworks.install
 
 I get the following errors:
 
 BUILD FAILED
 /Users/worman/Source/wonder/build.xml:18: The following error
 occurred while executing this
 line: /Users/worman/Source/wonder/Build/build/build.xml:1509: The
 following error occurred while executing this
 line: /Users/worman/Source/wonder/Build/build/build.xml:1500: The
 following error occurred while executing this
 line: /Users/worman/Source/wonder/Build/build/build.xml:58: The
 following error occurred while executing this
 line: /Users/worman/Source/wonder/Build/build/generic.xml:526: 
 /var/root/Roots/ERJars.framework
 does not exist.
 
 
 Very weird. I got this to work by doing:
 
 sudo ant -Dwo.external.root=/home/ray/Roots
 frameworks.install
 
 I do not know _why_ we would have to do this, though. I believe that
 this worked at some time in the past. Does anyone else have any
 theories about when this stopped working?
 
 And frankly, it seems odd that one could have ever run sudo ant
 and gotten a correct value for ${user.home}. Than again, it's been
 a long day. Maybe I am squinting at this wrong.
 
 - ray
 
 If you:
 1. sudo -s (to gain root privs)
 2. cd
 3. pwd
 
 The output should reflect your user home not root’s home. For me it
 was /Users/worman. That is just the way sudo works. It doesn’t
 clobber your environment variables - at least not on OS X-nix. So,
 the build scripts should work with sudo. They definitely changed at
 some point because I have always built wonder this way and the
 BUILD.txt also instructs building this way. My wolips.properties and
 build.properties have not changed in a long time so I don’t think it
 is that.
 
 Tim
 
 I know what you are saying, but, for me, ant frameworks builds
 into /home/ray/Roots and sudo ant frameworks.install wants to pull
 from /root/Roots.
 
 Check this out. The ${user.home} variable in the ant file is pulled
 automatically from one's System properties, so:
 
 $ cat whoami.java
 
 public class whoami {
  public static void main(String[] arg) {
System.out.println(user.home:\ +
  System.getProperty(user.home)
  + \);
  }
 }
 $ 
 $ javac whoami.java 
 $ java -classpath . whoami
 user.home: /home/ray
 $ sudo java -classpath . whoami
 [sudo] password for ray: 
 user.home: /root
 $
 
 What do you get?

I get the same result on OS X Mavericks. And yet this exact procedure used to 
work and didn’t used to seek the built frameworks in /var/root/Roots. That’s a 
bit strange to me. I’m pretty sure the legacy need for the sudo was because it 
was required to install into /Library/Frameworks - unless you changed 
permissions on that directory. In any case, anyone who reads the build 
directions and follows them may very well hit this same wall. So, we definitely 
should make a change.

 
 - ray
 
 
 It appears `ant clean frameworks` is successful - build to ~/Roots
 looks normal. It seems to be failing because it is looking in the
 root user’s home for ERJars.framework. This looks good:
 
 global.framework.build:
   [mkdir] Created dir: /Users/worman/Roots/ERJars.framework
 
 global.dummy:
 [woframework] Installing ERJars in /Users/worman/Roots
 [jar] Building jar: /Users/worman/Roots/ERJars-6.0.jar
 
 global.dummy:
[echo] -
[echo] ERJars.framework done
[echo] -
 
 Possibly the `sudo ` is causing something to interpret
 ‘home' as root’s home instead of the my home? This has never
 happened before and I’d love to know if I’ve suffered a
 self-inflicted wound. Otherwise, I’d love to fix this up - or know
 what the fix-up is!
 
 If I do `sudo ls ~` my user home is returned, not /var/root so I’m
 pretty sure it isn’t an issue with my environment.
 
 Tim
 
 
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERPDFGeneration problem

2014-05-08 Thread Timothy Worman
Thanks Larry!

These things seem to check out. Encoding is good, and no characters between 
wrapper and content. I’ve simplified the component to the point now where there 
is almost nothing left to it - and the only wocomponent is the ERPDFWrapper 
itself. Everything else is balanced html, head, title, body, p, and singular 
meta tag.

Tim

On May 8, 2014, at 7:15 AM, Larry Mills-Gahl elem...@gmail.com wrote:

 Here are a couple of things to try:
 
 Remove any spaces between the wrapper and your component (so there are no 
 spaces before the !DOCTYPE declaration)
 Line 0 column 2 sounds a little like there is an unrecognized or 
 non-printing character sneaking into the process. 
 
 Check the encoding of the file. UTF-8 works in the examples.
 
 Check if you’re using any entities that might not be strict xhtml.
 
 
 Larry Mills-Gahl
 elem...@gmail.com
 
 
 On May 8, 2014, at 4:08 AM, Timothy Worman li...@thetimmy.com wrote:
 
 Hi Matt:
 
 Thanks for the thought. I’ve tried these:
 
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML Basic 1.0//EN
 http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd”
 
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
 http://www.w3.org/TR/xhtml11/xhtml11-strict.dtd”
 
 The one from ERPDFExamples uses simply this:
 
 !DOCTYPE html
 html lang = en”
 
 Tomorrow I’m going to run the example and test to see if it is broken as 
 well. Unfortunately you have to disable bundless builds to run it - which 
 will muck with my workspace a bit.
 
 T
 
 On May 7, 2014, at 8:34 PM, Matt Ness m...@logicsquad.net wrote:
 
 Hi Tim,
 
 Perhaps you need to specify a DTD?
 
 http://www.w3.org/QA/Tips/Doctype
 http://www.w3.org/QA/2002/04/valid-dtd-list.html
 
 
 Regards,
 
 Matt
 --
 http://logicsquad.net
 
 
 
 On 08/05/2014, at 12:33 PM, Timothy Worman li...@thetimmy.com wrote:
 
 All:
 
 I have a problem that recently popped up with PDF generation. I have a 
 custom component that utilizes the simple FlyingSaucerImpl in 
 ERPDFGeneration. My component was failing with:
 
 [org.xml.sax.SAXParseException] The markup in the document preceding the 
 root element must be well-formed.
 
 So, I simplified things and basically made a test component content sth 
 like SimplePDFGeneration1 from the ERPDFExamples. Same issue - 
 SAXParseException. I overrode appendToResponse to generate some 
 diagnostics on the content I’m trying pdf-ify (is that allowed?). Below is 
 what it sayeth. So, what the heck is in line 0, column 2 in the document?
 
 May 07 19:20:21 eTimesheet[5] WARN  NSLog  - 
 'edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent' caused 
 a SAXParseException
 Message: 'The markup in the document preceding the root element must be 
 well-formed.'
 Line   : 0
 Column : 2
 --- content begin ---
 1 !DOCTYPE html
 2 html  _componentName = 
 edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent lang = 
 en
 3   head
 4 meta charset = utf-8 /
 5 titleERPDFGeneration Examples/title
 6 
 7 link rel=stylesheet type=text/css 
 href=/cgi-bin/WebObjects/eTimesheet.woa/_wr_/wodata=/Users/worman/Source/etswo/eTimesheet/WebServerResources/print.css
  media=print/
 8 
 9   /head
 10   body
 11 
 12   /body
 13 /html
 --- content end —
 
 Tim
 UCLA GSEIS
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/matt%40logicsquad.net
 
 This email sent to m...@logicsquad.net
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com
 
 This email sent to elem...@gmail.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERPDFGeneration problem

2014-05-08 Thread Timothy Worman
I was suspecting the _componentName attribute yesterday and I was looking for 
properties to turn it off. After a quick search I didn’t find anything. It does 
appear that clickToOpen could be involved and I have the property set true in 
my props. I haven’t used it so I don’t know why I have it enabled. And I seem 
to remember reading it caused issues with excel generation. This could be it. 
I’ll respond with more after some investigation.

Tim
UCLA GSEIS

On May 8, 2014, at 9:41 AM, Fabian Peters lists.fab...@e-lumo.com wrote:

 I somehow assumed this problem occurred in deployment. Still, if Bastian is 
 on the right track, then this should help:
 
   public boolean clickToOpenEnabled(WOResponse response, WOContext 
 context) {
   return false;
   }
 
 
 Am 08.05.2014 um 18:15 schrieb Bastian Triller bastian.tril...@gmail.com:
 
 I think the _componentName attribute is the problem. There's a switch to 
 turn that off.
 
 On Wed, 2014-05-07 at 19:33 -0700, Timothy Worman wrote:
 All:
 
 
 I have a problem that recently popped up with PDF generation. I have a 
 custom component that utilizes the simple FlyingSaucerImpl in 
 ERPDFGeneration. My component was failing with:
 
 
 [org.xml.sax.SAXParseException] The markup in the document preceding the 
 root element must be well-formed.
 
 
 So, I simplified things and basically made a test component content sth 
 like SimplePDFGeneration1 from the ERPDFExamples. Same issue - 
 SAXParseException. I overrode appendToResponse to generate some diagnostics 
 on the content I’m trying pdf-ify (is that allowed?). Below is what it 
 sayeth. So, what the heck is in line 0, column 2 in the document?
 
 
 May 07 19:20:21 eTimesheet[5] WARN  NSLog  - 
 'edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent' caused a 
 SAXParseException
 Message: 'The markup in the document preceding the root element must be 
 well-formed.'
 Line   : 0
 Column : 2
 --- content begin ---
 1 !DOCTYPE html
 2 html  _componentName = 
 edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent lang = 
 en
 3   head
 4 meta charset = utf-8 /
 5 titleERPDFGeneration Examples/title
 6 
 7 link rel=stylesheet type=text/css 
 href=/cgi-bin/WebObjects/eTimesheet.woa/_wr_/wodata=/Users/worman/Source/etswo/eTimesheet/WebServerResources/print.css
  media=print/
 8 
 9   /head
 10   body
 11   
 12   /body
 13 /html
 --- content end —
 
 
 Tim
 UCLA GSEIS
 
 
 
 
 ___
 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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
 
 
 This email sent to 
 bastian.tril...@gmail.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
 
 This email sent to lists.fab...@e-lumo.com
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder build issue?

2014-05-08 Thread Timothy Worman
Hey Johnny:

Yeah, I definitely think setting that at runtime would fix the problem. The 
biggest issue I see is that when you download Wonder there is a BUILD.txt file 
with instructions on how to build. It should probably be updated as well.

I’ve done it the same way for a long time - and I haven’t run a new build for a 
while. So, it definitely caught me off guard.

Tim

On May 8, 2014, at 1:38 PM, Jonathan Miller jlmil...@kahalawai.com wrote:

 Hi Tim,
 
 I hope I'm not misunderstanding your issue but have you tried this:
 
 
 sudo ant -Duser.home=$HOME frameworks.install
 
 
 I noticed that the wiki was updated recently.
 
 http://wiki.wocommunity.org/display/documentation/Building+and+Installing+a+Framework+with+Ant
 
 Aloha,
 
 Johnny
 
 
 
 On Thu, May 8, 2014 at 9:20 AM, Timothy Worman li...@thetimmy.com wrote:
 On May 8, 2014, at 12:07 PM, Ray Kiddy r...@ganymede.org wrote:
 
  On Thu, 8 May 2014 00:31:22 -0700
  Timothy Worman li...@thetimmy.com wrote:
 
  On May 7, 2014, at 11:26 PM, Ray Kiddy r...@ganymede.org wrote:
 
  On Wed, 07 May 2014 19:56:45 -0700
  Timothy Worman li...@thetimmy.com wrote:
 
  All:
 
  After running this:
 
  ant clean frameworks; sudo ant frameworks.install
 
  I get the following errors:
 
  BUILD FAILED
  /Users/worman/Source/wonder/build.xml:18: The following error
  occurred while executing this
  line: /Users/worman/Source/wonder/Build/build/build.xml:1509: The
  following error occurred while executing this
  line: /Users/worman/Source/wonder/Build/build/build.xml:1500: The
  following error occurred while executing this
  line: /Users/worman/Source/wonder/Build/build/build.xml:58: The
  following error occurred while executing this
  line: /Users/worman/Source/wonder/Build/build/generic.xml:526: 
  /var/root/Roots/ERJars.framework
  does not exist.
 
 
  Very weird. I got this to work by doing:
 
  sudo ant -Dwo.external.root=/home/ray/Roots
  frameworks.install
 
  I do not know _why_ we would have to do this, though. I believe that
  this worked at some time in the past. Does anyone else have any
  theories about when this stopped working?
 
  And frankly, it seems odd that one could have ever run sudo ant
  and gotten a correct value for ${user.home}. Than again, it's been
  a long day. Maybe I am squinting at this wrong.
 
  - ray
 
  If you:
  1. sudo -s (to gain root privs)
  2. cd
  3. pwd
 
  The output should reflect your user home not root’s home. For me it
  was /Users/worman. That is just the way sudo works. It doesn’t
  clobber your environment variables - at least not on OS X-nix. So,
  the build scripts should work with sudo. They definitely changed at
  some point because I have always built wonder this way and the
  BUILD.txt also instructs building this way. My wolips.properties and
  build.properties have not changed in a long time so I don’t think it
  is that.
 
  Tim
 
  I know what you are saying, but, for me, ant frameworks builds
  into /home/ray/Roots and sudo ant frameworks.install wants to pull
  from /root/Roots.
 
  Check this out. The ${user.home} variable in the ant file is pulled
  automatically from one's System properties, so:
 
  $ cat whoami.java
 
  public class whoami {
   public static void main(String[] arg) {
 System.out.println(user.home:\ +
   System.getProperty(user.home)
   + \);
   }
  }
  $
  $ javac whoami.java
  $ java -classpath . whoami
  user.home: /home/ray
  $ sudo java -classpath . whoami
  [sudo] password for ray:
  user.home: /root
  $
 
  What do you get?
 
 I get the same result on OS X Mavericks. And yet this exact procedure used to 
 work and didn’t used to seek the built frameworks in /var/root/Roots. That’s 
 a bit strange to me. I’m pretty sure the legacy need for the sudo was because 
 it was required to install into /Library/Frameworks - unless you changed 
 permissions on that directory. In any case, anyone who reads the build 
 directions and follows them may very well hit this same wall. So, we 
 definitely should make a change.
 
 
  - ray
 
 
  It appears `ant clean frameworks` is successful - build to ~/Roots
  looks normal. It seems to be failing because it is looking in the
  root user’s home for ERJars.framework. This looks good:
 
  global.framework.build:
[mkdir] Created dir: /Users/worman/Roots/ERJars.framework
 
  global.dummy:
  [woframework] Installing ERJars in /Users/worman/Roots
  [jar] Building jar: /Users/worman/Roots/ERJars-6.0.jar
 
  global.dummy:
 [echo] -
 [echo] ERJars.framework done
 [echo] -
 
  Possibly the `sudo ` is causing something to interpret
  ‘home' as root’s home instead of the my home? This has never
  happened before and I’d love to know if I’ve suffered a
  self-inflicted wound. Otherwise, I’d love to fix this up - or know
  what the fix-up is!
 
  If I do `sudo ls ~` my user home is returned, not /var/root so I’m
  pretty sure it isn’t an issue

Re: AjaxGrid single row select UPDATE

2014-05-07 Thread Timothy Worman
Jens:

I’ve implement a SingleSelectionAjaxGrid that extends AjaxGrid. Actually, it’s 
twice removed. :-) Anyway, I don’t think there’s any major changes in the 
parent class. There’s a class variable for selectedObject and the following 
override below ’toggleSelectionOfRow.’ The component has a api binding for 
selectedObject.

/**
* Toggles inclusion of row into selectedObjects() (i.e. selects and
* de-selects it). This component can only have one selected row.
*/
public WOActionResults toggleSelectionOfRow() {
//row was already selected
boolean _rowWasPreviouslySelected = (selectedObjects() != null  
selectedObjects().contains(row())); 
selectedObjects().removeAllObjects();
if (! _rowWasPreviouslySelected) {
setSelectedObject(row());
selectedObjects().addObject(row());
} else {
setSelectedObject(null);
}
return null;
}

Also, in the wod, the tr for the row repetition has been updated as below. This 
allows you to click anywhere in the tr to select.

TableRowAndToggler: AjaxUpdateLink {
action = toggleSelectionOfRow;
updateContainerID = configurationData.updateContainerID; // VALID
id = toggleRowSelectionID;
elementName = tr;
class = rowClass;
style = rowStyle;
}

Hopefully, this helps you out.

Tim
UCLA GSEIS


On May 7, 2014, at 9:15 AM, Chuck Hill ch...@global-village.net wrote:

 Hi Jens,
 
 On 2014-05-07, 1:59 AM, Dipl.-Ing. Jens Lünstedt wrote:
 
 Hello,
 for my AjaxGrid I have two questions. (I'm not very familiar with JavaScript)
 How to define a single row selection? (At the moment I can select and 
 deselect multiple rows).
 
 You mean that you want to prevent the user from selecting more than one row?  
 It does not support that.  You probably could in JavaScript, but this is 
 probably the wrong UI for what you are doing.
 
 
 How can I react on the selection and deselection event in my Java Class? The 
 setSelectedObjects method is not called.
 
 You can’t directly, AjaxGrid does that.  
 
 I think what you want is to have a link or button in each row that does 
 something when activated.  Otherwise you are trying to bend AjaxGrid to do 
 something it was not intended for.  Neither you nor your users are likely to 
 be happy.
 
 First you need a grid configuration like this:
  *{
  *title =  quot;Actionsquot;;
  *keyPath = quot;quot;;   // Missing or 
 empty keypath results in the current object itself being passed to component
  *component = quot;EmployeeActionsquot;;  // Name of 
 WOComponent to be displayed in this column.  Gets passed two bindings: value 
 (Object), 
  *  // and grid 
 (AjaxGrid) so that any other needed data can be accessed
  *cssClass = quot;alignCenterquot;;
  *}
 
 Then in the component some simple HTML like:
 span style=float:middleWEBOBJECT NAME=Remove//span
 
 Then use a regular link or an Ajax one, depending on what you want to happen:
 Remove: WOHyperlink {
 action = remove;
 string = Remove;
 }
 
 And implement the action method to do what you want.
 
 
 Chuck
 
 
 
 
 I can't find a description / example in the web.
 
 Thanks
 Jens
 
 UPDATE: I found a solution in checking the change of selectedObjects in 
 public WODisplayGroup displayGroup()
 I don't know if that is a good solution but it works.
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

ERPDFGeneration problem

2014-05-07 Thread Timothy Worman
All:

I have a problem that recently popped up with PDF generation. I have a custom 
component that utilizes the simple FlyingSaucerImpl in ERPDFGeneration. My 
component was failing with:

[org.xml.sax.SAXParseException] The markup in the document preceding the root 
element must be well-formed.

So, I simplified things and basically made a test component content sth like 
SimplePDFGeneration1 from the ERPDFExamples. Same issue - SAXParseException. I 
overrode appendToResponse to generate some diagnostics on the content I’m 
trying pdf-ify (is that allowed?). Below is what it sayeth. So, what the heck 
is in line 0, column 2 in the document?

May 07 19:20:21 eTimesheet[5] WARN  NSLog  - 
'edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent' caused a 
SAXParseException
Message: 'The markup in the document preceding the root element must be 
well-formed.'
Line   : 0
Column : 2
--- content begin ---
1 !DOCTYPE html
2 html  _componentName = 
edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent lang = en
3   head
4 meta charset = utf-8 /
5 titleERPDFGeneration Examples/title
6 
7 link rel=stylesheet type=text/css 
href=/cgi-bin/WebObjects/eTimesheet.woa/_wr_/wodata=/Users/worman/Source/etswo/eTimesheet/WebServerResources/print.css
 media=print/
8 
9   /head
10   body
11  
12   /body
13 /html
--- content end —

Tim
UCLA GSEIS


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Wonder build issue?

2014-05-07 Thread Timothy Worman
All:

After running this:

ant clean frameworks; sudo ant frameworks.install

I get the following errors:

BUILD FAILED
/Users/worman/Source/wonder/build.xml:18: The following error occurred while 
executing this line:
/Users/worman/Source/wonder/Build/build/build.xml:1509: The following error 
occurred while executing this line:
/Users/worman/Source/wonder/Build/build/build.xml:1500: The following error 
occurred while executing this line:
/Users/worman/Source/wonder/Build/build/build.xml:58: The following error 
occurred while executing this line:
/Users/worman/Source/wonder/Build/build/generic.xml:526: 
/var/root/Roots/ERJars.framework does not exist.

It appears `ant clean frameworks` is successful - build to ~/Roots looks 
normal. It seems to be failing because it is looking in the root user’s home 
for ERJars.framework. This looks good:

global.framework.build:
[mkdir] Created dir: /Users/worman/Roots/ERJars.framework

global.dummy:
[woframework] Installing ERJars in /Users/worman/Roots
  [jar] Building jar: /Users/worman/Roots/ERJars-6.0.jar

global.dummy:
 [echo] -
 [echo] ERJars.framework done
 [echo] -

Possibly the `sudo  ` is causing something to interpret ‘home' as root’s 
home instead of the my home? This has never happened before and I’d love to 
know if I’ve suffered a self-inflicted wound. Otherwise, I’d love to fix this 
up - or know what the fix-up is!

If I do `sudo ls ~` my user home is returned, not /var/root so I’m pretty sure 
it isn’t an issue with my environment.

Tim ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: What stands in the way becomes the way

2014-04-16 Thread Timothy Worman
I will always be disappointed that I didn’t get to make a WOWODC in Montreal. 
Awesome community. I’m hoping I’ll still have an opportunity to attend 
something with WO’ers. This truly IS a great community.

Tim
UCLA GSEIS

On Apr 15, 2014, at 11:54 PM, Dev WO webobje...@anazys.com wrote:

 Hi Aaron,
 
 You did find something nice coming from France, lucky you:)
 
 I was just telling my wife that I'd like to test that setup and I got you're 
 fat enough, no way in response;) So guess I won't buy that French product 
 for the foreseeable future.
 
 WOWODC is clearly my best conference/community/favorite people, wherever will 
 be next year, I'm in.
 
 Xavier
 
 
 
 
 Hi Dan,
 
 I got it from the “Healthy Back Store” so I guess it’s ok ;-) I spend most 
 of my time in the “zero gravity” position.
 
 It’s kinda funny when you video conference with me. It looks like I’m on the 
 space station.
 
 Hahah, sometimes when people come to service the furnace, etc. they assume 
 I’m a vegetable. They have that look of pity on their face you know. Usually 
 I just go with it, have some fun.
 
 Actually, sometimes I move the chair and adjust the arm to use it as a 
 standing desk. Variation can be good.
 
 It comes from France, the brand is “La Fuma.” It should run around $150 USD. 
 It is meant to be an outdoor chair but I use it indoors. It’s a folding 
 chair that can be moved out of the way or taken with you. The “lacing” 
 breaks every 6 months from daily use. It’s like a long shoe-lace. 
 
 It’s basically the poor man’s gravitonus:
 http://gravitonus.com
 AARON ROSENZWEIG / Chat 'n Bike
 e:  aa...@chatnbike.com  t:  (301) 956-2319
  
 
 On Apr 15, 2014, at 10:15 PM, Daniel Beatty danielbea...@mac.com wrote:
 
 Hi,
 I love the chair Aaron has in the picture.  If you don't mind me asking, 
 how is it for the back?  Do they make versions of that chair for people 
 with really bad backs with an addiction to WebObjects and WOnder?
 
 V/R,
 Dan Beatty
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com
 
 This email sent to webobje...@anazys.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Convert WebObjects app to pure java

2014-04-15 Thread Timothy Worman
Golipse should install Eclipse 3.8.2, WOLips, and some other tools, etc.

Tim

On Apr 15, 2014, at 1:24 PM, Aaron Rosenzweig aa...@chatnbike.com wrote:

 Hi Ada,
 
 Hey sorry… so many responses and we’re all confused.
 
 I think what you are saying is that you were using Apple Development tools 
 including Xcode and WOBuilder to design your apps but now… now you’ve 
 upgraded your Mac and you can’t run them anymore…. You sorta know that your 
 only choice is to go Eclipse… does this sound like your situation? I’m 
 guessing too :-)
 
 WO 5.4 is pure java. There is nothing to convert.
 
 When you switch to Eclipse and install the WOLips plugin it will work. You 
 don’t need to convert anything.
 
 Get Eclipse version 3.7.x and WOLips.
 
 Cheers,
 AARON ROSENZWEIG / Chat 'n Bike
 e:  aa...@chatnbike.com  t:  (301) 956-2319
   
 
 On Apr 15, 2014, at 4:16 PM, David LeBer dleber_wo...@codeferous.com wrote:
 
 WebObjects *is* pure java (there is no magic ‘other’ language or anything). 
 It is a full web publishing stack.
 
 If you have a WebObjects application, you are probably talking to a 
 database, if so that uses the entity relational mapping layer of WebObjects 
 called EOF.
 
 The display layer of the stack builds UI elements using WOComponents (each 
 comprised of a chunk of HTML, it’s associated Java and a bindings file 
 (.wod) to tie them together), and has classes to handle session management 
 etc.
 
 If by “pure java” you mean “unencumbered by Apple’s frameworks” then you are 
 faced with rewriting your application to use a different ERM layer and 
 display layer. Perhaps Tapestry/Cayenne. Regardless, this is not a simple 
 undertaking.
 
 D
 
 On Apr 15, 2014, at 3:48 PM, Ada mersi...@gmail.com wrote:
 
 The GUI of the app is in webobjects; there's components which utilize WO. 
 I am not sure what to expect if I were to take the code and run it on 
 Eclipse without WOLips, I am going to try that soon, but was looking some 
 guidance on how to rewrite the GUI (it is rather simple) into Java.
 
 
 On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill ch...@global-village.net 
 wrote:
 How is it not pure Java now?
 
 Chuck
 
 
 On 2014-04-15, 12:25 PM, Ada wrote:
 
 
 Hello all,
 
 We're looking to convert one of our WebObjects Apps to pure java. Wondering 
 if there's a tool which could help with this process. The application is 
 running WO 5.4 on Java 5.
 
 Any advice would be greatly appreciated
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.com
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com
 
 This email sent to aa...@chatnbike.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Am I hallucinating...

2014-03-28 Thread Timothy Worman
The download for HyperCard has been removed but WO 5.4.3 is still there.

Tim

On Mar 25, 2014, at 7:23 PM, Chuck Hill ch...@global-village.net wrote:

 The new HyperCard will be released the quarter after WebObjects 6.0  ;-)
 
 On 2014-03-25, 7:10 PM, Michelle Parker wrote:
 
 Oh You guys are so cruel!
 I actually believed that HyperCard link, I am so gullible :-(
 
 Now back to the real world...
 
 mich
 
 On 26 Mar 2014, at 8:13 am, Chuck Hill ch...@global-village.net wrote:
 
 Looks totally legit to me.
 On 2014-03-25, 2:10 PM, David Avendasora wrote:
 Agreed. Very suspicious.
 hope.jpg
 On Mar 25, 2014, at 4:35 PM, Louis Demers louisdem...@mac.com wrote:
 Very suspicious...
 PastedGraphic-1.tiff
 On Mar 25, 2014, at 16:19, James Cicenia ja...@jimijon.com wrote:
 LOL!
 On Tue, Mar 25, 2014 at 3:15 PM, Hugi Thordarson h...@karlmenn.is wrote:
 Hope springs eternal…
 hope.jpg
 On 25.3.2014, at 19:52, Theodore Petrosky tedp...@yahoo.com wrote:
 Interesting as I clicked around in the webobjects area, I was invited to take 
 a survey.
 On Mar 25, 2014, at 3:38 PM, David LeBer dleber_wo...@codeferous.com wrote:
 Yeah, I don’t know,
 http://apple.com - Click the Support Tab - Click on iPod
 Now do the same but click on Server + Enterprise
 Same layout.
 Including WO may be a mistake…
 D
 On Mar 25, 2014, at 3:14 PM, Chuck Hill ch...@global-village.net wrote:
 And OS X Server.   Looks like someone revived a long dead page by accident.
 On 2014-03-25, 12:08 PM, Gino Pacitti wrote:
 http://www.apple.com/support/server-enterprise/
 Link to WebObjects….
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 This email sent to ch...@global-village.net
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 This email sent to dleber_wo...@codeferous.com
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
 This email sent to tedp...@yahoo.com
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
 This email sent to h...@karlmenn.is
   ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
 This email sent to ja...@jimijon.com
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/louisdemers%40mac.com
 This email sent to louisdem...@mac.com
 Louis Demers eng.
 www.obzerv.com
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 This email sent to webobje...@avendasora.com
 —
 WebObjects - so easy that even Dave Avendasora can do it!™
 —
 David Avendasora
 Senior Software Abuser
 Nekesto, Inc.
 hope.jpg ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/mich%40webobjectives.com.au
 This email sent to m...@webobjectives.com.au
 
 thanks
 mich
 
 ---
 Michelle Parker
 Web Objectives Pty Ltd
 33 Ridge St
 Gordon, NSW, 2072
 Australia
 Phone: (02) 9499 3166
 Mobile : 0412 064 123
 m...@webobjectives.com.au
 ---
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  

Re: Wrong object

2014-03-22 Thread Timothy Worman
Hi Jeff:

Just stepping through the code ERXWORepetition, this warning is fired in 
invokeAction. It looks like a check is happening to make sure that objects are 
still in the expected position in the repetition. Is an action being fired that 
could be removing items from the repetition list or changing the order, or…..?

Tim

On Mar 21, 2014, at 10:57 PM, Jeffrey Schmitz j...@netbrackets.com wrote:

 Am seeing some of these warnings and wondering what they might indicate...
 
 Mar 21 20:19:12 netBrackets[2002] WARN  
 er.extensions.components._private.ERXWORepetition  - Wrong object: 243620065 
 vs 34923469 (array = (com.netbracketsfw.model.Entry pk:1002578, 
 com.netbracketsfw.model.Entry pk:1002019, com.netbracketsfw.model.Entry 
 pk:1004605, com.netbracketsfw.model.Entry pk:1002637, 
 com.netbracketsfw.model.Entry pk:1004919, com.netbracketsfw.model.Entry 
 pk:1003173, com.netbracketsfw.model.Entry pk:1001801, 
 com.netbracketsfw.model.Entry pk:1002154, com.netbracketsfw.model.Entry 
 pk:1003232, com.netbracketsfw.model.Entry pk:1002653, 
 com.netbracketsfw.model.Entry pk:1004099, com.netbracketsfw.model.Entry 
 pk:1002155, com.netbracketsfw.model.Entry pk:1005810, 
 com.netbracketsfw.model.Entry pk:1001971, com.netbracketsfw.model.Entry 
 pk:1004269, com.netbracketsfw.model.Entry pk:1002476, 
 com.netbracketsfw.model.Entry pk:1003582, com.netbracketsfw.model.Entry 
 pk:1004728, com.netbracketsfw.model.Entry pk:1001732, 
 com.netbracketsfw.model.Entry pk:1003953))
 Mar 21 20:27:48 netBrackets[2002] WARN  
 er.extensions.components._private.ERXWORepetition  - Wrong object: 569528470 
 vs 417462206 (array = (com.netbracketsfw.model.Entry pk:1005383, 
 com.netbracketsfw.model.Entry pk:1003407, com.netbracketsfw.model.Entry 
 pk:1003647, com.netbracketsfw.model.Entry pk:1004120, 
 com.netbracketsfw.model.Entry pk:1006124, com.netbracketsfw.model.Entry 
 pk:1004773, com.netbracketsfw.model.Entry pk:1001695, 
 com.netbracketsfw.model.Entry pk:1006371, com.netbracketsfw.model.Entry 
 pk:1002149, com.netbracketsfw.model.Entry pk:1001824))
 Mar 21 20:27:48 netBrackets[2002] WARN  
 er.extensions.components._private.ERXWORepetition  - Wrong object: 569528470 
 vs 415571783 (array = (com.netbracketsfw.model.Entry pk:1005383, 
 com.netbracketsfw.model.Entry pk:1003407, com.netbracketsfw.model.Entry 
 pk:1003647, com.netbracketsfw.model.Entry pk:1004120, 
 com.netbracketsfw.model.Entry pk:1006124, com.netbracketsfw.model.Entry 
 pk:1004773, com.netbracketsfw.model.Entry pk:1001695, 
 com.netbracketsfw.model.Entry pk:1006371, com.netbracketsfw.model.Entry 
 pk:1002149, com.netbracketsfw.model.Entry pk:1001824))
 Mar 21 20:27:51 netBrackets[2002] WARN  
 er.extensions.components._private.ERXWORepetition  - Wrong object: 569528470 
 vs 694846676 (array = (com.netbracketsfw.model.Entry pk:1005383, 
 com.netbracketsfw.model.Entry pk:1003407, com.netbracketsfw.model.Entry 
 pk:1003647, com.netbracketsfw.model.Entry pk:1004120, 
 com.netbracketsfw.model.Entry pk:1006124, com.netbracketsfw.model.Entry 
 pk:1004773, com.netbracketsfw.model.Entry pk:1001695, 
 com.netbracketsfw.model.Entry pk:1006371, com.netbracketsfw.model.Entry 
 pk:1002149, com.netbracketsfw.model.Entry pk:1001824))
 Mar 21 20:27:53 netBrackets[2002] WARN  
 er.extensions.components._private.ERXWORepetition  - Wrong object: 569528470 
 vs 87
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: My last WOWODC

2014-03-07 Thread Timothy Worman
I tried to get my technology office here at UCLA to purchase a membership but 
found it had to go through a central processing thing. I’ll push harder - I 
will surely contribute time and money to keep us all happy.

Tim
UCLA GSEIS

On Mar 7, 2014, at 11:22 AM, Paul Yu p...@mac.com wrote:

 I recall that I paid for the $350 membership/sponsorship?
 
 Sent from my iPhone
 Please excuse iOS autocomplete 
 
 On Mar 7, 2014, at 2:15 PM, Chuck Hill ch...@global-village.net wrote:
 
 At $50 a person we need 32 to pay the $1600 hosting fees.  At $200 we need 
 8.  Personally, I’d prefer to see more people pitch in rather than fewer.
 
 As for Canadians, we have a brace of Davids: Holt, Aspinall, LeBer, my self, 
 Steve Smith, Louis Demers, Jean Francois Vieillet (Spelled that wrong), and 
 a couple of others that I am forgetting now.
 
 
 Chuck
 
 
 On 2014-03-07, 11:02 AM, Ken Anderson wrote:
 
 Paul,
 
 Easily worth $350 - but not sure what you’re saying…  I think Johnny was 
 just adding on top of it to handle the hosting (I could be wrong).
 
 
 Everyone -
 
 I love Pascal - he has made a huge contribution to our little group here.  
 Sure, it’s small - it will always be, but I’m training new WO/Wonder 
 developers all the time.  Are they contributing to the community yet?  No, 
 they’re too green… but they will.
 
 Bottom line, just because a key guy needs to move on, doesn’t mean 
 everything is falling apart.  I’m just hoping another Canadian will take 
 over the foundation so that we can at least keep the registrations,etc on 
 the same country.
 
 Hmm… I wonder what other Canadians there are in the community… cough
 
 I happily pay for a sponsorship, and will continue to do so.
 
 Ken
 
 On Mar 7, 2014, at 1:45 PM, Paul Yu p...@mac.com wrote:
 
 If the resources that we use is not worth $350 annual sponsorship then what 
 are we doing here?
 
 For some of you that is what two hour of consulting income?
 
 Sent from my iPhone
 Please excuse iOS autocomplete 
 
 On Mar 7, 2014, at 12:31 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 I'll gladly pay $200 a year to keep that going is there seven other people 
 with me?
 
 Aloha,
 
 Johnny
 
 On Mar 7, 2014, at 2:26 AM, Pascal Robert prob...@macti.ca wrote:
 
 
 Le 2014-03-07 à 00:04, Paul Hoadley pa...@logicsquad.net a écrit :
 
 Hi Pascal,
 
 On 07/03/2014, at 12:34 PM, Pascal Robert prob...@macti.ca wrote:
 
 I can help with the server (upgrading Jenkins and Confluence, etc.), 
 but I have no time to modernize the Web site. The server is paid up to 
 June 30th, we will need more paid members to pay for it after that.
 
 Could you be a bit more specific about what's at risk here?  There are a 
 number of resources (e.g., Jenkins build server, API documentation, 
 Confluence) that I am sure any number of businesses still tied to 
 WebObjects would not want to see disappear.  Exactly how much money does 
 the WOCommunity Association need to remain viable and, in particular, to 
 keep those online resources running?
 
 If we stop selling membership by Shopify and we close the FreshBooks 
 account (useless to keep it open if we close the store), we need ~ 1600$ 
 annually for the server. 
 
 I’m finishing the accounting for our first fiscal year, all numbers will 
 be available in a week.
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/jlmiller%40kahalawai.com
 
 This email sent to jlmil...@kahalawai.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
 
 This email sent to p...@mac.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
 
 This email sent to kenli...@anderhome.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to 

Re: WebObjects-Projects?

2014-03-05 Thread Timothy Worman
Oh man, am I gonna have to learn ASP if I ever want another job!!?? Crap. Maybe 
I can join the Apple caravan. :-)

Tim
UCLA GSEIS

On Mar 5, 2014, at 1:50 PM, Klaus Berkling webobje...@berkling.us wrote:

 
 On Mar 5, 2014, at 12:12 PM, Ramsey Gurley rgur...@smarthealth.com wrote:
 
 [...]
 
 Fourth, the tooling is showing bit rot. Q is the only person left who really 
 has a handle on how WOLips works. My copy of rule modeler is buggy as hell 
 and crashes 50% of the time I try to launch or save something under 
 Mavericks.
 
 I would put some serious time into the tools (WOLips, Rule Modeler) and 
 Wonder. My issue is that I need a full time job to pay the bills. My current 
 job doesn't involve Wonder so my off-hours efforts turn into half-assed and 
 uncommitted (literally and figuratively) results. Anyone else in these shoes?
 If the WO community would be able to pay a salary for the up-keep of Wonder I 
 would be first in line. Or I need to win the lottery.
 
 Wonder needs a future, otherwise I might be stuck with ASP for a long time. 
 :-)
 
 
 kib
 
 We keep moving forward, opening new doors, and doing new things, because 
 we're curious and curiosity keeps leading us down new paths.
 Walt Disney
 
 Klaus Berkling
 www.berkling.us | @kiberkli | Buy My iPhone app 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WebObjects-Projects?

2014-03-05 Thread Timothy Worman
 appleseed discussions may use WO as well?

Tim
UCLA GSEIS

On Mar 5, 2014, at 1:51 PM, Pascal Robert prob...@macti.ca wrote:

 From what I learned, the iTunes group is still using WO, but the other groups 
 can use whatever they want.
 
 - Mail original -
 De: Gino Pacitti ginok...@mac.com
 À: webobjects-dev@lists.apple.com
 Envoyé: Mercredi 5 Mars 2014 16:45:47
 Objet: Re: WebObjects-Projects?
 
 So if these guys are poached by Apple - what technology are they using there? 
 Have they left WO completely?
 
 
 On 5 Mar 2014, at 21:23, Pascal Robert prob...@macti.ca wrote:
 
 It's not only Mike who was poached by Apple. Kieran, Miguel Arroz, Mark 
 Ritchie, Q, Guido, the list is quite long.
 
 75% of the community wants to keep using WO, but not much people are doing 
 anything to improve things. It will be my last WOWODC, I'm tired to trying 
 to improve the conference while having less and less people coming to the 
 conference? It's time that I can care of my health and have some fun instead 
 of being full of stress.
 
 - Mail original -
 De: Ramsey Gurley rgur...@smarthealth.com
 À: Jürgen Simon si...@webtecc.com
 Cc: webobjects-dev@lists.apple.com
 Envoyé: Mercredi 5 Mars 2014 15:12:49
 Objet: Re: WebObjects-Projects?
 
 
 On Mar 5, 2014, at 4:37 AM, Jürgen Simon si...@webtecc.com wrote:
 
 Hello,
 
 this is not a technical inquiry, more a temperature check on the business 
 side of WebObjects. It is my impression that at least in Germany, after the 
 2008/2009 crisis the market for WebObjects-projects has really been down a 
 lot. I have been looking hi and lo for opportunities to work with WO again, 
 but apart from self-initiated projects there was nothing going on.
 
 Is this perception limited to Germany or is it even just me? Are there any 
 project marketplaces for WO that I am not aware of? How much of a future 
 would you guys think WO really has?
 
 Kind Regards,
 Jürgen
 
 
 Having worked with WO for a while now, I think it’s safe for me to say WO 
 has a limited future. 
 
 For one, Apple did not open source it when they left it for dead in 
 2008/2009. The “Apple only hardware” license restriction is pretty lame too. 
 I seems they did this hoping to kill it. It appears they are looking at 
 other solutions besides WO for their own usage. The last time I saw an 
 @apple.com address break radio silence, it was on the Cayenne list. It seems 
 pretty tragic, but that’s what it looks like from the outside.
 
 Two, Anjo left Wonder. Mike was poached by Apple and has been MIA since.  
 Without Anjo to keep people in line, I’ve noticed the quality of 
 contributions have declined. Without Mike’s tireless contributions, I’ve 
 noticed most commits are not in the form of great useful new frameworks, but 
 refactoring of old frameworks. Refactoring combined with loose quality 
 control has made Wonder something that went from “I can’t wait to update my 
 repo” to “I’m scared if I update my repo, stuff is going to break… again.”
 
 Third, the type of applications WO excels at are no longer in demand. If you 
 make an app that requires someone to poke in 42 text fields on their 
 smartphone, you are doing it wrong. But that’s exactly the sort of app that 
 WO is purpose built to handle. Dynamic URLs are universally hated by the 
 marketing department. Why can’t we just have domain.com/page?? WO URLs are 
 horrible for SEO!!”  WO can give you a table of data sorted and nested 
 inside another table of data which is also sorted and nested as deep as you 
 want to go. Automatically. And it will keep track of all that, but then... 
 who’s going to read a table that big on a 5” screen? The design department 
 wants minimal info on the page, please. Just the facts ma’am. Those sort of 
 desktop apps have already been built. They’re now in maintenance mode. No 
 one is going to rewrite them in WO any sooner that someone is going to 
 rewrite all the WO apps in something else.
 
 Fourth, the tooling is showing bit rot. Q is the only person left who really 
 has a handle on how WOLips works. My copy of rule modeler is buggy as hell 
 and crashes 50% of the time I try to launch or save something under 
 Mavericks. Installing WO for dev or deployment requires a PhD in WebObjects. 
 Monitor slowly becomes less and less responsive until you’re forced to 
 reboot it. Even when it works, it doesn’t really monitor everything I need 
 to know. Memory, cpu, disk space? Oh, go get Nagios and add to your 
 administration nightmare.
 
 Finally, there’s the learning cliff involved with WO. WO developers are as 
 rare as unicorns. Learning WO in depth takes months/years to do, even for an 
 experienced Java developer. In a lot of cases, the WO app that is out there 
 isn’t in prime condition and requires lots of maintenance. It was probably 
 built on an existing legacy database with a schema that goes against the WO 
 way. That results a sub-optimal development experience with WO. Especially 
 for the 

Re: Eclipse and WOLips, a friendly development environment?

2014-02-10 Thread Timothy Worman
Dang! I didn’t know there was a market for that service!! Speaking for myself, 
I’d call that easy money. :-)

Though I highly doubt any of those firms are going to toss a developer to do 
that for $500. Just doesn’t make a lot of financial sense. The bitterness makes 
even less sense.

Tim
UCLA GSEIS

On Feb 10, 2014, at 3:54 PM, Chuck Hill ch...@global-village.net wrote:

 Is there a reason why you keep sending the same message every few days?
 
 
 Chuck
 
 On 2/10/2014, 3:47 PM, Baiss Eric Magnusson wrote:
 
 Such a difficult topic, for me also, sometime in  summer 2009 I sent an email 
 to #1 and then they referred me to 2) etc., all known associates held in the 
 highest esteem by me.
 
 I have $500 to offer one of your developers to help me set up an Eclipse - 
 WO development machine.
 
 1) Ubermind Sheryar Khan - 2) GVC Chuck Hill - 3) Gary Teter - 4) 
 Ubermind...
 
 When I got 3)'s response I gave up. (actual recursive email available upon 
 request)
 
 And I am still waiting for some light to be shed on this breakdown.
 
 The Seattle dBug WO SIG went from 25 active participants to 0, when XCode was 
 gone and Eclipse entered the picture.
 
 On Feb 6, 2014, at 11:23 AM, Chuck Hill ch...@global-village.net wrote:
 
 I don’t think it is WOLips so much as it is Eclipse’s rather large API and 
 event driven programming model.
 ...
 
 On Feb 6, 2014, at 11:20 AM, George Domurot masterm...@knuckleheads.net 
 wrote:
 
 Is there someone that can give an overview of the current Eclipse/WOLips 
 development project, and how to get started working on updates?
 
 Seems like the folks at the conference should understand the basics of what 
 we are all using today — seems like we should commit to some level of updates 
 to the code base.
 -G
 
 
 Baiss Eric Magnusson
 Cascade Web Design
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: success installing new WO dev platform

2014-02-05 Thread Timothy Worman
+1

My RMBP is definitely, far and away, the best laptop I’ve ever had. 500GB SSD, 
16GB RAM. The retina display is actually an afterthought. Even that comes in 
handy to realize when some of my web resources are too low-rez for the age. The 
SSD though is everything. Everything happens in an instant. I never want a 
standard hard drive again.

I’d easily get another one if I needed to.

Tim

On Feb 4, 2014, at 11:05 PM, Jonathan Miller jlmil...@kahalawai.com wrote:

 Forgot to cc: the list.
 
 Glad you found the right computer for you but just in case someone would like 
 to read the review of someone who went the other way I'll state my 
 experience.  I received a new MacBook Pro at work and I had a 2012 model.  
 This new model is easily the best laptop I've ever owned.  I don't really use 
 the retina display but you can scale the screen to 1920 x 1200 which is very 
 useful for me because I like to use Eclipse/WebStorm with two editors open.  
 The SSD is the big difference though - the time it takes to boot from sleep 
 and write files has dramatically decreased.  But most importantly, for me, 
 it's no longer like having a furnace in your lap.  It's very quiet and cool.  
  I believe it's a combination of the SSD and the processor but I can now run 
 Eclipse, WebStorm, Photoshop and VMWare in Unity mode without feeling the 
 computer slowly turning to a halt.  In fact, I don't even notice a drop in 
 performance with those and about a dozen other lighter weight apps open.
 
 Anyway, that's my experience...
 
 MB Pro i7 2.7 16GB RAM with 500 GB SSD
 
 
 On Tue, Feb 4, 2014 at 12:29 PM, r...@ganymede.org wrote:
 
 Apple's MacBook strategy has finally done it. I have bought my first 
 non-Apple computer since 1989. I went to the Apple Store to replace my main 
 dev machine, a 2012-ish MacBook Pro, which worked great for me even if it did 
 seem fiendishly heavy. But I could not get myself to buy one of the new 
 models.
 
 Sorry I just do not care so much about the Retina display. I want computation 
 power and disk space. Apparently this is too much to ask of Apple. Smallish 
 hard disks and not really enough RAM and who the heck thinks soldering that 
 RAM to the board is a good idea? Really! And at the store I could get the 
 barely adequate RAM or the maybe-enough disk space, but not both. If I want 
 both, I have to order on-line. Wow. Never mind.
 
 So I got an Asus with twice as much hard disk space and similar CPU speeds 
 for less than half the price. I figured out enough about WIndows 8 to install 
 Ubuntu over it and it is good. I guess if Apple's strategy is to dumb down 
 the general-purpose computer so it can only be a phone or tablet, then they 
 are succeeding.
 
 It was relatively easy to get my MySQL databases moved over and to re-build 
 my eclipse environment. I will have to recheck the Project Wonder install 
 page. There are some details that may need to be fixed, but nothing that 
 stopped me.
 
 I think I am going to miss the two-finger drag on the Mac's trackpad, though. 
 And I seriously need to figure out how to left-click on the trackpad more 
 reliably. And hitting the grow box on the windows is a challenge, to say the 
 least. I see the grow box icon and then click and, oops, missed the window 
 again! O well. So far, this seems a small price to pay. And can Apple's DRM 
 mess up my music collection, as it has done twice? Nope. And I am so not 
 going to miss iTunes or the App Store
 
 Well, it was nice to see that installing and using WO and Wonder on non-Apple 
 hardware is just fairly easy and just works, as it should. Now, back to work.
 
 cheers - ray
 
 
  ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/jlmiller%40kahalawai.com
 
 This email sent to jlmil...@kahalawai.com
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Happy Holidays!

2013-12-23 Thread Timothy Worman
 Same to you Pascal! I hope you have a great Holiday season. Or is it WOliday?

T

On Dec 23, 2013, at 5:49 AM, Pascal Robert prob...@macti.ca wrote:

 Happy Holidays everyone (well, if people still use WO)! I hope to see you at 
 WOWODC! 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: shameless plug -

2013-12-20 Thread Timothy Worman
Thanks for sharing Jesse!

Tim
UCLA GSEIS

On Dec 20, 2013, at 7:39 AM, Jesse Tayler jtay...@oeinc.com wrote:

 
 Hi All,
 
 no mention of WebObjects, but some good stories about NeXT and those days, 
 for those interested!
 
 https://twitter.com/tendigi/status/413356798260043776
 
 please re-tweet if you like!
 
 best
 
 jess
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse not seeing file changes.

2013-11-17 Thread Timothy Worman
I don’t have this issue. But I’ve used Golipse to install Eclipse 3.8. Maybe 
you should give that a try instead?

Tim
UCLA GSEIS

On Nov 15, 2013, at 2:03 PM, Johnny Miller jlmil...@kahalawai.com wrote:

 Hi,
 
 Since reinstalling my laptop with a clean install of OS X mavericks I’ve been 
 having problems with eclipse not seeing file changes on the system.  I use a 
 second editor for javascript/css and photoshop for images.  And whenever I 
 change those files eclipse doesn’t seem to see the changes.
 
 In my eclipse settings under general - workspace I have the checkbox checked 
 for Refresh using native hooks for polling.
 
 Anybody else seeing this problem?  Or better yet have a fix?
 
 Using Eclipse IDE for java developers 3.7 Indigo Service Release 2 .  Just 
 installed WOLips so should be current.
 
 Thanks,
 
 Johnny
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: issue with Golips

2013-10-17 Thread Timothy Worman
My fork of the Golipse project was updated with a stable download URL and the 
p2 plugin installer embedded. A pull request was created on github for the 
changes.

In the meantime, until there is a build on WOCommunity with these changes you 
can get my fork here:

https://github.com/timsquared/Golipse

OR, use the raw script which is updated on my gist here:

https://gist.github.com/timsquared/5454092

That gist includes both the go_wolips script and the p2 script. They should 
live in the same directory. You call go_wolips like:

./go_wolips DesiredEclipseInstallDir

Thanks,

Tim
UCLA GSEIS

On Oct 14, 2013, at 3:48 PM, Pascal Robert prob...@macti.ca wrote:

 Yes, by having someone to include the p2 script into the Xcode project and 
 call the script from the main bash script to execute it. That someone is not 
 me.
 
 Hi,
 
 Is there a way to solve the problem with p2?
 
 Greetings,
 Frank Stock
 Op 24 sep. 2013, om 15:25 heeft webobjects-dev-requ...@lists.apple.com het 
 volgende geschreven:
 
 Van: David LeBer dleber_wo...@codeferous.com
 Onderwerp: Antw.: issue with Golips
 Datum: 24 september 2013 15:25:26 CEST
 Aan: prob...@macti.ca
 Kopie: webobjects-dev webobjects-dev@lists.apple.com
 
 
 I won't be able to get to that for a day or two.
 
 If someone else needs it sooner and wants to take a crack at it, be my 
 guest.
 
 D
 
 --
 David LeBer
 Codeferous Software
 
 On 2013-09-24, at 9:11 AM, prob...@macti.ca wrote:
 
 Fixed the problem for WOLips. If someone could submit a patch for Golipse 
 so that P2 is bundled in it, it would be really nice.
 
 Oh, and another problem. Looks like that without warning, the master 
 branch of WOLips do not compile for Eclipse 3.7 anymore.
 Looks like another part of the tool went away…
 https://raw.github.com/gist/609891/p2
 In summary, we are fucked up.
 Come to think of it, when I ran Golipse after your fix,  it did 
 download eclipse, but it did not download the wolips perspective. When 
 I went to Window  Open Perspective  Other the wolips perspective was 
 not listed, so I installed it manually with eclipse. This was fairly 
 late at night after a couple of margaritas, so I could be wrong, and 
 maybe it was there the first time but I missed it. On Sep 22, 2013, at 
 10:36 PM, Kevin Spake wrote:
 Thanks. That did the trick. On Sep 22, 2013, at 3:34 AM, Pascal Robert 
 wrote:
 Fixed. If you download Golipse again, it should download Eclipse.
 Looks like that mirror don't have a copy of Eclipse 3.8.2:
 $ curl -v -X HEAD 
 http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-macosx-cocoa-x86_64.tar.gz
  HTTP/1.1 404 Not Found
 I downloaded the Learning the Wonders preview pdf book. I'm going 
 through the automatic install instructions. After Golipse was 
 downloaded I unzipped it and ran the Golipse app.  Per the book I 
 have a directory call Development with a subfolder named Tools. 
 I told Golipse to install eclipse into the Tools directory, but 
 it fails. Here are the results:
 Setting ECLIPSE_URL to 
 http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-macosx-cocoa-x86_64.tar.gz
 Downloading Eclipse ...
 % Total% Received % Xferd  Average Speed   TimeTime 
 Time Current
  Dload  Upload   Total   SpentLeft Speed
 0 00 00 0  0  0 --:--:-- --:--:-- 
 --:--:-- 0
 100   363  100   3630 0   1719  0 --:--:-- --:--:-- 
 --:--:--  3989
 Unarchiving Eclipse ...
 tar: Unrecognized archive format
 tar: Error exit delayed from previous errors.
 Downloading the Eclipse Plugin installer ...
 % Total% Received % Xferd  Average Speed   TimeTime 
 Time Current
  Dload  Upload   Total   SpentLeft Speed
 0 00 00 0  0  0 --:--:-- --:--:-- 
 --:--:-- 0
 0  221k0 00 0  0  0 --:--:--  0:00:01 
 --:--:-- 0
 100  221k  100  221k0 0   163k  0  0:00:01  0:00:01 
 --:--:--  231k
 Downloading and Installing the recommended Eclipse plugins ...
 /tmp/p2_1379824948: line 1: syntax error near unexpected token 
 `newline'
 /tmp/p2_1379824948: line 1: `!DOCTYPE html'
 Cleaning up ...
 You should be good to go. Eclipse is installed in 
 '/Development/Tools/eclipse'.
 The Eclipse folder is created in the Tools folder but it's 
 empty. it's clear the install is not done.
 Any suggestions?
 Thanks,
 I'm running an imac with 12 gigs of RAM using 10.7.5. 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 This email sent to prob...@macti.ca
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev 

Re: issue with Golips

2013-10-14 Thread Timothy Worman
I’ll check into this later today.

Tim
UCLA GSEIS

On Oct 14, 2013, at 3:48 PM, Pascal Robert prob...@macti.ca wrote:

 Yes, by having someone to include the p2 script into the Xcode project and 
 call the script from the main bash script to execute it. That someone is not 
 me.
 
 Hi,
 
 Is there a way to solve the problem with p2?
 
 Greetings,
 Frank Stock
 Op 24 sep. 2013, om 15:25 heeft webobjects-dev-requ...@lists.apple.com het 
 volgende geschreven:
 
 Van: David LeBer dleber_wo...@codeferous.com
 Onderwerp: Antw.: issue with Golips
 Datum: 24 september 2013 15:25:26 CEST
 Aan: prob...@macti.ca
 Kopie: webobjects-dev webobjects-dev@lists.apple.com
 
 
 I won't be able to get to that for a day or two.
 
 If someone else needs it sooner and wants to take a crack at it, be my 
 guest.
 
 D
 
 --
 David LeBer
 Codeferous Software
 
 On 2013-09-24, at 9:11 AM, prob...@macti.ca wrote:
 
 Fixed the problem for WOLips. If someone could submit a patch for Golipse 
 so that P2 is bundled in it, it would be really nice.
 
 Oh, and another problem. Looks like that without warning, the master 
 branch of WOLips do not compile for Eclipse 3.7 anymore.
 Looks like another part of the tool went away…
 https://raw.github.com/gist/609891/p2
 In summary, we are fucked up.
 Come to think of it, when I ran Golipse after your fix,  it did 
 download eclipse, but it did not download the wolips perspective. When 
 I went to Window  Open Perspective  Other the wolips perspective was 
 not listed, so I installed it manually with eclipse. This was fairly 
 late at night after a couple of margaritas, so I could be wrong, and 
 maybe it was there the first time but I missed it. On Sep 22, 2013, at 
 10:36 PM, Kevin Spake wrote:
 Thanks. That did the trick. On Sep 22, 2013, at 3:34 AM, Pascal Robert 
 wrote:
 Fixed. If you download Golipse again, it should download Eclipse.
 Looks like that mirror don't have a copy of Eclipse 3.8.2:
 $ curl -v -X HEAD 
 http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-macosx-cocoa-x86_64.tar.gz
  HTTP/1.1 404 Not Found
 I downloaded the Learning the Wonders preview pdf book. I'm going 
 through the automatic install instructions. After Golipse was 
 downloaded I unzipped it and ran the Golipse app.  Per the book I 
 have a directory call Development with a subfolder named Tools. 
 I told Golipse to install eclipse into the Tools directory, but 
 it fails. Here are the results:
 Setting ECLIPSE_URL to 
 http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-macosx-cocoa-x86_64.tar.gz
 Downloading Eclipse ...
 % Total% Received % Xferd  Average Speed   TimeTime 
 Time Current
  Dload  Upload   Total   SpentLeft Speed
 0 00 00 0  0  0 --:--:-- --:--:-- 
 --:--:-- 0
 100   363  100   3630 0   1719  0 --:--:-- --:--:-- 
 --:--:--  3989
 Unarchiving Eclipse ...
 tar: Unrecognized archive format
 tar: Error exit delayed from previous errors.
 Downloading the Eclipse Plugin installer ...
 % Total% Received % Xferd  Average Speed   TimeTime 
 Time Current
  Dload  Upload   Total   SpentLeft Speed
 0 00 00 0  0  0 --:--:-- --:--:-- 
 --:--:-- 0
 0  221k0 00 0  0  0 --:--:--  0:00:01 
 --:--:-- 0
 100  221k  100  221k0 0   163k  0  0:00:01  0:00:01 
 --:--:--  231k
 Downloading and Installing the recommended Eclipse plugins ...
 /tmp/p2_1379824948: line 1: syntax error near unexpected token 
 `newline'
 /tmp/p2_1379824948: line 1: `!DOCTYPE html'
 Cleaning up ...
 You should be good to go. Eclipse is installed in 
 '/Development/Tools/eclipse'.
 The Eclipse folder is created in the Tools folder but it's 
 empty. it's clear the install is not done.
 Any suggestions?
 Thanks,
 I'm running an imac with 12 gigs of RAM using 10.7.5. 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 This email sent to prob...@macti.ca
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 This email sent to prob...@macti.ca
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/sparky005s%40yahoo.com
 This email sent to sparky0...@yahoo.com
 

Re: Help with updateValuesInRowDescribedByQualifier

2013-10-09 Thread Timothy Worman
+1

Turn on SQL logging and look at the exact sql that is being executed to update 
the row in the database. Test the “WHERE” clause in the update statement and 
see if it is as it should be for the row in the database.

Tim
UCLA GSEIS

On Oct 9, 2013, at 9:30 AM, John Huss johnth...@gmail.com wrote:

 This is an optimistic locking error - the record was changed by another user 
 concurrently or you have precision differences (like in NSTimestamps) that 
 are causing the DB and memory to not match.
 
 
 On Wed, Oct 9, 2013 at 8:59 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 what’s this? unknown source? caught my eye...
 
 at boise.app.components.PersonnelDetail.inviteUser(Unknown Source)
 
 yes, it does seem like maybe your model is out of sync, at least you’re not 
 getting much information back about it in the trace.
 
 did you turn on SQL debugging and generally check out that method inviteUser?
 
 
 
 On Oct 9, 2013, at 9:52 AM, Paul Yu p...@mac.com wrote:
 
  Greetings
 
  I'm getting errors like this in my production system.  What should I be 
  looking for to fix these type of issues?  I saw a previous post that the 
  EOModel may be out of synch with the DB?
 
  Thanks in advance...
 
  Paul
 
  *** UNCAUGHT EXCEPTION ***
  com.webobjects.eoaccess.EOGeneralAdaptorException: 
  updateValuesInRowDescribedByQualifier
  er.extensions.jdbc.ERXJDBCAdaptor$Channel method failed to update row in 
  database
at 
  com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInformationAdded(EODatabaseContext.java:4504)
at 
  com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseContext.java:6216)
at 
  com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376)
at 
  com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176)
at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
at boise.app.components.PersonnelDetail.inviteUser(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
  com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636)
at 
  com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at 
  com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
at 
  com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
at 
  com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
at 
  com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at 
  com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
at boise.components.BoiseComponent.valueForKeyPath(Unknown Source)
at 
  com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
at 
  er.extensions.components.ERXComponentUtilities.valueForBinding(ERXComponentUtilities.java:539)
at 
  er.extensions.components.ERXDynamicElement.valueForBinding(ERXDynamicElement.java:161)
at er.ajax.AjaxSubmitButton.handleRequest(AjaxSubmitButton.java:330)
at er.ajax.AjaxSubmitButton.invokeAction(AjaxSubmitButton.java:320)
at 
  com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
  er.extensions.components.conditionals.ERXWOConditional.invokeChildrenAction(ERXWOConditional.java:116)
at 
  com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at 
  er.extensions.components.conditionals.ERXWOConditional.invokeAction(ERXWOConditional.java:108)
at 
  com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
  er.extensions.components.conditionals.ERXWOConditional.invokeChildrenAction(ERXWOConditional.java:116)
at 
  com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at 
  er.extensions.components.conditionals.ERXWOConditional.invokeAction(ERXWOConditional.java:108)
at 
  com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
  com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at 
  er.extensions.components._private.ERXWOForm.invokeAction(ERXWOForm.java:218)
at 
  

help with com.webobjects.eoaccess.EOGeneralAdaptorException

2013-09-30 Thread Timothy Worman
Folks:

I have an issue where on saveChanges() I get a 
com.webobjects.eoaccess.EOGeneralAdaptorException: 
updateValuesInRowDescribedByQualifier. It’s an optimistic locking problem.

However, I don’t have the issue in my dev environment - only in deployment. 
Same database server software locally and deploy. The copy I run locally for 
dev is an exact export of the database running on the server. So, the exact 
same actions run fine and save to the database without a problem in the local 
environment.

Only one entity seems to be causing the issue. I’ve gone even further by 
limiting the lock attribute to ONLY the primary key of the entity in question. 
Under that scenario, I still get the above error in deployment only. I don’t 
have this issue with any other entity in the database. I’ve kind of exhausted 
my ideas for why this is happening. I don’t see anything strange in the 
generated SQL.

Tim
UCLA GSEIS



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: help with com.webobjects.eoaccess.EOGeneralAdaptorException

2013-09-30 Thread Timothy Worman
I figgered it out. :-)

I WAS able to get it to run with id only as the lock attribute which told me 
that there had to be some discrepancy between my model and the db on 
modifyDate. And so it was. The db (OpenBase) had modify_date typed as a 
‘timestamp’ instead of ‘datetime.’ That made all the difference - although I 
don’t know why it always ran locally.

Lock attributes in partials remains unsolved though - in case anyone is looking 
for a fun one!! I will get to it at some point.

Thanks Chuck!

Tim 

On Sep 30, 2013, at 5:27 PM, Chuck Hill ch...@global-village.net wrote:

 You get all of the fun ones!
 
 
 
 On 2013-09-30 5:20 PM, Timothy Worman li...@thetimmy.com wrote:
 
 Folks:
 
 I have an issue where on saveChanges() I get a
 com.webobjects.eoaccess.EOGeneralAdaptorException:
 updateValuesInRowDescribedByQualifier. It¹s an optimistic locking problem.
 
 Always?  Sometimes?  Often?  Rarely?
 
 
 However, I don¹t have the issue in my dev environment - only in
 deployment. 
 
 Is anyone else or any other process using the database in your dev
 environment?  What about in deployment?  :-)
 
 
 
 Same database server software locally and deploy. The copy I run locally
 for dev is an exact export of the database running on the server. So, the
 exact same actions run fine and save to the database without a problem in
 the local environment.
 
 Only one entity seems to be causing the issue. I¹ve gone even further by
 limiting the lock attribute to ONLY the primary key of the entity in
 question. Under that scenario, I still get the above error in deployment
 only. I don¹t have this issue with any other entity in the database. I¹ve
 kind of exhausted my ideas for why this is happening. I don¹t see
 anything strange in the generated SQL.
 
 So you have confirmed that the SQL being emitted is UPDATE FOO SET
 whatever = 3 WHERE pk = 147;
 And THAT SQL is throwing that exception?  If the WHERE clause is just the
 PK the only way for that to happen is if some other process has deleted
 that row.  Is the entity transactional?  It is feasible that some other
 process has deleted this row?
 
 
 Chuck
 
 
 -- 
 Chuck Hill 
 Executive Managing Partner, VP Development and Technical Services
 
 
 Practical WebObjects - for developers who want to increase their overall
 knowledge of WebObjects or who are trying to solve specific problems.
 http://www.global-village.net/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest
 Growing Companies in B.C!
 
 Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of
 Canada¹s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Anyone using Kepler?

2013-09-19 Thread Timothy Worman
Should we alter Golipse to install 4.3?

Tim
UCLA GSEIS

On Sep 19, 2013, at 9:10 AM, Henrique Gomes li...@farol.pt wrote:

 Thank you for bringing this up, I was using different versions of eclipse for 
 WO and other work (embedded systems, C) because when I tried to work with 
 eclipse 4.x, it crashed with NPE's on the WO editor so I was still using 
 Indigo (3.?) for WO.
 
 After trying again with 4.3, I found out that a new workspace solves the 
 problem, but I also found out that I only need to erase the prefs stored in 
 .metadata/.plugins/org.eclipse.core.runtime/.settings I delete all the org 
 org.objectstyle.* and org.eclipse.wst.* files in there.
 
 I'm know using the same eclipse for all my work, great.
 
 Henrique Gomes
 
 
 On Sep 6, 2013, at 6:02 PM, Ramsey Gurley rgur...@smarthealth.com wrote:
 
 I'm using 4.3 without issues for about 6 weeks now. My coworkers are not 
 able to make the same claim. We've all decided I'm charmed :-)
 
 https://github.com/wolips/wolips/issues/102
 
 On Sep 6, 2013, at 9:40 AM, Hugi Thordarson wrote:
 
 Hi all.
 I'm setting up a new team on WO. Just wondering if anyone is using Eclipse 
 4 with any success now or if I should start them off on 3.x?
 
 Cheers,
 - hugi
 
 // Hugi Þórðarson
 // Góður kóði
 // 895-6688 / 561-0896
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Anyone using Kepler?

2013-09-06 Thread Timothy Worman
Golipse will install 3.8.2 fresh.

T

On Sep 6, 2013, at 10:34 AM, Ramsey Gurley rgur...@smarthealth.com wrote:

 I have noticed that. I've found it easy enough to work around. I just make 
 sure to click in the first field first. Then everything works okay. 
 
 If I forget and click in some other field besides Name then Name is copied 
 into it. So then I select a different attribute/eo and switch back to what 
 I'm doing and the bad value is gone.
 
 I didn't realize that was an eclipse bug. I wasn't annoyed enough by it to 
 dig deeper :-)
 
 On Sep 6, 2013, at 10:21 AM, Chuck Hill wrote:
 
 I was chatting to Q a couple of days ago, there is an issue with
 EntityModeler on the Mac:
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=383750
 
 Windows should be OK.  Well, other than being Windows.
 
 
 Chuck
 
 
 -- 
 Chuck Hill 
 Executive Managing Partner, VP Development and Technical Services
 
 
 Practical WebObjects - for developers who want to increase their overall
 knowledge of WebObjects or who are trying to solve specific problems.
 http://www.global-village.net/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest
 Growing Companies in B.C!
 
 Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 On 13-09-06 9:40 AM, Hugi Thordarson h...@karlmenn.is wrote:
 
 Hi all.
 I'm setting up a new team on WO. Just wondering if anyone is using
 Eclipse 4 with any success now or if I should start them off on 3.x?
 
 Cheers,
 - hugi
 
 // Hugi Þórðarson
 // Góður kóði
 // 895-6688 / 561-0896
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-vill
 age.net
 
 This email sent to ch...@global-village.net
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOWODC 2014: April 12 to 14

2013-09-06 Thread Timothy Worman
Well, one thing: if it is always the same time of year, there may always be a 
similar set of people who can’t go. Changing the dates can help shake up the 
list of participants a bit.

Speaking for myself, I know that I can pretty much never go in late June, early 
July. Whether I can go in April will depend on my employer but it does open up 
the possibility for me.

Tim
UCLA GSEIS

On Sep 6, 2013, at 12:56 AM, Amedeo Mantica amedeomant...@me.com wrote:

 No, there is no problem about cost, just I don't see a read advantage doing 
 it in April instead of June
 Also, there is no direct flight from Rome in that period.
 Btw ok
 
 Amedeo
 
 On 05/set/2013, at 13:08, Pascal Robert prob...@macti.ca wrote:
 
 As for the price of the conference, well with the hell it was this year, I 
 must make sure we can at least cover the costs without needing tons of 
 sponsors.
 
 And if you think it cost a lot: Çingleton costs $640 for a two days 
 conference. WOWODC this year was $595 for three days. Both are in Montreal, 
 so as you can see, the cost is not that bad...
 
 Sorry,
 We didn't move from June to April to get better price ?
 
 Amedeo 
 
 On 03/set/2013, at 16:20, prob...@macti.ca wrote:
 
 The one on 475 President-Kennedy Avenue, the one on University is closing 
 down to become... a students residence.
 
 https://www.deltahotels.com/Hotels/Delta-Montreal
 
 http://www.cbc.ca/news/canada/montreal/story/2013/07/09/delta-montreal-residences-students.html
 
 (it's a five minutes from my workspace)
 
 Hi Pascal,
 Which Delta Hotel:)
 -475 President-Kennedy Avenue
 -777 University Street Xavier
 Hi guys,
 It's official: WOWODC 2014 will be on April 12 to 14, at the Delta 
 Montreal. Guest rooms are $159/night. Pricing for the conference is not 
 fixed yet, but it should be below $600.
 Envoyé de mon iPhone
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com
 This email sent to webobje...@anazys.com
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/amedeomantica%40me.com
 
 This email sent to amedeomant...@me.com
 
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED)

2013-09-05 Thread Timothy Worman
Nilton:

I have WOHost explicitly defined everywhere - JavaMonitor, wotaskd, etc. I can 
tell you getting my apps running was confounding on CentOS - like nothing I’d 
ever experienced. I’m not sure my memory is exactly clear - but I seem to 
remember the last things I changed were

1. my /etc/hosts file

127.0.0.1   localhost localhost.localdomain
static_ip domain_name_prefix.local  domain_name_prefix.com

2. the logging in SpawnOf... I really felt like the incorrect log reference was 
problematic - something I still intend to test.

3. And Chuck’s last suggestion that I confirm the WO config for apache:

 Check the WO configuration for Apache:
 
 # Host List Configuration
 # wotaskd is started automatically on supported platforms,
 # so this is the default mode.
 # The apache module gets its configuration from the wotaskds
 # listed on the configuration line
 # For multiple hosts:
 # WebObjectsConfig 
 http://name-of-a-host:port-on-a-host,http://name-of-another-host:port-on-a-host
  interval
 # For localhost:
 WebObjectsConfig http://localhost:1085 10
 
 Does that host name match what you used in WOHost?

Tim

On Sep 4, 2013, at 6:20 PM, Nilton Lessa nle...@moleque.com.br wrote:

 Hi Tim,
 
 I am afraid I am suffering exactly the same problem you had: my apps don't 
 initiate. (i posted a description of the problem in a  recent post and it 
 really seems exactly the same problem you had). Could you solve it? Hope so! 
 :-)
 
 Cheers.
 
 Nilton
 On 08/05/2013, at 15:23, Tim Worman li...@thetimmy.com wrote:
 
 On May 8, 2013, at 11:16 AM, Chuck Hill ch...@global-village.net wrote:
 
 
 On 2013-05-08, at 11:11 AM, Tim Worman wrote:
 
 Oh….my……God. Done. I had changed that ….. and changed it back. So, I'm 
 only guilty of temporary insanity - as far as you know.
 
 :-)
 
 
 So, what do you make of the thing I raised about SpawnOfWotaskd.sh? Is 
 what I suggested about the LOG path possible?
 
 It has been a while since I have done that, but I think it just does not 
 log.  You could test that...  :-)
 
 Very scared. :-) But I'll do it.
 
 Tim
 
 Chuck
 
 
 
 On May 8, 2013, at 10:53 AM, Chuck Hill ch...@global-village.net wrote:
 
 This is sounding less painful now.  :-)
 
 Check the WO configuration for Apache:
 
 # Host List Configuration
 # wotaskd is started automatically on supported platforms,
 # so this is the default mode.
 # The apache module gets its configuration from the wotaskds
 # listed on the configuration line
 # For multiple hosts:
 # WebObjectsConfig 
 http://name-of-a-host:port-on-a-host,http://name-of-another-host:port-on-a-host
  interval
 # For localhost:
 WebObjectsConfig http://localhost:1085 10
 
 
 Does that host name match what you used in WOHost?
 
 
 Chuck
 
 
 On 2013-05-08, at 10:50 AM, Tim Worman wrote:
 
 The app runs now but I get the dreaded The requested application was 
 not found on this server.
 
 for discussion - possible cause of the launch issue
 SpawnOfWotaskd.sh has this:
 
 # Log messages will be written to:
 LOG=/Library/WebObjects/Logs
 
 That path does not exist on CentOS. The script tries to log to that path 
 when /tmp/logWebObjects exists. It will exist when someone is trying to 
 solve problems. Is there any chance that when /tmp/logWebObjects exists, 
 and Spawn tries to write to the path (and can't) there could be a 
 failure launching the app?
 
 I changed LOG assignment to /opt/Local/Library/WebObjects/Logs in the 
 script and now the app launches.
 /for discussion
 
 So, now I have to figure out why  The requested application was not 
 found on this server. This feels more like home toto.
 
 now on a first name basis with Spawn,
 
 Tim
 
 On May 8, 2013, at 10:29 AM, Tim Worman li...@thetimmy.com wrote:
 
 Honestly, I've tried numerous different things in /etc/hosts. 
 Currently,this is what I have in there:
 
 127.0.0.1   localhost localhost.localdomain  
 IP   hostname.local hostname
 
 The loopback entries are pretty much the default I think. I really 
 appreciate all the advice - it's got to be something close.
 
 Tim
 
 On May 8, 2013, at 4:03 AM, Altera WO Team webobje...@altera.it wrote:
 
 Hi Tim,
 
 what do you have in /etc/hosts ?
 
 I had to put:
 
 127.0.0.1 localhost
 ipaddress hostname
 
 On a Centos 6.4 i had to fix that before being able to make an app 
 launch via wotaskd, regardless of what i put in the properties…
 
 Matteo
 
 On 08/mag/2013, at 00:38, Tim Worman li...@thetimmy.com wrote:
 
 I just had to double-check. I wish that had been the issue.
 
 [worman@hostname ~]$ sestatus
 SELinux status: disabled
 
 On May 7, 2013, at 2:43 PM, Hugi Thordarson h...@karlmenn.is wrote:
 
 Have you tried disabling SElinux? You can do it temporarily by 
 issuing:
 
 echo 0 /selinux/enforce
 
 And then restart your perforce in fences isms.
 
 - huge
 
 
 
 On 7.5.2013, at 18:47, Tim Worman li...@thetimmy.com wrote:
 
 Hoping someone can nudge me toward whatever is keeping my app from 
 running. I have never had 

Re: ERXPartialEntity doesn't return correct values for classPropertyNames method

2013-09-04 Thread Timothy Worman
Could this be related at all to the issue I posted about in mid June? The 
subject of that thread was “Re: strange optimistic locking failure (ERXPartials 
Problem).”

Since this involves incorrectly reading model properties maybe it also is 
having an effect on Entity.attributesUsedForLocking. The issue I was seeing was 
that my partial entities were locking on all attributes instead of the ones 
specified in the model.

Tim
UCLA GSEIS

On May 28, 2013, at 7:23 AM, David Aspinall daspin...@global-village.net 
wrote:

 Hi ken. Thanks nice work. I'm at a conference right now but maybe I can help 
 get in faster when I get back. 
 
 Sent from my mobile, where brevity is beautiful.
 
 On 2013-05-28, at 3:34 AM, ISHIMOTO Ken k...@ksroom.com wrote:
 
 Hi Paul, Hi David,
 
 Fixed
 
 Project WOdka already pushed and fixed.
 
 I made a push request for Project wonder maybe in the few months you will 
 get it.
 
 Ken
 
 On 2013/05/25, at 11:28, Paul Yu p...@mac.com wrote:
 
 The little o is for optional
 
 Sent from my iPad
 
 On May 24, 2013, at 10:38 PM, David Holt programming...@mac.com wrote:
 
 Class properties are determined by the diamonds.
 
 Sent from my iPad
 
 On 2013-05-24, at 6:13 PM, Jesse Tayler jtay...@oeinc.com wrote:
 
 
 you wanted Person.class).classPropertyNames() or Partial_ExployeePerson ?
 
 also, the little o there next to the lock? that says I'm a class 
 property, no? so, I'd expect to see departmentId visible on that screen 
 I think, just not sure if you are asking the right class for the right 
 thing or if I misunderstand completely.
 
 
 
 On May 24, 2013, at 7:29 PM, David Holt programming...@mac.com wrote:
 
 Just a quick follow-up:
 
 As an example the output for the ERXPartialsExampleApp in Wonder is 
 included below:
 
 log.info(Class properties for ERXPartialEntity  + 
 EOUtilities.entityForClass(ERXEC.newEditingContext(), 
 Person.class).classPropertyNames());
 
 May 24 16:24:50 ERXPartialsExampleApp[53778] INFO  
 er.extensions.appserver.ERXApplication  - Class properties for 
 ERXPartialEntity (firstName, genderType, lastName, 
 lastLoginDate, password, username, departmentID, 
 employeeNumber, employeeTypeID, salary, department, 
 employeeType) !
 
 
 Clearly the departmentID and employeeTypeID should not be in this list 
 of classPropertyNames:
 
 Screen Shot 2013-05-24 at 4.27.10 PM.png
 
 
 
 On 2013-05-24, at 4:20 PM, David Holt programming...@mac.com wrote:
 
 Hi all (and especially David Aspinall or Paul Hoadly),
 
 I've just discovered that when you call classPropertyNames() on an 
 Entity that has a partial associated with it, the base 
 classPropertyNames are returned correctly, but ALL of the properties 
 are returned for the partial class. This applies to both attributes and 
 relationships. Does anyone know why that might be?
 
 Here is what I used to test it in my Application:
 
 log.info(Class properties for ERXPartialEntity  + 
 EOUtilities.entityForClass(ERXEC.newEditingContext(), 
 Person.class).classPropertyNames());
 
 Thanks,
 David
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
 
 This email sent to p...@mac.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
 
 This email sent to k...@ksroom.com
 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/daspinall%40global-village.net
 
 This email sent to daspin...@global-village.net
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:

Re: Users Groups (and grouping)

2013-08-13 Thread Timothy Worman
What about ERTag? A user could be tagged as both ‘vendor’ and ‘employee.'

T

On Aug 13, 2013, at 1:31 PM, Theodore Petrosky tedp...@yahoo.com wrote:

 I like this method of inheritance however, why did you choose vertical 
 inheritance? I did one vertical and one single table. I put a qualifier 
 userType='Vendor' on the table.
 
 I think the only thing 'wrong' with inheritance is that I can not create a 
 User that is both a employee and a vendor. There are cases where we have 
 clients that are also vendors.
 
 I was looking at the migration that I am creating and now I see.
 
 with vertical inheritance, it is actually creating a table in the database 
 with a foreign key. this would allow me to add specific meta data to my 
 inherited entity, whereas the single table does not create this table 
 therefore I can segregate the different 'roles' but can not add a specific 
 piece of meta data. Such as a person has a SSN but a business has an EIN (in 
 the US).
 
 but that still leaves me with the problem of modeling a Vendor that is a 
 Person not a business. Couldn't we find an easier way to model this stuff.
 
 Ted
 
 
 
 
 On Aug 13, 2013, at 2:59 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 Use vertical inheritance and then use entity.name='Vendor'?
 
 Sent from my iPad
 
 On Aug 13, 2013, at 8:19 AM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 I have been playing with D2W and I may have boxed myself into a corner.
 
 A User is of a type. a User can be a Vendor or a Client or a Worker. So I 
 thought that I would create an attribute 'userType' in User. I wanted  to 
 have a Vendor tab and a Client tab and I have it mostly working. 
 
 when I create a ListVendorPage:
 
 public WOComponent listVendorAction() {
   
   EOEditingContext ec = ERXEC.newEditingContext();
 ListPageInterface lpi = (ListPageInterface) 
 D2W.factory().listPageForEntityNamed(AppUser, session()); 
 
 EODatabaseDataSource ds = new EODatabaseDataSource(ec, AppUser);
 
 ERXFetchSpecificationAppUser fs = 
 new ERXFetchSpecificationAppUser(AppUser.ENTITY_NAME, 
 AppUser.IS_ACTIVE.eq(true).and(AppUser.USER_TYPE.eq(Vendor)), null);
 
 ds.setFetchSpecification(fs);
 
 lpi.setDataSource(ds);
 
 ((D2WComponent) lpi).d2wContext().takeValueForKey(ListVendor, 
 navigationState);
 ((D2WComponent) lpi).d2wContext().takeValueForKey(Vendor, 
 userTypeKey);
 
 return (D2WPage) lpi;
 }
 
 I am also adding that userTypeKey so I can target rules like this:
 
 100 : (pageConfiguration = 'ListAppUser' and userTypeKey = 'Vendor') = 
 displayNameForPageConfiguration = Vendor List 
 [com.webobjects.directtoweb.Assignment]
 
 Maybe there is a better way? If I select to edit a Vendor, I wanted rules:
 
 100 : (pageConfiguration = 'EditAppUser' and userTypeKey = 'Vendor') = 
 navigationState = ListVendor [com.webobjects.directtoweb.Assignment]
 100 : (pageConfiguration = 'EditAppUser' and userTypeKey = 'admins') = 
 navigationState = ListAdmins [com.webobjects.directtoweb.Assignment]
 
 then I thought that what I should be using is inheritance.  Vendor inherits 
 from User, Administrators inherit from User. In the past, I would have 
 created a User with boolean attributes for  Vendor, Client, Employee, 
 Admin. After all a user can be both an employee and a vendor.
 
 How are youse guys doing this?
 
 Ted
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/jlmiller%40kahalawai.com
 
 This email sent to jlmil...@kahalawai.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: problems running *AjaxExamples

2013-08-06 Thread Timothy Worman
Generate Bundles is off. However, my own apps and other apps run fine under the 
same conditions. Only the various ajax example apps fail to run with the 
installed Ajax framework.

Tim

On Aug 6, 2013, at 7:53 AM, James Cicenia ja...@jimijon.com wrote:

 
 How is  bundless builds in the Eclipse wolips preferences set?
 
 
 
 On Aug 5, 2013, at 9:31 PM, Timothy Worman li...@thetimmy.com wrote:
 
 When I try to run any of the ajax examples from within Eclipse, they fail 
 with the dreaded:
 
 [2013-8-5 19:11:30 PDT] main A fatal exception occurred: ERXExtensions 
 have not been initialized. Debugging information can be enabled by adding 
 the JVM argument: '-Der.extensions.appserver.projectBundleLoading=DEBUG'. 
 Please report the classpath and the rest of the bundles to the Wonder 
 mailing list: 
 Remaining frameworks: [Ajax]
 
 The app will run if the Ajax framework project is open in Eclipse. But if it 
 is closed (or not imported) and instead being referenced from the installed 
 framework it fails as above.
 
 This true for AjaxExample, AjaxExample2, MooToolsExample, and ...? Is this 
 expected behavior?
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
 
 This email sent to ja...@jimijon.com
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Ajax links failing on deployment

2013-08-05 Thread Timothy Worman
Ken:

Is the browser reporting that there are any missing javascript resources?

Tim
UCLA GSEIS

On Aug 5, 2013, at 2:23 PM, Ken Anderson kenli...@anderhome.com wrote:

 All,
 
 I have an old project that I made some changes to, and on deployment, the 
 Ajax update links stopped working.  I click on the link and the action is not 
 triggered.
 
 I tried taking the latest wonder build and installing it, but no help.
 
 Any suggestions on how to debug this?  When I compare jars with the existing 
 (working) deployment, there are a lot of src.jar jars in the path that 
 weren't there previously.  I can't imagine this is an issue… but…
 
 Any thoughts are greatly appreciated!
 
 Ken
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

problems running *AjaxExamples

2013-08-05 Thread Timothy Worman
When I try to run any of the ajax examples from within Eclipse, they fail with 
the dreaded:

[2013-8-5 19:11:30 PDT] main A fatal exception occurred: ERXExtensions have 
not been initialized. Debugging information can be enabled by adding the JVM 
argument: '-Der.extensions.appserver.projectBundleLoading=DEBUG'. Please report 
the classpath and the rest of the bundles to the Wonder mailing list: 
Remaining frameworks: [Ajax]

The app will run if the Ajax framework project is open in Eclipse. But if it is 
closed (or not imported) and instead being referenced from the installed 
framework it fails as above.

This true for AjaxExample, AjaxExample2, MooToolsExample, and ...? Is this 
expected behavior?

Tim
UCLA GSEIS ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

  1   2   >