File dataDefinitions/organisation/Partner (somewhere in classpath):
File dataDefinitions/general/country (somewhere in classpath):
name=char[1..40] ;Name
logo=char[80] ;Logo (URL)
dept=char[60] ;Department/Office
streetno=char[60] ;Street
zipcode=char[10] ;Zipcode
city=char[40] ;City
country= ptr general.Country ;Country
phone=char[20] ;Phone
fax=char[40] ;Fax
email=char[40] ;E-Mail
homepage=char[50] ;Home Page on the Internet
comment=text ;Other comments
name=char[60] ;Country
phonePrefix=char[1..3] ;Phone prefix
iso2letterCode=char[2..2] fixed ;2-letter ISO code
is rendered to
<%@ taglib uri="http://www.makumba.org/presentation" prefix="mak" %> <mak:list from="organisation.Partner p" separator="<br>">
<a href="partner.jsp?partner=<mak:value expr="p" />"></mak:list>
<mak:value expr="p.name">
</a>,
<i><mak:value expr="p.city"/></i>
PlasticWing Airlines, Cambridge
Pasta al'Dente s.p.a, Turin
Some Company Ltd., Somewherewille
ACME gadgets, Death Walley
Protect gamblers, Las Vegas
Is rendered to
<%@ taglib uri="http://www.makumba.org/presentation" prefix="mak" %> <mak:object from="organisation.Partner p" where="p=$partner">
<h2><mak:value expr="p.name"/></h2></mak:object>
Country: <mak:value expr="p.country.name"/><br>
Home Page on the Internet: <b><mak:value expr="p.homepage"/></b>
<p>
You can send them an email to: <mak:value expr="p.email"/><br>
Call me: <b><mak:value expr="p.phone"/></b><br>
Comment: <mak:value expr="p.comment"/>
New and edit operations will come here soon.
Some company Ltd.
Country: Bangladesh
Home Page on the Internet: http://www.example.comYou can send them an email to: info@example.com
Call me: +1 23 456789
Comment: As seen on http://cnn.com, they are very likely to join BestSupportGroup.