History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: PSL-122
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jens Halm
Reporter: Jens Halm
Votes: 0
Watchers: 0
Operations

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

Add default values to Expression Framework

Created: 17/Jun/08 03:26 PM   Updated: 04/Apr/11 05:31 PM
Component/s: None
Affects Version/s: None
Fix Version/s: Spicelib 1.1.0


 Description  « Hide
Proposed syntax:

Default Values can be defined within variable expressions, separated from the variable name with '|'.
Supported types:

1. String Literals ${foo|'Default Value'}

2. Numeric Literals ${foo|2.75}

3. Boolean Literals ${foo|false}

4. Null Literal ${foo|null}

5. Reference to other Variable ${foo|bar}

Defining defaults will be optional, a plain ${foo} is still valid, but should throw an Error if undefined.


 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.