Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In the form, I try to list fields from a tabel. One of the fields contains a column value from another tabel namely Hl_Master_Source. The primary key of this Hl_Master_Source table is 'source_code' and the field name I want to display is 'description'.
Here is the form: <form name="listIncNewSourceCodes" type="list" .....> <field ...></field> <field ...></field> <field name="description" > <display-entity entity-name="HlMasterSource" key-field-name="sourceCode" description="${description}"/> </field> </form> the problem is, this description value doesn't appear on the form... How can I display this value ?? Thanks .. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Nashrul,
1st : it seems that you send 2 mails each time you write to OFBiz user ML As your code is customised I will recommend, if not already done, to have a look at http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams And to look carefully at the framework/example component. But anyway it looks like your code is correct. Are you sure there are no typos anywhere between the Hl_Master_Source table and the listIncNewSourceCodes form (for instance the name Hl_Master_Source should only be seen from DB side, etc. ) ? Any errors in log ? Jacques De : "nashrul" <[hidden email]> > > In the form, I try to list fields from a tabel. One of the fields contains a > column value from another tabel namely Hl_Master_Source. The primary key of > this Hl_Master_Source table is 'source_code' and the field name I want to > display is 'description'. > Here is the form: > <form name="listIncNewSourceCodes" type="list" .....> > <field ...></field> > <field ...></field> > <field name="description" > > <display-entity entity-name="HlMasterSource" key-field-name="sourceCode" > description="${description}"/> > </field> > </form> > the problem is, this description value doesn't appear on the form... > How can I display this value ?? > Thanks .. > -- > View this message in context: http://www.nabble.com/listing-fields-in-forms.xml-tf4546924.html#a12975241 > Sent from the OFBiz - User mailing list archive at Nabble.com. > ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1st : it seems that you send 2 mails each time you write to OFBiz user ML
I'm sorry for double posting... As your code is customised I will recommend, if not already done, to have a look at http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams And to look carefully at the framework/example component. Ok.. I'll check at the documentation... Thanks De : "nashrul" <anas_aviv@yahoo.com> > > In the form, I try to list fields from a tabel. One of the fields contains a > column value from another tabel namely Hl_Master_Source. The primary key of > this Hl_Master_Source table is 'source_code' and the field name I want to > display is 'description'. > Here is the form: > <form name="listIncNewSourceCodes" type="list" .....> > <field ...></field> > <field ...></field> > <field name="description" > > <display-entity entity-name="HlMasterSource" key-field-name="sourceCode" > description="${description}"/> > </field> > </form> > the problem is, this description value doesn't appear on the form... > How can I display this value ?? > Thanks .. > -- > View this message in context: http://www.nabble.com/listing-fields-in-forms.xml-tf4546924.html#a12975241 > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Free forum by Nabble | Edit this page |