try using validwhen - something like:
test
((lunchBreak == 'N') or (*this* != null))
test
((lunchBreak == 'N') or (*this* != null))
-Original Message-
From: Mallik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 10 October 2006 4:49 PM
To: user@struts.a
HI friends
In my form, i have to validate two fields,if another check box is not
selected,
means if the user checked no lunch break,lunch from and lunch to are not
required,else both are monadatory.
i hope requiredif suits for this, if so, give me some sample code or any
artical for this
or
Hi
I am writing a struts appliction to download a file that is on the server.
When the user clicks the download button, its displaying the open,save
cancel window. Everything is working fine for files of small sizes ie. less
than 50 kb..but if the file size is mor and when I click cancel its
di
Hi,
Can I reload properties file from a plug-in? Is there any specific way
to reload properties file?
Thanks,
Vishal
MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK
Hi All:
I have defined a Variable using Tag that is printed in the
next Line using a Logic:notEmpty check.
But the problem is that it will print anyhow whether it is empty or Not. And
the resulting print of "null" in the JSP is unacceptable.
Here is my Definition
<%=session.getAttri
What is the url the tag generates?
Don
On 10/9/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
I set the action and method attributes on the s:url tag and it's still
calling the execute method.
Any help?
Shawn
-
To unsubscribe,
I set the action and method attributes on the s:url tag and it's still
calling the execute method.
Any help?
Shawn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all:
I have a LookupDispatchAction which can be submitted by two buttons (Update and
Restore). I need to validate this form only when Update button is pressed. The
form field to validate is required and most be integer. The required condition
works fine, using the requiredIf validation with
When the data model accurately projects the identification of underlying
business processes and relationship between the processes then our role(s)
becomes one of 'pure implementation'
Good Call Larry-
M-
This e-mail communication and any attachments may contain confidential and
privileged info
Hello all
I'm trying to use ValidWhen from Struts without sucess. I tried
everithing is possible, but it doesn't work. I have a radio button and a
text field.
My validation rule is: textfield is mandatory if some option of my radio
is cheked. See bwlow.
Is there something wrong? Any help is w
Hey Martin,
Thank you so much for your response. We are using
RHEL.
i18n settings in RHEL are configured in
/etc/sysconfig/i18n, and the LANG parameter specifies
LANG="en_US.UTF-8". But this problem still exists. Am
I missing anything else?
Thank you,
Krishna
--- Martin Gainty <[EMAIL PROTEC
Alex Shneyderman ha scritto:
well, thanks for your help.
I gues it has soemthing to do with the fact that i include a tile that
refers to the page
that is an action. Might it be that Struts does not handle this case?
I don't think so, since your ActionForm is in session you should not
have an
well, thanks for your help.
I gues it has soemthing to do with the fact that i include a tile that
refers to the page
that is an action. Might it be that Struts does not handle this case?
Alex.
On 10/9/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Alex Shneyderman ha scritto:
> and relevant
> From: Wesley Wannemacher [mailto:[EMAIL PROTECTED]
> [...] I think this actually stifles my Java development from time to
time
> because I tend to think in terms of 'normalized db' rather than 'good
OO'
I'm not entirely sure I see a huge differentiation between the two.
> I figured the busine
On 10/9/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote:
Wow :) I am really glad you asked that! I actually came to Java
Development from a DBE background. Normalization is actually one of my
favorite topics of discussion, and I think this actually stifles my Java
development from time to time b
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 07, 2006 10:19 AM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: FRIDAY #1 JavaBeans/Model
>
> Good Morning Martin-
>
> I would say you're definitely on the right track
>
Alex Shneyderman ha scritto:
and relevant JSP from /WEB-INF/jsp/SingExt.jsp (SingularExt.def):
Person Typy: ''
That's really strange, I don't see *really* anything wrong! What I can
say is to check your log for exception (probably a NullPointerException)
or check if the "reset" method o
public ActionForward execute(
ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
SimpleForm simpleForm = (SimpleForm) form;
String forwardName = "success";
SearchS
Alex Shneyderman ha scritto:
The SingularExt.do action gets called and I can confirm that my data
is getting set correctly. But when inside the JSP
/WEB-INF/jsp/SingExt.jsp I can not see my data.
Ok now that I've seen that it seems that there is nothing wrong with
your action mappings, I have
I do believe those are forwards.
Are you sure that "forwards" and not "redirects" to the destination
definition? Please post your action mapping.
anyway here are the action defs:
and the other action is :
--
Thanks,
Alex.
--
> From: B.Sridhar [mailto:[EMAIL PROTECTED]
> How to catch ClientAbortException, when I am adding the following line
it
> showing error. Its not identifying the org.apache.catalina, do I need
to
> add any jar files to my path to identify this exception Please
respond..
>
> *org.apache.catalina.co
Alex Shneyderman ha scritto:
The action that actually spawns the sequences is yet another action
and on its success it forwards to commonext.def.
Are you sure that "forwards" and not "redirects" to the destination
definition? Please post your action mapping.
HI,
How to catch ClientAbortException, when I am adding the following line it
showing error. Its not identifying the org.apache.catalina, do I need to add
any jar files to my path to identify this exception Please respond..
*org.apache.catalina.connector.ClientAbortException
*
--
B.Sridhar
Have you tried catching the exception in the Action that's downloading
the file?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in email?
Dave
> -Original Message-
> From: B.
I have a definition that goes something like this:
where SingularExt.do is an action that manipulates data in a session
form and forwards to SingularExt.def
The action that actually spawns the sequences is yet another action
and on its success it forwards to commonext.def.
The SingularE
HI,
I tried with your suggestion, but of no use..kindly suggest me the
solution
On 10/9/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
B.Sridhar wrote:
> I am writing a struts appliction a to download a file that is on the
> server.
> When the user clicks the download button, its displaying
> From: Garner Shawn [mailto:[EMAIL PROTECTED]
> I'm in my login action and want to set a value so that it gets set in
> my user action. I've tried all the maps and nothing seems to work.
What do you mean? You want to pass a value to a different action? You
want to chain actions (blech)?
How are
B.Sridhar wrote:
I am writing a struts appliction a to download a file that is on the
server.
When the user clicks the download button, its displaying the open,save
cancel window. Open and save are working fine, but while downloading a
word
doc or pdf, when the user clicks cancel, its displayi
I sent mail to user@struts.apache.org regarding my problem, but still its
not visible there. Am I seeing the wrong list or it takes time to display
it in the list..Can u help me..
http://mail-archives.apache.org/mod_mbox/struts-user/200610.mbox/browser
this is the link I am looking in..
I am p
Hi
You can logout user by simply calling some action with
session.invalidate() in it.
You are right - If you use Tomcat's authentication you are not able (and
not need) to have an Action for it.
However you can do some post login procedures (like putting your user
object in session ) by havin
Hi
I am writing a struts appliction a to download a file that is on the server.
When the user clicks the download button, its displaying the open,save
cancel window. Open and save are working fine, but while downloading a word
doc or pdf, when the user clicks cancel, its displaying a ClientAbort
I hoped to avoid buliding from source but that turned out to be a breeze. :)
Thanks Wend!
Cheers,
Peter
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: den 8 oktober 2006 03:30
To: Struts Users Mailing List
Subject: Re: Is there a Maven2-repo for Struts2-snapshots?
Hi Rajesh:
It is imperative that your UserId-Password Table contains a role Field as
well where each User is assigned a Role.
In your context.xml you will need something like the follwing snippet
Look at the above Lines in Red.
It expects two Tables. A "userTable" and a "
33 matches
Mail list logo