On Tue, May 27, 2008 at 5:45 AM, Paul Stringer <[EMAIL PROTECTED]> wrote:
> I'm following the PracticalWebObjects advice to handle unique values
> validation at the database and then handle it in thrown
> EOGeneralAdaptorExceptions. Wish I'd checked this before I wasted time
> pre-checking for all
On Mon, Mar 24, 2008 at 4:48 PM, Chris Meyer <[EMAIL PROTECTED]> wrote:
> Thanks. That seems to work. I created a new database config, set it to
> Memory and could easily reproduce the problem.
>
> Now... is there any way to choose the database config at runtime so that for
> my regular launch of t
On Jan 29, 2008, at 2:18 PM, Chuck Hill wrote:
On Jan 29, 2008, at 7:59 AM, Zak Burke wrote:
Following Mike's list of how to get the WO 5.3 frameworks running
under Mac OS 10.5,
http://lists.apple.com/archives/Webobjects-dev/2007/Oct/
msg00357.html,
I'm having some permissions e
On Jan 29, 2008, at 2:46 PM, Art Isbell wrote:
On Jan 29, 2008, at 7:59 AM, Zak Burke wrote:
I turned on adaptor debugging and saw the adaptor was trying to
cache info in /Library/WebObjects/Configuration/SiteConfig.xml, a
file owned by root, so I chowned that to appserver:appserverusr
Following Mike's list of how to get the WO 5.3 frameworks running
under Mac OS 10.5,
http://lists.apple.com/archives/Webobjects-dev/2007/Oct/msg00357.html,
I'm having some permissions errors that I can't unravel.
When I include the appserver/appserverusr keys in the wotaskd and
womonitor plis
ind it odd that the defaults for session handling would be
different between these two request handlers (maybe that still counts
as a bug, as Pierre suggested?), but it is documented in the
WOApplication API docs so I can't really complain.
zak.
On Jan 24, 2008, at 2:41 PM, Zak Burk
On Jan 24, 2008, at 4:19 PM, Chuck Hill wrote:
On Jan 24, 2008, at 1:12 PM, Zak Burke wrote:
On Jan 24, 2008, at 3:15 PM, Chuck Hill wrote:
On Jan 24, 2008, at 10:40 AM, Zak Burke wrote:
I'm going a little bit mad here. I am working on a new app and
cannot get session management to
On Jan 24, 2008, at 3:15 PM, Chuck Hill wrote:
On Jan 24, 2008, at 10:40 AM, Zak Burke wrote:
I'm going a little bit mad here. I am working on a new app and
cannot get session management to work correctly. Requests to the
root of the app (.../simple.woa) generate new sessions; req
I'm going a little bit mad here. I am working on a new app and cannot
get session management to work correctly. Requests to the root of the
app (.../simple.woa) generate new sessions; requests generated from
within the app (submitting a form) reuse existing sessions. I must
have some basic
Guido Neitzer wrote on 11/28/07 5:34 PM:
Then after creating /tmp/logWebObjects, I had to restart Apache.
I don't believe that this was necessary prior to WO 5.4, but I'm not
100% certain
I did that too, as I said.
Still, no output.
Note that these are different:
apachectl res
Ray Kiddy wrote on 11/11/07 5:51 PM:
On Nov 8, 2007, at 3:40 PM, Zak Burke wrote:
Ken Anderson wrote on 11/5/07 9:04 AM:
Since you state that all StoredName objects have MyAppPerson data,
why not just fetch MyAppPerson initially and have a to-one
relationship back to StoredName?
This is
Chuck Hill wrote on 11/9/07 1:00 PM:
On Nov 8, 2007, at 4:09 PM, Zak Burke wrote:
I have two EO classes joined in a flattened many-to-many relationship
(User <-->> UserGroupJoin <<--> Group). UserGroupJoin is dead-simple
-- nothing but foreign keys to User and Group.
I wa
I have two EO classes joined in a flattened many-to-many relationship
(User <-->> UserGroupJoin <<--> Group). UserGroupJoin is dead-simple --
nothing but foreign keys to User and Group.
I want to log whenever one of the join items is created or removed. The
UI for this is a UserEdit page with
With this implementation, EOF is now happy.
zak.
On Nov 4, 2007, at 7:32 PM, Chuck Hill wrote:
On Nov 4, 2007, at 8:09 AM, Zak Burke wrote:
I'm getting a strange NPE from deep down in EOF that I can't figure
out. I think it might be related to some slightly funky modeling I
I'm getting a strange NPE from deep down in EOF that I can't figure out.
I think it might be related to some slightly funky modeling I'm doing,
but my EOs work fine in other places so I'm not sure why they're broken
here.
Here's the funkiness: I have two models -- NameStore and MyApp.
NameSto
Brendan Duddridge wrote on 8/2/07 1:23 PM:
Hi,
We've been receiving intermittently the following error in our log files:
No template
found for component ProductDetailComponent at
"file:/Library/Frameworks/SSCommon.framework/".
The odd thing is that it's intermittent. If I bounce the applic
Jeff Schmitz wrote on 7/31/07 11:28 AM:
However, when I pick up the parameters on the other side, there is a
stray "&" being added before the NICK parameter.
[...]
When I print the dictionary out it shows:
login Hyperlink values: {amp;NICK = ("FireBreathers"); USER = ("1004");
amp;wosid =
cheonghee wrote on 7/16/07 7:01 AM:
Hyperlink is disabled when aBooleanFlag is true. How do i set it in
reverse..Hyperlink is not disabled when aBooleanFlag is true only in the
binding field? Thanks.
The easiest thing is to write a cover method that flips the value
and bind to that in your .
Daniele Corti wrote on 6/8/07 7:07 AM:
I looked for tutorial or howto for create a registration panel that
ask for an authentication code, passed to the client by an image to
avoid the spam registrations.
http://webobjects.mdimension.com/wonder/api/er/captcha/ERCaptcha.html
zak.
_
Art Isbell wrote on 5/8/07 10:43 PM:
I'd take that a bit further and recommend that no one use this
script without rewriting it for WO 5 and the operating system under
which the WO apps are deployed. I.e., consider it an outline of how a
WO (re)startup script could be written.
Here is th
Saker Ghani wrote on 4/26/07 7:13 PM:
Is there a simple way to build a qualifier in EOModeler such that it is
possible to use a variable binding that is an array? So, for example,
going beyond the traditional "city = $city", is it possible to bind in
the fashion, "city = @cities", and have EOM
at.
I'll test a bit and post back to the list.
zak.
On Apr 11, 2007, at 2:28 PM, Zak Burke wrote:
James Cicenia wrote on 4/11/07 10:06 AM:
Anyone know of a good cheap service to monitor my web apps when they
stop responding... i.e, no instance available, etc.
My Adaptor Settings/Redi
James Cicenia wrote on 4/11/07 10:06 AM:
Anyone know of a good cheap service to monitor my web apps when they
stop responding... i.e, no instance available, etc.
My Adaptor Settings/Redirection URL is a CGI script that sends email
(see below). You can also set up a cron-job to periodically hit
David Avendasora wrote on 4/5/07 2:32 PM:
I want to allow the user to move a RSComponent from one RoutingStep to
another. I present the user with a WOPopUpButton on each rsComponent of
all the RoutingSteps and they can simply pick which one they want it in.
It does update everything properly, b
Webobjects Developer wrote on 3/29/07 5:33 PM:
If I have an HTML template and I want to use a WO component to provide
an attribute on markup, what is the best way to do that?
I've used the following type of construct, but I'm uncomfortable with
it, at best:
class="alt">
I use something the f
WIESEN Bruno wrote on 2/23/07 3:22 AM:
Hi all,
I have to refresh a file...so every 5 minutes an action has to be
performed! But i don't know
which method use...do you have an idea?
See java.util.Timer and java.util.TimerTask. For example:
Put this in some method called by your Application's
Steven Mark McCraw wrote on 2/3/07 6:36 PM:
I recall reading in some of the early Apple WebObjects documentation
that it's a huge terrible thing to mark your foreign and primary keys as
class properties (e.g. check the little diamond in EOModeler so that
your generated classes give you setters
J Stephanos wrote on 12/6/06 12:39 PM:
Does anyone on this list have any experience with the latest versions
of MySQL and WebObjects. Based on the list postings, Frontbase and
Openbase seem to be more popular.
We use 4.1.x and 5.0.x and are basically happy with things.
zak.
___
John Huss wrote on 10/19/06 11:24 AM:
Is there a component in Product Wonder or anywhere that will more or
less just take an array of dictionaries (raw rows) and display it as a
table?
This isn't very WO-like, but it does the trick if you really just want
an HTML string in return:
StringBuf
Tarun Reddy wrote on 9/27/06 4:18 PM:
> I assume that awakeFromInsertion (based on the name) does not execute
> until the actual insertion of the object in the database, which means I
> can't rely on the value until the object has been saved. I am currently
> using the method to store creation date
Dev WO wrote on 9/25/06 1:26 PM:
> So this one is a oneToOne relationship, with is specified in both
> entities A and B.
[...]
> A and B have a foreign key to each other, but only A gets it... B's
> foreign key stay "null".
I think you may not be modeling the relationship correctly. If you
reall
Matt Kime wrote on 9/13/06 12:38 PM:
> Does sortArrayUsingKeyOrderArray support sorting based on the
> attributes of a related object? Or do I need to make sense of
> NSComparator? (anyone know of any good examples?)
For the record, here is a simple NSComparator example that sorts Person
objects b
Ken Anderson wrote on 8/28/06 3:31 PM:
> In fact, the whining is making the signal to noise ratio tough to deal
> with, and discourages other people from getting into WebObjects in the
> first place.
>
> Please everyone, stop whining about Apple.
I don't follow closely the webobjects-talk list,
Marcos Trejo Munguia wrote on 8/21/06 2:17 PM:
> Recently I found that the SQL generated by a fetch using
> setPrefetchingRelationshipKeyPaths with a to-many relationship generates
> the query without distinct while for to-one relationships uses distinct.
Call setUsesDistinct(true) on your fetch-s
John Huss wrote on 8/15/06 4:21 PM:
> When I log into JavaMonitor from a remote machine and press WOStats
> for a running instance it loads the url:
>
> http://localhost/cgi-bin/WebObjects/MyApp.woa/56/wa/WOStats
How is the host defined in the Hosts tab of Monitor? The WOStats tool
links straight
Karl wrote on 8/11/06 2:11 PM:
> If you read the detailed license, any WO 5.3.x onwards application is
> licensed for deployment on any compatible platform without requiring the
> purchase of a license.
IANAL, but my interpretation is different than yours. Here are details
from http://developer.ap
Inessa Weiner wrote on 8/11/06 11:00 AM:
> Hello,
>
> Our client would like an ability to generate a letter - MS Word document
> from Web Objects application.
> Can someone who has done a similar thing point me in the right direction?
http://jakarta.apache.org/poi/index.html
"The POI project con
Chuck Hill wrote on 5/21/06 11:44 AM:
>> NSArray bindings = new NSArray( new Object [] {
>> (Session)session().valueForKey("user.client.clientName") } );
>>
> valueForKeyPath not valueForKey
I've been bitten by this one too.
Is there ever a reason to use valueForKey instead of valueForKe
David Avendasora wrote on 4/25/06 4:46 AM:
> I need some Web Objects development training. Where can I get it? The
> two Apple courses (400, 410) do not have any scheduled dates.
I wouldn't hold your breath waiting for the Apple training. I check
their site every few months and haven't seen any s
Colin Shreffler wrote on 4/23/06 4:13 PM:
Does anyone know to dynamically create a sub-domain in apache from
within Web Objects?
If you really mean a sub-domain, you can't do that without updating your
DNS server and restarting Apache. If all you want is to create an alias
to an existing subd
Thomas B Winans wrote on 4/9/06 3:52 PM:
I need to modify the LDAP schema on OS X server to support secure access
to some new functionality I am developing.
Can anyone point me to where I go to learn how schema modification on OS
X Server is done?
Assuming you have LDAP set to run automatic
Zac Konopa wrote on 4/6/06 9:01 PM:
kCGErrorRangeCheck Window Server communications from outside of session
allowed for root and console user only
This sounds kinda like a problem I had with FOP, though the specific
error is different. The symptom of the app working on my dev box, (where
I am
Jeffrey Pearson wrote on 4/4/06 1:58 PM:
After viewing the video, it looks like I am
going to be much happier if I copy off the tables, use EOModeler to
actually create the tables in the db and then import the data. It looks
like some invisible plumbing is set up by using EOModeler to generate
James Cicenia wrote on 4/3/06 10:07 AM:
I am thinking it has to do with how I am setting mimetypes, etc.???
Other sites seem to work properly.
Here is my simple piece of code:
response.setHeader("application/vnd.ms-excel", "Content-Type");
response.setHeader(theDocumentItem.projectDocumentObjec
etProperty(key);
System.setProperty(key, value);
}
}
catch (FileNotFoundException e)
{
// log this
}
catch (IOException e)
{
// log this
}
}
On 3/28/06, Zak Burke <[EMAIL PROTECTED]> wrote:
John Huss wrote on 3/28/06 10:23 AM:
I was
John Huss wrote on 3/28/06 10:23 AM:
I was curious how most of you specify the URL of your database in
EOModeler. Do you use localhost, etc, or the actual address of the
server? What I mean is, do you connect to the production database
while developing and/or testing, or do you just use a local
Zac Konopa wrote on 3/20/06 7:01 PM:
Does anyone know of any online resource where they walk you through the
installation and use of the FOP module, preferably in a webobjects
environment? Failing that any suggestions?
The following post includes sample code for using WO with with a
pre-buil
[EMAIL PROTECTED] wrote on 3/13/06 4:53 PM:
Thanks, Zak. I follow you, but I'm still confused about one thing. How
are you creating the source directory, the one being accessed by APP in
your release.sh script?
I haven't made the leap to Svn so I have no idea how this would work (or
not) in
[EMAIL PROTECTED] wrote on 3/13/06 3:25 PM:
Something I do frequently is push small changes from a dev site to a
live site. In CVS I do this by tagging the files in the dev site I want
to move over with "stable", then going over to the live site (which was
originally created by checking out on
Jerry W. Walker wrote on 3/13/06 10:05 AM:
For any commercial project, I feel exposed
without a couple things in place: a good SCM system that supports
concurrent development among team members
I think Mike and Jerry have summarized the, "Is it worth it to even
bother with SCS?" issues very w
Colin Shreffler wrote on 1/27/06 5:33 PM:
In my wo application, I have a class that was created by the development
environment (when the project was created) called Application.java.
I am trying to add a start up routine to my application (to read
information in a Properties file) and thought
Denis Stanton wrote on 1/18/06 9:55 PM:
On 19/01/2006, at 3:23 PM, Louis Demers wrote:
the archives (and even documentation) refers to sample code for
webservices [...]
where can i find them ?
:/Developer/Examples/JavaWebObjects/AmazonClient
I couldn't find a list of what all these exam
Chuck Hill wrote on 12/14/05 9:29 PM:
On Dec 14, 2005, at 6:20 PM, Arturo Pérez wrote:
Zak Burke wrote:
[EMAIL PROTECTED] wrote on 12/13/05 3:57 PM:
In my experience, WO will update attributes persisted to the DB, but
for relations it only pulls from its cache.
AFAIK, That's only tr
[EMAIL PROTECTED] wrote on 12/13/05 3:57 PM:
I can change any of the attributes
[snip]
However, while I can change [a relationship]
and I even verify it is stored in the database,
my WODisplayGroup still shows the old value.
In my experience, WO will update attributes persisted to the DB,
I saw the iText thread here a few days ago and thought I'd post an an
on-demand PDF example using Apache FOP 0.90
(http://xmlgraphics.apache.org/fop/). Many FO examples are available
here: http://www.dpawson.co.uk/xsl/sect3/.
I've heard that there are instructions on how to do this in the
omn
Jaime Magiera wrote on 11/6/05 12:18 PM:
I implemented mod_rewrite in
Apache to shorten the URLs of the direct actions. I'm now coming to the
conclusion that this is going to cause some problems. The default cookie
is for /cgi-bin/, and loading a page with the shortened URLs does
not add a
Eric Stewart wrote on 10/19/05 1:31 PM:
> Unfortunately, this does not work. Can anyone point to a document that
> shows how to get the IP and User Agent from a user?
Request.headerForKey("remote_host");
Request.headerForKey("user-agent");
zak.
___
Do
Marcos Trejo Munguia wrote on 10/13/05 2:05 PM:
> Hi list!
>
> Someone has successfully implement this class in a WebObjects Application?
In my EC subclass constructor I have:
...
setMessageHandler(new I3pkbMessageHandler());
...
My message handler is the followi
58 matches
Mail list logo