Default Properties

Here's another feature in patch 3: the application outline shows the most important property in a component. For example, if you have four buttons in the outline, how do you know which one is which? Most likely the buttons will have different labels, and as you can see from the screenshot, the button labels now appear next to the instance names.

This relies on the default property of a component. As you can see, the default property for a button is its label (value) property. For images, it's the (base) filename of the image. For a hyperlink, it's the url, and for a text component it's the actual text shown.

Note that you can quickly edit these properties. Click on a component, such as a button. Now just start typing. Keyboard focus will transfer to the property sheet, scroll to the default property, and you have started editing it.

For html tags there's no instance name (since the html markup does not appear in the page beans), but if tag has an id or name attribute, those are shown next to the tag name.


Comments:

Post a Comment:
Comments are closed for this entry.
About

Tor Norbye

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today