HELP? The only thing that I can think of is that the statement....
<html:link action="/AttachmentAction.do?" paramId="attachment_id"
paramName="mutableForm" paramProperty="attachment_id"
target="ResumeAttachment">
...is doing something that the javascript....
childWindow=window.open( 'AttachmentAction.do?attachment_id='+id, name,
'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=790,height=600');
...isn't doing. And that is why it works and the js does not. ?
ANYONE KNOW WHAT THE DIFFERENCE IS?
-Eric
Eric Lemle wrote:
> Can anyone tell me why this....
>
> <a href="/physrcrtadmin/AttachmentAction.do?&attachment_id=341"
> target="ResumeAttachment">VeselovaNataliaECV.doc</a>
>
> ....works perfectly.
>
>
> But this.....
>
> function printAttachment( id, name )
> {
> childWindow.focus();
> }
> which is called with...
>
> if(document.forms[0].printCV.checked==true ||
> document.forms[0].printAllAttachments.checked==true) {
> printAttachment( '341', 'printCV');
> }
>
> ....throws an error messages saying it can find the file.
>
>
> ?
>
>
>
>
> Eric D. Lemle
> Senior Programmer / Analyst
> Intermountain Health Care
> 36 South State Street, Suite 1100
> Salt Lake City, Utah 84111
> United States of America (USA)
> (801) 442-3688 -- e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]