Re: WOOpenURL

2015-10-01 Thread Chuck Hill
does everyone else do if they want to launch in the >browser - just cut and paste or run it from local server? > >G >> On 1 Oct 2015, at 18:41, Chuck Hill <ch...@gevityinc.com> wrote: >> >> http://lists.apple.com/archives/webobjects-dev/2007/Dec/msg00535.html >

Re: WOOpenURL

2015-10-01 Thread Chuck Hill
http://lists.apple.com/archives/webobjects-dev/2007/Dec/msg00535.html Does that still work? On 2015-10-01, 9:40 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Gino Pacitti"

Re: Preferred way for fetching with given SQL select statement?

2015-09-25 Thread Chuck Hill
What is going to happen when one of your parameters is a string with a ? In it? Oops If you are not already, you also want to get a EOSQLExpression subclass from the database plugin and use public String

Re: Preferred way for fetching with given SQL select statement?

2015-09-24 Thread Chuck Hill
The challenge is going to be "In addition these statements are parameterized with ? so they can be precompiled and then used with different query values² You might be able to parse and rewrite those as EOQualifierVariables and then use qualifier.qualiferWithBindings, but you are going to have to

Re: Problem with %z in NSTimestampFormatter

2015-07-22 Thread Chuck Hill
He lives! Hi Pascal! Where is the exception thrown from? Do you have a stack trace? Chuck On 2015-07-22, 7:32 AM, webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Pascal Robert webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of prob...@macti.ca

Re: postgresql eomodeler correctly generate sql

2015-07-20 Thread Chuck Hill
, 2015 at 12:18 PM To: Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com Cc: WebObjects Development webobjects-dev@lists.apple.commailto:webobjects-dev@lists.apple.com Subject: Re: postgresql eomodeler correctly generate sql Hmmm thank you Chuck for that interesting bit. It does make sense

Re: postgresql eomodeler correctly generate sql

2015-07-18 Thread Chuck Hill
Hi Yuri, Those instructions are 10 years out of date and refer to technologies that no longer exist. Those WikiBook pages only exist because the site owners won't allow them to be deleted. AND you can NOT use auto-incrementing columns as primary keys with EOF. That does not work. EOF needs

Re: localInstanceOfObject

2015-07-16 Thread Chuck Hill
An EO lives in a specific EC and can’t be moved between then as a single Java object instances. The reason why localInstnace won’t work for new objects is that it does not move or copy the EO into the new EC. It creates and brand new Java EO object and loads its values from the snapshot cache

Re: EOFetchSpecification - sorting by partial date

2015-07-14 Thread Chuck Hill
Interesting. This is probably something that could be fixed in the database plugin. Chuck From: Calven Eggert cal...@mac.commailto:cal...@mac.com Date: Tuesday, July 14, 2015 at 7:46 AM To: Theodore Petrosky tedp...@yahoo.commailto:tedp...@yahoo.com Cc: Chuck Hill ch...@gevityinc.commailto:ch

Re: EOFetchSpecification - sorting by partial date

2015-07-14 Thread Chuck Hill
Hi Calven, Yeah, that screen shot was just a quick example to show where the goes. The SQL extract value does not match a Timestamp data type. Thanks for catching that. Chuck From: Calven Eggert cal...@mac.commailto:cal...@mac.com Date: Tuesday, July 14, 2015 at 12:22 PM To: Chuck Hill ch

Re: EOFetchSpecification - sorting by partial date

2015-07-14 Thread Chuck Hill
The direction would be part of the EOSortOrdering for that property. From: Theodore Petrosky tedp...@yahoo.commailto:tedp...@yahoo.com Date: Tuesday, July 14, 2015 at 12:20 PM To: Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com Cc: Oscar González racso...@hotmail.commailto:racso

Re: EOFetchSpecification - sorting by partial date

2015-07-14 Thread Chuck Hill
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.commailto:ch...@gevityinc.com wrote: Sorry, not derived

Re: EOFetchSpecification - sorting by partial date

2015-07-13 Thread Chuck Hill
), 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

Re: EOFetchSpecification - sorting by partial date

2015-07-13 Thread Chuck Hill
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

Re: EOFetchSpecification - sorting by partial date

