Re: How to contribute ?

2013-01-15 Thread Mark Morris
As I recall the .api files were used by WOBuilder to indicate the component's bindings, including data types, required/optional, etc. This was really useful for reusable components. And editing the components on the fly... that takes me back. My first WO app was originally written in

Re: How to get each CheckBox value inside a WORepetition Bind to the same variable

2011-06-17 Thread Mark Morris
I should think before firing off emails next time. I was thinking of the checked binding, not value. I haven't used the selection and value bindings since being seduced by the power of checked long ago. Sorry for increasing the confusion level! Regards, Mark On Jun 17, 2011, at 7:14 AM,

Re: How to get each CheckBox value inside a WORepetition Bind to the same variable

2011-06-16 Thread Mark Morris
Hi, On Jun 16, 2011, at 8:23 AM, naneon.raym...@neuf.fr wrote: [snip] masterCheck : WOCheckBox { class = texte; name = master; selection = selectedMaster; -Variable bind to check box value value = master.diplSpecAbr; ---CheckBox value onclick = MstChecked(this.form); JS

Re: database design patterns for the desperate

2011-05-11 Thread Mark Morris
Similarly, could your templates be modeled using one table, with a one-to-many to itself? This might be more flexible in general, but of course I don't know your specifics. Either way (either using a single class or a superclass of your three classes), perhaps you could teach the template to

Re: OS X Java Deprecation JVM Source Code

2010-10-22 Thread Mark Morris
On Oct 21, 2010, at 3:12 PM, Stefan Klein wrote: Can't remember the exact years but: 1990 I started with NeXTstep on a black box and then the horror began: Operating Systems: - NeXTstep on several plattforms - OpenStep - Black Hardware dies - YellowBox (anyone remenber?) -

Re: ERD

2010-10-12 Thread Mark Morris
You could also try Oracle SQL Developer Data Modeler. Version 3 is now available for download, it's free, and it supports reverse engineering and printing of ERDs. I use it with an Oracle database, but I believe, like SQL Developer, it will work with other databases. Regards, Mark On Oct 6,

Re: Little help with a Db design quesiton

2009-11-16 Thread Mark Morris
Hi Gustavo, I agree with Dave, add the information to the Invoice. At that point, the information is no longer the client's address, it has logically become an attribute of the Invoice (where were these goods sent?). Regards, Mark On Nov 16, 2009, at 11:19 AM, Gustavo Pizano wrote: Thanks

ReportMill [was Re: WOWODC 2010 : call for presenters]

2009-11-03 Thread Mark Morris
Other than price and open-source-ness, are there disadvantages to ReportMill versus other tools? I've been pretty happy with it, so much so that I haven't been paying much attention to alternatives lately. Thanks, Mark On Nov 2, 2009, at 2:04 PM, Ricardo J. Parada wrote: I'm interested

Re: ReportMill [was Re: WOWODC 2010 : call for presenters]

2009-11-03 Thread Mark Morris
majority of the cases. Regards, Mark On Nov 3, 2009, at 10:25 AM, Mark Morris wrote: Other than price and open-source-ness, are there disadvantages to ReportMill versus other tools? I've been pretty happy with it, so much so that I haven't been paying much attention to alternatives lately

Re: Snow Leopard and WebObjects

2009-09-04 Thread Mark Morris
On Sep 4, 2009, at 5:54 PM, Chuck Hill wrote: On Sep 3, 2009, at 11:37 PM, Mark Morris wrote: While in Europe long ago I had some non-export, domestic Guinness, and you just about needed a knife and fork for that stuff! Have to admit, much as I like beer, it would be hard for me

Re: Snow Leopard and WebObjects

2009-09-03 Thread Mark Morris
While in Europe long ago I had some non-export, domestic Guinness, and you just about needed a knife and fork for that stuff! Have to admit, much as I like beer, it would be hard for me to acquire a taste for it -- Mark On Sep 3, 2009, at 9:55 PM, Chuck Hill wrote: Guinness VERY

Re: WebObjects with ReportMill

2009-09-02 Thread Mark Morris
Hi Santhosh, FYI, ReportMill 11 requires Java 1.5. With Java 1.4, ReportMill 10 is as high as you can go. Regards, Mark On Sep 2, 2009, at 8:07 AM, SantoshGundu wrote: Hi, We have our Project running with WebObjects 5.2.4 , with jdk 1.4 , ReportMill 7 Now we want to upgrade

Re: Listening for changes on an EO

2009-07-09 Thread Mark Morris
Just a clarification, do you want to know when the value changes, even if it's not saved to the database? Or do you just want to know if a change is being saved? That would make a difference. ;-) Regards, Mark On Jul 9, 2009, at 3:28 PM, Lon Varscsak wrote: Uh, another question. :)

Re: A WebObjects article on Appleinsider

2009-07-08 Thread Mark Morris
On Jul 8, 2009, at 11:01 AM, Chuck Hill wrote: On Jul 8, 2009, at 5:46 AM, William Hatch wrote: On Jul 8, 2009, at 7:04 AM, David Avendasora wrote: Yeah, this is really good news. Now that WO releases won't be tied to OS X and Xcode releases, I'm betting we'll see far more frequent

Re: Completely OT: question for US ADC members

2009-07-02 Thread Mark Morris
Hi Janine, Anyone can view ADC pricing, they just make the link hard to find. Go to: http://developer.apple.com/membership/usa.html ... and click on the link in step #1 of Ordering Information. Regards, Mark On Jul 2, 2009, at 2:35 PM, Janine Sisk wrote: Sorry to waste the

Re: Completely OT: question for US ADC members

2009-07-02 Thread Mark Morris
, at 2:51 PM, Janine Sisk wrote: Wow - I swear the last time I tried that, it told me I had to have a paid membership to see it. Thanks! janine On Jul 2, 2009, at 12:40 PM, Mark Morris wrote: Hi Janine, Anyone can view ADC pricing, they just make the link hard to find. Go

Re: csv report download - Safari adding .html to filename?

2009-04-06 Thread Mark Morris
Leif, I haven't tested this lately, but in my code in addition to the filename in the content-disposition header, I have the equivalent of this for the content-type: response.setHeader( test/csv; name=\ + reportFilename + \, content-type ); Maybe that was why? Regards, Mark On Apr

Re: Sometime WebObjects drives me a little crazy!

2009-01-26 Thread Mark Morris
Back in the old days, an attribute named description would cause you grief. ;-) -- Mark On Jan 25, 2009, at 9:50 AM, James Cicenia wrote: Don't feel so bad. I once named a component Request. Took me a whole day to finally figure out it was the name of the component that fubar'd it.

