RE:Loading not Disappearing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RE:Loading not Disappearing

Reddy, Gopikrishna
Hi ,
Iam new to Orbeon Can anyone help me in this
This is my code
 
Here Iam using an Hyperlink on click of this hyperlink iam opening jsp in new window for this iam writing my code in java script.
 
Here Jsp opens in new window Problem is after opening the Jsp in new window Loading is not disappearing it remains like that only.
 
<xhtml:script type="text/javascript">
  var inputCtrl,inputName;
  var worktype
  function jsFunction()
  {alert("hello world");

 //var inputElements = document.getElementsByTagName("textarea");  
               
  //alert ("sriram:" + inputElements.length);
  //for(var i=0;i &lt;inputElements.length;i++){
  // inputCtrl = inputElements[i];
  // var strs = inputCtrl.value;
                 //       break;
  //}
  //alert (strs);
//var s= window.open('/tunnel-web/Tiff.jsp?guid='+strs+'&amp;index=1', '_blank', 'resizable=yes,maximized=yes');
  }
  </xhtml:script>
Seshaiah, R Ve...   <td>
   <!-- <a href="#" onclick="window.open('/tiff_viewer/tiff.jsp?guid={docid}&amp;index=1', '_blank', 'resizable=yes,maximized=yes');return false;"><font bgcolor="blue"><xforms:output ref="docid"/></font>
   </a>  -->
  <xforms:group>
<xforms:trigger  appearance="xxforms:link">
<xforms:label><xforms:output  ref="docid"/></xforms:label>
<xforms:action ev:event="DOMActivate">
<xforms:setvalue ref="instance('edit-request-instance')/lookupvar" value="instance('main-instance')//records/record2[index('repeat')]/docid"/>
<xforms:load  resource="javascript:jsFunction()" />
</xforms:action>
</xforms:trigger>
</xforms:group> 
 
 
 
Thanks in Advacne,
K Gopikrishna Reddy
This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE:Loading not Disappearing

ilangostl
Hi Gopi
Can you post a sample that we can test in the sandbox?

thanks
ilango

On Tue, May 27, 2008 at 7:58 AM, Reddy, Gopikrishna <[hidden email]> wrote:
Hi ,
Iam new to Orbeon Can anyone help me in this
This is my code
 
Here Iam using an Hyperlink on click of this hyperlink iam opening jsp in new window for this iam writing my code in java script.
 
Here Jsp opens in new window Problem is after opening the Jsp in new window Loading is not disappearing it remains like that only.
 
<xhtml:script type="text/javascript">
  var inputCtrl,inputName;
  var worktype
  function jsFunction()
  {alert("hello world");

 //var inputElements = document.getElementsByTagName("textarea");  
               
  //alert ("sriram:" + inputElements.length);
  //for(var i=0;i &lt;inputElements.length;i++){
  // inputCtrl = inputElements[i];
  // var strs = inputCtrl.value;
                 //       break;
  //}
  //alert (strs);
//var s= window.open('/tunnel-web/Tiff.jsp?guid='+strs+'&amp;index=1', '_blank', 'resizable=yes,maximized=yes');
  }
  </xhtml:script>
Seshaiah, R Ve...   <td>
   <!-- <a href="#" onclick="window.open('/tiff_viewer/tiff.jsp?guid={docid}&amp;index=1', '_blank', 'resizable=yes,maximized=yes');return false;"><font bgcolor="blue"><xforms:output ref="docid"/></font>
   </a>  -->
  <xforms:group>
<xforms:trigger  appearance="xxforms:link">
<xforms:label><xforms:output  ref="docid"/></xforms:label>
<xforms:action ev:event="DOMActivate">
<xforms:setvalue ref="instance('edit-request-instance')/lookupvar" value="instance('main-instance')//records/record2[index('repeat')]/docid"/>
<xforms:load  resource="javascript:jsFunction()" />
</xforms:action>
</xforms:trigger>
</xforms:group> 
 
 
 
Thanks in Advacne,
K Gopikrishna Reddy
This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws