Hi,
Frank Caputo wrote:
just try the following code:
NSMutableDictionary dict = new NSMutableDictionary();
String actionName = "DirectAction/foo";
String queryString = WOURLEncoder.encodeAsCGIFormValues(dict);
String handlerKey = application().directActionRequestHandlerKey();
String url = cont
On Jul 25, 2007, at 7:41 AM, Ulrich Köster wrote:
valueForBinding is to talk with the parent of the component.
void takeValuesFromRequest(WORequest request, WOContext context) {
super. takeValuesFromRequest(request, context);
Value one = request.formValueForKey("anotherBindin
Is the submit button in the same component or in its parent? If the
button is not in the form
On Jul 25, 2007, at 8:48 AM, Fabrice Pipart wrote:
Absolutely, I have a form in the stateless component
I shouldn't?
On Jul 25, 2007, at 4:43 PM, John Huss wrote:
Is everything wrapped in a
Absolutely, I have a form in the stateless component
I shouldn't?
On Jul 25, 2007, at 4:43 PM, John Huss wrote:
Is everything wrapped in a WOForm?
John
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
That behaviour applies only for TIMESTAMP column types for
WebObjects apps, these type of columns should really be avoided and
plain old DATE or DATETIME columns should be used
On Jul 25, 2007, at 10:34 AM, Randy Wigginton wrote:
MySQL really likes to substitute the current timestam
This is my last posting on this subject to this list. I have posted
a more detailed message on the wonder list. It turns out that it
isn't an obvious configuration problem after all. There is an error
in setting a request header that doesn't make sense. Currently, as a
workaround (?) I
Is everything wrapped in a WOForm?
John
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/option
What *exactly* is the problem?
My SQL has issues with null dates, depending on how precisely the
table was created and the initialization values for the DB. MySQL
really likes to substitute the current timestamp for the first date
column in a row, for example.
On Jul 25, 2007, at 5:53 AM
Unfortunately, this is still not the pattern I have (sorry for being
unprecise)
I rather have :
from StatefulParent.wod
StatelessParent: StatelessParent {
XYZ = "foo";
}
from StatelessParent.wod
Text1: WOTextField {
text = anotherBinding1;
}
Text2: WOTextField {
text
During the takeValuesFromRequest
Another option is to use the ^ (carat) binding in your component and
forget the stuff in the StatelessParent.java
For instance:
from StatefulParent.wod
StatelessParent: StatelessParent {
XYZ = "foo";
}
from StatelessParent.wod
Text: WOTextField {
Hi Francis,
just try the following code:
NSMutableDictionary dict = new NSMutableDictionary();
String actionName = "DirectAction/foo";
String queryString = WOURLEncoder.encodeAsCGIFormValues(dict);
String handlerKey = application().directActionRequestHandlerKey();
String url = context().urlWith
Just what I thought.
The problem is it does not work :(
In which phase do you do that?
Does it work for child components too?
I have something like this :
StatefulParent contains StatelessParent contains TextFields
I use bindings to get the bindings StatefulParent sets. Works fine.
But when Sta
Check your connection string is something link this:
jdbc:mysql://YourHost/YourDB?
capitalizeTypeNames=true&zeroDateTimeBehavior=convertToNull
Simon
On 25 Jul 2007, at 13:53, WILLIAM GARNETT wrote:
Hello all;
I am having a problem when trying to save a row with a Date column
set to
Hello all;
I am having a problem when trying to save a row with a Date column set to
NULL in MySQL.
Apparently MySQL has a problem with accepting NULL for a Date value.
Does anyone know of a work-around to make EOF pass a value acceptable to
MYSQL?
Cheers,
Bill.
__
Hi,
For a special function, I need whenever it's possible to generate
DirectAction URL including instance number. Unfortunately, if there
is no session, there is no instance number in URLs using WOHyperlink,
WOActionURL, WOContext, etc. And of course, I dont want to create
session!
Is
Well after spending too much time checking the model etc... I just
assumed it is a bug and explicitly set the relations and it works now.
James
On Jul 24, 2007, at 9:29 PM, Lachlan Deck wrote:
On 25/07/2007, at 5:57 AM, James Cicenia wrote:
I checked the model "carefully"...
the relations
valueForBinding() to get the value and setValueForBinding() to push
the value
Uli
Am 25.07.2007 um 12:44 schrieb Fabrice Pipart:
Hi !
If I have a stateless component (no variable synchronization) that
has for example text fields in it, it seems I never get the values
of my text fields
Hi !
If I have a stateless component (no variable synchronization) that
has for example text fields in it, it seems I never get the values of
my text fields in my stateless component. I suppose they are not
pushed to the parent since it has no automatic synchronizaion.
Is there a way to ma
If the original message would have been posted on the Wonder list, I
may have been inclined to comment...
Cheers, Anjo
Am 24.07.2007 um 17:31 schrieb Guido Neitzer:
On 23.07.2007, at 21:53, David Holt wrote:
Your best bet now is to look at the D2W chapters in the WROX book
and to track do
19 matches
Mail list logo