struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Thompson <elephant...@gmail.com>
Subject Re: Pulling up data in a pop up window
Date Fri, 04 Nov 2011 13:12:27 GMT
4.  Antara, why did you forward your message to
struts-user-unsubscribe@jakarta.apache.org and
struts-user-help@jakarta.apache.org??!?  That's a move that doesn't make
any sense.

Brian



On Fri, Nov 4, 2011 at 8:07 AM, Brian Thompson <elephantium@gmail.com>wrote:

> First, I'd say this isn't really a Struts question.
> Second, it looks like you're not submitting the data in the current page
> to the page you're calling in window.open.
> Third, ew.  Using a popup is usually a pretty user-hostile design choice
> (people get confused about why the Back button is suddenly broken).
>
> Brian
>
>
>
>
> On Fri, Nov 4, 2011 at 4:37 AM, ANTARA PAUL CHOUDHURY (IT DEPT.) <
> antara.choudhury@rosevalleyindia.com> wrote:
>
>> I am trying to pull up a new window by using window.open.I used the
>> following function:
>>
>>
>> function tosubmit(){
>>
>>  if (document.forms[0].condition.checked == true){
>>
>>
>>  window.open("/RoseValley/newrenewalbusiness.do?print=Y","","toolbar=no,menubar=no,height=700,width=900,left=60,top=0,scrollbars=yes");
>>   document.forms[0].submit();
>>
>>   }else{
>>
>>    document.forms[0].action = '/RoseValley/newrenewalbusiness.do?print=N';
>>      document.forms[0].submit();
>>
>>   }
>>  return true;
>>  }
>>
>>
>>
>>
>> It opens the page okay when I click on the button but I also want to pull
>> up the data from the same action.Unfortunately it does not show the data in
>> the pop up window.Please let me know what I am doing wrong.
>>
>>
>>
>>
>> Thanking you in advance
>>
>>
>> Regards
>>
>>
>> Antara C
>>
>>
>> This message and the information contained herein is proprietary and
>> confidential and subject to theRose Valleyemail policy statement, You may
>> review the policy athttps://www.rosevalleyindia.com/emailprivacy
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message