Re: Sometime WebObjects drives me a little crazy!

2009-01-26 Thread Mark Morris
That was (is) the NSObject's version of toString, so I think it might be okay now that we're in Javaland. But I never use it either, out of habit -- Mark On Jan 26, 2009, at 3:24 PM, Ken Anderson wrote: Doesn't it still? I NEVER use it :) On Jan 26, 2009, at 4:22 PM, Mark Morris

Re: computeQueryDictionaryInContext error

2008-12-18 Thread Mark Morris
I'm struggling with the exact same error right now, and also have the console message symptoms Randall mentions. I was thinking perhaps I have incompatible versions of something. Here's what I have (after trying to update everything to see if it would help): WebObjects 5.4.3

Re: computeQueryDictionaryInContext error

2008-12-18 Thread Mark Morris
/Java/ ERExtensions.jar) Still not confident I've deciphered the details on that one Thanks again, Mark On Dec 18, 2008, at 3:37 PM, Chuck Hill wrote: Is there a stack trace? A more complete error message? Chuck On Dec 18, 2008, at 1:29 PM, Mark Morris wrote: I'm struggling

Re: Workflow framework?

2008-11-25 Thread Mark Morris
On Nov 24, 2008, at 5:32 PM, Michael DeMan (WO) wrote: The cool thing about thinking about it is a finite state engine is that the technical stuff is so thoroughly documented. Plus, visualizing it is easier. A bunch of circles on a piece of paper with arrows coming in from other

Re: Workflow framework?

2008-11-24 Thread Mark Morris
loud - no idea how hard this would be geoff 2008/11/23 Mark Morris [EMAIL PROTECTED]: I'll have to look in my archived stuff, I don't have it on my laptop anymore. It was done in WO 4.5 (Java), so it will definitely need some updating. The general approach is you define a workflow

Re: Workflow framework?

2008-11-23 Thread Mark Morris
it was implemented, approvals that had been taking a week or more averaged about a day. Now to find the hard drive and/or DVDs it's stored on ;-) Regards, Mark On Nov 23, 2008, at 1:22 PM, Lachlan Deck wrote: On 23/11/2008, at 4:27 AM, Mark Morris wrote: I wrote one a few years ago. From time

Re: Workflow framework?

2008-11-22 Thread Mark Morris
I wrote one a few years ago. From time to time I've thought about updating it as well as another framework and contributing them, if people might find them useful. There are a few ways to approach workflow. Email me and we can see if what I have might be a good fit for your project. I

Re: Charting question

2008-10-30 Thread Mark Morris
I've used JFreeChart. The factory methods make it pretty easy to generate many kinds of charts, and you have lots of opportunity to customize: http://www.jfree.org/jfreechart/ Regards, Mark On Oct 30, 2008, at 4:41 PM, Randy Wigginton wrote: I've looked at the google charting

Re: [solved] Re: Apple dropping WO from own sites

2008-10-03 Thread Mark Morris
Also, you can go to me.com and view the source to see that good old WO URLs are still in there. Regards, Mark On Oct 3, 2008, at 9:36 AM, Miguel Arroz wrote: Hi! On 2008/10/03, at 15:29, Alexander Spohr wrote: Because Apple bought me.com and the URLs look different I thought they also

Re: open programmatically a component in a new browser window

2008-08-28 Thread Mark Morris
I wonder also. I think this might be a case of it being so simple, you've overlooked it. Using the code you sent below doesn't stop you from using target=_blank or javascript (although here you might need a WOActionURL). Maybe you could describe more in detail what you want to happen?

Re: open programmatically a component in a new browser window

2008-08-28 Thread Mark Morris
A technique I used like 6 years ago (and so which may be superseded by newer, better ideas) is to have the submit return the current page in the existing window all the time, but have an onload that conditionally opens the new window with the contents you want. Hope this helps! Regards,

Anyone having trouble finding a close hotel? (Was: Need WWDC 08 ticket) [OT]

2008-05-23 Thread Mark Morris
on Monday. Regards, Mark On May 21, 2008, at 11:01 AM, Mark Morris wrote: Hi all, I also was planning to go this year, including WOWODC, but procrastinated on buying my WWDC ticket and missed out. (I even prepaid my hotel!) I've been checking eBay, but prices there are ridiculous

Re: WWDC debrief..

2008-05-23 Thread Mark Morris
Coincidentally, I went to the Winchester House in 1999 while attending WWDC (as an Apple employee at the time, though). Interesting place. -- Mark On May 23, 2008, at 1:40 PM, David LeBer wrote: On 23-May-08, at 2:21 PM, Chuck Hill wrote: On May 23, 2008, at 8:58 AM, Joe Little wrote:

Re: Need WWDC 08 ticket [OT]

2008-05-21 Thread Mark Morris
Hi all, I also was planning to go this year, including WOWODC, but procrastinated on buying my WWDC ticket and missed out. (I even prepaid my hotel!) I've been checking eBay, but prices there are ridiculous. If there's anyone else out there with a spare ticket they're willing to sell

Re: Removing extra blank lines from generated html?

2008-04-22 Thread Mark Morris
I think if you look at your component, you'll see that the blank lines are in there, not generated by WebObjects. I've put enough conditionals in the middle of a line that I definitely would have been bit by now if that was the case! ;-) Regards, Mark On Apr 18, 2008, at 4:35 PM, John

Re: Workdays between dates? (OH HOW I HATE DATES)

2008-03-05 Thread Mark Morris
Hi James, Just looking at your list, you're getting what I would expect, i.e. it's 4 days from Monday to Friday. But I think if you want the calculation to be inclusive, it looks like you would always be safe in adding one day to the end date before performing the calculation. Regards,

Re: Converting to a static site.

2008-02-25 Thread Mark Morris
Doesn't the BBC do this on their main news site as part of their standard workflow? They must have figured out how to streamline it. Regards, Mark On Feb 25, 2008, at 2:43 PM, Guido Neitzer wrote: On 25.02.2008, at 11:51, James Cicenia wrote: I thought I had remembered a document

Re: Batch inserts

2007-12-19 Thread Mark Morris
I've never seen this insert syntax. Is this new, or have I just missed it? Thanks, Mark On Dec 19, 2007, at 11:45 AM, Charles Koppelman wrote: So ERX provides us with a great way to do massive updates (ERXEOAccessUtilities.updateRowsDescribedByQualifier). Is there a way that anyone on

OT: whywebobjects.org domain

2007-11-07 Thread Mark Morris
Hello all, (Sorry if this is a bit off topic. I sent this to the talk list yesterday, but apparently activity over there is way down.) Unfortunately, I never organized anything with whywebobjects.org (or whywebobjects.net or whywebobjects.info). I grabbed these back when we realized

Re: Multiple submit button form

2007-07-30 Thread Mark Morris
Hi Pierre, WebObjects knows because each submit button has a unique value that is submitted along with the rest of the form values. I believe I remember seeing on this list mention of a Wonder component that would do what you want. (My very next project, I'm going to start using Wonder,

Re: Keep WebObjects, Remove cgi-bin

2007-06-25 Thread Mark Morris
I think I'm just restating what you've said, but your web server resources by default fall under /WebObjects, and by changing your WebObjectsAlias to /WebObjects those requests are being routed to the WebObjects adaptor and aren't being serviced by the web server. So to avoid this name

Re: historical context ...

2007-06-14 Thread Mark Morris
As I recall (and I didn't start with WebObjects until 1997, so it could have been different in 1995 ;-), it was $50K for an unlimited deployment license. I believe the per developer costs were much, much less, but I can't remember specifics. -- Mark On Jun 14, 2007, at 3:49 AM, Cheong Hee

Re: historical context ...

2007-06-14 Thread Mark Morris
. atze ps. We started using WO with version 0.9... Am 14.06.2007 um 16:19 schrieb Mark Morris: As I recall (and I didn't start with WebObjects until 1997, so it could have been different in 1995 ;-), it was $50K for an unlimited deployment license. I believe the per developer costs

Re: InsertObject

2007-05-30 Thread Mark Morris
I might have missed something, but for his case I'm not sure he needs anything more than the default editing context, and since he's new to some of the concepts, that might be easier. Frederic, I usually just use the EOUtilities.createAndInsertInstance method to take care of both creation

Re: Nested Editing Contexts

2007-05-30 Thread Mark Morris
Although I do agree the defaultEditingContext is not the best way to go, I didn't have problems with it, and I used it for years. However, I had navigation methods in my superclass that would (by default) either abort the navigation if there were unsaved changes, or simply revert

Re: dynamic database connection

2007-05-07 Thread Mark Morris
For some reason I got a too many hops returned mail error, so I thought I'd try again: - Hi Tom, Here's a slightly different thought. It's easy to set the database connections dynamically per instance at the application level. Could you have a different instance defined for each

Re: dynamic database connection

2007-05-07 Thread Mark Morris
. thanks for the thought! On May 7, 2007, at 10:56 AM, Mark Morris wrote: Hi Tom, Here's a slightly different thought. It's easy to set the database connections dynamically per instance at the application level. Could you have a different instance defined for each organization? This can

Re: Trouble with Popup Button form

2007-04-17 Thread Mark Morris
Hello Kevin, Yes, your bindings are a little confused. It sounds like aClub should be bound to item, if aClub.name is the displayString. Here item is each object from the list as it's displayed in the pop-up button, which means its value is getting changed as the page is displayed.

Re: pageWithName

2007-04-09 Thread Mark Morris
Hello Drew, On Apr 8, 2007, at 5:32 PM, Drew Thoeni wrote: I'm sure I'm missing a small bit of common WOKnowledge, because this seems pretty basic. But help would be greatly appreciated. I'm sending an HTML email using a WOComponent as the source. I've done this before from within another

Re: How to Retrieve Session User?

2007-04-04 Thread Mark Morris
Hi Fred, On Apr 4, 2007, at 3:10 PM, Fred Shurtleff wrote: Hello, I have a basic question on how to access the logged in user for later use in updates. After authenticating a user I enter him into the session, but when I later try to retrieve this user in another page, it fails(returns

Re: How to Retrieve Session User?

2007-04-04 Thread Mark Morris
the session. :-( But thanks for your help/input! Mark Morris wrote: Hi Fred, On Apr 4, 2007, at 3:10 PM, Fred Shurtleff wrote: Hello, I have a basic question on how to access the logged in user for later use in updates. After authenticating a user I enter him into the session, but when

Re: Returning a PDF file

2007-03-28 Thread Mark Morris
Looking at my generic PDF code (from 4 years ago it appears, wow...), it looks like I'm doing almost exactly what George suggested, but my content-type header is different: response.setHeader( application/pdf; name=\ + fileName () + \, content-type ); (Where fileName() is

Re: Returning a PDF file

2007-03-28 Thread Mark Morris
Just to be clear, I also still include the content-disposition header. So the file name is in the headers twice. -- Mark On Mar 28, 2007, at 10:51 AM, Mark Morris wrote: Looking at my generic PDF code (from 4 years ago it appears, wow...), it looks like I'm doing almost exactly what George

Re: Form update

2007-02-20 Thread Mark Morris
Hi John, This is probably understood, but just in case, if you choose Chuck's method #3 below, you might need some way to differentiate between the user checking the checkbox and the user pressing the submit button, since both will submit the form. One way that comes to mind to do this

Re: How do I change default button in JSConfirmPanel?

2006-12-20 Thread Mark Morris
Hello Calven, So you gave the user two opportunities to click the correct button, and that still isn't good enough for them? ;-) I don't believe you can change anything about a javascript confirm panel except its message. The simplest solution is probably to return a whole new page

Re: WORepetition, checked attribute question

2006-10-25 Thread Mark Morris
Mike, When a WOForm is submitted, the values in the form are pushed into your application using the value bindings you specified. If you bind a variable, it's clear that the variable value is set. However, you don't have to bind variables, you can also bind methods. In the case below,

Re: WORepetition, checked attribute question

2006-10-25 Thread Mark Morris
Mike,I just want to second David's comments.  onClick is not what you're looking for here, and just have the WOForm in your Edit.wo, with the Display.wo embedded within your form (and with no form of its own).  All of your bound variables and methods will get called properly, regardless of which

Re: WORepetition, checked attribute question

2006-10-24 Thread Mark Morris
Hi Mike, When you bind the SetSelectedItem() method to onClick, since onClick is a client action and not a WO action, you're telling WO to call SetSelectedItem() to determine the String to place in the HTML, i.e. onClick=result of SetSelectedItem(). Since I doubt SetSelectedItem is

Re: constructing a url...

2006-09-26 Thread Mark Morris
James, I've done something similar to this, but quite a few years ago. I haven't followed this whole thread, but maybe the same concept will work for you. I created a ClosePopUpPage component that I would call from my pop up page submit action. (So right off the bat, any changes in the

Re: WOBrowser

2006-09-10 Thread Mark Morris
Hello Mike, This is just the way the select works in the browser. To deselect the last item, you have to command-click (on a Mac) or control-click (on WIndows). It shouldn't be hard to add a button that deselects all, using javascript, if you want to give the users another alternative.

Re: whywebobjects.org - WWDC followup [and URLs], Lets Start doing it

2006-08-21 Thread Mark Morris
Hello all, Sorry I've been out of the loop for a couple of days. Been swamped with work! There seems to be so many great resources and volunteers to help, it looks like it would make the most sense for me to point whywebobjects. [org|net|info] at the server Wolfram has generously

Re: RE Little starter help with instance and action of a WOConponent

2006-08-18 Thread Mark Morris
Hello Richard,WO components can access instance variables just as well as set/get methods, so that's not the issue.  (They don't even need to be public.)  Perhaps your Main.java has the wrong target, or some other similar scenario.  Because although you are seeing them in the source code, they're

whywebobjects.org - WWDC followup

2006-08-16 Thread Mark Morris
I hope everyone had a good trip and is settled back in after WWDC. Was there any discussion when you met up there regarding the direction of whywebobjects? I think that prior to WWDC we had agreed it should focus on advocacy, and it was suggested that we use a wiki to allow direct

Re: whywebobjects.org - WWDC followup [and URLs]

2006-08-16 Thread Mark Morris
Yes, that one's good! ;-) However, we may be mixing up two (or more!) conversations here. whywebobjects is meant to be a WO advocacy site, with comparisons, testimonials, links to sites and companies using WO, etc. I got the domain names (whywebobjects.org, .net, and .info) last year,

Re: Event update ; notice

2006-08-03 Thread Mark Morris
When I heard that whywebobjects.com had been taken (as I understand it, just by someone who then wanted to sell it back at an inflated rate), I registered whywebobjects.org, whywebobjects.net and whywebobjects.info before the same could happen to them. I posted a message asking what we

Re: Event update ; notice

2006-08-03 Thread Mark Morris
Yes, that should probably be at the very top of a list of resources. Also, in keeping with the domain name, there should be an advocacy/ comparison/testimonial type section, I would think. -- Mark On Aug 3, 2006, at 10:40 AM, Guido Neitzer wrote: On 03.08.2006, at 17:20 Uhr, Mark Morris

Re: Many-to-many w/ one entity

2006-07-23 Thread Mark Morris
Hello Clark, You can manually model this almost the same way you would a many-to- many involving two tables. (Names are examples only. ;-) First create the RELATED_PRODUCT table with just PRODUCT_ID and RELATED_PRODUCT_ID columns. Make a to-many join from PRODUCT to RELATED_PRODUCT

Re: Turning on HTML comments

2006-07-23 Thread Mark Morris
Hello Miguel, There is a WOApplication method called includeCommentsInResponses and a property WOIncludeCommentsInResponses. You could, for instance, override the method in Application to return true. Regards, Mark On Jul 23, 2006, at 2:01 PM, Miguel Arroz wrote: Hi! I noticed that

Re: How to skip items in a WORepetition ?

2006-06-29 Thread Mark Morris
Hello Gavin, This may not be elegant enough ;-) but you could just wrap the contents of the WORepetition in a WOConditional. Regards, Mark On Jun 29, 2006, at 4:13 PM, Gavin Eadie wrote: I want to display the contents of an NSArray and WORepetition is the perfect dynamic element to do

Re: dynamic popup list

2006-06-27 Thread Mark Morris
Hello, Are you using javascript to update the list, or doing a submit onChange to handle it? Can you the relevant portions of the code (bindings and javascript)? Regards, Mark On Jun 26, 2006, at 7:40 PM, PS ps wrote: Hi, We have a country list in our application which we want to make

Re: Design for archiving data in EOF

2006-06-19 Thread Mark Morris
Hello Georg, This may not be appropriate for your entire problem, but for the example you've given, I think I would just model it to take examination versions into account. Something like: Exam -- ExamVersion -- Question Having: ExamVersion -- StudentExam -- Answer

Re: javadoc for webobjects

2006-06-09 Thread Mark Morris
And, of course, use the appropriate paths and path format for your OS -- Mark On Jun 9, 2006, at 10:00 AM, Mark Morris wrote: I believe you also have to add -link /Developer/Documentation/WebObjects/Reference/API/ (At least, that's the way I do it. ;-) Regards, Mark On Jun 9

Re: Newbie: File upload w/Direct Actions and added parameters

2006-05-24 Thread Mark Morris
Hello Lindsey, Perhaps the hidden field is not inside the form, or inside the same form as is the WOFileUpload? Regards, Mark On May 24, 2006, at 2:35 PM, Lindsey Hotchkies wrote: Thanks for your help! I tried setting a hidden field in the form, but in the direct action,

Re: Need help building an EOQualifier with session values

2006-05-23 Thread Mark Morris
Hello Reid, First of all, I hope your child feels better soon. :-) I have been through that phase with 3 of my own, so I can empathize. Ok, let's look at what you have below: On May 23, 2006, at 12:27 PM, Reid Bundonis wrote: Ken, Mark, and Chuck, Thanks for taking the time out of your

Re: Need help building an EOQualifier with session values

2006-05-21 Thread Mark Morris
Hello Reid,Ken's post has already pointed out how your approach, on the surface anyway, raises a little warning flag.  The code for what he's talking about would be something like: NSArray bindings = new NSArray( session().valueForKey("user.client") ); qual =

Re: Need help building an EOQualifier with session values

2006-05-21 Thread Mark Morris
Sorry, I meant if user is a public variable or accessor, not client, in the second paragraph below.-- Mark On May 21, 2006, at 9:59 AM, Mark Morris wrote:Hello Reid,Ken's post has already pointed out how your approach, on the surface anyway, raises a little warning flag.  The code for what he's

Re: Need help building an EOQualifier with session values

2006-05-21 Thread Mark Morris
Ach! Skimmed right over that one. :-) And you'd have thought valueForKeyPath would have been on my mind, as it just came up in a post last night -- Mark On May 21, 2006, at 10:44 AM, Chuck Hill wrote: On May 21, 2006, at 2:06 AM, Reid Bundonis wrote: snip NSArray bindings = new

Re: Class Generation in Xcode 2.2.1 using Modeler plugin

2006-05-10 Thread Mark Morris
Just a comment, I've never had the problem with EOModeler overwriting the .java files.  When you make changes to the model, click the ".java" button, then choose the "merge" option.  This will open FileMerge, and you can get the new changes while keeping your existing modifications.Regards,MarkOn

Re: Foreign Key Constraints

2006-05-09 Thread Mark Morris
Hi Dave,You've understood it correctly.  Rename away!  :-)Regards,MarkOn May 9, 2006, at 10:45 PM, Dave Elsner wrote:Hi,I'm generating Foreign Key Constraints from with in EO Modeler, but due to Oracles limitation of 30 character long identifiers most of my relationship constraints exceed this

Re: Want to iterate over items in EditingContext for validation before save

2006-05-03 Thread Mark Morris
Hi Bill,It might be interesting to also print donor.getClass().getName().-- MarkOn May 3, 2006, at 4:34 PM, WebObjects wrote: I can't seem to get around java.lang.ClassCastException I know the EO's are of a known type, and using System.out.println("Here is entity name: " +

Re: Switch Component question...

2006-04-27 Thread Mark Morris
Hello James, I don't know that what you're doing is just wrong ;-) but another option which I've used often is to design your with a WOComponentContent instead of the WOSwitchComponent. This allows you to still call your pages normally, access their variables, etc., but still let you

Re: Switch Component question...

2006-04-27 Thread Mark Morris
Uh, right, what Jerry said, quicker and in more detail. ;-) -- Mark On Apr 27, 2006, at 8:44 AM, Jerry W. Walker wrote: Hi, James, On Apr 27, 2006, at 9:29 AM, James Cicenia wrote: Hello - I am developing a new website and decided correctly or incorrectly, to have my wrapper page(s) be

Re: Beginners question... objectsMatchingKeyAndValue not working as expected

2006-04-14 Thread Mark Morris
Hello Tarun, Try looking at the SQL being generated. To do this, you can right-or- control-click on your executable under the Executables group in Xcode, select Get Info, and in the arguments tab add: -DEOAdaptorDebugEnabled=true Then when you run it, you'll see the SQL in the

Re: WOFileUpload

2006-03-30 Thread Mark Morris
Hello Zac, I would suspect that you have the WOFileUpload bound directly to the BLOB in the db. So like any other field, checkbox, etc., when the form is submitted, the value in the form is pushed up to the object, and is committed to the database upon the saveChanges. But in the case

Re: Automatic operation at application statup - once for each instance

2006-03-23 Thread Mark Morris
I think it should be: -DmainInstance=TRUE Regards, Mark On Mar 23, 2006, at 3:10 AM, François Reboursier wrote: This seems very seductive, but when I configure my instance and try to retreive the property ('String isMainInstance = System.getProperty(mainInstance);' ) all I get is

Re: New Web Components failing to compile?

2006-03-23 Thread Mark Morris
To add a new WOComponent, I find it easiest to use New File... from Xcode's menu, then choose WebObjects Component from the list. But, in fairness, at the point where I name the new component I am presented with a list of targets, where I have to verify that only Application Server is

Re: Basic Question

2006-03-22 Thread Mark Morris
This thread is getting a little confusing, because there are at least two different topics being discussed. ;-) But I would like to make sure there isn't confusion about images and other web server resources, and really just reiterate and summarize what Jean Pierre has already said.

Re: Basic Question

2006-03-22 Thread Mark Morris
On Mar 22, 2006, at 4:56 PM, Paul Lynch wrote: On 22 Mar 2006, at 22:45, Mark Morris wrote: This thread is getting a little confusing, because there are at least two different topics being discussed. ;-) At least. Images and the like can be kept in some static location

