What are you trying to achieve? Maybe you're trying to put logic in your
JSPs that more properly belongs in an action.
thanks. what i am trying to do is to get the value of a field. Say I get a
list of items:
class item {
Set values;
...
}
The item has a set of Values:
class Value {
Attribu
Hi,
In my page I am generating text boxes dynamically(i.e. clicking on a
button "Add more" will add a text box in my page.) Now I want to
implement my ActionForm to capture the data entered in those dynamically
generated text boxes.
Is it possible in struts ? If yes, please provide me the so
I'm using " requiredif " validation from Validator Framework, but does'nt
work.
I have de rule in the validator-rules.xml and the method validateRequiredIf
exists in org.apache.struts.validator.FieldChecks in the struts jar.
I have read that requiredif is deprecated in struts 1.2, but that does'
Disabled input elements of an HTML form are not submitted. Use HTTP
sniffer to see what is submitted and what not.
On 9/14/06, Dean, Michael <[EMAIL PROTECTED]> wrote:
Interesting problem...
I have a submit button which includes a property = "method" with
value="Save"...the enclosing form is
Interesting problem...
I have a submit button which includes a property = "method" with
value="Save"...the enclosing form is submitted to a Struts
DispatchAction sub-class which is configured to rely on the "method"
parameter for delegation.
In order to prevent a double-submit, in my onSu
Laurie Harper wrote:
Sandra Reichert wrote:
Hi,
I have an input form in jsp. After submitting empty fields (user entered
nothing in input field) are set by default with specific values
depending on their data typ.
So an empty Integer field is set to 0, an String field to "" an so on.
But i wan
Anil Kumar T wrote:
Hi Group,
I need a help on general issue which every body would have solved.
Generally we'll have four operations like Add, Update, Query and Remove.
I believe we can use DispatchAction to handle all these operation in a
single action. So for the validation part we are plann
I currently having trouble implementing dependent drop down lists. Do anyone
know where I might see an example of how to implement such a thing?
Thanks,
-Joe
Alternatively, you can stick with html:link but supply your parameters
as a map:
http://struts.apache.org/1.2.9/userGuide/struts-html.html#link
L.
Andrè Kapp (AJ) wrote:
You can use this type of link
href=' // put your app name here to keep context
You can achieve what you want more simply; no need to start using Ajax
just for expanding an input form :-)
What you need to do is to generate additional rows that use the correct
naming conventions for the parameter names. Start by getting the form
working for some fixed number of input rows,
Sandra Reichert wrote:
Hi,
I have an input form in jsp. After submitting empty fields (user entered
nothing in input field) are set by default with specific values
depending on their data typ.
So an empty Integer field is set to 0, an String field to "" an so on.
But i want to have a null value
Lixin Chu wrote:
I thought this is for getting the value of a property ? and how to pass a
Yes.
parameter to the method ? I think I have tried that but does not work.
You can't invoke arbitrary bean methods with EL; it's designed for
accessing properties, not calling arbitrary methods.
Heidy Gutiérrez Guzmán wrote:
Hi
I'm using the struts tags.
I need validate the total of "checked" that have been selected.
I can do that with java script code, but i need put a var in the session
scope with the purpose of show the error message later, and that, i can not
do that with the java
I have a struts 1.2.9 app that has several modules (assume they are
named "a" and "b"). In my struts-config-a.xml file, I have a form
defined as followed:
My validation.xml file looks like:
David Durham wrote:
David Grundberg wrote:
Actually, Oliver Meyn wrote the following question. My apologies to
David Grundberg for misquoting.
My app needs to allow downloads of relatively large files (10MB).
Because Struts can/will reuse Actions for different threads, I'm
worried that wh
I figured it out finally. I was using url as my bean property name
when it was actually url.
I must have gotten it switched around somehow.
Thanks for the help.
Shawn
On 9/13/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
Also I just saw that the s:a tag doesn't support the target attribute.
I w
David Grundberg wrote:
My app needs to allow downloads of relatively large files (10MB).
Because Struts can/will reuse Actions for different threads, I'm
worried that when multiple requests attempt to download these big
files that a single "BigFileDownloadAction" will block until a
download is
On Thu, 2006-09-14 at 16:13 +0530, Vaneet Sharma wrote:
> Hii Frns
>
> I have two drop downs in my jsp page,
>
> I want to validate second drop down only when the value of selected item
> of first drop down is 2.
> Can anybody tell me how to do this using validation framework.
Check this out
If your class extends LookupDispatchAction, why isn't your own class named
in the stacktrace below? It looks like it is invoking a regular
LookupDispatchAction. Also, you can lookup code online to find the
offending line (just copy it into an editor which has line number so you can
check out line
Hi
I'm using an action class that extends from LookUpDispatchAction.
I have more similar class and everithing is ok, but now, it's trow the
following exception:
SEVERE: Servlet.service() for servlet action threw exception
java.lang.NullPointerException
at
org.apache.struts.actions.Look
try overriding the execute() method in the GenerateMagicReport class.
On 9/14/06, Gomathi <[EMAIL PROTECTED]> wrote:
hai,
how to generate report whenever click one button.
this report has no frame and no button
See http://struts.apache.org/1.2.9/userGuide/building_view.html#i18n
Struts goes mobile: http://strutsme.org
Raghuveer wrote:
> What precautions i need to take for my struts project to be accessed in
> Canada(French language) and Other Countries(English)
>
>
>
>
>
>
> -
Just an example:
log4j.rootCategory= DEBUG, ConsoleApp, FileMyApp, FileOtherApp
log4j.appender.ConsoleApp.threshold=DEBUG
log4j.appender.FileApp.threshold=DEBUG
#+
# Appender for my application
#+
log4j.appender.FileMyApp=org.apach
What precautions i need to take for my struts project to be accessed in
Canada(French language) and Other Countries(English)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Since for struts framework commons-logging.jar is used
How can I use Commons logging so that logs related to my application are
sent to separate log file.
How to configure my logger by log.properties realted to application
alone.
-
So the controller element in the struts config XML file has an attribute
called "nocache" which, if set to true, sets some caching headers on the
response. I don't see it in the documentation, but is there a way to
set the Refresh header without using my own controller and setting it on
all th
Either way, the underlying problem would be the reference to the
property on downloadsList. Is there a "getUrl" method on the
downloadsList object? Have you tried
a href="" target="_blank">Click to Download
-T.
On 9/13/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
Also I just saw that the s:a ta
You can use this type of link
href=' // put your app name here to keep context
'>
Andre
-Original Message-
From: Sheetal Gupta [mailto:[E
Hi,
Can anybody tell me how to pass multiple parameters
in
I tried the following snippet,
cmd
:
but it don't work..
It is only giving value of "Module"
and not the "DeviceType"
Regards,
Sheetal
Good Morning Mr Singh
Which tag libraries are you using?
Could you display the jsp which deploys the menu?
Martin --
*
This email message and any files transmitted with it contain confidential
information intended only for the p
Hi friend,
i want how to create array of elements
please help me
urs
Mallik
Patil, Sheetal wrote:
>
> U can create array and create field as per reqiuirment,but this has
> limit and here problem is for "arrayindexoutofboundexception" after
> limit exceeds.
> Elsewise u can use ajax, put ur for
Hii Frns
I have two drop downs in my jsp page,
I want to validate second drop down only when the value of selected item
of first drop down is 2.
Can anybody tell me how to do this using validation framework.
Regards
Vaneet. Sharma
CRISIL.
Office- (91)-22-6644 4116
M- (91)-93223 39127
Dis
I see no reason why the DownloadAction would be programmed to
synchronize against anything, especially for the whole download, that
would be a real showstopper! If you don't use instance variables, and
only read from a database (with a connection for each download) or a
filesystem, you wouldn't
33 matches
Mail list logo