Re: [tw] Re: [TW5] - Error when adding button to PageTemplate

2013-11-19 Thread Ton Gerner
Hi Jeremy,

Even 'Edit', 'Done' gives the error.

Cheers,

Ton

On Tuesday, November 19, 2013 4:29:22 PM UTC+1, Ton Gerner wrote:

 Jeremy,

 With alpha15 the error is still there; even adding only a newline gives 
 the Javascript error.

 Cheers,

 Ton

 On Friday, November 15, 2013 9:00:38 PM UTC+1, Ton Gerner wrote:

 Great

 On Friday, November 15, 2013 8:51:37 PM UTC+1, Jeremy Ruston wrote:



 Do you plan to do that for other parts as well?


 Yes, we shall make everything extensible with the same technique: the 
 edit template, the tiddler toolbar, etc.

 Best wishes

 Jeremy

  

 E.g. I looked a little bit into http://tw5gray.tiddlyspot.com/ from 
 Bob Robison and saw he modified $:/core/ui/ViewTemplate/title and 
 $:/core/modules/widgets/navigator.js 
 for adding buttons and tooltips.
 It will be easier in these cases as well to modify the behaviour of 
 these parts. Controlled by tags it already works comfortable for 
 stylesheet 
 and adding tabs to Control Panel, SideBar, TiddlerInfo, ...

 Cheers,

 Ton
  


 Best wishes

 Jeremy


 On Fri, Nov 15, 2013 at 11:02 AM, Ton Gerner ton.g...@gmail.comwrote:

 Hi Jeremy,

 Missed my post?

 Cheers,

 Ton


 On Thursday, November 14, 2013 1:42:57 PM UTC+1, Ton Gerner wrote:

 @Jeremy,

 I think every change to $:/core/ui/PageTemplate gives the error.
 E.g. adding an extra newline at the end of the PageTemplate gives 
 the same error.

 Cheers,

 Ton

 On Thursday, November 14, 2013 10:55:46 AM UTC+1, Ton Gerner wrote:

 Hi Jeremy,

 Trying to add a button (for Josh [1]) to $:/core/ui/PageTemplate 
 (empty alpha14, after the 'Save' button), I got a Javascript error:

 uncaught exception: node not found in parents childeren

 Button definition:

 $button message=tw-new-tiddler class=btn-invisible 
 param=MyTaskSkeletonTiddlerT/$button

 Even duplicating the 'new tiddler' button gave the same error.

 I don't get the error in alpha10.

 Bug?

 Cheers,

 Ton

 [1] https://groups.google.com/d/msg/tiddlywiki/0-nO70xynH0/wZ6Ng
 bYNADoJ

  -- 
 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 tiddl...@googlegroups.com.

 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com
  



 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com
  


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] - Error when adding button to PageTemplate

2013-11-19 Thread Jeremy Ruston
Hi Ton

On Tue, Nov 19, 2013 at 3:29 PM, Ton Gerner ton.ger...@gmail.com wrote:

 Jeremy,

 With alpha15 the error is still there; even adding only a newline gives
 the Javascript error.


Yes, I haven't fixed the bug (yet - it's just that it involves a bit of
replumbing). Meanwhile, tag-ifying the page template hopefully reduces the
impact of the bug.

Best wishes

Jeremy.




 Cheers,

 Ton


 On Friday, November 15, 2013 9:00:38 PM UTC+1, Ton Gerner wrote:

 Great

 On Friday, November 15, 2013 8:51:37 PM UTC+1, Jeremy Ruston wrote:



 Do you plan to do that for other parts as well?


 Yes, we shall make everything extensible with the same technique: the
 edit template, the tiddler toolbar, etc.

 Best wishes

 Jeremy



 E.g. I looked a little bit into http://tw5gray.tiddlyspot.com/ from
 Bob Robison and saw he modified $:/core/ui/ViewTemplate/title and
 $:/core/modules/widgets/navigator.js for adding buttons and tooltips.
 It will be easier in these cases as well to modify the behaviour of
 these parts. Controlled by tags it already works comfortable for stylesheet
 and adding tabs to Control Panel, SideBar, TiddlerInfo, ...

 Cheers,

 Ton



 Best wishes

 Jeremy


 On Fri, Nov 15, 2013 at 11:02 AM, Ton Gerner ton.g...@gmail.comwrote:

 Hi Jeremy,

 Missed my post?

 Cheers,

 Ton


 On Thursday, November 14, 2013 1:42:57 PM UTC+1, Ton Gerner wrote:

 @Jeremy,

 I think every change to $:/core/ui/PageTemplate gives the error.
 E.g. adding an extra newline at the end of the PageTemplate gives
 the same error.

 Cheers,

 Ton

 On Thursday, November 14, 2013 10:55:46 AM UTC+1, Ton Gerner wrote:

 Hi Jeremy,

 Trying to add a button (for Josh [1]) to $:/core/ui/PageTemplate
 (empty alpha14, after the 'Save' button), I got a Javascript error:

 uncaught exception: node not found in parents childeren

 Button definition:

 $button message=tw-new-tiddler class=btn-invisible
 param=MyTaskSkeletonTiddlerT/$button

 Even duplicating the 'new tiddler' button gave the same error.

 I don't get the error in alpha10.

 Bug?

 Cheers,

 Ton

 [1] https://groups.google.com/d/msg/tiddlywiki/0-nO70xynH0/wZ6Ng
 bYNADoJ

  --
 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 tiddl...@googlegroups.com.

 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Jeremy Ruston
 mailto:jeremy...@gmail.com




 --
 Jeremy Ruston
 mailto:jeremy...@gmail.com




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] - Error when adding button to PageTemplate