Re: Thoughts on choosing a source code control system?

2006-03-12 Thread Mark Morris
My experience goes along with Janine's. Even when it's just me on a project, I still prefer to use source control. For me, the ability to get back to any previous version of a file or to a previous release is worth the small overhead, and I'm not sure how I would manage collaboration

Re: System time

2006-03-09 Thread Mark Morris
Is this actually a test to determine just how accommodating the readers of this list are?Honestly, Jim, you'll get better a better response in the long term if you take some time to try and solve the easy ones yourself, either using the supplied documentation or searching the list archives.  If

Re: System time

2006-03-09 Thread Mark Morris
lendar.get(GregorianCalendar.DATE); System.out.println("Now: "+year+"-"+month+"-"+date);the year and date is returns the correct value. But for month, it returns february instead of march. can anyone enlighten me on this? Warmest Regards,Jim Wong[EMAIL PROTECTED] On 09 Mar

Re: URGENT, calculating MD5

2006-03-07 Thread Mark Morris
Cool, this has the same effect as what I posted earlier, but it seems as though sun.misc.BASE64Encoder (which I was using) has long been deprecated, so I like Mike's solution. Regards, Mark On Mar 7, 2006, at 11:31 AM, Mike Schrag wrote: That's actually going to give you really funky

Re: mod_proxy question

