Documentation error
"Mike Warne" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <38DBEF1546BBDD4CB9B1F6F724E345026244CB@hnl1-exchange3> |
Hi, You may already know this... (FYI) I have been scratching my head why my TemplateModel always puts "undefined" into the template nodes. I discovered that the documenatation examples, are outdated, so I was overloading a non-existant method.. On pages: http://localhost:8080/Barracuda/docs/comp/high_level_overview.html and, http://www.barracudamvc.org/Barracuda/docs/comp/tutorial_hello_world1.html The getItem() method in the examples should not nave the ViewContext parameter.. public Object getItem(String key, ViewContext vc); But instead we need to overload *THIS* method.. public Object getItem(String key); Thanks, Mike.