I having a problem loading a form into an accordion pane. The form is defined in an external html document that I am loading via the href attribute on the accordion pane. I can open the panel1.html document directly and no errors are reported by by firebug. However, when I embed the form in an accordion pane, I get the following error from firebug and the form doesn't render correctly. I've noticed that if I include the dojo.require()'s that are declared in panel1.html directly in accordion.html then things seem go better.
accordionpane
Problem loading a form into an accordion pane...
- Login or register to post comments
- Read more
- Unsubscribe post
layout widgets overlap inside AccordionPane
I'm trying to align some form fields within an accordion pane, and I'm not allowed to use html table. I tried using LayoutContainer or SplitContainer and ContentPane, but the ContentPane's all overlap. Is there a solution?
Trouble with dynamic creation of AccordionPanes
I have some script that programatically creates AccordionPanes based on information it finds via a datastore. I inserted in some alerts such that I could debug the code. It works with the alert in place ... however when I remove the alert statement, only one of the AccordionPanes (the selected one) is visible. I have looked at the generated page source, and the other AccordionPanes are being generated .. they just are not visible.
Here is my script:
dojo.addOnLoad(function() {
// Get the datasource description for the accordion panes
Problem with AccordionPane for some scenarios - layout function
There is an “InvalidArgument”error when we are using AccordionPane for some scenarios. It looks like the layout function is causing the problem where the following calculation results a negative value for InternetExplorer (IE). However for other browsers it works fine.
“this._verticalSpace = (mySize.h - totalCollapsedHeight);”
Why this is returning a negative value for IE?
I have attached a sample HTML pages for testing this. Just try to load the Sample_index.html. You cant see the right hand side AccordionPane is not loading.
Sample_index.html
AccordionContainer layout update not calling children layout
Why doesn't the children resize when I do the following? The main accordion container adapts but the accordion panes stay the exact same size.
This is the code after I set new content into a neighboring contentpane setting the heigh of the parent div.
var accordion = dijit.byId('my_accordion_div_id');
if(accordion){
accordion.layout();
}Putting a Grid Widget in a hidden AccordionPane
Hi. I have a strange situation where I put a Grid Widget inside an AccordionPane that is initially hidden. It should be of no surprise to anyone that when the AccordionPane is selected, the Grid widget is not dispalyed properly. (On my browser, it looks like the grid widget is smashed into a as small of a space as possible)
LayoutWidget(s) inside of accordianPane fix
While working with Layout Widgets i noticed that if there are layout items within an accordionPane they do not get resized or have their layout correctly rendered. Looking into the source code it appears that it is a todo item to have the accordionPane call the resize function of its nested containers. Below are the changes i made to have the child layouts resize.
Be warned, I have not fully tested the solution on all cases!
Styling multiple accordions differently
I have a UI requirement that forces me to have on the same page two accordions. Additionally the request is that I style them differently. In the 0.3.x days there were two AccordionPane attributes that could be used to provide a hook. They were containerNodeClass and labelNodeClass. Using these two attributes each accordion pane could have a different look to them.
How can I accomplish something similar?
Thanks
- Login or register to post comments
- Unsubscribe post
Text box in Accordian pane
When i place a Text box in an accordion container with some text in it and try to move the cursor in the textbox using Left and Right arrow keys of the keyboard, the accordion pane animation happens rather than the cursor to move inside the text box.
Is this the normal behavior of this widget? If not how to avoid this?
- Login or register to post comments
- Unsubscribe post
