Hi
I see a kind of strange behaviour with the Struts html tags. When on a
form I have a html:text field which displays a number, say 1.2 it
displays as "1.2", but according to the locale I am using it should
display as "1,2". On the same form I have a JSTL tag fmt:number, and it
displays it as it
Hi
Check your Tiles controller definition in the struts-config.xml file.
Make sure that the forward parameter is not set to "forward"
Hermod
-Opprinnelig melding-
Fra: Samuel Rochas [mailto:[EMAIL PROTECTED]
Sendt: 15. mai 2004 00:41
Til: Struts Users Mailing List
Emne: Re: Server side v
Hi
I'll give it a try. I just thought that there might be someway of
setting the formatting of html:text globally.
Hermod
-Opprinnelig melding-
Fra: Mark Lowe [mailto:[EMAIL PROTECTED]
Sendt: 19. mai 2004 13:39
Til: Struts Users Mailing List
Emne: Re: Problem with number formatting
Yo
Hi
In the javascript validation routine there is a parameter : bCancel
<<<-Set this to false if you do not want client side validation
as in :
Hermod
-Opprinnelig melding-
Fra: Gunnar Schmitz [mailto:[EMAIL PROTECTED]
Sendt: 19. mai 2004 14:20
Til: [EMAIL PROTECTED]
Emne: Va
Hi
This won't work - If a user enters say "1,2" in the html:text field on
the form, then what happens is that once you call
BeanUtils.copyProperties - in the process converting it from String to
Double - the converted value becomes 0d. If the user enters "1.2" the
conversion is Ok.
So - Why is th
Hi
1. implement the validation method on your ActionForm
2. Check if a particular button was pressed (give your button a name via
the "property" property). Use request.getParameter("the name of the
button").
3. If they do not match, call super.validate()
Hermod
-Opprinnelig melding-
Hi
You need to implement the reset() method on your ActionForm and in that
setting any boolean variables to null. When you submit from a form, any
unchecked checkboxes are not sent - only checked ones. Therefor the
reset to set them to false initially, and if someon checks them they
will be set to
Hi
There is database support in SecurityFilter
Hermod
-Opprinnelig melding-
Fra: Lesaint Sébastien [mailto:[EMAIL PROTECTED]
Sendt: 25. juni 2004 11:05
Til: Struts Users Mailing List
Emne: RE: How to implements Role Based Access Control in Struts ?
Hi,
I was just looking into Pow2ACL,
Hi
use html-el and then :
-Opprinnelig melding-
Fra: John Antonakos [mailto:[EMAIL PROTECTED]
Sendt: 25. juni 2004 12:17
Til: [EMAIL PROTECTED]
Emne: How can i put a dynamic value to an ?
I want to do something like the following:
"/>
is this possible ?
The above statement produces a
Hi
import the struts-el tag library and the tld for it - Then you can ust
jstl syntax. Right now you are using the standard struts tag library
Hermod
-Opprinnelig melding-
Fra: John Antonakos [mailto:[EMAIL PROTECTED]
Sendt: 25. juni 2004 12:30
Til: Struts Users Mailing List
Emne: Re: Ho
Hi
If you look at jsp (view-source) you will probably notice that the
jscript method (required) has been prefixed with the formname. Upgrade
to the latest build. This was an issue with validator.
Hermod
-Opprinnelig melding-
Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED]
Sendt:
Hi
I had the same problem - I think it was a mix of old and new struts
components. What I did was get the latest nightly build, and replace
everything. After that it all went away.
Hermod
-Opprinnelig melding-
Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED]
Sendt: 2. juli 2004 10
Hi
Did you regenerate the static javascript part ? - Use to get it in your page and
then cut and paste it into a .js file
Hermod
-Opprinnelig melding-
Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED]
Sendt: 2. juli 2004 12:34
Til: Struts Users Mailing List
Emne: RE: Javascript er
Hi
Seems it is not picking up your "formName" - Is there any misspelling ?.
If you running IE (against advice from this list lately :)) you could
download and use the script debugger. Or use Firefox with its script
debugger plugin to debug his.
Hermod
-Opprinnelig melding-
Fra: Kote, Nij
Hi
Might be - Did you also replace all the struts required lib files (look
in the Maven project.xml file for versions).
Hermod
-Opprinnelig melding-
Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED]
Sendt: 2. juli 2004 13:27
Til: Struts Users Mailing List
Emne: RE: Javascript error
Hi
Its the & sign in your URL - You have to escape it. This has to do with
the XML digester and not with Struts it self
Hermod
-Opprinnelig melding-
Fra: Pat Quinn [mailto:[EMAIL PROTECTED]
Sendt: 5. juli 2004 17:46
Til: [EMAIL PROTECTED]
Emne: Tiles/Frames & Urls with Parameters
Hi Gu
Hi
This error comes from index.jsp ->
org.apache.jsp.index_jsp._jspService(index_jsp.java:69)
-Opprinnelig melding-
Fra: andy wix [mailto:[EMAIL PROTECTED]
Sendt: 23. august 2004 14:33
Til: [EMAIL PROTECTED]
Emne: Tiles set up
Hi,
I am (still!) trying to set up Tiles in my Stru
Hi
Is there any reasonable argument as to why the html:text tag uses
default (value.toString()) formating, while the bean:write uses a
formatter that is I18N aware. This is really anoying for locales that
normally use comma as a decimal seperator. If you output the value with
bean:write it will lo
Hi
Your best bet for this is to add a new method to you bean, which returns
the first and last name concatenated into a single String value.
Hermod
-Opprinnelig melding-
Fra: Janne Mattila [mailto:[EMAIL PROTECTED]
Sendt: 24. august 2004 13:56
Til: [EMAIL PROTECTED]
Emne: Complicated sel
Hi
Yeah, but why invent something new every time when the framework can do
it for you ?
-Opprinnelig melding-
Fra: Jim Barrows [mailto:[EMAIL PROTECTED]
Sendt: 24. august 2004 18:47
Til: Struts Users Mailing List
Emne: RE: HTML:TEXT tag and Internationalization
> -Original Message
Hi
Have you tried to convert this into JSTL and use c:if ?
-Opprinnelig melding-
Fra: Michael McGrady [mailto:[EMAIL PROTECTED]
Sendt: 26. august 2004 09:32
Til: Struts Users Mailing List
Emne: strange behavior: bug or me?
Has anyone been getting inconsistent results with ? I am
tryi
Simple answer : no - Struts tags are converted to HTML tags during
rendering
-Opprinnelig melding-
Fra: Hadeel Rashad [mailto:[EMAIL PROTECTED]
Sendt: 9. september 2004 01:10
Til: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Emne: Adding Tags Dynamically
Can I add struts tags dynamic
Hei
When you get a class version error, it often means that you are running
under a version og Java that is lower than the one used to compile the
class.
Hermod
-Opprinnelig melding-
Fra: Joe Germuska [mailto:[EMAIL PROTECTED]
Sendt: 6. oktober 2004 06:04
Til: Struts Users Mailing List
E
Hi
Use HTML META-REFRESH tag to refresh the page (from client) at a fixed
interval.
Hermod
-Opprinnelig melding-
Fra: Tito Eritja [mailto:[EMAIL PROTECTED]
Sendt: 6. oktober 2004 11:24
Til: struts
Emne: "refreshing" server side infromation
Actually this is not a struts question, but if
Hi
Call
ActionForward af=yourActionClass.method(maaping,form,request,response);
>From your class
-Opprinnelig melding-
Fra: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sendt: 8. oktober 2004 13:33
Til: 'Struts Users Mailing List'
Emne: Struts /silly question
Hello all,
I am sure
Hi
Welcome to the ugly world of Struts, Commons and Internationalization. I
also had this problem, but solved it by rewriting some of the Struts
tags, registering my own version of DoubleConverter with BeanUtils, and
a couple og other places that I have forgotten. Nevertheless it works. I
had a ma
Hi
Looks like you should be using ValidatorForm - Not ValidatorActionForm
With ValidatorForm you name your formdefinitions in validation.xml the
same as the formnames in struts-config.xml
With ValidatorActionForm you name your formdefinitions validation.xml
the same as the action you are calling
Hi
Use a servletfilter to trap when a new session is created, and do what
ever you want to there.
Hermod
-Opprinnelig melding-
Fra: Adam Hardy [mailto:[EMAIL PROTECTED]
Sendt: 31. mars 2004 09:56
Til: Struts Users Mailing List
Emne: Re: Session Time Out
Hi Kumar,
struts will create th
Hi
Have a reset() (Inherited from ActionForm) method in you form bean.
In it you set all Boolean/boolean variables to false/null. That way,
because a nonselected value is never submitted, when you get tne value
from the form bean, it is false/null
Hermod
-Opprinnelig melding-
Fra: Jim K
Hi
Try Professional Jakarta Struts from Wrox - It is way better than Struts
in Action.
Hermod
-Opprinnelig melding-
Fra: Laurie Harper [mailto:[EMAIL PROTECTED]
Sendt: 31. mars 2004 08:10
Til: [EMAIL PROTECTED]
Emne: Struts boooks: remommendations?
I'm looking for a good book on Struts
Hi
If it expires, the filter will be called again. The sessioncontext
listener gets notified when the session is created, and when it is
destroyed.
Hermod
-Opprinnelig melding-
Fra: MOHAN RADHAKRISHNAN [mailto:[EMAIL PROTECTED]
Sendt: 31. mars 2004 10:27
Til: 'Struts Users Mailing List'
Hi
You have a form on it that maps to an action, but you have not defined a
form for that action
Hermod
-Opprinnelig melding-
Fra: Mario St-Gelais [mailto:[EMAIL PROTECTED]
Sendt: 31. mars 2004 17:07
Til: [EMAIL PROTECTED]
Emne: HashMap and tiles
I am using Tomcat 5.0.19 and Struts 1.1
Hi
And what excactly is the problem ?
Hermod
-Opprinnelig melding-
Fra: Otto, Frank [mailto:[EMAIL PROTECTED]
Sendt: 6. april 2004 08:42
Til: Struts-User (E-Mail)
Emne: validation with struts 1.2
Hi,
i have downloaded struts 1.2. It contains a new commons-validation.jar.
This suppo
Hi
So now we know of two problems with it :)
1. Bundles don't work
2. It prefixes the methods with the formname, but the validation
routines don't not know this.
Hemrod
-Opprinnelig melding-
Fra: Otto, Frank [mailto:[EMAIL PROTECTED]
Sendt: 6. april 2004 08:50
Til: 'Struts Users Mailing
Hi
Not as far as I know
Hermod
-Opprinnelig melding-
Fra: Otto, Frank [mailto:[EMAIL PROTECTED]
Sendt: 6. april 2004 09:24
Til: 'Struts Users Mailing List'
Emne: AW: validation with struts 1.2
And is there any solution?
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:
Hi
Which is exactly what I am doing - Looking into it and fixing it when/if
I find the problem
Hermod
-Opprinnelig melding-
Fra: Jesse Alexander (KXT) [mailto:[EMAIL PROTECTED]
Sendt: 6. april 2004 11:20
Til: 'Struts Users Mailing List'
Emne: RE: validation with struts 1.2
Isn't Struts
Hi
The problem is as follows :
In your .jsp you add :
and then you declare your form :
When this gets generated it has somthing like this :