This are the two Fields get validated
Field which are not getting Validated
Ginu
On Tue, 2007-12-11 at 11:30 +0530, Arpan Debroy wrote:
> Which are the two fields are getting validated and which are not..
>
> On Dec 11, 2007 10:17 AM, <[EMAIL PROTECTED]> wrote:
>
> > iam using
Hi Jerome,
I have created a new thread. I never did reply to any e-mail when
composing this email. However I did reply to a reply I could have got.
This problem could have been caused by both the threads having the same
subject. It is unintentional.
Ginu.
> [EMAIL PROTECTED] wrote:
>>
Which are the two fields are getting validated and which are not..
On Dec 11, 2007 10:17 AM, <[EMAIL PROTECTED]> wrote:
> iam using struts2 iam getting a validation Problem
> All the fields get Validated while using the get method for a particular
> action while using the post method (using 5 Fi
[EMAIL PROTECTED] wrote:
Hi all
iam using struts2 iam getting a validation Problem
All the fields get Validated while using the get method for a particular
action while using the post method only two fields get validated
Ginu
iam using struts2 iam getting a validation Problem
All the fields get Validated while using the get method for a particular
action while using the post method (using 5 Fields)only two fields get
validated
In jsp
in validation.xml
Why not subclass the RequestProcessor so you can have the functionality that
you want? You can certainly remove the attribute from the request once it is
used.
On Dec 7, 2007 8:58 AM, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> Our tooling/app server vender along with our company has identified
>
Pierre. I think that Validator 1.3 relies on Jakarta ORO for its regular
expression parsing. You need to visit that project and see if it can do what
you want.
With that said, Validator 1.4 is based on JDK 1.4 and can use the native
Java regex engine.
Do any of these engines do what you need?
Pa
Well sort of...
The form has rendered, but page doesnt look like mine, total stylesheet is
gone off the wind.
I have few links in my header.jsp. On click , i need to reload the header,
menu and the contents. Basically redraw the whole page. So i make call tol
my action which calls the definition.
Does it work outside of an iframe?
I mean, if you're going through a Struts request cycle, and your action
doesn't do anything weird with the form before rendering, I'm not sure why a
tiles:insert wouldn't work as expected--I do it all the time in my old S1
apps, although I suppose I could be forg
Hi,
my strutus-config entry is
my tiles-def entries are
My header.jsp call looks like this:
<%String contacthrurl = request.getContextPath()+"/contactHr.do";%>
document.write(" '<%=contacthrurl% ' class='button blue'
Hi,
my strutus-config entry is
my tiles-def entries are
My header.jsp call looks like this:
<%String contacthrurl = request.getContextPath()+"/contactHr.do";%>
document.write(" '<%=contacthrurl% ' class='button blue'
If you are including a JSP that's expecting a Struts-instantiated action form
without going through a Struts request cycle no form will be instantiated.
d.
--- NagsNags <[EMAIL PROTECTED]> wrote:
>
> Hi Antonio,
>
> Sorry for not giving much information.
>
> my tiles-def entry looks like this
Hi Antonio,
Sorry for not giving much information.
my tiles-def entry looks like this:
So it is the actual jsp content that i am trying to insert.
Hope this clarifies.
When i use tiles:getAsString in the layout.jsp, jsps which render plain text
works fi
--- Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> Well, in fact I meant a different kind of football, you know, where
> the ball is always near a foot...
Dave is a little embarrassed about that. Dave has high hopes we'll join the
civilized world and name our sports properly any day now.
d.
2007/12/10, Paul Benedict <[EMAIL PROTECTED]>:
> James Sanders.. hmm.. then we have a professional football player on our
> mailing list!
> http://www.patriots.com/team/index.cfm?ac=playerbio&bio=30941
Well, in fact I meant a different kind of football, you know, where
the ball is always near a fo
2007/12/10, NagsNags <[EMAIL PROTECTED]>:
> src="<%=request.getContextPath()%>"
> scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0"
> hspace="0" style="overflow:visible; width:100%; display:none">
>
> With this code, I was loosing the form attributes whenever I try to rend
What kind of debugging/profiling have you attempted? I realize the
tooling in IE doesn't stack up too well vs. FF, but basic things like
alerts to narrow down where the delays are can still be done
effectively. You said it's an XSLT-based app for instance... are the
transformations being done
I just recently tried extracting the contents of
org\apache\struts2\static into \struts, though I also
tried to eliminate as much of the dojo/ajax content in my app as
possible. The whole app is pretty simple, mostly just displaying
read-only data to users.
The thing that I'm most confused/concern
If you are using the static functions like dojo, then extract it into
your public html directory so that they are not loaded from the jar.
Then turn off loading the resources static.
Dave Mills wrote:
I've got a Struts 2.0.11 app running on Sun Web Server 7.1, which I
recently re-wrote from
In case anyone also needs this, I avoided this by using the
tag (thus using the value stack). It worked just fine without adding the
extra property to the Action class.
Wes Wannemacher wrote:
I don't think you are understanding what I am telling you... When you
read a parameter directly, it wi
I've got a Struts 2.0.11 app running on Sun Web Server 7.1, which I
recently re-wrote from an entirely Servlet/XSLT app. In pre-release
testing everything seemed to be working well in terms of performance and
functionality.
However, when the app was moved into production (which is SSL) the
perfor
Thanks Wes,
I understood what you meant in your first reply and I appreciate it.
However I'm used to doing simple calculations on a JSP (like just adding
a 1 to a guaranteed numeric value), independent of the Action class. I
guess this is part of my coding techniques in using non-thread safe
Checked my validation files, I've only used "required" validator for
selection and checkboxes that contains number value.
How about set required="true" for your textfield?
-Original Message-
From: Arpan Debroy [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10, 2007 2:33 PM
To: Struts
I fixed it using the session option...cudnt find the better way though..
anyways thanks for your help
Jiang, Jane (NIH/NCI) [C] wrote:
>
> We had the same problem. When you submit a form, only the information
> in form gets submitted and repopulated when there is a validation error.
> Since th
Right, if my text box is empty, I am getting back 0 allways.
Have u any idea, how to validate empty "long" data type value.
On Dec 11, 2007 12:51 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Arpan Debroy <[EMAIL PROTECTED]> wrote:
> > So that means there is now way I can check if
> > a text b
I don't think you are understanding what I am telling you... When you
read a parameter directly, it will be a string. It's pretty much the
same as calling -
request.getParameter("paramName");
(http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletRequest.html#getParameter(java.lang
--- Arpan Debroy <[EMAIL PROTECTED]> wrote:
> So that means there is now way I can check if
> a text box, which takes the datatype "long", have
> any null value.
For *null*? A text box in the browser will never* send back a null to the
server, AFAIK. IIRC in Java converting an empty string into a
So that means there is now way I can check if
a text box, which takes the datatype "long", have any null value.
On Dec 10, 2007 11:40 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Arpan Debroy <[EMAIL PROTECTED]> wrote:
> > Then when you will use "required" validator. What's its use?
>
> Anyth
Thanks Wes,
No offense to this approach, but is this the only way to do additions
(and for this matter, any other operations) within a struts2 tag?. This
is simply not clean (e.g. adding a property to my action for a counter,
etc).
Thanks anyway!
Alberto
Wes Wannemacher wrote:
#request.fo
I want Ted and Don on my Fantasy Struts Project.
--- Paul Benedict <[EMAIL PROTECTED]> wrote:
> James Sanders.. hmm.. then we have a professional football player on our
> mailing list!
> http://www.patriots.com/team/index.cfm?ac=playerbio&bio=30941
>
>
> On Dec 10, 2007 12:51 PM, Antonio Petrel
3 goals in one match?
dont know if Steinbrenner ever did that!
M--
- Original Message -
Wrom: IYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZ
To: "Struts Users Mailing List"
Sent: Monday, December 10, 2007 1:51 PM
Subject: Re: James Sanders wants to chat
> 2007/12/10, Dave Newton <[EMAI
James Sanders.. hmm.. then we have a professional football player on our
mailing list!
http://www.patriots.com/team/index.cfm?ac=playerbio&bio=30941
On Dec 10, 2007 12:51 PM, Antonio Petrelli <[EMAIL PROTECTED]>
wrote:
> 2007/12/10, Dave Newton <[EMAIL PROTECTED]>:
> > --- James Sanders <[EMAIL
#request.foo is going to evaluate as a j.l.String. If your action has
a getter for foo, then just refer to it as "%{foo + 1}", conversely,
if you are feeling confident, you can make a static call to parse it -
"[EMAIL PROTECTED]@parseInt(#request.foo) +1}"
-Wes
On 12/10/07, Alberto A. Flores <[EM
Hi,
I am new to using struts tiles. we have started a project which uses struts
tiles heavily.
My code is like this to load the contents in an iframe.
With this code, I was loosing the form attributes whenever I try to render a
page with form variables. Plain text pages renders properly. Dyna
I'm currently migrating an app from Struts 1.x to 2.x and encounter this
situation where I was calculating the tabIndex of a JSP on the fly
(reusable JSP). In struts 1.x this was done using
"/>
...
According to the Struts2 documentation, non-string attributes are
evaluated as expressions, s
2007/12/10, Dave Newton <[EMAIL PROTECTED]>:
> --- James Sanders <[EMAIL PROTECTED]> wrote:
> > James Sanders wants to stay in better touch using some of Google's coolest
> > new products.
>
> Only sports stars get to refer to themselves in the third person.
Now I know why ex footballer Fabrizio R
--- Arpan Debroy <[EMAIL PROTECTED]> wrote:
> Then when you will use "required" validator. What's its use?
Anything that can return null, like a checkbox, I suppose. Yes, I've used it,
but not for numbers, because an empty text box doesn't return null, like I
said.
> How to validate the text box,
Yeah..I am using numbers only.The "required" validator not working for
numbers also.
If you want you can test it quickly.
On Dec 10, 2007 11:01 PM, Jiang, Jane (NIH/NCI) [C] <[EMAIL PROTECTED]>
wrote:
> Use "required" validator only when a field contains a number. Use
> requiredstring for String
Then when you will use "required" validator. What's its use? Have you ever
used it.
How to validate the text box,which should carry numbers?
On Dec 10, 2007 10:40 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> AFAIK the "required" validator only checks for not-null.
>
> This is almost never what you
Wow does this list seem very small at the moment.
On 12/10/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
>
> LOLOL
>
> On Dec 10, 2007 11:06 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> > --- James Sanders <[EMAIL PROTECTED]> wrote:
> > > James Sanders wants to stay in better touch using some of
LOLOL
On Dec 10, 2007 11:06 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- James Sanders <[EMAIL PROTECTED]> wrote:
> > James Sanders wants to stay in better touch using some of Google's
> coolest
> > new products.
>
> Only sports stars get to refer to themselves in the third person.
>
> d.
>
>
We had the same problem. When you submit a form, only the information
in form gets submitted and repopulated when there is a validation error.
Since the list is not part of form submission, it is not saved any
where. The same applies to disabled fields and dynamically generated
labels. I asked t
--- Adam K <[EMAIL PROTECTED]> wrote:
> On 12/10/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> > --- James Sanders <[EMAIL PROTECTED]> wrote:
> > > James Sanders wants to stay in better touch using some of Google's
> > coolest
> > > new products.
> >
> > Only sports stars get to refer to themselves
Adam K wrote:
On 12/10/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- James Sanders <[EMAIL PROTECTED]> wrote:
James Sanders wants to stay in better touch using some of Google's
coolest
new products.
Only sports stars get to refer to themselves in the third person.
Bob Dole is a sports st
Use "required" validator only when a field contains a number. Use
requiredstring for String based field.
-Original Message-
From: Arpan Debroy [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10, 2007 11:00 AM
To: Struts Users Mailing List
Subject: Re: Required validator dosen't work
Dave is laughing out loud.
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
> Frank thinks you're wrong Dave... Frank thinks third-person is cool...
> Frank doesn't like people telling him what he can and can't do. Frank
> is angry.
>
> Frank.
>
> Dave Newton wrote:
> > --- James Sanders <
On 12/10/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- James Sanders <[EMAIL PROTECTED]> wrote:
> > James Sanders wants to stay in better touch using some of Google's
> coolest
> > new products.
>
> Only sports stars get to refer to themselves in the third person.
Bob Dole is a sports star ?
Frank thinks you're wrong Dave... Frank thinks third-person is cool...
Frank doesn't like people telling him what he can and can't do. Frank
is angry.
Frank.
Dave Newton wrote:
--- James Sanders <[EMAIL PROTECTED]> wrote:
James Sanders wants to stay in better touch using some of Google's co
AFAIK the "required" validator only checks for not-null.
This is almost never what you want, as an empty text box will still send back
an empty string, not null.
d.
--- Arpan Debroy <[EMAIL PROTECTED]> wrote:
> Yeah,
> I am using following -
>
>
> Other validators are working.
> Anyway have a
--- James Sanders <[EMAIL PROTECTED]> wrote:
> James Sanders wants to stay in better touch using some of Google's coolest
> new products.
Only sports stars get to refer to themselves in the third person.
d.
-
To unsubscribe, e-
---
James Sanders wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-5fb5492210-954f5d12a2-5346bf8a03d22ffb
You'll need to cli
Yeah,
I am using following -
Other validators are working.
Anyway have anyone ever used "required" validator or can you use it now once
to test.
Thanks
On Dec 10, 2007 5:26 PM, Simon Berger <[EMAIL PROTECTED]> wrote:
> Do you have the Validation Interceptor on your Stack?
>
> Arpan Debroy schr
I am using tile page as an input.
Thx
Paul Benedict-2 wrote:
>
> Can you paste in the set of action configuration mappings that you're
> using?
>
> On Dec 10, 2007 9:37 AM, Vaibhav Khare <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>>
>> I am using Struts validation framework in my project. My f
Can you paste in the set of action configuration mappings that you're using?
On Dec 10, 2007 9:37 AM, Vaibhav Khare <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using Struts validation framework in my project. My form becomes null
> whenever I try to do some validation. The validation works fine b
Hi,
I am using Struts validation framework in my project. My form becomes null
whenever I try to do some validation. The validation works fine but the next
time it comes on the UI, the list becomes null.
Any help will be appreciated.
example:
When I do the validation, this tag fails as the list
The correct is attributes, isn´t ?
lukio wrote:
>
> I have object:
>
> public class Component
> {
> private int id;
> ...
> private Map attributes;
> ...
> public Object getAttribute(String name)
> {
> return attributes.get(name);
> }
I solve Newton :)
The problem was that I need to overriding this to method:
public int doEndTag() throws JspException {
component = null;
return EVAL_PAGE;
}
public int doAfterBody() throws JspException {
boolean again = component.end(pageContext.getOut(), getBod
Hi,
Tomcat's log is displaying this text when I stop the application (and
when I shutdown the server too):
log4j:ERROR LogMananger.repositorySelector was null likely due to
error in class reloading, using NOPLoggerRepository.
I googled about it but there is not too much information yet, only
tha
I have object:
public class Component
{
private int id;
...
private Map attributes;
...
public Object getAttribute(String name)
{
return attributes.get(name);
}
public int getId()
{
return id;
Jugal wrote:
Thanks for your reply Jeromy..
I have made changes according to the inputs provided by you... After change
my JSP looks something like this...
I recommend using the ajax theme until everything works, then step
backwards to simple. It's too easy to miss something if y
No, I am not able to see the corresponding html form field for
...
-Original Message-
From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10, 2007 3:20 PM
To: Struts Users Mailing List
Subject: Re: datetimepicker tag
*am not able to see the field name for .*
Yeah
Just out of curiosity, does it work if you make the ID getter conformant to
the JavaBean spec, getId() (with appropriate corrections to your
annotations)?
d.
--- Johannes Geppert <[EMAIL PROTECTED]> wrote:
> Hello Ted,
>
> thank you for reply.
>
> > Is the property actually "ID", as in "String
Thanks for your reply Jeromy..
I have made changes according to the inputs provided by you... After change
my JSP looks something like this...
djConfig = { isDebug: true };
dojo.require("doj
Do you have the Validation Interceptor on your Stack?
Arpan Debroy schrieb:
I want to validate -
1) The text box should have some value("required" validator doesn't show any
error message even if it's empty)..
2) The text box must have any numerical(I am using long data type) value. I
have no c
ser has input. For example (if the user selects 10:00
a.m.): 20071210-'T'-10:00 or sth so. Could I get only the "10:00"
value without parsing then the value in an action??
Thanks.
Regards.
I don't think so. Looks like you're using Struts 2.1... It uses that
forma
quinquin2209 wrote:
I have a page which has a tabbed panel and all tab is remote tab:
main.jsp
http://www.w3.org/1999/xhtml"; xml:lang="en">
The external page loaded has a form where a list of checkbox of different
value will be shown base on the id paramet
The order of javascript is important. I believe in your case you
haven't imported all the required dependencies before trying to call a
dojo function.
Try this:
Put:
BEFORE you use the dojo-dependent javascript in the head.
If you only want to use the simple theme, then manually import
(if the user selects 10:00 a.m.):
20071210-'T'-10:00 or sth so. Could I get only the "10:00" value without
parsing then the value in an action??
Thanks.
Regards.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a page which has a tabbed panel and the content of each tab is
dynamically loaded from an external source as follow:
main.jsp
http://www.w3.org/1999/xhtml"; xml:lang="en">
"http://localhost:8080/app/message/list.action
The external page loaded has a form w
*am not able to see the field name for .*
Yeah that's because it's processed by your web container before it gets
kicked out as HTML to the browser. think you are looking for the
corresponding html form fields :D
>
>
> Tools > ErrorConsole => Warnings Tab:
>
> Warning: Error in parsing val
Hi Jeromy,
Thanks a lot for your reply. I am exatcly doing the same way as suggested by
you.. but now I am not able see the datetimepicker tag...
Here is the snippet of the code that I am using:
function calculateEndDate() {
Hello Ted,
thank you for reply.
> Is the property actually "ID", as in "String getID()" ?
>
> Or is it getId() ?
It's getID(), with XML-Configuration it works perfectly.
So there can not be an error with misspelling.
> In the JPA MailReader code (see the sandbox), @Results like this one
> are
72 matches
Mail list logo