• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Maybe BUG : ERDirectToWeb.ERD2WDisplayURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Reworking Vertical to Single Table Inheritance help
  • Next by Date: Blog posts on the wiki
  • Previous by thread: Re: Excepts from the community surveys
  • Next by thread: Blog posts on the wiki
  • Index(es):
    • Date
    • Thread