Beans in response
Shash Chatterjee <[email protected]> Sun, 11 Sep 2005 14:57:07 -0500
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
All,
I have just checked in some changes to
keel-common/keel-clnt/svc-model-defaultmodel to be able to stuff a bean
in the model response and have it show up on the client side. Just like
Input/Output/Command, there is now Entity. You add a bean like this:
response.addEntity("name", bean);
On the client side, you just get it with "name" from the response, and
all the beans are in an ArrayList called "beans".
I am using this to work with tag libraries, such as displayTag, works great.
Shash