Do you have the action mapping defined for logon.do in your struts-config
file? what's it like?
BTW, just a friendly reminder, you probably don't want to use that email
id in this list, the audience are global. I happen to catch it and know
what it means :-(
thanks,
Saul
> hi folks,
> I have
Hi,
Sorry for this OT question, but below is a Web app that use JSF and MyFaces and
deployed to JBoss, I got the following strange error, I googled "No faces
context", but didn't find a single resource on that. I know many users in this
list also use JSF as well, hence posting my question here
ontext is never going to
be
setup for that request. With that problem, I would expect an error
message
like the one you described below.
Again, I'm new to faces so don't hold me to it, but it DOES make sense
from
the stack trace you included.
Regards,
David
-Original Message-
Fro
Hi,
I'm trying to validate an input that doesn't allow a particular string,
just wondering how to construct the validation mask. Say, the input
shouldn't have the string "microsoft". I tried [^(microsoft)], or
[^m][^i][^c][^r][^o][^s][^o][^f][^t], neither work. Any help is
appreciated.
thanks,
Sa
Hi,
I'm wondering if it's possible to specify multi-level indexed property
validation in Struts validation.xml file. I used indexListProperty
attribute inside , which works for one level of indexed property.
For multiple nested level indexed properties like
company[].it.project[].projectName, I wo
Try build the whole javascript function part in scriplet as follows:
onclick="<%='javascript:whichAuctionType(' + rId + ');'%>">
in your
Hope that helps.
Saul
- Original Message -
From: "minhnguyet" <[EMAIL PROTECTED]>
To:
Sent: Friday, May 20, 2005 10:47 PM
Subject: How can w
Off the top of my head, try using: datePatternStrict instead of
datePattern in in your validation.xml.
Saul
> Hi,
>
> I have configured and used struts validator for my application,
> Server side validation is working perfectly...
>
> For client side, the required validator is working fine, b
[X] JDK 1.4
[X] JDK 1.5 (or JDK 5)
using Validator.
-
I'm mainly interested in the impact of moving Commons Valdator to a
minimum dependency of JDK 1.4 to use the RegExp support rather than
depending on ORO, so it would be useful if you could indicate whether
you are usi
For the following:
document.forms[0].action="/log.do?action="+eval(tmp);
You'll need to prefix "/log.do" with your web context. Or you can use:
in place of /log.do above.
hope it helps.
Saul
- Original Message -
From: "red phoenix" <[EMAIL PROTECTED]>
To:
Sent: Sunday, February
pagination program,the
shows all pages,such as 1st Page,2nd Page,3rd Page and so on,when selected
one of items of ,it will call Javascript and redirect page to a
action.
Anybody can give me some adivce?
On 2/20/06, Saul Qunming Yuan <[EMAIL PROTECTED]> wrote:
For the following:
documen
Sorry, my bad, I didn't even think about that. Right, you don't need the
"eval" here.
Saul
- Original Message -
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, February 20, 2006 7:17 PM
Subject: Re: why my page can't redirect under Struts with Ja
Hi All,
I'm wondering if there is a way to define conditional validation for mask,
date, integer etc in validation.xml. I know there is a "validwhen", but it
only checks for the condition as defined by the "test" variable. What I
want is to perform the mask, date validation only some conditions a
urned by bean.getDepends()
>
> It's used with indexed properties where the fields for the form to
> fill in are configurable and come from a database.
>
> Is that what you're after?
>
> Stew
>
> On 19/10/05, Saul Qunming Yuan <[EMAIL PROTECTED]> wrote:
>&g
Saul Qunming Yuan dataanvil.com> writes:
>
> That's simlar to what I need, except that it's not an indexd property. Can
> some of your code or send it to me offline.
>
> thanks,
> Saul
>
> > On my current project I've written a validation method
Hi
You may want to try the following to set variable "a":
just a thought.
Saul
Anton Pussep wrote:
Hello,
I am trying to concatenate strings in tag attributes and get results
that I don't understand:
prints out "/jsp/test.jsp", whereas
prints out "/jsp/[Ljava.lang.String;@1bd21
You may want to recompile your app using jdk 1.5.0 and re-deploy the new
war or ear file on your live server.
HTH,
Saul
Dai Le wrote:
Hi, I'm new to the list and this is my first time posting a question. Well
here it is.
I'm a new web developer and this is my very first site. I'm devel
It appears you're trying to get the next element from a list which is
empty, or doesn't have next element in the iterator. Did you use
iterator.hasNext() to check first? Just a thought.
Saul
Nuwan Chandrasoma wrote:
Hi All,
I am getting this error when i try to access some actions in a strut
Hi,
You may want to try the following:
1. add index-based getter and setter to your Person bean class, i.e.
public Role getRoles(int i) {
return (Role) getRoles().get(i);
}
public void setRoles(int i, Role role) {
getRoles().set(i, role);
}
2. use [0] rather than (0) for your name field
Hi,
I think the welcome file has to be a physical file or a servlet defined in
web.xml. You can define your welcome file as index.jsp and in your index.jsp
file just forward to your index.do. Something like:
HTH,
Saul
- Original Message -
From: Nicolas Laplante
To: user@strut
Can you do it in Javascript? something like the following:
Parent window:
onclick="openPopup();" >
Popup window
// getting multiple selected values from opener
// set selected values (will be a list) to hidden form field
// document.forms[0].multiSel1.value=
setTimeout(submitF
20 matches
Mail list logo