You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric Lemle <er...@ihc.com> on 2005/03/02 23:35:17 UTC

RE:
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?&amp;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: Eric.Lemle@IHC.com 




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org 
For additional commands, e-mail: user-help@struts.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org 
For additional commands, e-mail: user-help@struts.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org