On Fri, 22 Jan 2010 09:10:58 -0200, abangkis <abang...@gmail.com> wrote:

Hello,

Hi!

I have 2 question concerning tapestry and web service.

1. I have a service that being exposed as a web service using open
esb. What is the easiest way to invoke the web service from tapestry ?
do i need another library or is there some kind of tapestry-webservice
plugin that tapestry already provide ?

There isn't anything I know that deals with webservices in Tapestry, but I guess any webservice package would be easily integrated with Tapestry-IoC (and thus Tapestry itself.

2. If i want to show the data in a grid, is there any way i can do
this without turning the xml data to Pojo and insert it to a list to
be used by the grid ?

Yes. Create a dummy BeanModel with BeanModelSource (or implement BeanModel yourself) and then add the columns using beanModel.add("columnId", propertyConduit). You'll need to implement PropertyConduit itself in this case. Regarding its set() method, you can give it a blank implementation, as you're just displaying data, not editing it.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to