Skip to content

Commit f8c2263

Browse files
committed
fixing compilation
1 parent ec36f76 commit f8c2263

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Chapters/04-Anchors/anchors.pillar

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Another problem that new Seasiders might run into is that they try to change the
107107

108108

109109
!!! Contact Information Model
110+
@ref:contact-information
110111

111112
In the next few chapters we will develop a simple application, named iAddress, which
112113
manages an email address book. We will begin by creating a new package ==iAddress==, and creating in this package a class whose instances will represent the contacts in our address book.
@@ -293,7 +294,7 @@ The method ==confirm:== returns ==true== if the user answers ``Yes\'' and ==fals
293294
# The confirmation component handles this request, ``answering\'' ==true== if the user clicked ``Yes\'' and ==false== otherwise.
294295
# When the confirmation component answers, the ==ContactListView>>removeContact:== method ""resumes"" execution and processes the answer from ==confirm:==, deleting the contact item if the answer was ==true==.
295296

296-
So, in Seaside, it is easy for a method to display another component, wait for the user to interact with it, and then resume execution when that component has completed its job. This is akin to ''modal dialogs'' in Graphical User Interface (GUI) applications, see Chapter *cha:components*.
297+
So, in Seaside, it is easy for a method to display another component, wait for the user to interact with it, and then resume execution when that component has completed its job. This is akin to ''modal dialogs'' in Graphical User Interface (GUI) applications, see Chapter *@cha:components*.
297298

298299
!!! Creating a mailto: Anchor
299300

@@ -316,7 +317,6 @@ ContactListView >> renderContact: aContact on: html
316317

317318
Test this new component in your browser to see that your mailto: links are working correctly, see Figure *@ref:contacts-listing-with-removeandMail*.
318319

319-
%+contacts-listing-with-removeandMail|width=90%+
320320
+With mailto anchor.>file://figures/contacts-listing-with-removeandMail.png|width=80|label=ref:contacts-listing-with-removeandMail+
321321

322322
Note that rather than manipulating strings in this way, experienced Pharoers might want to actually define an ``email address\'' class to handle the different representations of email addresses. In fact, Seaside 3.0 already defines a class ==WAEmailAddress== which may be used for this very purpose.

_support/latex/common.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@
6262
\newenvironment{important}{%
6363
\begin{leftbar}\textsf{\textbf{Important}}\quad
6464
}{\end{leftbar}}
65+
66+
\newenvironment{advanced}{%
67+
\begin{leftbar}\textsf{\textbf{Advanced}}\quad
68+
}{\end{leftbar}}

0 commit comments

Comments
 (0)