2015-07-13 Thread Chuck Hill
You could create two read only, columns with a definition that extracts the year and month using SQL functions and use those columns to sort on. Chuck On 2015-07-13, 9:36 AM, Calven Eggert wrote: Thanks for the idea. sorting in memory is the other option I've considered, however, was hoping

Re: EOFetchSpecification - sorting by partial date

2015-07-13 Thread Chuck Hill
, 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.commailto:ch...@gevityinc.com wrote: Just a note that you can use the extract

Re: Deployment on Windows 2012 R2

2015-07-08 Thread Chuck Hill
Does IIS have anything that parallels Apache's mod_proxy? If so, you might be able to avoid wotaskd. On 2015-07-08, 10:28 AM, Altera WO Team wrote: Hi all, I'm having some issues on Windows, mostly because I don't use windows ever, so I'm a Windows NooB. I'm trying to follow the instructions

Re: weird convergences? (perhaps OT)

2015-07-03 Thread Chuck Hill
There are probably only so many ways to do it right, so after they have exhausted doing it wrong you end up with a familiar pattern. One thing that I find amusing after years of how fantastic JS is because it has no types, that there is now so much interest in stronger typing. This whole

Re: WOSession serialisation redux

2015-07-02 Thread Chuck Hill
Hi Frank, Welcome back! The mailing list does seem to do periodic, random unsubscriptions. Your problem is probably rooted in ERXAjaxSession - something that is not getting serialized properly or something that does not handle the instance changing. Chuck On 2015-07-01, 9:12 PM, Frank

Re: EOModel last updated tracking

2015-06-25 Thread Chuck Hill
You could change Entity Modeler to add it to the index.eomodeld plist in the userInfo. Chuck On 2015-06-25, 8:04 AM, Michael Kondratov wrote: Hello, Is there a simple way to timestamp models with the last modified state? Michael Kondratov Aspire Auctions, Inc. 216-231-5515

Re: Eclipse version?

2015-06-23 Thread Chuck Hill
Try Window - Show View - Other - General - Error Log Are there spaces in the path to Eclipse, the workspace, or your project? Chuck On 2015-06-23, 8:41 AM, Andrew Kinnie wrote: Yeah, I tried that too. Does not seem to change anything. I don't know where the file is that it is trying to

Re: Eclipse version?

2015-06-23 Thread Chuck Hill
. :-) Now I just need to figure out how to get the WOLips - New Wonder Project to see my wonder frameworks. Presumably there is another properties file that sets that info. ~/Library/Application\ Support/WOLips/wolips.properties On Jun 23, 2015, at 1:59 PM, Chuck Hill ch...@gevityinc.commailto:ch

Re: Eclipse version?

2015-06-23 Thread Chuck Hill
/woenvironment/frameworks/FrameworkModel : Unsupported major.minor version 51.0 On Jun 23, 2015, at 12:15 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: Try Window - Show View - Other - General - Error Log Are there spaces in the path to Eclipse, the workspace, or your project

Re: Eclipse version?

2015-06-23 Thread Chuck Hill
time about the various issues on this before sending my message. On Jun 23, 2015, at 2:43 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: On 2015-06-23, 11:36 AM, Andrew Kinnie wrote: Yes, I was starting to get the impression that Java was the issue, so I re-downloaded

Re: Eclipse 4.5 (Mars) and wolips

2015-06-23 Thread Chuck Hill
Yes! Knowledge of how to maintain and extend that is critical. Chuck On 2015-06-23, 12:06 PM, Philippe Rabier wrote: Of course you're not the only one to thank Wolfy for his work. Thank you. Philippe Rabier - http://twitter.com/prabier Sent from my iPhone On 23 Jun

Re: Returning JSON

2015-06-18 Thread Chuck Hill
As always, with the WOCommunity https://wiki.wocommunity.org/display/documentation/ERRest+Framework On 2015-06-18, 9:03 AM, Calven Eggert wrote: ok. will do. quick advice on where to start? On Jun 18, 2015, at 12:02 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: You

Re: Returning JSON

