This test page is designed to make sure that we can create BLinks without specifying a View, and return them directly from the models. In cases like these, a default Node should be created, and a default View should be bound to that.
If you see a "link failed" anywhere in here, you know the test failed.
Simple test to make sure that we can return BLink items from a BTemplate model:
Now you see it... (if you see this, the BComponent render isn't working properly [basic component visibility failed])
template link failed 1 (Bound to <anchor> element)
Note: In order for a BLink to render properly, it must be bound to a button element that is part of a form that has name, action, and method attributes in it.
Note: we're not yet testing against all possible client possibilities either.
Note: In order for a BLink to render properly, it must be bound to an input element that is part of a form that has name, action, and method attributes in it. In addition, the input element must be of type='submit'.
Note: we're not yet testing against all possible client possibilities either.
template link failed 4 (Bound to <span> element)
Note: a BLink can not render into a <span> element, so a default <anchor> element should be created and returned instead.
template link failed 5 (Bound to <span> element; should contain both text and link)
Simple test to make sure that we can return BLink items from a BList model:
List Test 1: (simple unordered list: <ul> element)
List Test 2: (simple ordered list: <ol> element)
List Test 3: (definition list: <dl> element)
Note: by default, a BLink will render into the descr part of a DefinitionList. You can get it to render into the term portion as well, but you'll need to manually create a <dt> and bind the BLink to it with a View.
List Test 4: (list of links within a <span> tag)
list of links in span tag failed 1
List Test 5: (list of links within a <div> tag)
Simple test to make sure that we can return BLink items from a BTable model:
Table Test 1: (simple table: <table> element)
Col 1 | Col 2 |
---|---|
1 | item 1 |
2 | item 2 |
Table Test 2: (table using <thead>,<tbody> and <tfoot> elements)
Col 1 | Col 2 |
---|---|
Sample Footer | |
1 | item 1 |
2 | item 2 |