/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
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
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
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
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
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.
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.
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
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
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
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
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:
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
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
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
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 -
>
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.
__
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
>
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 ...
> >
> >
> >
> >
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
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
> 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
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
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? ;)
>
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
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
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
>
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
; -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.
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.
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
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
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
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
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
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
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
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
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:
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
>
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.
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
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
>
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
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
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
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
__
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
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
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
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
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
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.
>
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
>
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
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
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
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
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:
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
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
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
> -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
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
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
---
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
66 matches
Mail list logo