Hi Dylan On Tue, Nov 12, 2013 at 12:47 AM, Dylan Kinnett <[email protected]>wrote:
> 1. What's the difference between EditTextWidget and EditWidget, aside from > the variables that each takes? When would you use one vs. the other? > The edit widget is polymorphic; it will generate the appropriate editor element for a tiddler according to its type (currently bitmap vs. text). It does this by generating either an edit-text or edit-bitmap widget according to the tiddler type. So, the edit widget is a shortcut that you use if you don't know the type of the tiddler for which you want to display an editor. > > 2. I can't seem to get the widgets to appear, more than once per page. For > example, I have the following bit of code: > >> <$edit field="work_id" type="number"> >> <$edit field="work_title" type="text"> >> <$edit field="work_status" type="text"> >> <$edit field="pub_date" type="date"> >> <$edit field="work_status" type="text"> > > test text here > > but the only thing that appears is this: > >> <input type="text" class="undefined" value=""> >> > You need to close the edit widget: <$edit field="work_id" type="number"/> If you don't, then everything after the first widget tag is treated as being inside that element; the edit widget doesn't display it's content, so you don't see anything beyond the first widget. Best wishes Jeremy > > incidentally that "test text here" doesn't appear either, nor does > anything that appears after my attempt to use multiple <$edit> tags. I > tried it using <$EditTextWidget> as well, but I got the same apparently > erroneous result. > > Is this a bug I should report, or am I doing something incorrectly? > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/groups/opt_out. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.

