[
https://issues.apache.org/jira/browse/AMBARI-19249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15770225#comment-15770225
]
Antonenko Alexander commented on AMBARI-19249:
----------------------------------------------
[~sjampa] In order to fix JS error that you see in your console, you should
remove your changes.
p.s. also the app.js file that you are looking at is a concatenated file,
please look at the source files here
https://github.com/apache/ambari/tree/branch-2.5/ambari-web/app
> Adding custom config property say radio button fields etc needs hardcoding in
> various places
> --------------------------------------------------------------------------------------------
>
> Key: AMBARI-19249
> URL: https://issues.apache.org/jira/browse/AMBARI-19249
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.2.2
> Reporter: sjampa
> Fix For: 2.5.0
>
>
> Steps for creating a configuration property with radio button options.
> Something similar to what we have it for “hive database” selection under hive
> config tab. This needs hard-coding in multiple places like say i want to add
> a field like below with radio options:
> Example:
> custom_database:
> o Mysql
> o Postgres
> o Mssql
> The below link will give info on customizing only the first Tab:
> https://cwiki.apache.org/confluence/display/AMBARI/Enhanced+Configs
> For Advanced Tab:
> So far I found one file with references to the fields under Advanced Tab:
> “/opt/apache-ambari-2.2.2-src/ambari-web/public/javascripts/app.js”
> Its better to have some documentation steps as an initial draft for the users
> to add these fields, also about the "test connection" button.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)