2013-11-15 Thread Ton Gerner
Hi Jeremy,

Missed my post?

Cheers,

Ton

On Thursday, November 14, 2013 1:42:57 PM UTC+1, Ton Gerner wrote:

 @Jeremy,

 I think every change to $:/core/ui/PageTemplate gives the error.
 E.g. adding an extra newline at the end of the PageTemplate gives the same 
 error.

 Cheers,

 Ton

 On Thursday, November 14, 2013 10:55:46 AM UTC+1, Ton Gerner wrote:

 Hi Jeremy,

 Trying to add a button (for Josh [1]) to $:/core/ui/PageTemplate (empty 
 alpha14, after the 'Save' button), I got a Javascript error:

 uncaught exception: node not found in parents childeren

 Button definition:

 $button message=tw-new-tiddler class=btn-invisible 
 param=MyTaskSkeletonTiddlerT/$button

 Even duplicating the 'new tiddler' button gave the same error.

 I don't get the error in alpha10.

 Bug?

 Cheers,

 Ton

 [1] https://groups.google.com/d/msg/tiddlywiki/0-nO70xynH0/wZ6NgbYNADoJ



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] - Error when adding button to PageTemplate

2013-11-15 Thread Ton Gerner
Hi Jeremy,

On Friday, November 15, 2013 6:10:55 PM UTC+1, Jeremy Ruston wrote:

 Hi Ton

 Apologies for not replying sooner. 

 
No problem. I thought it was a serious problem. Therefore I asked if you 
missed the post.

I can confirm the problem, and am working on a fix. I also plan to refactor 
 the sidebar so that the page controls are governed by a $:/tags/PageControl 
 tag, making it possible to add new page controls without having to modify 
 the page template.


That sounds great but brings me to the following question:

Do you plan to do that for other parts as well?
E.g. I looked a little bit into http://tw5gray.tiddlyspot.com/ from Bob 
Robison and saw he modified $:/core/ui/ViewTemplate/title and 
$:/core/modules/widgets/navigator.js 
for adding buttons and tooltips.
It will be easier in these cases as well to modify the behaviour of these 
parts. Controlled by tags it already works comfortable for stylesheet and 
adding tabs to Control Panel, SideBar, TiddlerInfo, ...

Cheers,

Ton
 


 Best wishes

 Jeremy


 On Fri, Nov 15, 2013 at 11:02 AM, Ton Gerner ton.g...@gmail.comjavascript:
  wrote:

 Hi Jeremy,

 Missed my post?

 Cheers,

 Ton


 On Thursday, November 14, 2013 1:42:57 PM UTC+1, Ton Gerner wrote:

 @Jeremy,

 I think every change to $:/core/ui/PageTemplate gives the error.
 E.g. adding an extra newline at the end of the PageTemplate gives the 
 same error.

 Cheers,

 Ton

 On Thursday, November 14, 2013 10:55:46 AM UTC+1, Ton Gerner wrote:

 Hi Jeremy,

 Trying to add a button (for Josh [1]) to $:/core/ui/PageTemplate (empty 
 alpha14, after the 'Save' button), I got a Javascript error:

 uncaught exception: node not found in parents childeren

 Button definition:

 $button message=tw-new-tiddler class=btn-invisible 
 param=MyTaskSkeletonTiddlerT/$button

 Even duplicating the 'new tiddler' button gave the same error.

 I don't get the error in alpha10.

 Bug?

 Cheers,

 Ton

 [1] https://groups.google.com/d/msg/tiddlywiki/0-nO70xynH0/wZ6NgbYNADoJ

  -- 
 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 javascript:.
 To post to this group, send email to tiddl...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:
  

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] - Error when adding button to PageTemplate

2013-11-15 Thread Jeremy Ruston

 Do you plan to do that for other parts as well?


Yes, we shall make everything extensible with the same technique: the edit
template, the tiddler toolbar, etc.

Best wishes

