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 protected]>
[iChat:]   <[email protected]>
[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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to