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 this
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 the
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
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
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 errors
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 Burke wrote:
On Jan 24
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
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; requests
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 work
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
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
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 want to log whenever one
.
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'm
doing
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 Group
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.
Brendan Duddridge wrote on 8/2/07 1:23 PM:
Hi,
We've been receiving intermittently the following error in our log files:
com.webobjects.appserver._private.WOComponentDefinition No template
found for component ProductDetailComponent at
file:/Library/Frameworks/SSCommon.framework/.
The odd
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 amp; 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
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
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
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,
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
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
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:
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
really
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 by
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
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 to
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 consists
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
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 valueForKeyPath?
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
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
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);
(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 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
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
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
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
[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
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
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 true
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
46 matches
Mail list logo