Jeremy



 E.g. I looked a little bit into http://tw5gray.tiddlyspot.com/ from Bob
 Robison and saw he modified $:/core/ui/ViewTemplate/title and 
 $:/core/modules/widgets/navigator.js
 for adding buttons and tooltips.
 It will be easier in these cases as well to modify the behaviour of these
 parts. Controlled by tags it already works comfortable for stylesheet and
 adding tabs to Control Panel, SideBar, TiddlerInfo, ...

 Cheers,

 Ton



 Best wishes

 Jeremy


 On Fri, Nov 15, 2013 at 11:02 AM, Ton Gerner ton.g...@gmail.com wrote:

 Hi Jeremy,

 Missed my post?

 Cheers,

 Ton


 On Thursday, November 14, 2013 1:42:57 PM UTC+1, Ton Gerner wrote:

 @Jeremy,

 I think every change to $:/core/ui/PageTemplate gives the error.
 E.g. adding an extra newline at the end of the PageTemplate gives the
 same error.

 Cheers,

 Ton

 On Thursday, November 14, 2013 10:55:46 AM UTC+1, Ton Gerner wrote:

 Hi Jeremy,

 Trying to add a button (for Josh [1]) to $:/core/ui/PageTemplate
 (empty alpha14, after the 'Save' button), I got a Javascript error:

 uncaught exception: node not found in parents childeren

 Button definition:

 $button message=tw-new-tiddler class=btn-invisible
 param=MyTaskSkeletonTiddlerT/$button

 Even duplicating the 'new tiddler' button gave the same error.

 I don't get the error in alpha10.

 Bug?

 Cheers,

 Ton

 [1] https://groups.google.com/d/msg/tiddlywiki/0-nO70xynH0/wZ6Ng
 bYNADoJ

  --
 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 tiddl...@googlegroups.com.

 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Jeremy Ruston
 mailto:jeremy...@gmail.com




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] - Error when adding button to PageTemplate

2013-11-15 Thread Ton Gerner
Great

On Friday, November 15, 2013 8:51:37 PM UTC+1, Jeremy Ruston wrote:



 Do you plan to do that for other parts as well?


 Yes, we shall make everything extensible with the same technique: the edit 
 template, the tiddler toolbar, etc.

 Best wishes

 Jeremy

  

 E.g. I looked a little bit into http://tw5gray.tiddlyspot.com/ from Bob 
 Robison and saw he modified $:/core/ui/ViewTemplate/title and 
 $:/core/modules/widgets/navigator.js 
 for adding buttons and tooltips.
 It will be easier in these cases as well to modify the behaviour of these 
 parts. Controlled by tags it already works comfortable for stylesheet and 
 adding tabs to Control Panel, SideBar, TiddlerInfo, ...

 Cheers,

 Ton
  


 Best wishes

 Jeremy


 On Fri, Nov 15, 2013 at 11:02 AM, Ton Gerner ton.g...@gmail.com wrote:

 Hi Jeremy,

 Missed my post?

 Cheers,

 Ton


 On Thursday, November 14, 2013 1:42:57 PM UTC+1, Ton Gerner wrote:

 @Jeremy,

 I think every change to $:/core/ui/PageTemplate gives the error.
 E.g. adding an extra newline at the end of the PageTemplate gives the 
 same error.

 Cheers,

 Ton

 On Thursday, November 14, 2013 10:55:46 AM UTC+1, Ton Gerner wrote:

 Hi Jeremy,

 Trying to add a button (for Josh [1]) to $:/core/ui/PageTemplate 
 (empty alpha14, after the 'Save' button), I got a Javascript error:

 uncaught exception: node not found in parents childeren

 Button definition:

 $button message=tw-new-tiddler class=btn-invisible 
 param=MyTaskSkeletonTiddlerT/$button

 Even duplicating the 'new tiddler' button gave the same error.

 I don't get the error in alpha10.

 Bug?

 Cheers,

 Ton

 [1] https://groups.google.com/d/msg/tiddlywiki/0-nO70xynH0/wZ6Ng
 bYNADoJ

  -- 
 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 tiddl...@googlegroups.com.

 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com
  



 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:
  

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] - Error when adding button to PageTemplate

2013-11-14 Thread Ton Gerner
@Jeremy,

I think every change to $:/core/ui/PageTemplate gives the error.
E.g. adding an extra newline at the end of the PageTemplate gives the same 
error.

Cheers,

Ton

On Thursday, November 14, 2013 10:55:46 AM UTC+1, Ton Gerner wrote:

 Hi Jeremy,

 Trying to add a button (for Josh [1]) to $:/core/ui/PageTemplate (empty 
 alpha14, after the 'Save' button), I got a Javascript error:

 uncaught exception: node not found in parents childeren

 Button definition:

 $button message=tw-new-tiddler class=btn-invisible 
 param=MyTaskSkeletonTiddlerT/$button

 Even duplicating the 'new tiddler' button gave the same error.

 I don't get the error in alpha10.

 Bug?

 Cheers,

 Ton

 [1] https://groups.google.com/d/msg/tiddlywiki/0-nO70xynH0/wZ6NgbYNADoJ



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.