Browse Source

Fixed javadoc URL.

svn changeset:675/svn branch:toolkit
tags/6.7.0.beta1
Jani Laakso 17 years ago
parent
commit
3c44f37fb5
1 changed files with 2 additions and 5 deletions
  1. 2
    5
      src/com/itmill/toolkit/demo/features/Feature.java

+ 2
- 5
src/com/itmill/toolkit/demo/features/Feature.java View File

@@ -66,13 +66,9 @@ public abstract class Feature extends CustomComponent {
* @param url
*/
public void setJavadocURL(String url) {
// TODO: FIXME!!!
javadoc
.setValue("<iframe width=\"100%\" src=\"/doc/api/com/itmill/toolkit/"
+ url + "\"></iframe>");
javadoc
.setValue("<iframe width=\"100%\" src=\"http://toolkit.itmill.com/doc/api/com/itmill/toolkit/"
+ url + "\"></iframe>");
}

/**
@@ -125,7 +121,8 @@ public abstract class Feature extends CustomComponent {
if (example != null) {
OrderedLayout l = new OrderedLayout();
if (getTitle() != null)
l.addComponent(new Label("<b>// " + getTitle() + " example</b>",
l.addComponent(new Label(
"<b>// " + getTitle() + " example</b>",
Label.CONTENT_XHTML));
l.addComponent(new Label(example, Label.CONTENT_PREFORMATTED));
ts.addTab(l, "Code Sample", null);

Loading…
Cancel
Save