I'm hoping some of these "annoynaces" in xPages gets fixed in 8.5.1
Category xpages
1. Computed Fields are treated as block elements in the designer, even though they render as spans (thus inline) :: To reproduce, set clear:left; as the style for a computed field,and it clears the left margin in the desiger, but not in the browser (correctly so) - which leads me to the next issue:
2. Change the css on a computed field to display: block and the field's label disappears in designer, so unless you know its there, it just looks like white space
3. I find all that out because, what I really want to do is set a Visible property of some computed fields, with a <xp:br> after the data to format (like an address), but not leave blanks lines if there is no data, BUT you can't set the visible property for a break (<xp:br></xp:br>)
1. Computed Fields are treated as block elements in the designer, even though they render as spans (thus inline) :: To reproduce, set clear:left; as the style for a computed field,and it clears the left margin in the desiger, but not in the browser (correctly so) - which leads me to the next issue:
2. Change the css on a computed field to display: block and the field's label disappears in designer, so unless you know its there, it just looks like white space
3. I find all that out because, what I really want to do is set a Visible property of some computed fields, with a <xp:br> after the data to format (like an address), but not leave blanks lines if there is no data, BUT you can't set the visible property for a break (<xp:br></xp:br>)
So this, with "hide whens" to hide certain lines:
Becomes this ugly bunny:
So to fix it I've got to write 1 computed field with my own HTML and <br>'s???? BUT COME ON, THIS IS XPAGES, I should be able to just hide it all when i don't need it!! Thats when I thought, ok, I won't use the <xp:br>, i'll just use css clear:left; ... worked in the designer, so I think i'm golden, but not on the web ... oh yeah, it renders a span, which is inline, so I'll change the css to display: block; clear: left .... oh, then I get this:
And I get to the cmpCity line and realize, CRAP, that won't even work because City State and Zip can't be block elements and be on a single line (block always clears left and right, and don't get me started in inline-block and IE or *display: block, etc etc....)
So the best I can do is use the display: block, lose the labels, combine Address Lines 1 and 2 into one computed text and City state zip into another ... can't we just have the ability to set hide-whens for the <xp:br> element?
Life would be so much peachier .... (seriously, did I just say peachier ..... might be time to put xpages down for the day)














- 
Comments
Posted by top 100 songs of 2012 At 10:12:19 AM On 10/26/2011 | - Website - |
Posted by salad recipes for a crowd At 10:48:27 AM On 10/17/2011 | - Website - |
Posted by f150 towing capacity chart At 04:58:33 AM On 10/13/2011 | - Website - |
Posted by cars pricing At 02:34:46 AM On 10/01/2011 | - Website - |
Thanks!
Posted by Jeremy Hodge At 09:37:09 AM On 06/29/2009 | - Website - |
Posted by Tim Tripcony At 07:59:50 PM On 06/28/2009 | - Website - |