2015-06-18 Thread Chuck Hill
Or consider using ERRest which might be a better solution to your larger need. Your original code should work (unless something else in the app is chaining this later). But it should be in the page not the Application (otherwise all pages will be marked as json). And that won't work direct

Re: Returning JSON

2015-06-18 Thread Chuck Hill
You so very, very, very much want to look at ERRest. You are re-inventing the wheel. :-) Chuck On 2015-06-18, 9:00 AM, Calven Eggert wrote: My app only has one purpose that that is to accept parameters in a DirectAction, which then returns the json output. It calls a method to get the

Re: Components binding with custom object

2015-06-02 Thread Chuck Hill
If you consider something (component, entity, code, resource) to have potential for being used in more than one application, then it should be in a framework. Chuck On 2015-06-02, 9:17 AM, HOUNKPONOU Ronald wrote: Hi Samuel! So it is better for me to pack all my components in the same app

Re: Components binding with custom object

2015-05-29 Thread Chuck Hill
WOComponentContent is another interesting one to get familiar with: https://wiki.wocommunity.org/display/documentation/WOComponentContent

Re: App Security Problems

2015-05-28 Thread Chuck Hill
My thoughts exactly. Chuck On 2015-05-28, 10:22 AM, Ramsey Gurley wrote: Plz open this word doc I emailed you -Someone on the internet If you can ask the question in the form of plain text, I'll consider answering :) On May 28, 2015, at 4:41 AM, Vineetha N

Re: Active session count increasing with Refuse New Sessions set

2015-05-27 Thread Chuck Hill
If someone has a bookmark or a cookie with the instance number in it, that will override Refuse New Sessions. On 2015-05-27, 2:14 AM, Paul Hoadley wrote: Hello, I'm mid-deployment, and I've set an existing instance to Refuse New Sessions in JavaMonitor. When I log in myself, I'm directed to

Re: Active session count increasing with Refuse New Sessions set

2015-05-27 Thread Chuck Hill
(300); result.disableClientCaching(); result.setHTTPVersion(HTTP/1.1); return result; } On 2015-05-27, 1:58 PM, Paul Hoadley wrote: On 28 May 2015, at 12:35 am, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: If someone has a bookmark or a cookie

Re: Query with binary data?

2015-05-27 Thread Chuck Hill
You will have to check that MySQL will support. Generally, BLOB and CLOB don't work in queries. FrontBase, by example, has BIT and BYTE data types that should work for storage and query. Chuck On 2015-05-27, 2:35 PM, Ken Anderson wrote: All, I'm working on a server that will send push

Re: Active session count increasing with Refuse New Sessions set

2015-05-27 Thread Chuck Hill
that eventually handles the request generate that error message. Chuck On 2015-05-27, 3:42 PM, Paul Hoadley wrote: Hi Chuck, On 28 May 2015, at 6:44 am, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: This method handles this situation by expiring the wosid and woinst cookies

Re: WOSession serialisation redux

2015-05-20 Thread Chuck Hill
Can you just mark it as transient and re-create it on a lazy creation basis? I've not looked but that seems like an appropriate use of transient. Chuck On 2015-05-20, 6:45 PM, Paul Hoadley wrote: On 20 May 2015, at 9:21 am, Paul Hoadley pa...@logicsquad.netmailto:pa...@logicsquad.net wrote:

Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-19 Thread Chuck Hill
a lot, OC Le 2015-05-12 à 17:09, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com a écrit : You really do come up with the absolute best problems! :-) www.youtube.com/watch?v=otCpCn0l4Wo My guess is that somehow the database failed to record the update to the sequence number. Every time

Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-19 Thread Chuck Hill
On 2015-05-17, 3:19 AM, ocs.cz wrote: Chuck, On 14 5 2015, at 2:22 am, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: FrontBase will return the sequence number if the transaction is rolled back, but I am pretty sure that EOF does a commit immediately after selecting for a PK

Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-19 Thread Chuck Hill
PM, ocs.cz wrote: Chuck, On 19 5 2015, at 11:13 pm, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: Well then, what if I, at the moment any EO gets inserted into an EC, immediatelly called permanentGlobalID for it? The original problem was caused, as best I can call

Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-14 Thread Chuck Hill
easy, just update the binaries, no need to migrate the data. Samuel Le 2015-05-13 à 20:22, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com a écrit : It depends on the database. The Oracle sequence generation is outside of the ACID transaction and is not affected by transactions

Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-13 Thread Chuck Hill
, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com a écrit : You really do come up with the absolute best problems! :-) www.youtube.com/watch?v=otCpCn0l4Wo My guess is that somehow the database failed to record the update to the sequence number. Every time you ran it after

Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-13 Thread Chuck Hill
On 2015-05-13, 9:56 AM, OC wrote: Chuck, On 12. 5. 2015, at 23:09, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: You really do come up with the absolute best problems! :-) Well it's great if one's best in something, is it not? ;) True that! My guess is that somehow

Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-12 Thread Chuck Hill
You really do come up with the absolute best problems! :-) www.youtube.com/watch?v=otCpCn0l4Wo My guess is that somehow the database failed to record the update to the sequence number. Every time you ran it after that, it generated the used one and then failed. When you added logging,

