Re: Components binding with custom object
Re: Components binding with custom object
- Subject: Re: Components binding with custom object
- From: HOUNKPONOU Ronald <email@hidden>
- Date: Fri, 29 May 2015 14:11:31 +0100
In A.html
<webobject name = "template">
</webobject>
In A.wood
template : B {
userAccount = session.authenticatedUser;
}
in B.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>untitled</title>
</head>
<body>
<webobject name = "specialitemedicale">
<label>Libellé</label>
<webobject name = "libelle"/>
<webobject name = "enregistrer"/>
</webobject>
</body>
</html>
in B.wood
specialitemedicale : WOForm {
}
libelle : WOTextField {
value = libelle;
}
enregistrer : WOSubmitButton {
action="">
value="Enregistrer";
}
_______________________________________________
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