Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dojo plugin: sx:bind doesn't work in the rerendered div.

 
Boris Romashov
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is that I can't make sx:bind work if it lays in the div that was rerendered using another sx:bind.

Here is short example.

main.jsp:

myAction.jsp:

header.jsp

myAction results to myAction.jsp.

What I want to get:
Step 1. I get page main.jsp.
Step 2. I click Submit. myAction works and myAction.jsp is rendered in the div1.
Step 3. I click Submit1. myAction works and myAction.jsp is rendered in the div2.

What I get really:
Steps 1,2 work fine, but when I click submit1 nothing happens.

If I use sx:submit instead of s:submit and sx:bind everything works fine. But I want to use sx:bind.
 
Roberto Hernandez
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having the same issue. I'm using sx:bind inside a sx:tabbedpanel and it's not binding the data to any events. I've tested the same code outside the tabbed panel and it works fine, it's only when using it inside the tabs that it fails. Please help!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic