This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 13, 2011, 8:57 AM
261 Posts

Re: Script in repeat control

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role:
  • Tags: repeat control,CSJS,display
  • Replies: 3
Hi,
 
From what I read it seems like the block is shown by the clientside script and after that a partial refresh is called causing the block's visibility to go back to it's initial (hidden) state. Did you set the "Server Options" of the button/ link to "No update"? You might want to check with (for instance) Firebug if my assumption is correct.

If that's not the case:could you provide some additional information about your situation?
 
- is there a "show more" button/ link for every entry in the repeat?
- does every entry have it's own hidden block/ div with extra information?
 
Mark

 

 
Apr 13, 2011, 9:01 AM
261 Posts
Re: Script in repeat control
Sorry: "No update" should of course be "No submission"...
Apr 13, 2011, 9:57 AM
29 Posts
Re: Script in repeat control
Hi, Mark!
You were right, I had "partial update" for the block (it is a panel in fact). And after I've set "No submit" it looks like it works just fine for now. Thanks for your help!
 
However I remember that initially I also had submission turned off, and the script worked correctly only when the first page was selected on the pager attached to the repeat control. And when I got to the 2nd or 3rd page the block started blinking.
When I looked it in FireBug console I saw this:
when I clicked the link from the 1st page I got : POST https:// bla bla bla ... and in parameters there was "$$ajaxid @none"
when I clicked the link from 2nd or 3rd page I got: "$$ajaxid view:_id1"  and the block started blinking,
when I got back to page 1 the "$$ajaxid view:_id1" was still there and the block was blinking.


Anyway, I hope that it will not come up again. Thanks again for help!
Ruslan 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal