Re: redirectig to WORD files

2005-01-27 Thread Ovidiu EFTIMIE
For the word document to automatically open in the browser you should do this on the client side : - double click on My Computer - Tools menu ->Folder Options -> File Types - Search for the DOC extension and then click on Advanced. Uncheck : Confirm open after download. Ovidiu On Wed, 26 Jan 20

Re: Advise How to set alternative raow background color

2005-01-27 Thread Cedric Levieux
Personnaly for this kind of stuff i've got my own tag that have the hability to iterate and to cycle over given values. - Original Message - From: "Kishore Senji" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, January 27, 2005 8:26 AM Subject: Re: Advise How to set a

Re: Struts Security

2005-01-27 Thread Tim Christopher
Hi, I've never used EJB so have no idea what this means, can someone explain please? "When SecurityFilter is used, a user's Principal will not automatically be propagated to EJB calls. If this is a requirement for your application, you may not be able to use SecurityFilter." Also, (as above) I'm

Can you stretch a form over several tabs with tile tabs layout?

2005-01-27 Thread Nils Liebelt
The only problem I see is that the form needs to be submitted when clicking on another tab? Otherwise you loose the just entered data. Regards, Nils P.S. Is there a dedicated tiles mailing list?

Can you stretch a form over several tabs with tile tabs layout?

2005-01-27 Thread Nils Liebelt
The only problem I see is that the form needs to be submitted when clicking on another tab? Otherwise you loose the just entered data. Regards, Nils P.S. Is there a dedicated tiles mailing list?

RE: html taglib usage

2005-01-27 Thread Thorhauer, John (Contractor)
Great! Thanks for the help. John -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 4:07 PM To: Struts Users Mailing List Subject: RE: html taglib usage John, The name="" attribute works with many of the text fields. Forget using ht

RE: html taglib usage

2005-01-27 Thread Thorhauer, John (Contractor)
Yes. You are right. However, JSTL is not currently an option. Hopefully in the near future it will be. Thanks, John -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 7:23 PM To: Struts Users Mailing List Subject: RE: html taglib usage I

Process tiles definition from a different module

2005-01-27 Thread Diego Manilla Suárez
Hi! I need to process a tiles definition that is located in a different module. I have this ActionForward declared on the module I want to invoke: And on the main module, I have this code (in an action) to get that forward definition. ActionForward forward = null; ServletContext context = getS

RE: Tomcat in Virtual hosting environment

2005-01-27 Thread David G. Friedman
Deepak, Note: What a nice question. Suggestion: Go to the Tomcat-users list where this is more pertinent. I'm not seeing any obvious Struts problem here with which we can assist you. Regards, David (who uses Tomcat/Stuts/Apache but likes list purity except for OT Fridays) -Original Message

Re: Advise How to set alternative raow background color

2005-01-27 Thread Jeff Beal
Kishore Senji wrote: On Thu, 27 Jan 2005 12:49:00 +0530, senthil Kumar <[EMAIL PROTECTED]> wrote: Hi all. I am getting more than 100 regards from database and print in a JSP by 15 regards per Page. Its is working fine. Now i want to set alternative Row background color. I print all the rows betwe

RE: PlugIn and the base URL

2005-01-27 Thread David G. Friedman
Craig, I knew I should have put that tidbit in my email - it was in my first revision. I took it out because it sounded too preachy in my first draft. I agree with you since the product I'm working on has every virtualhost mapped to one Tomcat context for application sharing. As we've read, Mart

RE: PlugIn and the base URL

2005-01-27 Thread David Suarez
The light came on when "the ip address is sufficient" came up. I had context paths and ports in my head. If that's all you need, look at the "INetAddress" classes which have methods to get a host name and ip address for the "localhost". Regards...djsuarez -Original Message- From: Mart

RE: PlugIn and the base URL

2005-01-27 Thread David Suarez
Forgot to add the disclaimers..: 1) Craig's point is correct. Something like the below kind of defeats any load balancing type setup that may exist on a more generic host name 2) In my mind, web services are great for the cross-platform/external service. But if the only one that knows the loca

Popup window submitting to action

