Hi Theodore,
I agree with George, I wouldn't do the Session way.
Worman set you on the right track. Ok, it didn't fully give you the
solution but it pointed you where to look.
The EOEditingContext knows all. It knows what the current values are (just
invoke methods on the EO itself) it also kn
Hi Sharpy, Jesse, and John,
I appreciate your replies.
We are running Applications that only extend the ERAjax lineage bypassing
full blown ERXApplication. We are using almost the same as you Sharpy.
Same Eclipse version but newer WOLips. Specifically we're running:
Eclipse 3.7.2
WOLips 3.7.201
Hi WOrriors,
Sorry for the cross post but it seems these days most questions get asked
on the Apple lists regardless if they are pure Apple related or WOLips /
Eclipse / WOnder related.
Anyone have some advice for me? I'd like to put my EOModel files into
"Resources/model" but fluffy bunny isn
Hi WOrriors,
Big question: How can I we get an incremental build to embed framework
static resources into the app's "build" folder?
We're in the midst of converting an app from XCode to Eclipse and have
some questions about using either the "incremental" build setting that
puts products in the
Hi WOrriors,
The Tapestry API changes are way more than that the API changes we faced
in WO 5.4.3 from 5.3.3. However, we had to deal with WO API changes for no
real benefit. No boost in productivity. Nothing broken in 5.3.3 that
WOnder had not already addressed.
Still, we happily alienated A
Hi WOrriors,
I still question why we are fighting so hard for Object-relational
mapping. If we are contemplating doing work, shouldn't we consider going
straight for object databases? Take out the transcription layer. Let's get
more productive. Only use OR-mapping for old systems that we must
Hi WOrriors,
I have mixed feelings.
It's obvious when you look at Cayenne the original developers had used EOF
before and wanted to make an open source clone. They also wanted to make
it better, if possible, than EOF.
It's been a while but when I looked at it I was put off by some things.
Th
Hi Markus,
Good for you! Thank you for even thinking about this.
You ask what you should say about WOnder? I'd recommend the following:
1) Defining what the project is and some history
2) Show how to integrate it in your app, the pre-requisites.
3) Leave it at that.
You kind of have to do thi
Hi Mahdi,
The session is not just a cookie. It is a reference to many objects stored
in RAM for one user. It's what allows a web application to "remember" what
a user is doing. It can eat up a lot of resources but is very convenient.
That thing you are currently storing in a cookie is just a "k
Thanks Q for the tip. Looks like you are right on the money.
I asked my buddy "JD" what the heck you are talking about since
WODeployedBundle.relativePathForResource() is undocumented. It in turn
calls _preloadAllResourcesIfNecessary() which is where the fun really
starts to happen.
Here's w
Good thought Chuck,
I checked and the app I was testing and it has direct connect disabled. I
guess somehow deep in the bowels of WO it just expects the duplication to
be there. And, as you say, perhaps it is tolerated because you might at
some point want to turn on Direct Connect mode to test
Hi WOrriors,
Do any of us know why static web resources such as images and javascript
files get duplicated during a split install? Surely they need to be in the
.woa that resides under the Apache root but why are they duplicated in the
other .woa alongside the java logic?
I've seen this for ma
Hi Chuck, Simon, and all WOrriors,
I certainly understand your concerns and they are valid. WO is already a
very expressive framework and you have a work process that simply does
what you need. You are agile and get things accomplished. You don't have a
need to try something new. I also underst
Thanks Ramsey,
I didn't know WOLips did that. That is cool :-)
Anyway I think we table this discussion... This is a WO list after all. I
probably should have kept my mouth shut.
For Andrew, Chuck, Mark, Jim, and others I'll give one quick overview and
be done. Everything is out there on the ne
Hi Miguel,
I apologize. You are on this list more than I am. I *know* you know your
craft.
I was overly blunt in my words and crossed the line.
I'm sorry.
-- Aaron
Miguel Arroz wrote on 09/28/2011 02:12:41 PM:
> From: Miguel Arroz
> To: arosenzw...@clinworx.com
> Cc: Chuck Hill , WebObject
Hi Tom,
What you say makes sense at the face of it but when you get into the
details... does it really buy you anything?
When you ask a graphics designer to to design something for you they
basically do it the way they want to. You can ask for this or that but in
the end you will have to put t
Hi Miguel,
It's easy. Sorry my friend but you sound a bit like that guy David alluded
to who said "just show me the jdbc connection". If you want to gain the
insight of something new and different, you have to open your mind and put
in some effort to experience it.
On the outside consider this
Hi Chuck,
I can feel your gears turning. That's a good thing!
1) PHP is nothing but a template file (with embedded programming)
2) WO has a template file, a programming file, and it also has "in-line"
binding which I've never been a fan of. Then there is the OGNL too...
3) Seaside is nothing b
Hi Marius,
It's really up to you. It doesn't matter what development tools /
frameworks you pick. You can make a good product in JSP... at some point
your dedication and attitude determine how far you'll go and the rest
doesn't matter.
That being said, remember with Ruby on Rails everything i
Hi Raymond,
Not sure what to tell you.
First try with raw HTML to get an example working. Take WO and Eclipse
totally out of the picture. Once you gain your footing there then come
back and tackle putting it in WO.
I've never used the WOJavascript component before but probably what you
did is
Hi Raymond,
You'll get a better response from Pascal if you call him by his first
name... Pascal.
Call him "Amazing" call him "Cool" but please... please do not call him
"Rob".
He's too shy to tell you directly... I think you missed it when he replied
to you as "Hi Naneon".
About your issue
Hi Mai,
The part about viewing imagexyz.tiff in Safari but not in Firefox is
probably due to "local cache" on Safari. In other words, if you were to
quit Safari and try again or purposely "refresh" the web browser it will
ping Apache and come back with nothing.
Unless there is a funky setting
Hi Pascal,
Jeff Simpson at YFU (Youth For Understanding) created a WO system just
like you describe. Jeff is the one that also works with DB2. Ping him
about this.
His creation was slick enough that each user could have "saved reports" of
their own creation that they could easily rerun when t
Hi fellow WOrriors,
Thought I'd share a tip that works on Mac OS X to simulate a slow internet
connection. Gives you a nice visceral feel for how your app performs in
the wild.
You need at least two simple scripts:
throttle_30kb.sh (simulates fast dialup connection):
===
su
Ramsey that's a great tip!
I didn't know we had such easy access to compression.
I took out a sample 20KB row of HTML data we were generating so I could
experiment. If I use GREP to manually strip out whitespace and then
shorten all autogenerated names to 10 characters long this dropped from
2
Hello fellow WOrriors,
Have you ever looked at the names given to WO input fields such as
WOTextFields? They could look like one of the following:
name="0.15.37.1.1.1.0.0.3"
name="0.15.37.1.5.7.1.21.1.29.270710975.3.1.1.3.8.1.0.5"
They tend to get longer the more times they are nested inside o
Hi Pascal,
We're interested in the Jasper Reports video too. Are you saying that the
videos will be available around New Year's when you community code
modifications are in tact?
Thanks,
-- Aaron
> Le 2010-12-20 à 15:10, Theodore Petrosky a écrit :
> > Any word on the videos from the past WOW
Hi everyone,
Your vision is too narrow. Apple _does_ give / sell their technologies to
other people and it has happened recently.
Squeak (Smalltalk) is a good example. Giving it to Walt Disney and also
the world at large:
http://en.wikipedia.org/wiki/Squeak
Dylan is another example. Giving it
Hi Ken and everyone :-)
Farrukh's solution is ok but as he also pointed out, it is "in-memory" and
will only work on small data sets.
Amedeo's solution is "memory-stable" but requires a schema change and data
duplication / synchronization (on edits).
Here's another solution:
Consider adding
Hi David,
The other thing you must watch out for is if the FrontBase data dump was
created on a PowerPC Mac or an Intel one.
Why? Because of big and little endians. It will cause you gas if your Mac
is not of the same architecture as the one that created the dump.
1)
If you are on Intel and th
Hi All,
The main question Dave was asking was how to give back to the community
his useful fix for a very important piece of this problem.
I believe the answer is to just use NSProperties. That way the option can
be given in the Properties file, from the command line, or even from your
home di
Thanks Dave,
A property is cool so long as it has a default behavior that remains the
status quo.
Still, this is a tough nut to crack in the general case with a simple flag
because you have to account for both:
a) in-memory sorting - plus localization sorting issues
b) db sorting
I kind of t
Hi Dave,
You asked if null should be universally "less than" non-null.
No, everyone thinks differently.
For us it is the opposite. We use Oracle and like the way it sorts. We
want "null" to be greater than "non-null". That is because for our domain
we want to see values that have something "in
Hi Stephane (and all WOrriors),
You make a good argument but think of it another way:
1) WO is not directly making money for apple
2) Open-sourcing could be a money loser for apple: They might lose a
perceived bargaining chip.
There is no financial incentive for Apple to open WO.
I only see
Hi All,
Here's a thought. When you start up from Terminal do you see anything new
bouncing in the dock? If so, that means that it requires access to window
services to launch.
Launching via JavaMonitor as "root" often means you do not have access to
window services. That could cause an immedia
Thank you Chuck and Mike for your thoughts on this rather scary issue.
I will try to free up some cycles to build a "reduction" or "test case",
but probably not today. Assuming I could make a reproducible and simple
reduction, anyone know what Database Apple would most likely like to see?
I'm a
Hi Everyone,
Sorry to rebump this question but I really want to know what our current
collective consensus is on this topic.
The following thread from 2006 appears to me, at least, to be our most
current and complete understanding of this issue:
http://lists.apple.com/archives/Webobjects-dev/2
Hi Kieran,
I tried this solution just now but I couldn't get it to work for me. I
even trashed my entire build directory and tried it to no avail. I still
see the same behavior namely:
1) deleted EO causes "validateForSave" exception in ec.saveChanges()
The validation exception is still the sa
Hi Kieran,
That is an interesting thought. To mark the relationship as "Mandatory"
but yet leave the foreign key itself as optional ("allows null"). You
would think the two would need to back each other up though, and to a
casual developer passing by and perusing your model he might think you
Hello WOrriors,
We're using WO 5.3.x (not 5.4.x)
I've run into a pickle where if I do an ec.deleteObject() and then call
ec.saveChanges() I find that this fails during a "validateFor*Save*".
Curious, indeed, because it should only call "validateFor*Delete*". When
asking the EC to delete the Ob
Hello Everyone,
We solved the problem.
Thanks to all of you who read, pondered, and lent a helping hand with this
issue. It's appreciated.
There was nothing wrong with our custom comparison support or how we were
initializing it and using it. The problem rests in how we are using WOnder
and t
Hi Lachlan :-)
I just tried your idea of enumerating through all the EO classes and
setting them explicitly for the class of "setSupportForClass". I did this
and also kept another line for setting "Object.class" as well.
Unfortunately it hasn't corrected the situation yet. We still have
proble
Thanks for pondering the question James.
Yes, when I say "commit" I mean "ec.saveChanges()".
We have a listController that manages an array of enterprise objects that
have been fetched from the database. "displayedObjects" is just a mutable
clone of that array that is sorted and filtered before
Hi James,
The ComparisonSupport becomes transparent and used universally throughout
the app. Here's an excerpt of one place where a sort occurs:
NSMutableArray displayedObjects =
NSMutableArray sortOrderings =
EOSortOrdering.sortArrayUsingKeyOrderArray(displayedObjects,
sortOrderings);
This
What happens when you want to sort ten values in ascending order but one
of them is null? Does that void value get put at the beginning, the
middle, or the end?
Apple decided that null values (or keyPaths that return a null value)
should be placed at the beginning of an array sorted in ascendi
Thank you Alan and James,
"Anyone know of a clever way to get null values to appear at the end of an
ascending sorted list?"
You gave a good tip. I've discovered that the only thing custom going on
is in the Application constructor with the line:
EOSortOrdering.ComparisonSupport.setSupportForC
Has anyone ever received a strange WebObjects error when sorting related
to an internal Apple "K2Sort" funky state?
Here's the error:
java.lang.IllegalStateException: Internal Inconsistency in K2Sort
Here's the stack trace:
_NSCollectionPrimitives.java312 K2SortArray
com.webobjects.fo
To voice an argument that has not yet been raised in favor of not
deprecating the NS formatter and making it a true wrapper around the Sun
formatter...
WebObjects is all about the framework. I could care less that it currently
runs on Java. I liked it better when it was Objective-C but I really
Hi Mike,
I've heard of scriptaculous :-) In plain text scriptaculous.js has the
following comment:
"inserting via DOM fails in Safari 2.0, so brute force approach"
All I'm saying is that while I agree that your proposed DOM manipulation
solution is the best given the current architecture of WO
Hi Pierre,
I hear what you're saying. Adding a new method to WOComponent that would
only be used for HTML generation feels unclean. But, to play devil's
advocate, you wouldn't implement that method in your WOComponent unless
you are generating HTML and it sure provides an elegant solution. You
Thank you Paul Hertz, Lachlan Deck, and Alexandar Spohr for your recent
thoughts on the subject.
The ultimate goal is "resusability." If you were to post to me and say
"Aaron, those widgets you made are cool, can I use them?" I would like to
be able to just give you a framework file and let you
Hi Lachlan, you have some good ideas.
1) Scan all java WOComponent files at application launch and make a list
of needed resources:
This is cool. The one drawback is that every page you go to would have
lots of JS and CSS files in the head tag, even if there is no possibility
of using a given f
Thank you Chuck, Simon, Anjo, Lachlan, and others. You've all given good
insight and I appreciate you thinking about the problem.
The idea of WOComponent.awake() sounds appealing but I got a question
about it. I like the idea of every WOComponent on the page getting the
awake() message and then
I hear what you guys are saying... thank you for all your thoughts.
I've posted a feature enhancement request via "Radar" at Apple. Here's
what I asked for:
Bug ID# 5673303.
Title: addRequiredWebResources() WebObjects feature enhancement
Request-Response loop
Summary:
The request-response loo
Hello,
How can I get the children of a WOComponent? More importantly, all
children and all descendants?
WOComponents seem to only know how to go up the tree (find their parents).
If you ask a WOComponent for its template (which is roughly its .html/.wod
structure), you can then *almost* ask
Your problem is most likely the amount of time for the HTML to transfer
over the network to the browser. Generally it is generated pretty quickly
on the server but it just takes a long time to spoon it out.
Most web browsers try to render the HTML as it gets it but if it is a
table or some othe
56 matches
Mail list logo