Discussion:
[tw] Issue: Data Dictionary Record not showing in "input" box
Add Reply
@TiddlyTweeter
2017-08-06 08:45:36 UTC
Reply
Permalink
Raw Message
I'm working on an app that shows the plain code for a record from a Data
Dictionary in an "input" slot.

<span class="code-of-code">
<$edit-text tiddler="tools.icons.library.fa.all##2" tag="input" default=""
placeholder="code to copy appears here" />
</span>

This shows nothing. Do I need to "escape" the tiddler address in some way
to get the Data Dictionary record to turn up?

Any tips much appreciated.
Josiah
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5b9c98e1-5972-45e5-a144-86f354c93380%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
PMario
2017-08-06 09:08:59 UTC
Reply
Permalink
Raw Message
Hi,

Did you set the type field of the tiddler:
application/x-tiddler-dictionary or application/json?

-m
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/75442ff9-a601-41b0-a1cc-b8297e5be0ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-08-06 09:21:58 UTC
Reply
Permalink
Raw Message
Ciao Mario ...

Its set to: application/x-tiddler-dictionary

J.
Post by PMario
Hi,
application/x-tiddler-dictionary or application/json?
-m
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3211cb35-9bd0-4228-9cae-e751fd211fd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jeremy Ruston
2017-08-06 10:12:08 UTC
Reply
Permalink
Raw Message
Hi Josiah

The “tiddler” attribute of the edit-text widget requires a simple tiddler title, not the full text reference including the index specifier that you are using. You’ll need to use the separate “index” attribute instead. For example:

<span class="code-of-code">
<$edit-text tiddler="tools.icons.library.fa.all" index="2" tag="input" default="" placeholder="code to copy appears here" />
</span>

Best wishes

Jeremy
I'm working on an app that shows the plain code for a record from a Data Dictionary in an "input" slot.
<span class="code-of-code">
<$edit-text tiddler="tools.icons.library.fa.all##2" tag="input" default="" placeholder="code to copy appears here" />
</span>
This shows nothing. Do I need to "escape" the tiddler address in some way to get the Data Dictionary record to turn up?
Any tips much appreciated.
Josiah
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
Visit this group at https://groups.google.com/group/tiddlywiki <https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5b9c98e1-5972-45e5-a144-86f354c93380%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/5b9c98e1-5972-45e5-a144-86f354c93380%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/45350887-CDA0-4287-9BBE-6F545011F0F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Danielo Rodríguez
2017-08-06 11:50:56 UTC
Reply
Permalink
Raw Message
What a weird name for a tiddler. Looks like you are accessing nested JSON properties, but not, confusing.
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9ddd4219-67cd-43c2-b78b-8c03480d8e78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-08-07 07:13:16 UTC
Reply
Permalink
Raw Message
LOL!

Ciao Danielo. FWIW whilst I'm making something I use that naming method.
Its so I can easily see & find all the bits under a consistent naming
system different from what's normally done--so they stand out. If that TW
ever went public (it might) I'd figure out what is the correct placing for
them in the TW normal naming.

Best wishes
Josiah
Post by Danielo Rodríguez
What a weird name for a tiddler.
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1334a012-1428-47fa-86cb-fed1ec3fa694%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-08-07 13:38:41 UTC
Reply
Permalink
Raw Message
Not that weird -- all the core tiddlers have names that make them look like
part of a directory structure, so you're in good company.

Mark
Post by @TiddlyTweeter
LOL!
Ciao Danielo. FWIW whilst I'm making something I use that naming method.
Its so I can easily see & find all the bits under a consistent naming
system different from what's normally done--so they stand out. If that TW
ever went public (it might) I'd figure out what is the correct placing for
them in the TW normal naming.
Best wishes
Josiah
Post by Danielo Rodríguez
What a weird name for a tiddler.
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ffc67b33-cb4d-40ce-a762-6201a7611cb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...