2005-01-27 Thread Brandon Mercer
Hello, I've got a slighty off topic question for the group. I've got a pop-up window that I use in my application where my client can create a new contact. I wish to have the information write to the database, and close the pop-up window, and then refresh the page it came from. I know this c

RE: [Very OT] Hypothetical challege

2005-01-27 Thread Chaikin, Yaakov Y.
Yes, persisting the session data in a database is the obvious answer. No question that I agree with that. However, I was trying to find a solution that would get a bit "EJB-happy". I guess, I am not really sure myself what I am asking... I was just trying to stretch the use of Stateful EJBs and it

Re: Popup window submitting to action

2005-01-27 Thread fzlists
There's probably a couple of ways to do this, here's one... I think you can handle the submitting on the popup and closing the window no problem, but before you do the close, call a Javascript function in the parent of the popup that will submit a form to do the refresh of the main page. That'

Re: Popup window submitting to action

2005-01-27 Thread Renaud . Tarnec
Hello Brandon, You could do the following: after submitting the form in the pop up window, redirect to a page that: 1/ Refreshes its parent with javascript (opener), 2/ closes itself (with javascript, again) You can fire the 2 events in the onload event of the body. HTH Renaud PS: This is in

Re: PlugIn and the base URL

2005-01-27 Thread Dakota Jack
You cannot count on this. You need to go outside to an external machine and ask it who you are. You might, for example, be on an intranet and only have a local address from your machines point of view. Jack On Thu, 27 Jan 2005 08:11:54 -0600, David Suarez <[EMAIL PROTECTED]> wrote: > The light

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
[EMAIL PROTECTED] wrote: There's probably a couple of ways to do this, here's one... I think you can handle the submitting on the popup and closing the window no problem, but before you do the close, call a Javascript function in the parent of the popup that will submit a form to do the refresh o

custom validator stopped working

2005-01-27 Thread Mark Shifman
I have a very simple custom validator that checks if a select list has 1 or more selections. when I upgraded to struts 1.2.6 it stopped working. I have done all the things in http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 ie change the validator dtd I also tried using the most recent

Re: Popup window submitting to action

2005-01-27 Thread fzlists
Assume you have a form in the parent window that does your refresh, whether it's visible to the user or not (i.e., has nothing but hidden fields). Simply do: parent.theForm.submit(); For that line you weren't sure about. Should do the trick. -- Frank W. Zammetti Founder and Chief Software Ar

Re: Struts Security

2005-01-27 Thread Joe Germuska
At 10:05 AM + 1/27/05, Tim Christopher wrote: Hi, I've never used EJB so have no idea what this means, can someone explain please? "When SecurityFilter is used, a user's Principal will not automatically be propagated to EJB calls. If this is a requirement for your application, you may not be

Re: Popup window submitting to action

2005-01-27 Thread Cedric Levieux
Here what you want in the page retrieved after the submit action and reached via this action : Regards, Cedric - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, January 27, 2005 4:34 PM Su

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
[EMAIL PROTECTED] wrote: Assume you have a form in the parent window that does your refresh, whether it's visible to the user or not (i.e., has nothing but hidden fields). Simply do: parent.theForm.submit(); I don't think that's going to work. Actually I know that it doesn't work. I've got a

RE: Struts Security

2005-01-27 Thread Jerry Jalenak
Joe - Your comment My main issue with Container Based auth is its inability to support user-initiated login -- it only works by intercepting a request for a normal resource and then challenging for login. struck a chord with me - it's one of the reasons I've never looked at implementing CMS.

RE: Struts Security

2005-01-27 Thread Jerry Jalenak
Joe - Your comment My main issue with Container Based auth is its inability to support user-initiated login -- it only works by intercepting a request for a normal resource and then challenging for login. struck a chord with me - it's one of the reasons I've never looked at implementing CMS.

Re: How I decided to handle the dynamic titles/label problem with Tiles

2005-01-27 Thread Rick Reumann
Dakota Jack wrote the following on 1/27/2005 12:24 AM: For me, and of course I speak for myself alone, I could not stand the view being so tightly bound as your suggestion. Maybe I misunderstand what you are doing. The reason I like the approach I favor is that you can write the Struts code in the

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
Cedric Levieux wrote: Here what you want in the page retrieved after the submit action and reached via this action :