RE: submitting back to opener page

2003-06-26 Thread El Harouchi, Jaafar [IT]
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

RE: iteration to create dynamic form

2003-06-25 Thread El Harouchi, Jaafar [IT]
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

RE: submitting back to opener page

2003-06-25 Thread El Harouchi, Jaafar [IT]
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

RE: How To Render Binary Output - spreadsheet - from Struts

2003-06-25 Thread El Harouchi, Jaafar [IT]
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

RE: Download files over HTTPS

2003-06-24 Thread El Harouchi, Jaafar [IT]
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

RE: Object-oriented encapsulation in Struts - merging Actions and ActionForms

2003-06-24 Thread El Harouchi, Jaafar [IT]
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

RE: Struts-menu

2003-06-23 Thread El Harouchi, Jaafar [IT]
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

RE: [FRIDAY] SIA Trivia Game - Re: [ANNOUNCEMENT] Struts 1.1 Release Candidate 2 released

2003-06-22 Thread El Harouchi, Jaafar [IT]
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

RESOLVED RE: Path Info for downloaded files

2003-06-19 Thread El Harouchi, Jaafar [IT]
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

RE: DispatchAction?

2003-06-18 Thread El Harouchi, Jaafar [IT]
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:

Path Info for downloaded files

2003-06-18 Thread El Harouchi, Jaafar [IT]
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

RE: Struts Menu question

2003-06-17 Thread El Harouchi, Jaafar [IT]
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

RE: struts menu 1.2 question

2003-06-16 Thread El Harouchi, Jaafar [IT]
, 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

RE: struts menu 1.2 question

2003-06-16 Thread El Harouchi, Jaafar [IT]
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

RE: [OT] Application Security

2003-06-11 Thread El Harouchi, Jaafar [IT]
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

RE: readonly of text

2003-06-10 Thread El Harouchi, Jaafar [IT]
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

RE: StrutsMenu 1.2?

2003-06-09 Thread El Harouchi, Jaafar [IT]
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

RE: StrutsMenu 1.2?

2003-06-09 Thread El Harouchi, Jaafar [IT]
+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

RE: New York City Struts Group

2003-03-25 Thread El Harouchi, Jaafar [IT]
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

RE: [FRIDAY] List of sites using Struts

2003-03-14 Thread El Harouchi, Jaafar [IT]
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---