Vreman, Peter - Acision wrote:
>> I think we can make it better common with the CLI reporting
feature.
>>
>> Def get_field_info()
>> [fieldname]
>> [fieldheader]
>> [fieldtype]
>> [width] { in characters }
>> [tooltip]
>>
>>
> Score.
>
> Add "default value" too.
>
> What's "field header"?
>
> I think the web app could just list them in order and the CLI would sort
> the keys.
>
> Technically, just to make sure we are on the same page:
>
> get_field_info()
> return {
> "kernel_options" : {
> "field_type" : "dict",
> "width" : 255,
> "tooltip" : "kernel options, space delimited"
> }
> "foo" : ...
>
> }
>
> I think that would be just about perfect.
>
Yes, this is also what I have I mind.
The field header is the column name in the Table and Report and in the current WebUI
before the fields in the edit mode.
In the above example:
"header" : "Kernel Options"
++
Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only.
It may contain proprietary material, confidential information and/or be subject to legal
privilege. It should not be copied, disclosed to, retained or used by, any other party. If
you are not an intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel