Dear Chetan
Look at your bean form definition in your validation.xml
if you specify the form bean like this :
formset
form name=attendeeDetailsForm
/form
/formset
then you should call generated javascript with this
html:javascript formName=attendeeDetailsForm/
the first
Hi
I doubt if there are any ready made frameworks such as the ones you are
looking for. Probably, you are going to have to write one on your own.
Also, you can publish the framework once done or may be start it as a
project on sourceforge.
It will be interesting to see what others have to say on
I have changed the name to attendeeDetailsForm everywhere as you have
suggested
And have
html:form action=/addAttendeeDetails onsubmit=return
validateAttendeeDetailsForm(this)
But this is not helping me still.
I only get Server side validation, no Client Side Validation.
Thanks.
Chetan
Thanks a lot for you help! I've got it!!! At the end my problem was that
the info didn't arrive to the session.
First I've checked if info came to the jsp with c:out and then I've use the
html:select...
From: Aiping [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
Hi Ted,
I downloaded xworks 1.1.3. The exception has changed now to :
[Servlet Error]-[Filter [action2]: could not be initialized]:
java.lang.NoClassDefFoundError:
com/opensymphony/xwork2/config/ConfigurationProvider
Can you tell me whats wrong. I'll also try to debug but right now I am
Hi,
I have four classes.
public class AccountForm
{
private String accNum;
}
public class Account
{
private String accNum;
}
public class CustomerForm
{
private String custRef = ;
private Vector accounts= null;//Contains objects
of AccountForms classes
//Get, set methods
}
I am writing a taglib at the moment to do some complex display logic and I need
to get at the message resources.
Please correct me if I am wrong but it seems that under some circumstances there
can be different Locales (or sub-locales) available from different places in the
servlet container
Hi,
Is there is major differeence between Struts-Shale framework and JSF.
Please, categorize and differentiate on this.
Thanks in Advance
Jeevan Kumar
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Any form elements created dynamically on the client-side will have no
intrinsic link to the ActionForm. However, this is not necessarily a
problem... imagine if your ActionForm has this in it:
private String firstName;
public void setFirstName(String inFirstName) {
firstName = inFirstName;
}
Hi,
Is there is major differeence between Struts-Shale framework and JSF.
Please, categorize and differentiate on this.
Thanks in Advance
Jeevan Kumar
-
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
On 8/3/06, Puneet Lakhina [EMAIL PROTECTED] wrote:
Any form elements created dynamically on the client-side will have no
intrinsic link to the ActionForm. However, this is not necessarily a
problem... imagine if your ActionForm has this in it:
private String firstName;
public void
hi all
currently i am facing ParserUtils: warning org.xml.sax.SAXParseException
message while compiling any jsp page.
after jsp file is compiled this message dosenot come for next request to
jsp page.
i am developing application from struts. currently i used JFreeChart to
design some chart. for
Hi
I have recently recovered a MiniDV tape of Patrick Lightbody's
presentation of ``WebWork / Struts 2.0 in Action''
at VeriSign's Mountain View office. I thought
I had lost that first hour of tape on my travels to northern
California, but I found it in the suitcase comparant, and then
To those of you that are using Struts with Spring,
I've searched a way to make my actions hot-reloadable (no recompile
neither redeploy) for quick prototyping using Spring 2.0 groovy scripted
bean, without having to hardly change my existing actions and configuration.
I've found a not so
I know this is not the real solution you want but, one workaround could be
pre-compiling your JSPs, using Ant (or Maven). This could pin point if there is
error in your JSP itself. Morover, then there is no runtime compilation.
Thanks and Regards,
Thomas Joseph
Kott Software Pvt. Ltd. |
Hi thanks for reply,
I have already gone through this solution. I have compiled all my jsp's
using probe.
I think this is related to somewhat .xml's .
-Original Message-
From: Thomas Joseph [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 03, 2006 7:14 PM
To: Struts Users Mailing List
In my Struts Web application
i need to restict the user accessing pages from Browser History.
When i access any page from Browser History i get
http-referer=null
So,
I am checking this by below code on Server side in All my execute method in
Struts Action File .
can someone help me with this please?
From: fea jabi [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: user@struts.apache.org
Subject: validate integer with a comma thousands seperator using Validator
Date: Wed, 02 Aug 2006 10:09:19 -0400
Using struts validator.
On 8/3/06, Nicolas De Loof [EMAIL PROTECTED] wrote:
To those of you that are using Struts with Spring,
I've searched a way to make my actions hot-reloadable (no recompile
neither redeploy) for quick prototyping using Spring 2.0 groovy scripted
bean, without having to hardly change my existing
Yeah, leave it to IE to not work with DOM-compliant code :) I guess I
only tried it in FF, which is odd since I don't generally use FF (it was
probably just open at the time!). Glad you got it working!
Frank
Puneet Lakhina wrote:
On 8/3/06, Puneet Lakhina [EMAIL PROTECTED] wrote:
Any
Do you realize that browsers are not required to send a Referer header?
And that many proxies strip out such a header?
You will have far better success if you create a robust application that
can do the correct thing even if URLs are received out of the expected
order. Trying to hamstring the
Have you looked at Struts Scripting? It would be interesting to see
how your approach differs from this. (And whether Struts Scripting
works with Spring 2.0 the way you need it to.)
I've looked a Struts-scripting, but AFAIK this requires me to rewrite
all my struts-config.xml to set the
[EMAIL PROTECTED] ha scritto:
Do you realize that browsers are not required to send a Referer header?
And that many proxies strip out such a header?
And referer can be easily spoofable ;-)
http://refspoof.mozdev.org/
-
To
IIOC, the only way you can do this with the stock validator is to use mask
rather than date as the validator. Then, you can use a regex to dictate
your mask. I'll warn you though, if you use a regular expression it's going
to be VERY long because it will also need to validate that the date
hello list,
I have the following code:
tiles:insert definition=myLayout
tiles:put name=body type=string
logic:iterate id=outageElement name=searchForm
property=region1Papers
tiles:insert page=/nextPage.jsp flush=false/
/logic:iterate
/tiles:put
/tiles:insert
and my
Tiles assembles pages using dynamic (runtime) inclusion. The logic:iterate tag
defines a page scoped attribute under the key specified by the id tag
attribute. The nextPage.jsp will have it's own pageContext, so the
outageElement is not visible. Perhaps you could put the outageElement into
Per Jørgen Walstrøm ha scritto:
tiles:insert definition=myLayout
tiles:put name=body type=string
logic:iterate id=outageElement name=searchForm
property=region1Papers
tiles:insert page=/nextPage.jsp flush=false/
/logic:iterate
/tiles:put
/tiles:insert
and my
You could create another validator, and inside that perform a stripping of
non-numeric characters (stripCommas), then
execute code similar to the existing long range validator like this:
/**
* Determines if a formatted numeric value is between a range as defined by
* the
Adam Gordon wrote:
IIOC, the only way you can do this with the stock validator is to use mask
rather than date as the validator. Then, you can use a regex to dictate
your mask. I'll warn you though, if you use a regular expression it's going
to be VERY long because it will also need to
HAHA! I would have done the same thing. I don't want things like that
(regexp) creeping around my application, even if I do only have to touch it
once. Ech! shivers
On 8/3/06, Scott Van Wart [EMAIL PROTECTED] wrote:
Adam Gordon wrote:
IIOC, the only way you can do this with the stock
I'm implementing my own MessageResources and
MessageResourcesFactory-derived classes. Do these need to be
thread-safe, specifically, the 'String MessageResources.getMessage(
Locale locale, String key )'?
Thanks,
Scott
-
To
Heh. Regular Expressions aren't for everyone - I happen to work w/ two
engineers who live and die by them.
In your bean setter for the date, I'd make sure no exceptions could be
thrown, or handle them - the code I took over from an engineer we had
that left had this issue and it took me
On 8/3/06, Jeevan Kumar Kade [EMAIL PROTECTED] wrote:
Hi,
Is there is major differeence between Struts-Shale framework and JSF.
Please, categorize and differentiate on this.
Your best bet is to ask this kind of question on the Shale user mailing
list[1] since Shale is now a top level
Hello,
I saw that bean:write has a format attribute for formatting dates and
dollar values. But I didn't see similar thing for html:text. If my bean
has a property called amount of type BigDecimal, and I want to display
that as a html:text for the user to modify the value, How can I format
it?
Hi,
I have property pageTitle in my java bean.
How can I pass that value to tile attribute?
i have xml file, where I am defining my tile definitions.
For example, if I include
tiles:insert attribute=title beanName=pageTitle
beanProperty=common.Page ignore=true/
Thanks
--
View this message
Also, if the user leaves the html:text field for BigDecimal as blank, I
get an exception (string-BigDecimal conversion exception). So, is the
solution to this is to make all formbean properties to be String type?
you coud do something like
BigDecimal bigDecimalProperty;
public
Neil,
I am trying to do same thing my page_title comes from the db and it depends
on the parameter.
I fail to understand, how are you doing it? Do you have some example code.
You are creating another class as MyController?
Thanks
--
View this message in context:
On Thu, 2006-08-03 at 10:25 +0530, Raghu Kanchustambham wrote:
Hi,
I am interested in building a e-Learning/Distance learning framework. Was
wondering if there is any framework that exists that I can use as a starting
point.
First preference would be for a struts based application since I
Adam Gordon wrote:
Heh. Regular Expressions aren't for everyone - I happen to work w/
two engineers who live and die by them.
In your bean setter for the date, I'd make sure no exceptions could be
thrown, or handle them - the code I took over from an engineer we had
that left had this issue
I have a login.jsp page and it directs to welcome.jsp page. Inside
welcome.jsp page, it has one link to call struts action and another link to
call another jsp. All jsp and struts are running within the same browser.
However, I debug and find struts one always creates a new session, because I
I'm either missing something stupid (which is always possible) or I've
managed to break the validator. I have an app that uses validator all
over the place and it's working fine in all my other actions but for
this one action it is simply not getting called.
I can't see any difference between
Do you have the property page being submitted with your form:
html:hidden property=page value=1/
Also, are you sure that the validation isn't working and the error
messages aren't getting displayed? Can you send the jsp source?
-Matt
On 8/3/06, Bart Busschots [EMAIL PROTECTED] wrote:
I'm
On 8/3/06, Nicolas De Loof [EMAIL PROTECTED] wrote:
I've looked a Struts-scripting, but AFAIK this requires me to rewrite
all my struts-config.xml to set the Action java source as parameter.
Lot's of my action already use a parameter and I don't want to change my
projet (huge) struts-configs.
Is there a method anywhere I can use to quickly determine whether or not
a given String is a tiles definition?
- Scott
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
check the cookies permission on your browser.. and try in other browser,
just to be shure.
On 8/3/06, Jin Chen [EMAIL PROTECTED] wrote:
I have a login.jsp page and it directs to welcome.jsp page. Inside
welcome.jsp page, it has one link to call struts action and another link
to
call another
Hi,
I am trying to enable I18N in my struts based application, here is what I
have done:
- added a LocaleFilter, which I copied from Appfuse:
String locale = request.getParameter(locale);
Locale preferredLocale = (*null* ==
I tried Appfuse on my machine, it works. so I assume the browser
configuration is fine.
I use Tiles, Struts, and Spring framework in my application btw.
47 matches
Mail list logo