Maybe BUG : ERDirectToWeb.ERD2WDisplayURL
Maybe BUG : ERDirectToWeb.ERD2WDisplayURL
- Subject: Maybe BUG : ERDirectToWeb.ERD2WDisplayURL
- From: ISHIMOTO Ken <email@hidden>
- Date: Fri, 24 Sep 2010 12:07:19 +0200
Hi,
I war trying to make an URL Field in an D2W App and got an Exception.
===============================================================================
Framework : ERDirectToWeb
Component : ERD2WDisplayURL
HTML :
<webobject name="Link" />
WOD :
Link : WOHyperlink {
href = href;
string = string;
target = target;
}
if the Value from the Database is Null, there will be an " java.lang.NullPointerException " Exception.
===============================================================================
FIX :
HTML :
<webobject name=HasLink><webobject name=Link /></webobject>
WOD :
HasLink : ERXNonNullConditional {
condition = href;
}
Link : WOHyperlink {
href = href;
string = string;
target = target;
}
Thank you
--------------------------------------------------------
K's ROOM (ISHIMOTO Ken)
--------------------------------------------------------
[E-Mail] <email@hidden>
[iChat:] <email@hidden>
[HP] http://www.ksroom.com/
_____________________________________________________________________
This e-mail has not been scanned for viruses because it was written on an Mac,
and there are NO Viruses on an Apple Computer.
For further information visit http://www.apple.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden