ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Nagar <ashish.na...@hotwaxmedia.com>
Subject Re: OFBiz-unexpected result caused by submitted form
Date Fri, 06 Feb 2009 05:07:47 GMT
Hi Jack,
The fields you fill get sets in the environment so that the next page
can retrieve their values.Such values are retrieved from parameters
map.You find the values against those fields are automatically
filled,this is because the values are fetched as parameters.firstName etc.

Thanks & Regards:
- -
Ashish Nagar

Jack Liu wrote:
> Hi all
> I find map parameters hold all fields that submitted in the previous page.
> How can I remove some key-value pair in the map parameters?
> And I can't understand why ofbiz automatically set a field which has an entry in the
map parameters.
>
> I am new to OFBiz, Please help me,thanks.
>
> -----Original Message-----
> From: Jack Liu [mailto:jack.liu@aicent.com] 
> Sent: 2009年2月4日 23:42
> To: user@ofbiz.apache.org
> Subject: OFBiz-unexpected result caused by submitted form
>
> Hi
> I've encountered a problem when I am learning OFBiz.  I submit a form to
> create a customer and save it in database, then page navigates to
> another page, in which i can get the customer's id by <set field="id"
> from-field="parameters.id"/> . Why? 
> I can get all the fields submitted in the previous page through map
> parameters, and even more, automatically. Why?
> For example, When I edit a form including a field "city", change city to
> "Beijing" ,then submit the form page, then the second page also including a
> field "city", the field "city" automatically get the value "Beijing", but the tow fields
with the same name city belongs to different entity . It's
> very strange.
>
> Help me, Please!
>
>
> Best Regards,
>
> Jack Liu 
>
>   


Mime
View raw message