Hi
If you had searched the list, you would have found my posting on this. Anyway,
what you have to do is in the web.xml filtermapping for Shale do this
comment this:
add this:
shale
*.xml
shal
Hi
I'll have to figure which of my browsers cause this (IE, Firefox or Opera) and
report it to them.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig
McClanahan
Sent: Friday, January 27, 2006 5:58 PM
To: Struts Users Mailing List
Subject: Re: [
Since I can not force the processing of the tags that are generated on
the fly, I chose a hack to call the functions that the container would
call on the tag myself explicitly. By doing so, I explicitly forced
the tag-lifecycle.
I am not claiming this is a neat solution, but the best of the
workab
Hi,
Whenever a user requests a JSP page, I need to determine if I need to
re-generate it if the corresponding template has been changed.
I use action forward to display tiles.
login.view is an action forward in my struts-config file
I tried to extend TilesRequestProcessor and
This is awesome!!! Since Struts doesn't have portlet support, using JSP to
emulate it is second to none. Portlets are nothing but a subset of the servlet
request anyway, so you're doing some great work.
I'd like to see an example where you connect this all up to Struts.
Paul
There are two more reasons why the validator just stops to work.
1) The jar files get corrupted. Replace them and try again, the application
might start working perfectly
2) There might have been an extra new line character in the Validation.xml
file
Checking these two helped me solve my prob
Hi,
I'm rewriting an existing MVC project into Struts. I
have to keep the existing servlet name e.g.
'fooServlet' available for 30 days. How can I support
the new 'fooServlet.do' code and also support the old
MVC code 'fooServlet'? (btw, I have to keep the
fooServlet name for the rewrite).
In Stru
Make your input="something.jsp"
-
What are the most popular cars? Find out at Yahoo! Autos
Yes. Tried the same and it works now.
I got a different problem now though.
The following action results in validation being called recursively
resulting in server crash.
If I remove the input attribute a server exception is thrown. How can I make
a page submit to itself on validat
I am not saying this is your problem, but I've had times where jar files get
seemingly corrupted for no reason. I haven't figured out why but at least
twice a year a JAR file just dies on me. Try reinstalling Struts and copy the
default validation files out and start from there.
Paul
Well, finally I found time to encapsulate HTML into some tags. Wendy,
roles work too :-)
To build your own tabbed notebook you need to download tag library
version 0.4 from here:
http://sourceforge.net/project/showfiles.php?group_id=154342&package_id=171420&release_id=389310
Please, download samp
I get the following error:
[1/29/06 17:35:13:701 EST] 4e5645a ValidatorPlug I
org.apache.struts.validator.ValidatorPlugIn Loading validation rules file
from '/WEB-INF/validator-rules.xml'
[1/29/06 17:35:13:721 EST] 4e5645a ServletInstan E SRVE0100E: Did not
realize init() exception thrown by serv
The validation can silently fail if it is not configured correctly. Make sure
you have the plug-in correctly configured with the 2 validation files -- one
for the validators and the other your validation forms.
Also if you upgraded to a new version of Validator your validator
configurati
Hi,
I tried this. Using debug info I can see that the validate method is being
called. But no errors are being returned.
Thanks and regards,
Karthik.
On 1/29/06, Angelo zerr <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Name of form into validation.xml is the path of your Action
> and not the name of yo
Raghu,
can you be more specific about your solution? how about giving some coding
examples?
Thanks.
Kai
On 1/27/06, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I solved the problem by "playing the container".
>
> I called the tag functions that the container would have called in th
Hello,
Following tables are present in our database. We have mapped these tables to
model classes using hibernate where the
model class for table 2 is a collection in model1 class.
Table 1
Part_Id - int identity (10) - Primary key
Part_Code - Char (10)
Part_Name - Varchar (50)
Table 2
S
Karthik,
I don't think you will be able to access your query parameter when you
post your form. Your action attribute in your html:form tag should just
be /Control
Have you looked at the struts-example application?
-Richard
Karthik Manimaran wrote:
Hi,
I am using the validator framework f
Hi,
Name of form into validation.xml is the path of your Action
and not the name of your Action :
Declare in your AplicationResources
(see example into validator-rules.xml)
errors.required={0} is required.
privacyPrefForm.strFirstName=First name
Regards
Angelo
2006/1/29, Karthik
This is the form definition
The JSP file is as follows:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
Errors Not Present
What is the form definition for privacyPrefForm? Where is the tag for
your strFirstName field in your form?
Are you using a debugger at all?
-Richard
Karthik Manimaran wrote:
Hi,
I am using the validator framework for form validation. Validation doesnt
seem to happen and no error messages a
I tried subclassing both ValidatorForm and ValidatorActionForm and it still
doesnt work. Checked the properties too. I even tried using a custom error
message using resource="false"
This is always evaluating to true even if I submit the form with errors.
Errors Not Present
On 1/29/06, Paul Ben
Make sure you're using the right validator class. The ValidatorForm keys off
the formname,
ValidatorActionForm keys off the action name. This has happened to me before.
Also make sure your
properties are named the same.
Paul
__
Do You Yahoo!?
Tir
No, actually, its my requirement. When user enters a particualr field and
leaves that textbox, i need to get some data from the database and display
him that! So, i am sending the value in the textbox as a hidden parameter of
another form and submitting it!
Hope u got the real picture
On 1/28/06
Hi,
I am using the validator framework for form validation. Validation doesnt
seem to happen and no error messages are displayed. However the form is
getting pre-populated with the user input. Can anyone tell me what I am
missing here?
struts-config.xml
-
...
24 matches
Mail list logo