Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
/www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Tue, March 14, 2006 3:11 pm, struts lover said: > Hi Frank, > > I tried it but could not make it

Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
an IE-only world, it's pretty nice. > I'm sure it's not fullproof, but it's more than adequate for typical > users. Throw in a right-click blocking function and it's pretty good. > > (If anyone can duplicate both these things with FF, that would be > fantastic... th

Re: [OT] Re: Browser back button

2006-03-14 Thread struts lover
le arguments to make that this is a bad idea. Make sure it's what you really want and need. Frank struts lover wrote: > Hi, > > I am using Struts and Tiles for an intranet application. I want to disable > the back button. > > How can I achieve this? > > Any help would

Browser back button

2006-03-13 Thread struts lover
Hi, I am using Struts and Tiles for an intranet application. I want to disable the back button. How can I achieve this? Any help would be appreciated. Thanks - Yahoo! Mail Use Photomail to share photos without annoying attach

Resources initValidator

2005-12-21 Thread struts lover
Hi, I am trying to call the org.apache.struts.validator.Resources class initValidator method. It has the following piece of code in the initValidator method. validator.setParameter(SERVLET_CONTEXT_PARAM, application); validator.setParameter(HTTP_SERVLET_REQUEST_PARAM, request); va

Struts JSF integration problem

2005-10-06 Thread struts lover
Hello Everyone, I just downloaded the struts-faces nightly build and tried to integrate in my existing struts application. I get the following error. /virtual/addMember.jsp(10): Error in using tag library uri='/WEB-INF/struts-faces.tld' prefix='s': The Tag class 'org.apache.struts.faces.taglib.

Struts JSF integration

2005-10-05 Thread struts lover
Hello Everyone, I just downloaded the struts-faces nightly build and tried to integrate in my existing struts application. I get the following error. /virtual/addMember.jsp(10): Error in using tag library uri='/WEB-INF/struts-faces.tld' prefix='s': The Tag class 'org.apache.struts.faces.taglib.

Re: prevent reset of bean after submit

2004-12-25 Thread struts lover
If you have your reset method empty, I dont think it will reset your form. --- sachin <[EMAIL PROTECTED]> wrote: > hi all , > > On submit of a form , struts resets the bean before > populating the form . > For that perticular action can i stop the resetting > of bean ? > > in my application i

Re: jstl and struts tag problem

2004-12-07 Thread struts lover
alaryLabel" > value="salaryValue"/> > > Niall > > - Original Message - > From: "struts lover" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 07, 2004 3:56 PM > Subject: jstl and struts ta

jstl and struts tag problem

2004-12-07 Thread struts lover
Hello Everyone, I have this problem related to tags. I am using to set the ActionForm to some variable, and dont ask why :). And now I want to access a collection on the form for the drop down list. How do I do this? I am doing as follows : Now further in my JSP, I am doing this for my drop

RE: smart navigation

2004-11-24 Thread struts lover
Thanks for your reply. I will try it later. Have to go out for Thanksgiving. Happy Thanksgiving everybody. --- "David G. Friedman" <[EMAIL PROTECTED]> wrote: > You (got a name? Struts Lover is so impersonal) can > invoke it by clicking on something in a page usi

RE: smart navigation

