Issue Details (XML | Word | Printable)

Key: UBA-7542
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Marcel Rüedi
Reporter: Daniel Grob
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ULCBase

Allow to set and get styles via API

Created: 15/Sep/08 10:58 AM   Updated: 05/Feb/09 02:30 PM
Component/s: applicationframework
Affects Version/s: None
Fix Version/s: UltraLightClient '08 Update 2


 Description  « Hide
Make the style property of a component a real property (e.g. as client property). Currently this not the case, the style property is only managed during resource injection and is not available afterwards.

The form builder parameter objects should allow to set the style property:

addLabel("interestRate").startColumn(2).style("header");


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Marcel Rüedi added a comment - 27/Jan/09 01:59 PM - edited
New API:
  • LayoutParameter.style()
  • LayoutParameter.getStyle()

Style can be set as client property:

  • ULCComponent.putClientProperty(ResourceMap.STYLE_CLIENT_PROPERTY, "Header");