Re: Help finding framework dependencies

2015-05-07 Thread Chuck Hill
Those are from Project Wonder. https://github.com/wocommunity/wonder On 2015-05-07, 9:43 PM, Gerald Jones wrote: Need information on finding the following: WOFramework/WOOgnl WOFramework/MooTools WOFramework/JQuery WOFramework/ERAttributeExtension WOFramework/ERAttachment

Re: Using WO with modern dependency management

2015-05-04 Thread Chuck Hill
AM, David Avendasora wrote: On May 1, 2015, at 6:35 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: Maven seems like a better thought out and implemented solution. ... Have you ever had one of those moments where things just seem so off-kilter you're sure you're having

Re: Using WO with modern dependency management

2015-05-04 Thread Chuck Hill
and Xv1, but B need Xv2). Maven will make the graph simple and clear, it will try to provide helper but can't really help much after that. jfv On May 4, 2015, at 5:09 AM, David Avendasora webobje...@avendasora.commailto:webobje...@avendasora.com wrote: On May 1, 2015, at 6:35 PM, Chuck Hill

Re: Using WO with modern dependency management

2015-05-01 Thread Chuck Hill
From what I have seen of Ivy, Maven seems like a better thought out and implemented solution. WO might need better m2e plugin that in WOLips aware. Chuck On 2015-05-01, 3:22 PM, Hugi Thordarson wrote: Hi all. Most of our in-house code is written as pure java/scala projects which are then

Re: Very weird migrations behavior

2015-05-01 Thread Chuck Hill
I am not seeing anything wrong there. On 2015-05-01, 7:11 PM, Ângelo Andrade Cirino wrote: I've been using migrations for a long time, but today I had a problem that left me completely in the dark. See the SQL being generated: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE, LOCKING PESSIMISTIC;

Re: Very weird migrations behavior

2015-05-01 Thread Chuck Hill
with the master branches. Em 01/05/2015, à(s) 23:17, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com escreveu: I am not seeing anything wrong there. On 2015-05-01, 7:11 PM, Ângelo Andrade Cirino wrote: I've been using migrations for a long time, but today I had a problem that left me

Re: Wonder 7 and 8

2015-04-30 Thread Chuck Hill
He was just indicating that it was an appropriate time for Wonder to be updated for Java 7! :-P On 2015-04-30, 11:11 AM, Ken Anderson wrote: and your point is? :) We live in EOL land! On Apr 30, 2015, at 2:10 PM, Ramsey Gurley rgur...@smarthealth.commailto:rgur...@smarthealth.com wrote:

Re: WOLips update site for Eclipse 4.4 (Luna)

2015-04-30 Thread Chuck Hill
Possibly true, but I'd need more than just some. Not that I would be opposed to that... On 2015-04-30, 11:24 AM, Hugi Thordarson wrote: Heh, Dave :). And Chuck; trust me. You'll love the fermented shark once you've had some brennivín! - hugi On 29. apr. 2015, at 23:45, Chuck Hill ch

Re: WOLips update site for Eclipse 4.4 (Luna)

2015-04-29 Thread Chuck Hill
I still want to go there and see one of the famed Icelandic Coffee Hoses. They sound awesome. The fermented shark loin... not so much. :-P Chuck On 2015-04-29, 4:43 PM, David Avendasora wrote: On Apr 29, 2015, at 7:20 PM, Hugi Thordarson h...@karlmenn.ismailto:h...@karlmenn.is wrote: You

Re: Creating the perfect error page

2015-04-29 Thread Chuck Hill
component and it is deployed in a servlet container. On Apr 27, 2015, at 1:42 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: Dave, have you been typing in Eclipse again? On 2015-04-26, 11:02 PM, David Avendasora wrote: The standard WO exception page is starting to show its age

Re: WOLips update site for Eclipse 4.4 (Luna)

2015-04-28 Thread Chuck Hill
51 is Java 7. You must be running Eclipse with Java 6. Chuck On 2015-04-28, 5:41 AM, Ken Anderson wrote: All, I'm having a little trouble with my ancient build.xml files. I'm getting this when trying to do an install: java.lang.UnsupportedClassVersionError:

Re: Creating the perfect error page

2015-04-27 Thread Chuck Hill
Dave, have you been typing in Eclipse again? On 2015-04-26, 11:02 PM, David Avendasora wrote: The standard WO exception page is starting to show its age and I think it's high time we improve it. Ehhx... Ehhhxsep... Exseeeption? Are you referring to the page that WO always returns until

Re: question on ERMailDeliveryHTML

2015-04-27 Thread Chuck Hill
; 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.commailto:ch

Re: Creating the perfect error page

2015-04-26 Thread Chuck Hill
On 2015-04-26, 8:34 PM, Matthew Ness wrote: That looks really nice. Yes, nice work! You'd never put that in a _production_ release though, would you? Looks perfect for development, but in production I'd prefer my exception views to be pretty generic with a non-technical message, unless the

Re: Creating the perfect error page

2015-04-26 Thread Chuck Hill
On 2015-04-26, 8:43 PM, Paul Hoadley wrote: Aside: am I mis-remembering, or did the Yellow Box exception view include a link to the IDE code base class and line in development, you know, a zillion years ago? Now that you mention it, I recall this too. Oh you old timers. I'll get off your

Re: problem with Entities and inherance

2015-04-24 Thread Chuck Hill
+01:00 HOUNKPONOU Ronald ronald.hounkpo...@gmail.commailto:ronald.hounkpo...@gmail.com: Ok. I'll update my model. Thanks. 2015-04-24 17:31 GMT+01:00 Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com: Single Table is usually the best choice. On 2015-04-24, 9:30 AM, HOUNKPONOU Ronald wrote

Re: problem with Entities and inherance

2015-04-24 Thread Chuck Hill
It sounds like you used Vertical Inheritance. I generally don't recommend it. One reason is that you can't enforce foreign key constraints like this. I suggest reading the section on inheritance in Practical WebObjects Chuck On 2015-04-24, 9:22 AM, HOUNKPONOU Ronald wrote: Hi, have a

Re: problem with Entities and inherance

2015-04-24 Thread Chuck Hill
Single Table is usually the best choice. On 2015-04-24, 9:30 AM, HOUNKPONOU Ronald wrote: Hi Chuck, I am using horizontal inheritance. I've choose it after i read the section on inheritance in Practical WebObjects. But i read it again may be i miss something 2015-04-24 17:26 GMT+01:00 Chuck

Re: question on ERMailDeliveryHTML

2015-04-24 Thread Chuck Hill
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.commailto:ch...@gevityinc.com wrote: I think you are missing my point

Re: Practical Webobject example's

2015-04-23 Thread Chuck Hill
:00 Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com: It looks like Eclipse is confused on state. Restart Eclipse, refresh all projects, clean all projects, build all projects. On 2015-04-23, 9:56 AM, HOUNKPONOU Ronald wrote: I've imported the example with errors except 2 of them. I

Re: Practical Webobject example's

2015-04-23 Thread Chuck Hill
It looks like Eclipse is confused on state. Restart Eclipse, refresh all projects, clean all projects, build all projects. On 2015-04-23, 9:56 AM, HOUNKPONOU Ronald wrote: I've imported the example with errors except 2 of them. I attached here an image that show up errors. How can i solve that

Re: WO Components

