Is it possible to make a string parameter non-editable on some circumstances?

Here is example: I have a database server and application as components in installer.

Database component is optional one and provides page with configuration parameters where listening port can be specified. Application on the other hand is mandatory and provides configuration page as well where database connection can be specified (like port parameter).

So if user installs application only port parameter on its configuration page must be provided so it has to be editable. But if user installs database as well then the port parameter of application could be disabled and made non-editiable with value copied from database configuration.

How could I achieve this?

This question is marked "community wiki".

asked 08 Aug '13, 08:07

mchmielarz's gravatar image

accept rate: 0%

edited 08 Aug '13, 08:24

It is not possible to set it to be read-only. You could either hide it (setting is <ask> property to 0) or include a read-only version using a labelParameter:


answered 08 Aug '13, 09:50

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Thanks, for such quick answer! :)

(08 Aug '13, 09:53) mchmielarz
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 08 Aug '13, 08:07

Seen: 941 times

Last updated: 08 Aug '13, 09:53