[Webwork-user] Calling methods from views
Brought to you by:
baldree,
rickardoberg
From: Maurice C . P. <Ma...@Vi...> - 2000-11-29 14:43:43
|
All, Yesterday during my work on porting Jive to a portal style framework I ran into an issue where there was data that I needed pull into one of my views from an existing Jive object. The problem is that the data wasn't accessible via an accessor, but only by calling a method. This is what I needed to call: public String getProperty(String s); Would the ability to call methods from within views break Webworks pull model or would it be undesireable for view programmers to call methods? Thoughts? Maurice |