Dynamic arraylist

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Dynamic arraylist

smsatheesh
This post was updated on .
Hi,
 
      I am new to ofbiz. I have created a module in hot-deploy. While i developing, I have created a dynamic two dimensional array parameter. Here is my problem i unable to get that array  value into java class using service engine.  


Snippets

file.ftl:


         input type="text" name="tableDtls[index].row[index]"  
         input type="text" name="tableDtls[index].col[index]"  


services.xml:

service name="XXXXXX" engine="pojo"  
    location="XXXXXX" invoke="createTable"
    description Create a Table  /description
      attribute name="tableDtls" mode="IN" type="java.util.List" optional="true"/
    !-- Here how can i pass my two dimensional parameter value to java, using this i am getting null only. --
/service




Any reply's are kindly appreciated