View Single Post
Old 05-02-2018, 07:12 AM
Soptareanu @Alex Soptareanu @Alex is offline

Advanced Member
Join Date: Apr 2018
Posts: 39

Default Re: Working with ItemsList

Originally Posted by tony_sologubov
Hi @Alex,

First of all, do you even need this 'form_id' param in your model? Maybe you can just remove it.

Otherwise, it looks like the problem is not while creating an entity, but rather while updating it. Can it be that your ItemsList has 'form_id' in defineColumns() method, but when the request is submitted, 'form_id' is not there?

Yes, I need this form_id, because i use it to fillter the list. In the URL i have a param order=<Value>. That value is coresponding with form_id, and show me a list of items with form_id = order. If I update the item it works very fine, but if i want to create a new one, i want that the form_id remain the same based on url param. I used \XLite\Core\Request::getInstance()->order;
Attached Thumbnails
Click image for larger version

Name:	Capture_1.PNG
Views:	143
Size:	20.5 KB
ID:	5137  Click image for larger version

Name:	Capture_2.PNG
Views:	141
Size:	12.9 KB
ID:	5138  
Soptareanu Alex
Reply With Quote