Re: AjaxTabbedPanel - exception while handling request

2011-01-28 Thread Raghavender
Thanks a lot Chuck, I have updated Wonder frameworks and the issue got resolved. Now I am able to see the AjaxTabbedPannel and Tabs. Thanks, Raghu. On 29-Jan-11, at 8:27 AM, Chuck Hill wrote: Caused by: java.lang.NullPointerException at er.ajax.AjaxTabbedPanel.findTabs(AjaxTabbedPan

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 7:09 PM, Jake Fisher wrote: > In ERXSqlHelper-->MySQLHelper-->handleDatabaseException it swallows > the jdbc exception whole and never reports it. The best you ever get > bubbled up to you in a completely non-descriptive custom validator > exception. > > I have been m

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Jake Fisher
In ERXSqlHelper-->MySQLHelper-->handleDatabaseException it swallows the jdbc exception whole and never reports it. The best you ever get bubbled up to you in a completely non-descriptive custom validator exception. I have been meaning to log this as an issue for a long time, sorry for that

Re: AjaxTabbedPanel - exception while handling request

2011-01-28 Thread Chuck Hill
> Caused by: java.lang.NullPointerException > at er.ajax.AjaxTabbedPanel.findTabs(AjaxTabbedPanel.java:94) I have no idea what you have on that line, that is an old version.Check your source at that line.Or update Wonder and see if the problem goes away. Chuck On Jan 28, 2011,

Re: AjaxTabbedPanel - exception while handling request

2011-01-28 Thread Raghavender
Hi Chuck, WOActionResults res = super.invokeAction(aRequest, aContext); ... return ((WOComponent)res);// Exception occurring at this line-151. I have changed the casting from WOResponse to WOComponent, and now the error in the Session invokeAction(. .

Re: how to handle dates alone

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 4:59 PM, Paul Hoadley wrote: > On 29/01/2011, at 5:39 AM, Chuck Hill wrote: > >> On Jan 28, 2011, at 11:00 AM, Theodore Petrosky wrote: >> >>> You say 'these are Java'. yes, but how it relates to the backend. I have >>> invoice dates in my database. it is just a date. no ti

Re: Handling GET Requests & Redirecting

2011-01-28 Thread Pascal Robert
Le 2011-01-28 à 19:15, Chuck Hill a écrit : > Hi Kevin, > > > On Jan 28, 2011, at 3:54 PM, Kevin Hinkson wrote: > >> Hi, >> I'm hoping someone can help me with this problem. >> >> Let's say I have a Person object. How would I go about handling a GET >> request (with query strings) to delete

Re: how to handle dates alone

2011-01-28 Thread Paul Hoadley
On 29/01/2011, at 5:39 AM, Chuck Hill wrote: > On Jan 28, 2011, at 11:00 AM, Theodore Petrosky wrote: > >> You say 'these are Java'. yes, but how it relates to the backend. I have >> invoice dates in my database. it is just a date. no time. >> >> how can I set up Entity Modeler to not use a Tim

Re: how to handle dates alone

2011-01-28 Thread Paul Hoadley
On 29/01/2011, at 5:30 AM, Theodore Petrosky wrote: > I tried the Joda Time stuff but it seems that there were problems so it was > pulled. What was recently backed out of Wonder was Ramsey Gurley's attempt to integrate the Joda types at a lower level. There are no problems with using Joda typ

Re: how to handle dates alone

2011-01-28 Thread Paul Hoadley
Hi Ted, On 29/01/2011, at 5:19 AM, Theodore Petrosky wrote: > How are people handling dates with no timezone (and no time, just the date > alone)? I really want to use the date column type and not care about the time > nor zone but I haven't figured out a way. Here's the first post in a thread

Re: Handling GET Requests & Redirecting

2011-01-28 Thread Kevin Hinkson
On Jan 28, 2011, at 20:15, Chuck Hill wrote: > Hi Kevin, > > > On Jan 28, 2011, at 3:54 PM, Kevin Hinkson wrote: > >> Hi, >> I'm hoping someone can help me with this problem. >> >> Let's say I have a Person object. How would I go about handling a GET >> request (with query strings) to delete

Re: Handling GET Requests & Redirecting

2011-01-28 Thread Chuck Hill
Hi Kevin, On Jan 28, 2011, at 3:54 PM, Kevin Hinkson wrote: > Hi, > I'm hoping someone can help me with this problem. > > Let's say I have a Person object. How would I go about handling a GET request > (with query strings) to delete a Person, save the changes to the database, > and then redir

Handling GET Requests & Redirecting

2011-01-28 Thread Kevin Hinkson
Hi, I'm hoping someone can help me with this problem. Let's say I have a Person object. How would I go about handling a GET request (with query strings) to delete a Person, save the changes to the database, and then redirect to a URL (not a WOComponent). Oh, and I need to have a Session availab

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 2:16 PM, Simon wrote: > Check for a custom EC, custom DB context, or delegates for either of those as > a place to start. At what point are you NOT seeing it? Could it just be > getting ignored at the UI level? I have seen "clever" handling like this: > > public WOAction

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Simon
> > Check for a custom EC, custom DB context, or delegates for either of those > as a place to start. At what point are you NOT seeing it? Could it just be > getting ignored at the UI level? I have seen "clever" handling like this: > > public WOActionResults save() { >try { >editingC

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 1:00 PM, Simon wrote: > > > the repeatable situation that we see this happening is when we try and set > > a string value that is defined as width X in the model and DB to something > > greater than X. > > That should cause a validation error in EOF, not a string truncatio

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Simon
> > > > the repeatable situation that we see this happening is when we try and > set a string value that is defined as width X in the model and DB to > something greater than X. > > That should cause a validation error in EOF, not a string truncation error > in the database. Did you write that bac

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 12:21 PM, Simon wrote: > oops - i forgot to mention: > > - full wonder apps and frameworks > - wo5.4 > - mysql 5.1 > > > -- Forwarded message -- > From: Simon > Date: 28 January 2011 20:19 > Subject: database failures not rolling up to eof stack ?? > To: We

ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Simon
oops - i forgot to mention: - full wonder apps and frameworks - wo5.4 - mysql 5.1 -- Forwarded message -- From: Simon Date: 28 January 2011 20:19 Subject: database failures not rolling up to eof stack ?? To: WebObjects Development hi all - we have an ongoing issue with datab

database failures not rolling up to eof stack ??

2011-01-28 Thread Simon
hi all - we have an ongoing issue with database update failures seemingly not rolling up into the eof stack. this is basically what happens: - create or update a few eo's in an ec & all save changes - we see the insert and/or update sql transactions go through - app continues and thinks everythin

Re: how to handle dates alone

2011-01-28 Thread John Huss
Use the "time without time zone" column or "date" data type. Start your app with -Duser.timezone=GMT John On Fri, Jan 28, 2011 at 1:00 PM, Theodore Petrosky wrote: > You say 'these are Java'. yes, but how it relates to the backend. I have > invoice dates in my database. it is just a date. no t

Re: how to handle dates alone

2011-01-28 Thread Jesse Tayler
I think if you look, you'll see there's just a consistent time set on each date in your database but either way, you'll still have to deal with a regular date object - there's no alternative that's all that much better - at least not that I've seen working. In the end, you'll always have to kee

Re: how to handle dates alone

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 11:00 AM, Theodore Petrosky wrote: > You say 'these are Java'. yes, but how it relates to the backend. I have > invoice dates in my database. it is just a date. no time. > > how can I set up Entity Modeler to not use a Timestamp. I tried the Joda Time > stuff but it seems t

Re: how to handle dates alone

2011-01-28 Thread David LeBer
On 2011-01-28, at 2:00 PM, Theodore Petrosky wrote: > You say 'these are Java'. yes, but how it relates to the backend. I have > invoice dates in my database. it is just a date. no time. > > how can I set up Entity Modeler to not use a Timestamp. I tried the Joda Time > stuff but it seems that

Re: how to handle dates alone

2011-01-28 Thread Jesse Tayler
dates are always a pain, right? I lean toward normalizing the dates and looking at them more at presentation - relative date formats are all the rage because it excuses timezone and other issues but you always have to have a static way to store them - use seconds from epoch, or modern timezones

Re: how to handle dates alone

2011-01-28 Thread Theodore Petrosky
You say 'these are Java'. yes, but how it relates to the backend. I have invoice dates in my database. it is just a date. no time. how can I set up Entity Modeler to not use a Timestamp. I tried the Joda Time stuff but it seems that there were problems so it was pulled. So I need to rephrase. H

Re: how to handle dates alone

2011-01-28 Thread Chuck Hill
Dates don't actually exist. Only instantaneous points in time exist (well, give or take certain theories from theoretical physics). What we talk about as dates are highly subjective spans of time. Standard Java does not support such subjective concepts. You could "normalize" all dates to no

Re: how to handle dates alone

2011-01-28 Thread David LeBer
On 2011-01-28, at 1:49 PM, Theodore Petrosky wrote: > so I was out the other night with the really h (sorry wrong forum) > > How are people handling dates with no timezone (and no time, just the date > alone)? I really want to use the date column type and not care about the time > nor zone but

how to handle dates alone

2011-01-28 Thread Theodore Petrosky
so I was out the other night with the really h (sorry wrong forum) How are people handling dates with no timezone (and no time, just the date alone)? I really want to use the date column type and not care about the time nor zone but I haven't figured out a way. I just got bitten with a timezone

Re: AjaxTabbedPanel - exception while handling request

2011-01-28 Thread Chuck Hill
> WOActionResults res = super.invokeAction(aRequest, aContext); > ... > return ((WOResponse)res);// Exception occurring at this > line-151. Perhaps if you cast correctly? The issue is with your code, not AjaxTabbedPanel. On Jan 28, 2011, at 6:53 AM, Raghavende

AjaxTabbedPanel - exception while handling request

2011-01-28 Thread Raghavender
Hi, I am trying to implement Project Wonder's AjaxTabbedPanel and AjaxTabbedPanelTab in my application by following the Wonder Ajax Examples from the link http://webobjects.mdimension.com/cgi-bin/WebObjects/AjaxExample.woa/1 . But after added these AjaxTabbedPanel and AjaxTabbedPanelTab i

WOWODC 2011: registration and lodging details

2011-01-28 Thread Pascal Robert
Good morning everyone, Everything's is up and running for registration and lodging for WOWODC 2011! Early bird pricing is $465 for an individual ticket, that offer ends on May 16. Regular pricing is $575 from May 17 to June 22. As the same as previous WOWODCs, you get an additional discount

WebEx channel for the community

2011-01-28 Thread Pascal Robert
Hi everyone, We now have a WebEx channel for the community. That channel is a complement to WOWODC and will be use for: • presentations in other languages than English; • follow-up on WOWODC sessions; • shorter presentations (< 45 minutes); • case studies. One id