2004-11-24 Thread struts lover
ly move the > tag into the visible portion of the browser window. > > Regards, > David > > -Original Message- > From: struts lover [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 24, 2004 12:29 PM > To: Struts Users Mailing List; Dakota Jack > Subject: Re:

Re: smart navigation

2004-11-24 Thread struts lover
quot;CONTROL_ID"); //the string is the id of > the desired > control in the html document. > > > Jack > > > On Wed, 24 Nov 2004 05:39:09 -0800 (PST), struts > lover > <[EMAIL PROTECTED]> wrote: > > Hello Everyone, > > I wanted to know if smart n

smart navigation

2004-11-24 Thread struts lover
Hello Everyone, I wanted to know if smart navigation is possible in JSP with Struts as it is with ASP.Net. If yes, I would like to know it. Any help would be appreciated. Thanks everyone. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spa

Re: error messages not displaying

2004-10-26 Thread struts lover
ile="address_include.inc" %> I have not defined taglib in the . Am I doing anything wrong ??? --- Niall Pemberton <[EMAIL PROTECTED]> wrote: > You need it in every jsp that use those tags, not > just the "main" one. > > Niall > > - Original Message - > F

Re: error messages not displaying

2004-10-26 Thread struts lover
Hi, I have my html taglib definition on the top on my main jsp. Thanks --- Niall Pemberton <[EMAIL PROTECTED]> wrote: > When you broke your jsp up into tiles did you still > include the html taglib > definition? > > Niall > > - Original Message - >

error messages not displaying

2004-10-26 Thread struts lover
Hi Everyone, I have this weird problem. My error messages were displaying fine but after I started using tiles, the messages dont show up. If I do the for a particular property, it shows that error is present. But the tag doesnt show errors. Anyone can help with this. Thanks a lot. __

Re: file validation best practice - Thanks everyone

2004-10-25 Thread struts lover
Thanks very much. --- Joe Germuska <[EMAIL PROTECTED]> wrote: > At 7:24 AM -0700 10/25/04, struts lover wrote: > >Hello, > >Thanks everyone for your interest and replies. > Thanks > >very much. > >I had one more question. If I use getContentType() > of >

Re: file validation best practice - Thanks everyone

2004-10-25 Thread struts lover
o deterministically discover > what type of file the > > user sent. There is nothing to prevent a user from > taking a .exe file > > and changing the extension to .txt or anything > else ... others may have > > a better idea ... > > > > > > > >

Re: file validation best practice

2004-10-24 Thread struts lover
input tag; > however, the browser > may not do anything with this information; so in > your ActionForm, I > suggest you validate the type by checking the > extension of the received > file name. > > struts lover wrote: > > > Hi Everyone, > > I wanted to kn

file validation best practice

2004-10-24 Thread struts lover
Hi Everyone, I wanted to know what is the best practice for file type validation. I want the user to allow to upload only certain type of files and disallow all other types. I am using Struts FormFile. Any help would be appreciated. Thanks. ___ Do yo

RE: cleaning session

2004-10-06 Thread struts lover
> Paul > > > -----Original Message- > > From: struts lover [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 06, 2004 5:04 PM > > To: [EMAIL PROTECTED] > > Subject: cleaning session > > > > > > Hello everyone, > > I am facing t

cleaning session

2004-10-06 Thread struts lover
Hello everyone, I am facing this problem of session. I have my action form in session(a wizard like thing). Now if the user starts filling in values and clicks on the NEXT button, to go on to the next screen and then instead of completing the process of application, clicks on some other link. Agai

RE: multiple submit buttons on a form

2004-10-05 Thread struts lover
LOL :)) --- Durham David R Jr Contr 805 CSPTS/SCE <[EMAIL PROTECTED]> wrote: > > > http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions > > Mike, why not link directly to the Struts related > stuff from the wiki. > Or are you trying to drum up business for your flash > skills? ;) >

Re: multiple submit buttons on a form

2004-10-05 Thread struts lover
Thanks Michael very much. I will go through it. If I dont understand anything, will come back :). Thanks again. --- Michael McGrady <[EMAIL PROTECTED]> wrote: > Lucky you, Struts Lover, this has already been done. > See > http://wiki.apache.org/struts/StrutsCatalogVarious

multiple submit buttons on a form

2004-10-05 Thread struts lover
Hello Everyone, I have this problem. I have several submit buttons on a form and I am using a modified version of LookupDispatchAction class. Is there any way for the buttons to have the same name instead of having separate names as required by LookupDispatchAction. I also want internationaliza

Re: Multiple button with same value using same Action class

2004-09-15 Thread struts lover
It is not possible with lookupdispatchaction class. You need to have different method signatures. You have to have different names for your cancel button like Cancel Sign, Cancel Reservation etc. --- Michael McGrady <[EMAIL PROTECTED]> wrote: > What you describe sounds impossible. How do you >

