Try:
opener.document.forms[0].submit();
If that doesn't work, debug by doing
alert(opener.document.forms[0]);
We have this working in IE 5+, NS 4.7+
HTH
-jaafar
-Original Message-
From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 4:50 AM
To: [EMAI
try with multibox instead of checkbox:
http://jakarta.apache.org/struts/struts-html.html#multibox
-jaafar
-Original Message-
From: Piers Dunleavy [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 2:32 AM
To: Struts Users Mailing List
Subject: iteration to create dynamic form
If you want to submit the form in the original page, you can try javascript
like:
window.opener.document.forms[0].submit();
If you need to first set some values from the child window:
window.opener.document.forms[0].elements["field name"].value =
HTH
-jaafar
ps: Matt will probably
And I highly recommend first doing:
response.reset();
if you are using HTTPS.
-jaafar
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 4:47 PM
To: 'Struts Users Mailing List'
Subject: RE: How To Render Binary Output - spreadsheet - fro
I had exactly the same problem.
Try first doing : response.reset()
If this doesn't work then you can try:
Adding 8192 bytes to be sure that IE shows the document:
ostream.write(new byte[8192]);
Setting contentlength: response.setContentLength(data.length+8192);
Flushing the buffe
Dan,
You could treat the ActionForm similar to Transfer Objects, which is a
completely valid pattern. Furthermore, they are self-contained in the sense
that they know how to validate and reset themselves.
Actions have a one to many relationship with ActionForms, since there is one
Action servici
The menu repository is stored in the application context.
Look at the plugin (i'm on struts 1.0 so load it through a startup servlet).
What you do on every page is use a tag library to invoke the appropriate
displayer which renders the menu.
What you do store in the session, or wherever is appropri
I'm reading this right now.
-jaafar
-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 22, 2003 1:06 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] SIA Trivia Game - Re: [ANNOUNCEMENT] Struts 1.1
Release Candidate 2 released
> "The mother of severa
We resolved the download issue by first doing:
response.reset();
I would still be interested in how to set the Path Info.
thanks,
jaafar
-Original Message-
From: El Harouchi, Jaafar [IT]
Sent: Thursday, June 19, 2003 1:01 AM
To: [EMAIL PROTECTED]
Subject: Path Info for downloaded
Try
in your submit or url: onclick=setMethod(this.form, 'whatever');
A. function setMethod(form, method) {
form.action = form.action + "?dispatchMethod=" + method;
}
or B. have a hidden field and correspong ActionForm field
mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 1:
Hi,
I've been trying to get generated PDF and CSV files to be downloaed by my actions but
can't get it to work in IE using HTTP 1.0 when my app is behind the corporate portal.
It works when accessed directly through the app (but not when I try to reach the
action by putting the full url).
I'm
Filip,
You can definitely do that.
Your menu definitions are in the xml configuration file, but the logic for
determining which ones to display and how to display them is handled by the
MenuDisplayers. The MenuDisplayers can have a PermissionsAdapter which
encapsulates entitlement logic.
Look at
, and may be any
level down, also i want the menu to be displayed on
left side if it reaches end of screen
do u have some code sample for writing these
displayers and java script
--- "El Harouchi, Jaafar [IT]"
<[EMAIL PROTECTED]> wrote:
> We have up to three levels down, but use o
We have up to three levels down, but use our own displayers/javascript.
How many levels down are you going?
-jaafar
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: struts menu 1.2 question
Hi,
has anyo
So what problem are you trying to address:
1) Users accessing data they are not entitled to access?
2) Users accessing data they are entitled to access, but in an automated
manner which allows them to datamine, etc?
3) General hacks?
#1 is what we usually deal with, storin
Check: http://jakarta.apache.org/struts/userGuide/struts-html.html#text
It supports both readonly and disabled.
So try something like:
-jaafar
-Original Message-
From: lcl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 10:47 PM
To: [EMAIL PROTECTED]
Subject: readonly of te
Try:
http://sourceforge.net/projects/struts-menu/
http://www.raibledesigns.com/struts-menu/index.jsp
-jaafar
-Original Message-
From: Nimish Chourey , Tidel Park - Chennai
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 8:59 AM
To: Struts Users Mailing List
Subject: R
+1 for Struts Menu.
We were able to plug in our custom authentication seamlessly and just had to
write a couple of displayers to get the look and feel we needed.
Highly recommended and it is still being enhanced.
-jaafar
-Original Message-
From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
S
One newbie here interested
-jaafar
-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:22 PM
To: Struts Users Mailing List
Subject: New York City Struts Group
How many people would be intrested in the formation of a New York City
Struts User gr
You can add Citigroup.
It is a Recommended Technology here, but we only have 1.0.2. I'm waiting
for 1.1 to become an official release to try to have it added as a supported
version.
cheers,
Jaafar
Jaafar El Harouchi
Sr. Programmer/Analyst
Salomon Smith Barney / Citigroup
-Original Message---
20 matches
Mail list logo