ModalDialog with Scroller and dynamic Content

edited September 2012 in Enyo 1.0
Hi, I'm trying to accomplish an Enyo 1 app for the Pre(s) but do constantly fail to implement a modal dialog with a scroller and dynamic content. As per https://developer.palm.com/distribution/viewtopic.php?f=11&t=17199 a solution should exist, but I can't get it to work.

Parts of my code so far:
enyo.kind({
name: "ErrorDialog",
kind: "ModalDialog",
lazy: false,
caption: '',
contentHeight:"100%",
width:"80%",
height:"80%",

components: [
{ name: "scroller", kind: "BasicScroller", style: "height:225px",
autoVertical:true, components: [
{ name: "message", className: "enyo-paragraph",
allowHtml: true },
{ kind: "Spacer" },
{ name: "acceptButton", kind: "Button",
className: "enyo-button-affirmative", onclick: "acceptClick" }
]}
],
....
Any hints?

Comments

Sign In or Register to comment.