RE: go one level up

2004-09-09 Thread struts lover
label //if articleType=="science" do something print science heading label // iterate over // the collection here How do I achieve printing the different messages based on the articleType?? Thanks. --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Origin

RE: go one level up

2004-09-09 Thread struts lover
; -Original Message- > > From: struts lover [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 09, 2004 1:47 PM > > To: [EMAIL PROTECTED] > > Subject: go one level up > > > > > > Hi Everyone, > > I am using struts nested iterate tag.

go one level up

2004-09-09 Thread struts lover
Hi Everyone, I am using struts nested iterate tag. Is there any way to go one level up inside the iterate. Any help would be appreciated. Thanks __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread struts lover
Hey how did your dad get the username and password you emailed, without logging into the account --- Rick Reumann <[EMAIL PROTECTED]> wrote: > This should give most of you a good chuckle so I > figued I'd share.. > > My dad has never used a computer until about a week > ago, when I > convi

RE: validate in ActionForm not working for errors

2004-08-31 Thread struts lover
what is your directory structure ??? Are you giving the correct relative path for the input parameter --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Saurabh Bhatla > [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 30, 2004 2:52 PM > > To: Struts

Struts 1.2.2 is up

2004-08-31 Thread struts lover
Hi Everyone, Struts 1.2.2 is up and available. http://struts.apache.org/acquiring.html __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail

Re: My IsValidToken() cannot trap duplicated submission.

2004-08-27 Thread struts lover
Sorry PC, my mistake. You did the right thing. --- struts lover <[EMAIL PROTECTED]> wrote: > if (!isTokenValid(request, true)) { > // do your stuff > resetToken(request); > } > > > --- PC Leung <[EMAIL PROTECTED]> wrote: > > > I have

Re: My IsValidToken() cannot trap duplicated submission.

2004-08-27 Thread struts lover
Erik, what if the user clicks the submit button 2-3 times while the form data is being submitted to the database. --- Erik Weber <[EMAIL PROTECTED]> wrote: > Larry, what if an error occurs after form > validation, but during > processing of the submit, which requires you to > forward back to th

Re: My IsValidToken() cannot trap duplicated submission.

2004-08-27 Thread struts lover
if (!isTokenValid(request, true)) { // do your stuff resetToken(request); } --- PC Leung <[EMAIL PROTECTED]> wrote: > I have resetted token like this in the beginning. > if (!isTokenValid(request, true)) { > > What next to check? > > On Fri, 27 Aug 2004 11:03:00 -0400, Zhang, L

Re: Back Button

2004-08-26 Thread struts lover
er won't > re-POST form information as a security precaution. > If you want to be > able to get around this, use GET in your search. > > On Thu, 26 Aug 2004 12:14:12 -0700 (PDT), struts > lover > <[EMAIL PROTECTED]> wrote: > > Hi :), > > > > It gives m

Re: date parsing/validation...newbie

2004-08-26 Thread struts lover
Hi, I think it should be dd/MM/ instead of dd/MMM/ --- Research labs <[EMAIL PROTECTED]> wrote: > Hi, > > Please help me. > > I am trying to force users to enter dates in the > format 23/JAN/2003, therefore, I have the setting > below in the validator.xml. The maxlength bit > work

RE: Back Button

2004-08-26 Thread struts lover
lick the Refresh button. Thanks. --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: struts lover [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 26, 2004 12:14 PM > > To: Struts Users Mailing List > > Subject: RE:

RE: Back Button

2004-08-26 Thread struts lover
Hi :), It gives me the following error. Warning: Page has Expired Thanks. --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: struts lover [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 26, 2004 12:04 PM >

Back Button

2004-08-26 Thread struts lover
Hi, I am developing a web application. There is a search page where user enters a search parameter. Then it displays search results. Each search result has a hyperlink to view its details. But when I click, on the back button, it gives me error. Any one knows why and how to solve it. Thanks.

RE: [OT] PROBLEMS SOLVED BELIEVE IT OR NOT: Re: image button for file upload

2004-08-23 Thread struts lover
Yes, can you please share with everyone. :) --- Ed Yu <[EMAIL PROTECTED]> wrote: > Please, can you share how you get this working? > > ^^ > > Ed Yu, Senior Solutions Architect (IBM Certified AIX > Administrator), > Advanced S

RE: Browse button localization -- IMPORTANT !!!!

2004-08-23 Thread struts lover
file upload dialog will be > localized. > > Regards, > > Richard > > -Original Message- > From: struts lover [mailto:[EMAIL PROTECTED] > Sent: Monday, August 23, 2004 10:32 AM > To: [EMAIL PROTECTED] > Subject: Browse button localization -- IMPORTANT >

Re: Browse button localization -- IMPORTANT !!!!

2004-08-23 Thread struts lover
Thanks --- Leandro Melo <[EMAIL PROTECTED]> wrote: > I think this problem goes right at the same point as > the 100 last messages of the list... :-), the ones > about a image button replacing the browse button. > > > --- struts lover <[EMAIL PROTECTED]> escrev

Browse button localization -- IMPORTANT !!!!

2004-08-23 Thread struts lover
Hello Everyone, I am stuck with this localization issue. I am using tag. I am not able to localize the text of the Browse button. Does any one know how to solve this problem. Please help. Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has t

RE: localizing the browse button

2004-08-23 Thread struts lover
urces.properties > (or whatever acording to Locale) and set this > literal to the browse button. > > Cheers. > > >-- Mensaje original -- > >Reply-To: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > >Date:Mon, 23 Aug 2004 08:19:45

localizing the browse button

2004-08-23 Thread struts lover
Hi, I am using the tag for file upload. It has a button whose text displays Browse in English. Is there any way of localizing the Browse button, so that it displays the text from the properties file depending on the locale selected by the user. Thanks __

Re: multi file upload

2004-08-21 Thread struts lover
My implementation is slightly different. I created an object of FileData with fields like formfile,filename etc. When you first paint the jsp, your action class would create a FileData object and put it into the arraylist defined in your action form. I have a button called ADD ANOTHER FILE. When y

Re: null with Action Error Messages !!

2004-08-21 Thread struts lover
gt; accross such a problem. Pls send me the solution > ASAP > > Thanx in Advance > > Regards > > manoj > --- struts lover <[EMAIL PROTECTED]> wrote: > > > Check your properties file. > > > > > > > > --- jacob skariah <[EMAIL

RE: Unable to set the radio butons value using form beans

2004-08-21 Thread struts lover
Check this link. http://husted.com/struts/tips/016.html --- Amit Kumar Sharma <[EMAIL PROTECTED]> wrote: > Check the type for it. > Java.lang.Boolean > It should work. > > Warm regards > Amit > > -Original Message- > From: jacob skariah [mailto:[EMAIL PROTECTED] > Sent: Saturday, Augu

Re: multi file upload

2004-08-21 Thread struts lover
Hi, I have done the same thing. I have an arraylist of formfile objects. I keep it in session. If you dont want to keep it in session, you might keep it in some temp folder on the server. But I would suggest to keep in the session, and after you complete your transaction, clean up the session. You

Re: C:out getter

2004-08-20 Thread struts lover
Use the Then use --- Frers Michael <[EMAIL PROTECTED]> wrote: > Hello > can someone explain me how i should use the tag in my situation: > > > i have a bean "theBean" with a getter > > > getText(String textid){ > ... > ... > return result; > } > > and somewhere ist set: > > session.s

Re: null with Action Error Messages !!

2004-08-20 Thread struts lover
Check your properties file. --- jacob skariah <[EMAIL PROTECTED]> wrote: > Hi, > >I am having problem while displaying my Action > Errors on the jsp pages. The problem is two "null" > messages are displayed in the begining and end of > the > action error messages displayed on the jsps. >

Re: different inputs in struts-config

2004-08-20 Thread struts lover
Hi , You can validate using LookupDispatchAction class. The validation.xml will take care of it. Also if you want to do other business side validations, you can do it in your methods in the action class. --- Susan Bradeen <[EMAIL PROTECTED]> wrote: > Sebastian Ho <[EMAIL PROTECTED]> wrote on >

Re: Complex web 'stacks' in Struts

2004-08-19 Thread struts lover
e the ability to lookup a > customer in 20 or 30 > forms, not just order entry. > > It's the modular approach known to console-based and > gui based > applications. My question is: how does this > translate in struts? Does > it? > > Stuart > > On Fri, 20

Re: Complex web 'stacks' in Struts

2004-08-19 Thread struts lover
You can have a variable called action in your action form. You can set that variable as view or edit. Now for the first time, the action can be view. You lookup for the customer. If you find, you display. If you dont find, (check this with some tag ) you display a text field and a ADD CUSTOMER but

Re: different inputs in struts-config

2004-08-19 Thread struts lover
Try using the attribute/formAttribute in the action mapping. I think it should work. --- Sebastian Ho <[EMAIL PROTECTED]> wrote: > Thanks Susan. > > Refer to my comments below > > Sebastian Ho > > > On Thu, 2004-08-19 at 21:23, Susan Bradeen wrote: > > Sebastian Ho <[EMAIL PROTECTED]> wrote

Re: Struts login with JAAS (Part 2)

2004-08-19 Thread struts lover
If the login is successful, keep the user object in the session. In every action class, you can check whether the user object/user exists in the session or not. If not, redirect to login.jsp. Maybe you can have the check in some super action class so that you dont have to repeat the code in each ac

Re: Security - From tradition to struts

2004-08-19 Thread struts lover
Create a utility class method that takes username and password as parameters. Connect to database from this utility class method, and return a boolean based on the search for username and password. Have this utility method called from your action class. --- struts Dude <[EMAIL PROTECTED]> wrote:

Re: dealing with check boxes

2004-08-19 Thread struts lover
keep the form in the session. When you click the submit button, the changes get committed to the database. --- Jignesh Kapadia <[EMAIL PROTECTED]> wrote: > Anuj, > Thanks for you reply. But My concern is as > follows. > > e.g. > > I display these records with checkbox on my JSP a

RE: internationalization problem

2004-08-19 Thread struts lover
against this > problem to document it more > clearly :-) > > -Joe > > > > -Original Message- > > From: struts lover [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 19, 2004 4:49 PM > > To: Struts Users Mailing List > > Subject: RE: internat

RE: internationalization problem

2004-08-19 Thread struts lover
e you using the > SetCharacterEncoding > Filter? (Look in the Tomcat WebApps examples.war) > > Inquiring minds want to know this stuff :-) > > > -Original Message- > > From: struts lover [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 19, 2004 2:48 PM > > T

RE: Conditionally Validating an Entire Form Based Upon the buttonpressed

2004-08-19 Thread struts lover
> -Original Message- > From: Robert Miller [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 19, 2004 12:25 PM > To: [EMAIL PROTECTED] > Subject: Conditionally Validating an Entire Form Based Upon the > buttonpressed > > > I have a form which has a "save" ( ( The "save" should validate a

RE: Conditionally Validating an Entire Form Based Upon the buttonpressed

2004-08-19 Thread struts lover
The suggestion is good. But you might run into localization problems. The better approach is to extend the ValidatorLookupDispatchAction class by Brandon Goodin which extends the LookupDispatchAction. The buttons get their label texts from the properties files. If you are not thinking of localizin

Re: Conditionally Validating an Entire Form Based Upon the button pressed

2004-08-19 Thread struts lover
Extend your action class from ValidatorLookupdispatchAction class by Brandon Goodin. ___ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush ---

internationalization problem

2004-08-19 Thread struts lover
Hi, I am facing a problem and trying to solve it for many days but in vain. The user selects the locale(suppose es-spanish) and the page displays in that particular locale using the appropriate properties file. I also have a file upload on the same form. I am using enctype="multipart/form-data" in