Oh,yes I have found my answer, and thanks for all.
2005/12/5, Yujun Liang <[EMAIL PROTECTED]>:
>
> You may also want to take a look at
>
> java.util.Timer
> java.util.TimerTask
>
> They are very simple.
>
> Regards
>
> On 12/4/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> >
> > On 12/3/05, Comain C
You could still do them "declaritively" ... read them off an "external"
file.. and *process* it in your setup actions...
a little more work than you would have liked though! :-)
On 12/5/05, Shivani Sawhney <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Thanks for the reply. There's absolutely no reason t
Actually, i need to implement a if{} else{} condition in validation
framework..
if(field1=='usr1'){
minlength
8
maxlength
14
}else{
minlength
6
maxlength
11
You may also want to take a look at
java.util.Timer
java.util.TimerTask
They are very simple.
Regards
On 12/4/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> On 12/3/05, Comain Chen <[EMAIL PROTECTED]> wrote:
> > I am now working with struts and hibernate to implement a web site.
> > Unlike othe
I don't know JSF, but I just want to know what is ?
On 12/5/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Anyone have any ideas on this one? My next step in figuring it out will
> be to step through the code for tiles:get / tiles:insert in a debugger
> and see if I can spot where the JSP output
Hi,
Thanks for the reply. There's absolutely no reason that initializing
field values in setup action won't work for me. But I am building this
use case for reports and was wondering if the initial values for start
and end period for every report could be controlled declaratively. But I
guess I'll
Anyone have any ideas on this one? My next step in figuring it out will
be to step through the code for tiles:get / tiles:insert in a debugger
and see if I can spot where the JSP output stream is getting closed, but
as far as I can see I'm not doing anything different than the example2
app that
+1
In terms of this particular requirement, what the validator framework
does is provide the concept of 'pages' and page-specific validatons
(think of a wizard, where each screen in the wizard is a 'page' and each
validation rule is marked as being applicable to a specific page).
Even if you
I wonder if anyone has encountered this. This might be a bug (highly likely)
and I'd like to find
out.
The LocaleAction can receive a "page" parameter which redirects it to the
specified URL after
setting the locale. Well I made myself a DynaActionForm which contained this
parameter (along with
Wendy Smoak wrote:
On 12/4/05, Deepa Khetan <[EMAIL PROTECTED]> wrote:
I need sme help with validator framework.. I have a LogonForm which is being
mapped with 2 different JSPs. Both the JSPs have the password field, but the
validation for the field are diferent(The minlength and maxlength for b
Frank W. Zammetti wrote:
netsql wrote:
ot: http://prototype.conio.net any coments on this?
realy, I keep looking for a good stable stack.
I don't like anything that uses the term "Web 2.0" right out of the gate
:) Of all the recent terms that have arisen, that one just bugs me to
no end.
On 12/4/05, Shivani Sawhney <[EMAIL PROTECTED]> wrote:
> Thanks so much Martin.but I am not trying to validate a date
> field, I am actually trying to give a dynamic initial value to a text
> box through struts-config.xml.
>
> initial="rd.admin.DateFormat.getDate()"/>
>From the DTD, the
I started off "learning" struts with the combination of struts 1.1 and
jdk1.5. I dint have any issues.
However, I quickly moved to 1.2.x soon when I realized that since I am
starting off fresh, why not just take the latest stable version from struts.
I still dont have problems making it work with j
While the "if" loops in the validate function of the form will work... i
somehow think you are coupling the workflow with the validation rules. Why
dont you look at the validation framework so that you "externalize" your
validation logic into xml files?
You can perform validation on a per form bas
Hi,
Thanks so much Martin.but I am not trying to validate a date
field, I am actually trying to give a dynamic initial value to a text
box through struts-config.xml.
Regards,
Shivani
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 03 December, 2005
On 12/4/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> On 11/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> > On 11/25/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > >
> > > On 11/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> > >
> > > > How do *you* know that it's a session scoped bea
netsql wrote:
ot: http://prototype.conio.net any coments on this?
realy, I keep looking for a good stable stack.
I don't like anything that uses the term "Web 2.0" right out of the gate
:) Of all the recent terms that have arisen, that one just bugs me to
no end.
But more seriously, Protot
Thanks a lot, this is exactly I was looking for. Looks like I am out of
touch for long time.
Regds
Ashwani
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 30, 2005 7:47 PM
To: Struts Users Mailing List
Subject: Re: Struts validation.xml size
On 12/4/05, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> I need sme help with validator framework.. I have a LogonForm which is being
> mapped with 2 different JSPs. Both the JSPs have the password field, but the
> validation for the field are diferent(The minlength and maxlength for both
> the pages
Hi,
I need sme help with validator framework.. I have a LogonForm which is being
mapped with 2 different JSPs. Both the JSPs have the password field, but the
validation for the field are diferent(The minlength and maxlength for both
the pages is different). On the basis of the value of some other
On 11/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 11/25/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> >
> > On 11/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> >
> > > How do *you* know that it's a session scoped bean
> > > (versus perhaps being in some other scope)?
> >
> > Becau
Hi All,
I want to know if I will develop a web application with STRTUTS 1.1 under
JDK1.4, can it work well under JDK1.5?
Best Regards.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Yes, it sounds like your problem is the lack of a place to store an
intermediate representation. The usual approach is to have properties on
your action form which you populate from the business object, and copy
those properties back onto the business object when you're ready to
commit them. Be
On 12/2/05, fea jabi <[EMAIL PROTECTED]> wrote:
> using struts 1.2.7
>
> Used c tags in my jsp and also gave this
> <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
...
> in web.xml
>
...
>
> thinking one of the jars in it will have the JSTL stuff. Which ar has the
> JSTL stuff in
fea jabi wrote:
using struts 1.2.7
Used c tags in my jsp and also gave this
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
in web.xml
http://java.sun.com/jstl/core
/WEB-INF/lib/c.tld
http://java.sun.com/jstl/fmt
/WEB-INF/lib/fmt.tld
Shivani Sawhney wrote:
About the 2nd query, when I write,
...the text box displays "rd.admin.DateFormat.getDate()" literally. Is
there any way that I could get the form value to be evaluated rather
than just outputting it as is?
Raghu is correct on this one; Struts doesn't perform any expres
Thank you!
--- David Evans <[EMAIL PROTECTED]> wrote:
> A few ideas that may get you started:
>
> you can use different names for the submit or image
> tags that you are
> using to submit the forms, and set up an if, else if
> structure in your
> validate method to see which page has submitted t
A few ideas that may get you started:
you can use different names for the submit or image tags that you are
using to submit the forms, and set up an if, else if structure in your
validate method to see which page has submitted to the actionForm based
on the parameters input. or use hidden tags to
Hi all,
In my application, I'm using one ActionForm Bean for
several pages. How do I properly use validate method
when user goes from one page to another? It's a
collection of data, so, on page 1, I need to validate
X fields, on page 2, validate Y fields, etc.
Is there an easy way to tell what pag
Frank,
I did the similar thing for a mainframe integration project. I think what
was great in the architecture is the 2 hidden frames behind scene, 1 for
JavaScript and HTML form mapping, another hidden frame for form submission.
The benefit of the archtecture is
1. HTML forms are cached, there ar
But Ajax is only one example of Remoting and "RiA". If Shale lets me do
JDNC remoting (and 6 others) as well, that's a plus and less
refactoring. Yes, if everything is COR, one is ahead of the game (and
that is my case at the moment, everything is COR on back end).
ot: http://prototype.conio.n
At 6:27 PM -0600 12/3/05, netsql wrote:
Sorry to be a broken record but Shale + DWR might be a good
combo to consider since Shale has an Ajax module.
That Shale has an Ajax module has nothing to do with DWR; DWR
provides all of its own AJAX plumbing, if by AJAX you mean having a
page comm
My point though is... well, I guess now I have two :) First, every web
framework in existence can trivially support AJAX in whatever way one
wants because it's just an HTTP request.
Second, AJAX is in no way, shape or form anything new, revolutionary, or
a paradigm shift *except* to the exten
> Look great to me. I am just wondering how sessionScopeVar is working? Is it
> like the "var" argument in JSTL?
>
Yep, it's like the var. Maybe it would be better to name it "var" and provide
a "scope" attribute for request or session. I went with session to avoid the
same questions about
Welcome to the world of dynamic PDF generation in a webapp :) I think
you could count on one hand the number of people who have done this and
NOT had some sort of problem... and those people just got lucky!
I think we all get to the "it works, I don't know why, but I'm happy"
frame of mind, a
Hi All,
First of all Wendy, sorry for convincing you to change your Wiki page.
You can change it back if you want to...
Actually I'm totaly confused about this bug I haven't replied earlier
because I
thought that I will set up an apache with ssl here at home so I can find out
what really causes i
Thanks, :-)
2005/12/4, Bahadir Yagan <[EMAIL PROTECTED]>:
>
> Here is the way I handle this problem for Turkish locale.
>
> Write the resources file in UTF-8. Name it something like
> ApplicationResources.properties-orig
> Convert it using native2ascii
>
> native2ascii -encoding UTF-8 Application
Frank W. Zammetti wrote:
what does this AJAX module offer that can't be
accomplished outside Shale with little difficulty? I ask because, AJAX
being nothing but normal HTTP requests, is inherently supported by any
web framework in existence today. Oh, don't get me wrong, there are
some nic
Here is the way I handle this problem for Turkish locale.
Write the resources file in UTF-8. Name it something like
ApplicationResources.properties-orig
Convert it using native2ascii
native2ascii -encoding UTF-8 ApplicationResources.properties-orig
ApplicationResources.properties
You have t
39 matches
Mail list logo