Plugin complains about missing ajax placeholder:


Ajax action refers to unknown object with id, please create a template, placeholder or element with proper ‘id’
attribute: content

The placeholder is defined in a different module; program compiles fine.

Submitted by Eelco Visser on 7 June 2010 at 17:19

On 7 June 2010 at 17:20 Nathan Bruning commented:

This was a known problem in the first editor version, but should have been fixed since. What WebDSL editor plugin version are you using? Maybe sample code could help too.


On 7 June 2010 at 20:13 Eelco Visser commented:

I updated to the latest version this afternoon.


define newCourseLink() {
action showForm() { replace(content, newCourse()); }
form{ actionLink(“[New Course]”, showForm())[ajax] }
}

in https://svn.strategoxt.org/repos/department/trunk/course/course-ui.app


On 8 June 2010 at 16:11 Nathan Bruning commented:

Fixed in r3975.

Containers with an ‘id’ property assignment were not declared in the editor.


On 8 June 2010 at 16:11 Nathan Bruning closed this issue.

On 9 June 2010 at 13:49 Lennart Kats closed this issue.

On 9 June 2010 at 13:49 YellowGrass commented:

Issue has been moved to WebDSL / Issue 169

Log in to post comments