2007/8/10, Mr. nitin [EMAIL PROTECTED]:
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
Send a mail to:
[EMAIL PROTECTED]
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
2007/8/10, Ashish Kulkarni [EMAIL PROTECTED]:
Hi
I have a program which creates permutations for 10 letters, so the values i
get is 10 ^10 which is more then 3 million
Do you mean permutations (the same letters ordered in different ways)
or dispositions with repetition (the 10-letter group can
Hi again, and thank you for your answer.
I've tried using @Validations at the method level as you point out. I'll try
to illustrate:
I have an action, not annotated with @Validation, with three action methods;
input, execute and confirm (custom action method).
The input method has no
Yes, I removed the annotations from the setters. I might be overlooking
something, but I'm not sure where to start looking at this moment. Is there
any more details I could provide to help you see the clear picture?
Arno wrote:
Pretty strange indeed. Did you remove all the validation
Hi Ted/Frank,
Well, The first project I did in the industry,(I was a trainee then) in 2000
was a full scale ajax(of course,we called it something else) project. Ajax was
used out of compulsion.We had a gigantic user entry form with around 100
controls;which was divided into 5 tabs, which were
This really doesn't answer the question, does it? My car engine makes a
noise, but if I turn on the iPod, everything seems okay!
On 8/10/07, Mike Baroukh [EMAIL PROTECTED] wrote:
I think that this exception occur only if you have struts.devMode=true
in struts.properties ...
Marco
I'm studying the dynamic tree example in the showcase, and there are a
couple problems. First, when you view sources, the configuration for the
dynamicTreeSelectAction is not visible. Also, as I inspect this action, I'm
discovering that its dynamicTreeSelect.jsp never displays the node
selected!
Sorry, but why go the hard way when you can achieve the same with a simple
interceptor? You can return a global result from a interceptor (f.ex. return
errorPage) which is lot simpler than getting tangled with the
RequestDispatcher stuff.
On 8/10/07, Toni Lyytikäinen [EMAIL PROTECTED] wrote:
Sorry, but why go the hard way when you can achieve the same with a simple
interceptor? You can return a global result from a filter (f.ex. return
errorPage) which is lot simpler than getting tangled with the
RequestDispatcher stuff.
On 8/10/07, Eugen Stoianovici [EMAIL PROTECTED] wrote:
i'm
i'm trying to use a custom filter to implement authorization and i can't
get the damned thing to work (i'm an absolute beginner, be warned).
i'm using struts2.0.8 with tomcat 5.5
my doFilter method looks like this
public class AuthorizationFilter implements Filter {
public void
I think that this exception occur only if you have struts.devMode=true
in struts.properties ...
Marco Carnevale a écrit :
I am have the same question. Does anyone have any thoughts about this?
On 8/9/07, Cameron, David [EMAIL PROTECTED] wrote:
Hi
I believe I'm using the redirect-action
I had the same problem when I was using 2.0.6. Upgrading to 2.0.8 \
2.0.9resolved the issue.
On 8/9/07, Sebastian Kolbe [EMAIL PROTECTED] wrote:
Hello
Hope someone can help me with this:
I have a TabbedPane with some tabs in it, each calling an url for
their content.
Now I have several
I am have the same question. Does anyone have any thoughts about this?
On 8/9/07, Cameron, David [EMAIL PROTECTED] wrote:
Hi
I believe I'm using the redirect-action result type in the recommended
way, but I'm seeing warnings from OgnlUtil in my log4j logs. Is there a
way to avoid the
On 8/9/07, Dave Newton [EMAIL PROTECTED] wrote:
--- yitzle [EMAIL PROTECTED] wrote:
I had
s:form action=CertificateImport method=POST
enctype=multipart/form-data
and tried with
form action=CertificateImport.action
method=POST
enctype=multipart/form-data
When I tried
html:form
Solved. Found it here:
http://www.jroller.com/yokeping/entry/file_upload_with_struts_2
I had to add two libraries:
commons-fileupload-1.2.jar and commons-io-1.3.jar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Asthana, Rahul wrote:
By the way, have any of you done any performance metrics on an ajax based
implementation vs a non ajax based one?
Early on we did a proof-of-concept that did exactly this... what we
found was that the AJAX version was universally perceived as being
faster, even when a
i'm trying to use a custom filter to implement authorization and i can't
get the damned thing to work (i'm an absolute beginner, be warned).
i'm using struts2.0.8 with tomcat 5.5
my doFilter method looks like this
public class AuthorizationFilter implements Filter {
public void
Yes the example had several problems on 2.0.x, some of them were
fixed, others are still there.
musachy
On 8/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm studying the dynamic tree example in the showcase, and there are a
couple problems. First, when you view sources, the
First off, do you have a 'public List getFiles()' in your action? The iterator
tag looks for a getter that returns an object implementing java.util.List. For
troubleshooting, I would put something static in your iterator tag just to see
if the loop even starts (of course, sans getFiles(), you
--- Ashish Kulkarni wrote:
i have to find the shortest distance to travel, but
this is not as simple as travel sales man problem
because A-B is not as same as B-C
That *is* the traveling salesman problem.
There are many homework and algorithm sites that can
help you, and googling for various
You must to set the property validateAnnotatedMethodOnly=true, and the
validation occurs only for the correct methods.
interceptor-ref name=validation
param name=validateAnnotatedMethodOnlytrue/param
param name=excludeMethodsinput,back,cancel,browse/param
/interceptor-ref
but this is ok
Hi
This is what i have to do,
suppose have 3 points A-B-C then
i have to find the shortest distance to travel, but this is not as simple as
travel sales man problem because
A-B is not as same as B-C
So suppose i have
A-B is 2
A-C is 1
B-A is 3
B-C is 2
C-A is 4
C-B is 3
then i have find what is
Hello
I have a question about the time a JSP takes to load. I am converting a
struts1+tiles1 application to struts2 (2.0.9) + tiles2 (2.0.4) on weblogic
10 and I have noticed that the first time a jsp using S2+T2 is accessed it
is taking a long time to be displayed, after the initial access the
Thanks a lot for the solution. It seems that many things are still not
standardized and I simply got stuck for an entire day's work in order to
find a solution for this problem. Thanks again.
--
View this message in context:
Hi,
I try to add the execAndWait interceptor in my application. But now the
request.getSession() returns null so my app crash in the first Action.
What did I miss ?
interceptor name=login
class=org.myorg.coordination.interceptor.LoginInterceptor /
interceptor-stack name=crmStack
I tried removing annotations from the execute method, and the field confirm
is still getting validated. It seems like any validation annotation added in
my action causes validation of the defined fields whenever a method not
defined in the validation interceptor configuration (methods excluded
I managed to make it work by acessing the ArrayList.iterator() method.
That is, I had to create another class member of the type Iterator,
create getters and setters for it, and the use that member in the
.jsp.
On 8/9/07, Marcos Mendonça [EMAIL PROTECTED] wrote:
Yes, I did. ArrayList has
Well, looking at my code using Validations on methods, I noticed that I used
it only on one method and used @SkipValidation on my other action methods
(which worked). So I did not try the multi validations scenario.
Just to test, let the validations annotation on only one method and check
what
Pretty strange indeed. Did you remove all the validation annotations on the
field setters?
-Message d'origine-
De : beto [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 10 août 2007 11:56
À : user@struts.apache.org
Objet : RE: S2 : Validation per Action method - ideas?
Hi again, and thank
/**
* This expression derived/taken from the BNF for URI (RFC2396).
*/
private static final String URL_PATTERN =
/^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;
the above regexp is what the validator seems to use to validate urls.
For more information
Hi.
I've tried using validation annotation (which works great) and ran into the
scenario mentioned by Joseph. I have different action methods which requires
different set of validation rules. I can not find out how to set up
validation annotation to differentiate the validation rules based on
Hi all,
This question might be a faq, but I haven't seen any answer when searching on
google or in the mailing list archive.
I'm working with a website that uses a java-based CMS (Content Management
System) that has some struts-based functionality. One of the functions we have
is to let the user
2007/8/10, [EMAIL PROTECTED] [EMAIL PROTECTED]:
We need this link to do the same thing as a submit button does when
submitting a
struts form (account activation using this form works perfectly).
a href=blahblah onclick=yourform.submit() /
Antonio
This is the Validations (with a 's' at the end :-) ) that can be put on a
method. The syntax is pretty confusing but the functionality quite neat.
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/va
lidator/annotations/Validations.html
-Message d'origine-
De :
Hi, I've searched around here and googling to try to find a good answer but I
haven't found one.
I'm using the basic struts2 validation with the validate=true on my
s:form so the validation is done client side.
I'd like to change the error messages so they do not show up ABOVE my
controls. (I
Hi All,
This is somewhat related to Matt's post on conditional validation at
http://www.nabble.com/Re:-Conditional-validation-p11990883.html ; i dont
have the original email on struts-user (joined the group only last week!) to
reply to :
I need some help regarding the extent to which we can
Hi,
I am trying to do a conditional validation using 'validwhen'.
There is group of two radio buttons (values 'Yes' and 'No') and on selecting
any one of them either a drop down box is displayed or a text box is
displayed.
I want to validate the text box or drop down box based on which radio
Hi
I'm using already 2.0.9.
Is there a config option for this or something similar?
For me it looks like the 'remote'-div is fetching it's content on
before *and* load topic publishing.
An other problem for me is that most browsers are rendering
very, very slow into such a 'div'. A page with
try preload=false on the divs(tabs).
musachy
On 8/10/07, Sebastian Kolbe [EMAIL PROTECTED] wrote:
Hi
I'm using already 2.0.9.
Is there a config option for this or something similar?
For me it looks like the 'remote'-div is fetching it's content on
before *and* load topic publishing.
An
--- yitzle [EMAIL PROTECTED] wrote:
On 8/9/07, Dave Newton [EMAIL PROTECTED]
wrote:
--- yitzle [EMAIL PROTECTED] wrote:
I had
s:form action=CertificateImport method=POST
enctype=multipart/form-data
and tried with
form action=CertificateImport.action
method=POST
Changing this:
Integer startNumber = (Integer) getFieldValue(_startFieldName, object);
if(startNumber == null)
addFieldError(_startFieldName, Start Year is a required field.);
To this:
Integer startNumber = (Integer) getFieldValue(_startFieldName, object);
if(startNumber
Hm, well...
JSP-Exception ?! :-(
'preload' is not in DTD, right?
If this attribute is recognized I could add it to the DTD?
Sebastian
Musachy Barroso schrieb:
try preload=false on the divs(tabs).
musachy
On 8/10/07, Sebastian Kolbe [EMAIL PROTECTED] wrote:
Hi
I'm using already
hi all,
i have a problem with my web application, when i enter an arabic text in the
text fields and trying to save it in the database or print it into the
command it appears with some strange encoding some like this اØÙ?د
and i'm using
the meta tag
meta http-equiv=Content-Language
Struts 1.29 app that uses tiles definitions. Question is: I am finding
myself having to call the taglib in the layout, and also in each
tile. If I take the taglib out of any of the jsp pages that is a tile,
then the page fails to display because it cannot find the taglib from
the template layout.
Struts 1.29 app that uses tiles definitions. Question is: I am finding
myself having to call the taglib in the layout, and also in each
tile. If I take the taglib out of any of the jsp pages that is a tile,
then the page fails to display because it cannot find the taglib from
the template layout.
Hi,
I am populating JSP page with rows retrieved from the database and
represented as a List of Beans in forEach loop:
c:forEach var=list items=${OperationsForm.OperationsList}
...
c:choose
c:when test=${list.isCompleted =='Y'}
td width=100Completed/td
Hmm; repeat?
--- Jim Reynolds [EMAIL PROTECTED] wrote:
Struts 1.29 app that uses tiles definitions.
Question is: I am finding myself having to call the
taglib in the layout, and also in each tile.
Remember; every JSP is a standalone servlet.
d.
--- Oleg Konovalov [EMAIL PROTECTED] wrote:
input type=image onclick=rowId=value;
As of now I am getting Javascript error Object
doesn't support this property or method,
complaining
about *rowId=value;*
The onclick attribute must have valid JavaScript.
d.
I have something like this: This is the layout, or tiles template as
the docs state.
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html%
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean%
%@ taglib uri=/WEB-INF/tiles.tld prefix=tiles%
html:html
head
titlebean:message key=global.title//title
Hi,
I've been googling and looking at the user mailing list if I add web service
to a struts based application, but didn't find my answers. Currently I am
developing a struts based application with Struts 1.3.8 with Struts
validator framework. I've implemented business layer and data layer.
In
One simple answer might be the StrutsWS project:
http://sourceforge.net/projects/strutsws/
In CVS you'll find a version for the 1.3.x branch of Struts. Simply
put, it allows you to call your existing Struts Actions as Web Services
without any changes to them. This means any validation you
51 matches
Mail list logo