• Anonymous
  • Login
  • Register
XPage Debug Toolbar - Feature Request: Cosmetic update to design defintion suggestion


Using a technique discussed here http://dontpanic82.blogspot.com/2010/01/xpages-using-powerful-design-definition.html

I have been updating controls that I use frequently and adding the properties to the design definition. While using this great tool, I added the following to the design definition to show what was set in properties, feel free to add or not:

 

<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
  xmlns:xc="http://www.ibm.com/xsp/custom">
<!--  modification start made custom control dynamic colored based on actual toolbar color indicated by XPage added to -->
<% if(this.toolbarColor ){ %>
<xp:div style="<%='border: 1px solid #000000; color: #ffffff; padding:2px; background-color: ' + this.toolbarColor%>" >
<% }  else { %>
<xp:div style="<%='border: 1px solid #000000; color: #ffffff; padding:2px; background-color: #444444;' %>" >
<%}%>
<% if(this.collapseTo==='left' ){  %>
&lt;&lt;
<% } else { %>
&gt;&gt;
<% } %>
&#160;&#160;
collapsed: <%= this.defaultCollapsed %>
&#160;&#160;

<!-- modification end -->


<b>XPage Debug Toolbar</b>
(by Mark Leusink)
</xp:div>
</xp:view>




Taken Actions by Owners

No actions have been taken yet.


In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.