Skip to content

Commit d279285

Browse files
authored
Fix a broken image link for a sample app (#381)
1 parent 9b15243 commit d279285

File tree

1 file changed

+5
-4
lines changed
  • src/main/markdown/doc/latest/tutorial

1 file changed

+5
-4
lines changed

src/main/markdown/doc/latest/tutorial/style.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,7 @@ In GWT, depending on the HTML element, you can set some attributes in the Java c
604604

605605
// Add styles to elements in the stock list table.
606606
stocksFlexTable.setCellPadding(6);
607+
}
607608
```
608609

609610
2. Save your changes and then press Refresh in the browser running development mode to see them.
@@ -612,7 +613,7 @@ In GWT, depending on the HTML element, you can set some attributes in the Java c
612613

613614
Your application's HTML host page can include whatever additional static HTML elements you require. For example, in StockWatcher, you'll add the Google Code logo. To include images, put them in the project's public directory. The GWT compiler will copy all the necessary files to the output directory for deployment.
614615

615-
![Google Code logo](images/GoogleCode.png)
616+
![GWT Project logo](gettingstarted/images/gwt.png)
616617

617618
To include static images in the application.
618619

@@ -623,10 +624,10 @@ To include static images in the application.
623624
StockWatcher/war/images
624625
```
625626

626-
2. From this page, copy the image of the logo and paste it into the images directory.
627+
2. From this page, copy the image of the GWT logo and paste it into the `images/` directory.
627628

628629
```text
629-
StockWatcher/war/images/GoogleCode.png
630+
StockWatcher/war/images/gwt.png
630631
```
631632

632633
3. In StockWatcher.html, insert an img tag pointing to the logo file.
@@ -641,7 +642,7 @@ To include static images in the application.
641642
<script src="stockwatcher/stockwatcher.nocache.js"></script>
642643
</head>
643644
<body>
644-
<img src="images/GoogleCode.png" />
645+
<img src="images/gwt.png" />
645646
<h1>StockWatcher</h1>
646647
<div id="stockList"></div>
647648
</body>

0 commit comments

Comments
 (0)