2015-04-23 Thread Chuck Hill
How are you calling the WOComponent? You want to use the full package name otherwise you can get the wrong class. Chuck On 2015-04-23, 11:44 AM, HOUNKPONOU Ronald wrote: Hi, I have an issue with wocomponents. How can i call from my app a WOComponent that is located in a framework? I try by

Re: WO Components

2015-04-23 Thread Chuck Hill
WOComponent class. in my app WOO : webobject name = AdresseAjouter Adresse/webobject in my app WOD: Adresse : WOHyperlink { pageName=AdresseWO; } AdresseWO is the name of my page that is located in my framework. 2015-04-23 19:49 GMT+01:00 Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com: How

Re: Practical Webobject example's

2015-04-23 Thread Chuck Hill
of this. [cid:88319B32-0D1C-4995-ADF6-B815A766D695] Chuck On 2015-04-23, 10:49 AM, HOUNKPONOU Ronald wrote: theses are screenshoots of missing dependencies. 2015-04-23 18:37 GMT+01:00 Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com: What are the errors on the PracticalUtilities

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Chuck Hill
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,

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Chuck Hill
if that is necessary. Tim Worman UCLA GSEIS On Apr 23, 2015, at 3:07 PM, Chuck Hill ch...@gevityinc.commailto: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

Re: WO Components

2015-04-23 Thread Chuck Hill
That name spacing is likely a hold-over from Objective-C days. In Java, if you don't specify the package, it just guesses. Most of the time that is OK, but there can be clashes. Chuck On 2015-04-23, 4:54 PM, Paul Hoadley wrote: On 24 Apr 2015, at 4:19 am, Chuck Hill ch

Re: mystery deaths with deployed app

2015-04-07 Thread Chuck Hill
in the app's logs that it terminated. Tim Worman UCLA GSEIS On Apr 7, 2015, at 1:46 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: The JVM just ending with no message is odd. Some things to consider: - look at the system log, you might have developed a hardware problem

Re: NPE in Wonder code

2015-03-09 Thread Chuck Hill
for all the help! OC On 5. 3. 2015, at 18:55, OC o...@ocs.czmailto:o...@ocs.cz wrote: Chuck, On 5. 3. 2015, at 18:44, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: It might happen if you have a temporary GID. Are you using parent and child editing contexts? Nope, at the moment I

Re: ant build error - too many open files

2015-03-08 Thread Chuck Hill
My best guess is that you have circular links (soft or hard) somewhere in the main executable. Chuck On 2015-03-07, 2:48 PM, Mark Wardle wrote: Ok still having problems. Compiling fine within eclipse. Ant working for compiling and installing own frameworks. Ant fails with too many open

Re: efficient copy?

2015-03-02 Thread Chuck Hill
Hi, On 2015-03-01, 7:51 AM, OC wrote: Hello there, I'll need to copy thousands of objects from one table to another; the copying'll be almost verbatim, but for a relationship. Namely, entity OldAuction - OldRecord (relationships records- and inverse -auction) entity NewAuction - NewRecord

Re: Never save objects which don't pass a test (was: searching for a weird deletion)

2015-02-21 Thread Chuck Hill
, at 0:12, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: I doubt that lockObject() code in EOF has been run in… maybe forever. It is highly possible that it is causing EOF to get confused and resulting in the errors below. Get rid of the lockObject() calls and see if the problem

Re: Never save objects which don't pass a test (was: searching for a weird deletion)

2015-02-21 Thread Chuck Hill
I don’t know, I suggest asking on the FrontBase developers list. On 2015-02-21, 2:55 AM, OC wrote: Chuck, On 20. 2. 2015, at 19:37, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: One way would be to twist the DB to do the complete restraint to me, something like to a pseudo

Re: Never save objects which don't pass a test (was: searching for a weird deletion)

2015-02-21 Thread Chuck Hill
On 2015-02-21, 11:17 AM, OC wrote: Chuck, On 21. 2. 2015, at 20:09, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: I think it is a fair expectation that EOF may not properly support optimistic pessimistic, I guess? Cough. Yes. locking. I am not even sure how to set

Re: searching for a weird deletion

2015-02-20 Thread Chuck Hill
Hi, On 2015-02-20, 3:52 AM, OC wrote: Ramsey, On 19. 2. 2015, at 19:15, Ramsey Gurley rgur...@smarthealth.commailto:rgur...@smarthealth.com wrote: You do a lot of weird stuff :) Actually _this_ should not be weird, this should be quite a normal code; the only requirement is that

Re: Never save objects which don't pass a test (was: searching for a weird deletion)

2015-02-20 Thread Chuck Hill
On 2015-02-20, 12:30 PM, Ramsey Gurley wrote: On Feb 20, 2015, at 12:09 PM, OC o...@ocs.czmailto:o...@ocs.cz wrote: it must pass a slightly more complex test than uniqueness: - when inserted into PRICE_OFFERS table, - the newly inserted object must have value in column PRICE, which is higher,

Re: Never save objects which don't pass a test (was: searching for a weird deletion)

2015-02-20 Thread Chuck Hill
On 2015-02-20, 9:27 AM, OC wrote: Chuck, Actually _this_ should not be weird, this should be quite a normal code; the only requirement is that check-and-save, i.e., conceptually, === if (TEST(eo.someRelationship().someAttribute(),newAttributeValue)) { def

Re: Eclipse/Java cannot connect to jenkins.wocommmunity.org anymore

2015-02-19 Thread Chuck Hill
Could be this? http://httpd.apache.org/docs/current/ssl/ssl_faq.html#javadh On 2015-02-19, 5:53 PM, Pascal Robert wrote: Hum. It’s a SSL cert from RapidSSL. Maybe the intermediate certificate have to be imported in a keystore? Le 2015-02-19 à 13:04, Strumyla, Marius

Re: relationship value different in another EC (was: ordered and filtered fault efficiency)

2015-02-17 Thread Chuck Hill
presumed saveChanges would make sure values of all EOs (including the relationships) in all ECs in the same instance with just one OSC are consistent I think that is only true for unlocked ECs. If the EC is locked the changes are queued up for later processing. You can unlock and lock again

Re: caching global IDs does not work as expected (followup: ordered and filtered fault efficiency)

2015-02-15 Thread Chuck Hill
Hi, On 2015-02-14, 11:59 PM, OC wrote: On 15. 2. 2015, at 1:48, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: === private static Map _lastValidPOCacheGID=[:] public DBPriceOffer lastValidPriceOffer { // this might happen in any EC, default or temporary

Re: ordered and filtered fault efficiency

2015-02-15 Thread Chuck Hill
Hi, On 2015-02-15, 12:19 AM, OC wrote: Chuck, On 15. 2. 2015, at 1:56, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: === my EO code === public NSArray orderedPriceOffers { NSArray offers=priceOffers() // this is a modelled relationship if (offers==null

Re: caching global IDs does not work as expected (followup: ordered and filtered fault efficiency)

2015-02-14 Thread Chuck Hill
Hi, This code makes no sense to me. One of us is confused. Given how today has been going it might be me. Confusion below On 2015-02-14, 1:59 AM, OC wrote: P.S. On 14. 2. 2015, at 8:34, OC o...@ocs.czmailto:o...@ocs.cz wrote: I tried to cache the object's permanentGlobalID when found or

Re: ordered and filtered fault efficiency

2015-02-14 Thread Chuck Hill
Hi, On 2015-02-13, 11:34 PM, OC wrote: Hello there, I have bumped into a bottleneck in some pretty ancient parts of my code, and am seeking an advice how to fix it. The bottleneck is caused by sorting-and-searching objects of 1:N relationships: === my EO code === public NSArray

Re: exclude some relationships/entities from fetchTimestamp?

2015-02-14 Thread Chuck Hill
There are some EODatabaseContext.Delegate methods that might do what you want, but they will affect all Ecs, not just the temp one. Chuck On 2015-02-14, 3:34 AM, OC wrote: Hello there, another possible way of optimization would be if I did not refetch _all_ objects touched, but only those

Re: pre-render and cache a component?

2015-02-13 Thread Chuck Hill
Off the top of my head, you need to create a new WOContext and use the WOApplication pageWithName(String, WOContext) method. Chuck On 2015-02-13, 9:54 AM, OC wrote: Hello there, is it possible to pre-render a component to HTML string, and cache that string? I thought this code would work:

Re: app deadlock issue

2015-02-12 Thread Chuck Hill
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

Re: assigning relationship in willInsert()

2015-02-12 Thread Chuck Hill
Yes, it looks like willInsert has a rather poor choice of names. Chuck On 2015-02-12, 7:25 AM, Theodore Petrosky wrote: BTW, here is an experiment. I put into my EO the three methods: @Override protected void init(EOEditingContext ec) { System.out.println(Just called init ec = + ec);

Re: assigning relationship in willInsert()

2015-02-11 Thread Chuck Hill
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

Re: assigning relationship in willInsert()

2015-02-11 Thread Chuck Hill
(). 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.commailto:ch...@gevityinc.com wrote: Doing anything to an EO when it is not in an EC (e.g. Before it is inserted

Re: assigning relationship in willInsert()

2015-02-11 Thread Chuck Hill
to set it up there and see what happens. what do you think Chuck, does this sound OK? On Feb 11, 2015, at 11:46 AM, Timothy Worman li...@thetimmy.commailto:li...@thetimmy.com wrote: Isn’t init() the Wonder Preferred Method ™? :-) Tim Worman UCLA GSEIS On Feb 11, 2015, at 8:38 AM, Chuck Hill ch

Re: JBoss 6.2 and EOModelGroup issues

2015-02-11 Thread Chuck Hill
From: Chuck Hill [mailto:ch...@gevityinc.com] Sent: Tuesday, February 10, 2015 2:15 PM To: Soles, James T; webobjects-dev@lists.apple.commailto:webobjects-dev@lists.apple.com Subject: Re: JBoss 6.2 and EOModelGroup issues A static initializer will be either a block like you show below

Re: assigning relationship in willInsert()

2015-02-11 Thread Chuck Hill
server just to have some fun with QA though ;-) On Feb 11, 2015, at 10:22 AM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: Init() is correct though I am still not keen on calling saveChanges() in that method. On 2015-02-11, 9:21 AM, Theodore Petrosky wrote: Actually, I was just

Re: EOTemporaryGlobalID Error when running unit tests

2015-02-10 Thread Chuck Hill
InetAddress for local host not accessible that looks like a networking issue on that machine. Not sure what, but the root cause is outside of WO. Chuck On 2015-02-10, 6:18 AM, Kevin Hinkson wrote: Hi, I'm encountering a bit of a problem when running unit tests in Eclipse using WOUnit. I am

Re: Tracing EditingContext lifecycle ?

2015-02-07 Thread Chuck Hill
Hi Gavin, How are you doing? There are notifications and a delegate to trace part of this, but not dispose(). Is the code using the EXEC factory method of creation? If so, just subclass the ERXEC or whatever class it is using now, and override the lifecycle method that you want to log from.

Re: JBoss 6.2 and EOModelGroup issues

2015-02-06 Thread Chuck Hill
It looks like you might be doing some Bad Things (tm) in your EO classes. Do you have static initializers that access EOF? That is generally a pretty bad idea. com.webobjects.fouation.NSForwardException for java.lang.ExceptionInInitializerErrorat java.lang.Class.forName0ative Method) at

Re: followup: prepareForSaveWithCoordinator: Cannot save the object with globalID / row does exist

2015-02-06 Thread Chuck Hill
it simply removes the insert and delete SQL statements from the query. I can't remember where I saw it and can't find it now. Dave On Feb 5, 2015, at 1:26 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: I can think of a few off-the-wall reasons. 1. The EOF internal

Re: prevent the user to click again the same wo:hyperlink whilst page reloads?

2015-02-06 Thread Chuck Hill
Yes, you can. Override installPatches() in Application, call super to get the Wonder defaults, then ERXPatcher.setClassForName(YourLink.class, WOHyperlink); Chuck On 2015-02-06, 1:06 AM, OC wrote: On 6. 2. 2015, at 8:47, OC o...@ocs.czmailto:o...@ocs.cz wrote: Hmmm, it looks like

<    1   2   3   4   5   6   7   8   9   10   >