01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

As you can see from <strong>the</strong> above example, in <strong>the</strong> table edit mode, several<br />

buttons are automatically added, some of which you recognize<br />

from <strong>the</strong> normal edit mode. You can influence a few of <strong>the</strong>m via <strong>the</strong><br />

format parameters:<br />

Button Description<br />

Save table.<br />

Save without notifying ano<strong>the</strong>r Web-<br />

Notify user.<br />

Insert row.<br />

Eliminate last row.<br />

Return to page view without saving.<br />

Armed with this knowledge, we can now design our to-do list. Here,<br />

we enter <strong>the</strong> task and responsible contact person under <strong>the</strong> respective<br />

project number. Fur<strong>the</strong>rmore, <strong>the</strong>re are input boxes for <strong>the</strong><br />

scheduled start, scheduled end, status, and estimated end of a task.<br />

%EDITTABLE{<br />

header="|*Project no.*|*Responsible*| ↵<br />

*Task*|*Planned Begin*|*Planned ↵<br />

End*|*Status*|*Finished by*|" ↵<br />

format="|text,10|text,15|textarea,3x15| ↵<br />

date|date|select,1,not begun, ↵<br />

begun, stopped, finished | date|" ↵<br />

changerows="on" ↵<br />

}%<br />

19.6 To-do List with EditTable Plugin<br />

Tab. 19.5<br />

Example:<br />

To-do list<br />

Fig. 19.10<br />

�<br />

�<br />

�<br />

295

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!