Hi,
Can anybody help me out in this
Iam giving my code ,Here Iam using java script
which will call jsp on click of link but when jsp page is opened also loading is
not disappearing
<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> <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
<inputElements.length;i++){
// inputCtrl = inputElements[i]; // var strs = inputCtrl.value; // break; //} //alert (strs); var s= window.open('/tunnel-web/Tiff.jsp?guid='+strs+'&index=1', '_blank', 'resizable=yes,maximized=yes'); }
</xhtml:script>
Thanks in advance,
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. |
Hi Can anybody help me out in this,
How can i highlight a xxforms:menu in xforms:select1 on selecting
the dropdown or menu
Iam sending my code
<xforms:group bind="PEID">
<xforms:select1 ref="instance('main-instance')/root/records/status" appearance="xxforms:menu" > <xforms:item> <xforms:label>Owner</xforms:label> <xforms:value>1</xforms:value> </xforms:item> <xforms:item> <xforms:label>Additional Owner</xforms:label> <xforms:value>2</xforms:value> </xforms:item> <xforms:item> <xforms:label>Insured</xforms:label> <xforms:value>3</xforms:value> </xforms:item> <xforms:item> <xforms:label>Second Insured</xforms:label> <xforms:value>4</xforms:value> </xforms:item> <xforms:item> <xforms:label>Premium Payor</xforms:label> <xforms:value>5</xforms:value> </xforms:item> <xforms:item> <xforms:label>Collateral Assignment</xforms:label> <xforms:value>6</xforms:value> </xforms:item> <xforms:item> <xforms:label>MEC/Tax</xforms:label> <xforms:value>7</xforms:value> </xforms:item> <xforms:item> <xforms:label>Other/Triggers</xforms:label> <xforms:value>8</xforms:value> </xforms:item> <xforms:action ev:event="xforms-value-changed"> <xforms:setvalue ref="instance('edit-request-instance')/status" value="0" /> <xforms:setvalue ref="instance('main-instance')/request/status" value="0" /> </xforms:action> </xforms:select1> Thanks in advance,
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. |
Free forum by Nabble | Edit this page |