2006-03-02 Thread Mark Morris
Hello Wolfram, If it's just aesthetics that you're concerned with, one old trick that requires very little effort is to create a minimal frame, say at the bottom of the window, and another frame consisting of the rest of the window for your content. You can use Chuck's suggestion (in a

Re: mod_proxy question

2006-03-02 Thread Mark Morris
I'm not sure if this was one of the things you were pointing out, but notice how the internetsports.de site uses frames to keep the WebObjects URL from appearing in the location bar (which I believe was part of your original question). Regards, Mark On Mar 3, 2006, at 1:42 AM, Wolfram

Re: Lost of Object?

2006-02-28 Thread Mark Morris
Jim, Is this a typo? i have a flattened relationship and when i try to do return opportunity.company().containsObject(companyItem); it would give a java.lang.NullPointerException error. Is is supposed to be opportunity.companies(), or opportunity.companys ()? This should be a

Re: Sophisticated relationship help

2006-02-26 Thread Mark Morris
Hello Jim,You'll be safest if you stick to using flattened relationships for many-to-many's, and for nothing else.I haven't used Art's method, but he says it'll create the flattened relationship for you, so just leave it at that.  Make sure the non-flattened relationships (the ones directly to and

Re: URI for static html/image

2006-02-26 Thread Mark Morris
Hello Vincent, You use WOResourceManager. For example, to get the complete URL to your server.html file, try: String serverHtmlUrl = WOApplication.application().resourceManager ().urlForResourceNamed( server.html, null, null, context().request () ); Regards, Mark On Feb 26, 2006, at

Re: WOCheckBox Howto?

2006-02-24 Thread Mark Morris
Hello Jim, You can use the isChecked binding to do this. For example, bind it to a method named companyIsInArray. Assume your WORepetition's item binding is set to currentCompany, and the destination (mutable) array is called companyArray. Then write something like (warning, not

Re: Suddenly no output in Run Log (Xcode)

2006-02-23 Thread Mark Morris
Thanks to everybody who responded for the help. :-) Regards, Mark On Feb 23, 2006, at 7:00 AM, Jerry W. Walker wrote: Hi, Hans, Guido's approach works. This occurs when you've started your WO application in the Java Virtual Machine (JVM) from within Xcode and then the Xcode instance

Suddenly no output in Run Log (Xcode)

2006-02-22 Thread Mark Morris
Hello all, I was having trouble with EOModeler (using Browse Data on a particular table was hanging). Then Xcode wouldn't respond, I'm guessing due to the interaction between Xcode and EOModeler. So I had to Force Quit Xcode. Something got corrupted, and now the Run Log only shows the

Re: Frontbase Synchronize Schema in EOModeler

2006-02-07 Thread Mark Morris
Hello John, I know this isn't directly answering your question, but one method I use to update my EOModel is to choose New Updated Model... from the menu and select at least the tables I know have changed. Then from the new model you can cut and paste attributes, relationships,

Re: WebObjects and Oracle and Openbase

2006-02-07 Thread Mark Morris
Hello Owen, Over the years I've used much more Oracle than any other db with WO, and I can't think of any gotchas. Primary key support is handled via sequences, which EOModeler will create and even initialize properly for you. Stored procedures and functions work. No extra framework

  1   2   >