Skip to main content

dcontainer does not load any content

3 replies [Last post]
gkuser
Offline
Joined: 2006-04-05
Points: 0

hello everybody,

i'm trying to use a dcontainer which will load a url when a hyperlink is clicked :
here is the code:

click to change contents

....

from the jmaki debug div i see that an event is published, but not ajax request is done and of course no content is loaded...

thanx for the help....

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gkuser
Offline
Joined: 2006-04-05
Points: 0

i'm unforgivable.i don't know how to post this message:

click to load contents

gkuser
Offline
Joined: 2006-04-05
Points: 0

ok i'm really sorry for what the message looks like...

if you want to have a hyperlink that when clicked the contents of a dcontainer is loaded here is the code:



gkuser
Offline
Joined: 2006-04-05
Points: 0

after some digging in the component.js i found that the hyperlink should be like that


click to change content

that is the correct event is [b]/test/dcontainer/setInclude[/b] and the arguments object should contain a [b]value[/b] attribute with the page to include