Hi. These classes are for this use case: - xml data representing a product arrives from web service (source ia as400); - xml data are transformed in a Product java object; - java object (Product) becomes a contaner with 3 field (name small text, description small text, product detail page JahiaPageField); - in productDetailPage we create a BigTextField storing product dimension, present in xml file obtained through web service; - everything is created on the fly, nothing manually.
I don't have much time for details, but maybe it can be useful for what your are doing. Probably also a little more difficult than your case as you already have a ParamBean, in a web service scenario you must create it manually. it.mytria.portal.config.bo.Site is where we store static information about where to build container and fields (template name, page ids, virtual site ids, etc). It is inflated via xml at jahia startup. If you want to give a look, you should start from ProductPageBuilder.buildProductPage. Have a nice weekend, by. ________________________________ From: Sebastien Landeau [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 1:20 PM To: [EMAIL PROTECTED] Subject: [API] Inserting new container in a containerlist, doesn't work Hello, Context : * Jahia Version : 4.0.4 build 5822 (bundle with packaged Tomcat) * OS : Linux Fedora Core 2 * JDK : 1.4.2_05 * DB : mySQL I'm trying to build a JSP page to dynamically insert a new Container in a ContainerList (importing content from external data). But it doesn"t work. IN attachment, my JSP page (a modification of the simple template from the corporate samples). What is bad in it ?? THank's a lot.
ProductPageBuilder.java
Description: ProductPageBuilder.java
DynamicCreationUtil.java
Description: DynamicCreationUtil.java
