Hi,
parser
Seeking feedback on possible application of dojox.gfx
- Login or register to post comments
- Read more
- Subscribe post
Problems when dynamically adding dijits to a form
I'm fairly new to Dojo, but wasn't able to find any information on this by searching (perhaps my search-fu is weak).
I'm attempting to have some local javascript add a second set of fields to a form. After running the function that adds them (and calls the parser), they work fine, but the previously generated versions get broken.
You can see the problem here:
http://geeklair.net/~dluke/dojo_problem.html
Here's an excerpt of the code:
dojo.require("dijit.form.Form");
dojo.require("dijit.form.TextBox");
Hiding page elements while widgets parsing (IE6)
Hi all.
Let me describe the problem.
First of all - let's go through dojo widgets' (dijit) rendering process. It consists of 2 basic steps:
1st: parser searches whole page (if parseOnLoad = true) or custom element (if parseOnLoad = false and we're invoking dojo.parser.parse manually) for 'dojo-compatible' elements (I mean dojoType='...' and so on).
2nd: It replaces old elements with the new ones ()
2nd_a: we are happy - we can use awesome dojo widgets
BUT:
Trouble subclassing Moveable when using parser?
I believe I've found a bug in Dojo 1.1.1, where objects instantiated using the parser cannot be successfully subclassed. My demo code subclasses dojo.dnd.Moveable so that the objects start in random positions on the screen. I include two versions: one that works (using addOnLoad()), and one that doesn't (using the parser).
Markdown parser progressing
I continue working on Markdown parser and for now it already supports:
- span elements (bold, italic, inline images links and code)
- settext and atx headers
- code blocks
- blockquotes, partly supported for now (in some cases output differs from original Markdown output)
- horizontal rules
- backslash escaping for special chars (\*, \`, etc)
Markup previews project: basic parser implemented
This week I was working on a parser implementation and made some progress.
The parser I implemented consists of language definition part (where all tokens are defined), function definitions which process a particular token and a scanner that processes text, detects tokens and applies these functions.
- propeller's blog
- Login or register to post comments
- Read more
- Subscribe blog
- Unsubscribe post
Markup previews project: status report
The previous week was really hard for me. I had to do a lot of university stuff,
so unfortunately I had no chance to spend much time on my project.
But I did some research earlier though.
- propeller's blog
- Login or register to post comments
- Read more
- Subscribe blog
- Subscribe post
ToolTipDialog
I am working with the ToolTipDialog dijit and am having some problems putting more than one on a page. I am populating a div using ajax and innerHTML, in the html there is a table containing a drop down button in one column, after the html is set i am calling parser.parse(). When there are mutiple rows in the table i used a unique id for each ToolTipDialog dijit to avoid javascript errors for having multiple dialogs with the same id. The problem comes after the parser is finished.
aSynch problems during initial parsing in IE?
I hope I've posted this in the correct forum. After looking at other posts it seems like it would get moved here even if I posted in the dijit forums initially.
I have a significant amount of experience with Dojo and am currently developing a set of widgets that will allow users to configure shipping options for eBay listings with a third party listing application. I will see if I can post a link to the application if needed, but for right now it easier to just describe the problem.
Is it possible to use declarative markup in a template made of just dojo widgets and get it parsed?
Is it possible to use declarative markup in a template that is just constructed of dojo widgets. I've found dojo.parse.parser(element); that will scan all the child contents of the that domNode and create the widgets but it doesn't work if the element passed is itself a widget? Any suggestions? Trying to use just dojo widgets and not apply anything but positioning to them to take advantage of all the support built into them.
// template file source
