one more thought, if you want to define a field in the widget to be used
for process, not storage, then you can have it any length you want.
just be aware that any data in that field will be lost, once the session
is over.

BJ Freeman sent the following on 10/25/2008 8:20 AM:
> more detailed inline
> 
> Vu Hong Thuan sent the following on 10/25/2008 3:16 AM:
>> Hi,
>> I'm a newbie in ofbiz. I have a question.
>> The length of the entity field whose type is "name" is 100. By when is
>> rendered as a textbox in form, the size of text box is 40.
> Then the DB file that define that field type says it is 40.
> 
>> I really don't know about the mismatch in size of file type and of text-box
>> form input.
> you need to become familiar with how ofbiz works. you don't define max
> field lengths in the UI, it is done at the entity level, and the DB file
> for the DB you are using.
> 
> 
> 
>> Eg. In the form "createPartyGroup" size of GroupName text-box is 40. But in
>> the entity.config, type of GroupName field is "name" type. And length of
>> "name" type is 100.
>> How can I change the size of text-box of "name"-type entity field to 100?
> This is defined in the file for the DB you are using.
> since it will effect all fields in every entity with that type, it is
> better to use extend-entity and create a new field that uses one of the
> fieldtypes that uses a blob or text db type.
> 
>> Thank for any suggestion.
>>
> 
> 

Reply via email to