lidation-rule.xml javascript to return true always in the
javascript method so that it gives a prompt and still goes on to submit the
form. But once the form is submitted, looks like the validator framework
doesn't do anything!!!
Am I doing something wrong here!!!
Thanks in advance for any help
Nitesh
How much careless one can be!!!
The problem was with the form name in validation.xml (userListAdmin instead
of UserListAdmin)
:)
- Original Message -
From: "Nitesh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, June 03, 2005 12:40
Thanks for the answer John...
Could you give me an example as to how we pre populate the array?
Regards,
Nitesh
- Original Message -
From: "John Fitzpatrick" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, June 02, 2005 6:00 PM
Subject:
Thanks for all the help John.
I could work it out tweaking on your solution.
Regards,
Nitesh
- Original Message -
From: "John Fitzpatrick" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, June 03, 2005 6:06 PM
Subject: Re: Problem us
Looks like a Javascript problem...
try this script... hope it helps.
function addMapping(objSourceElement, objTargetElement)
{
if (objSourceElement.selectedIndex == -1)
{
alert("Please select the tasks from the Available Tasks");
return;
}
var objectsToRemove = new Array();
f
Jeevan,
Any specific reason as to why you have to have the id attribute?
Nitesh
- Original Message -
From: "Kade Jeevan Kumar" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 09, 2005 6:13 PM
Subject: R
Just passing you a solution I had got from the user list earlier
Nitesh
- Original Message -
From: "John Fitzpatrick" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, June 03, 2005 6:06 PM
Subject: Re: Problem using indexed properties and
you need to use the
logic:iterate tag in the JSP)
HTH
Regards
Nitesh
- Original Message -
From: "Anand Vijay" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 15, 2005 4:00 PM
Subject: another newbie
Hi All
I have a link in my application for user registration form .
validation to actually plug-in the code to validate with whois.
The other option would be to have a hidden frame, while validating the email
address, use the hidden frame to redirect to a JSP or servlet which
validates the email with whois and prompt the user accordingly.
HTH
Regards,
Nitesh
Map the action class in the struts config and have the link point to the
action
i.e. - Original Message -
From: "Anand Vijay" <[EMAIL PROTECTED]>
To: "Nitesh" <[EMAIL PROTECTED]>
Sent: Thursday, June 16, 2005 10:34 AM
Subject: Re: another newbie
Hi
Hope you are getting the values (see the source on your page and find out)
The reason JavaScript doesn't work is that the value of idProveedor is a
string which is not declared. So it should work if you give the same within
quotes.
Try...
or
HTH
Nitesh
- Original Message -
Make sure you have a value for the key mantenimiento.grupos.codigo.grupo in
the ApplicationResources.properties
HTH
Nitesh
- Original Message -
From: "Guillen Lasa" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 16, 2005 2:39 PM
Subject: Validation error "null
='idProveedor' />
The would not work in html:radio since the tag doesn't
allow/recognize nested tags.
Nitesh
- Original Message -
From: "Rafael Taboada" <[EMAIL PROTECTED]>
Cc: "Struts Users Mailing List"
Sent: Thursday, June 16, 200
You could also think about using multiple struts-config files... say one for
each module and use them (in the web.xml for action param-value give the
comma separated config file list.)
Nitesh
- Original Message -
From: "John Henry Xu" <[EMAIL PROTECTED]>
To:
Sent:
Looks like you have an action in the html:form in submit.jsp which is not
there in the struts-config action mappings (checkout the case of the actions
as well)
Nitesh
- Original Message -
From: "Amin Mohd Sani" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List
r whatever parameters that could separate/group
actions/jsps/etc together.
Nitesh
- Original Message -
From: "Yuniar Setiawan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, June 17, 2005 11:55 AM
Subject: Re: long struts-config.xml file
Is
You could probably try using JAXB... That API is given by sun for Java for
XML binding... gives you option to create java objects from an XML schema so
that converting xml to java and vice-versa can be done without much work!
Take a look at
http://java.sun.com/xml/jaxb/
Nitesh
- Original
t coming back to the client browser. Hence
url will remain the same... Does that really matter... you would look at the
page rather than what is there in the URL!
HTH
Nitesh
- Original Message -
From: "Thai Dang Vu" <[EMAIL PROTECTED]>
To:
Sent: Saturday, June 18, 2005 2:08 A
You could use
where you can set val depending on any conditions, input at runtime!
HTH
Nitesh
- Original Message -
From: "Brad Rhoads" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, June 21, 2005 11:08 PM
Subject: Setting value at runt
Guess this is not standard way of doing it...
kinda wicked way... try this... might work
<% pageContext.setAttribute("fooBar",foos.getBar()); %>
//do something
HTH
Nitesh
> Fredrik Bostrom wrote:
>
>> Hi list,
>>
>> How do I access
Ok... got that now!. The standard struts way of doing this would be...
//do something
(somehow that was not working in the example I tried to make sure before I
send the solution. now it works!!!)
HTH
Nitesh
- Original Message -
From: "Nitesh" <[EM
are some plug-ins avaiable for this already... I couldn't find much
abt these...
I stumbled upon this on a search...
http://javatoolbox.com/Toolede6f9ab-1b07-400b-93ff-46dd85038a5f.aspx
HTH
Nitesh
- Original Message -
From: "Michael Mattox" <[EMAIL PROTECTED]>
-rule bundled with that...
HTH
Nitesh
- Original Message -
From: "roberto" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 22, 2005 4:58 PM
Subject: validator and xdoclet
Hi people,
I'm an italian student and i have a problem with
struts validator.
I'm wo
This javaworld article might help
http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html
HTH
Nitesh
- Original Message -
From: "Nitesh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" ;
<[EMAIL PROTECTED]>
Sent: Wednesday, June 22,
May be you could go to the URL get the required DTD and put the same in your
WEB-INF
Nitesh
- Original Message -
From: "roberto" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, June 22, 2005 6:14 PM
Subject: Re: validator and xdo
You are probably looking for...
Nitesh
- Original Message -
From: "Brad Rhoads" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, June 22, 2005 7:25 PM
Subject: Re: Setting value at runtime in logic:equal
Nitesh wrote:
You could use
indexed properties are probably used when you have a no of rows of the same
set of properties. For eg. it would be like a collection of objects with one
or more membersin each row.
Eg: in case you have the object in the form bean
...
or
...
HTH
Nitesh
- Original Message
You could use the onsubmit of the form tag as well...
---
HTH
Nitesh
- Original Message -
From: "Khan" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 23, 2005 10:30 AM
Subject: regarding javascript problem
Hi,
I have problem in submiting
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/JAASRefGuide.html
and
http://struts.apache.org/userGuide/preface.html#jaas
could be a starting point...
HTH
Nitesh
- Original Message -
From: "Arash Bijanzadeh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing
s" );
for ( int i = 0; i < users.length; i++ ) {
// check on the attributes of UserBean users[i]
}
Hope that example clears it up for you.
John
On 20050603 5:05 AM, "Nitesh" <[EMAIL PROTECTED]> wrote:
> Thanks for the answer John...
>
> Coul
Googling results...
http://jakarta.apache.org/slide/howto-jaas.html
http://www.isys.uni-klu.ac.at/ISYS/Courses/04WS/webtechnologien/downloads/TomcatConfig.pdf
Nitesh
- Original Message -
From: Arash Bijanzadeh
To: Nitesh
Sent: Thursday, June 23, 2005 3:14 PM
Subject: Re
And...
http://www.jroller.com/page/tomdz/20041215
Nitesh
Googling results...
http://jakarta.apache.org/slide/howto-jaas.html
http://www.isys.uni-klu.ac.at/ISYS/Courses/04WS/webtechnologien/downloads/TomcatConfig.pdf
Nitesh
- Original Message -
From: Arash
Try out...
function setParam(mode)
{
document.forms["myform"].action ="<%=(String)
request.getAttribute("origin")%"+ mode+ ".do";
document.forms[0].submit();
}
HTH
Nitesh
- Original Message -
Hi,
I need to change the action of my form
Forgot to add that "myform" should be the form name!
Nitesh
- Original Message -
From: "Nitesh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, June 27, 2005 10:23 AM
Subject: Re: javascript html:fprm and getElementById
access the DOM elements which were not exposed as
arrays/object for JavaScript. For e.g.. accessing the table cells/rows or
DIV/SPAN elements etc to bring in DHTML effects.
HTH,
Nitesh Naveen
- Original Message -
From: "Frank W. Zammetti" <[EMAIL PROTECTED]>
To:
Se
Guess you would need to modify the JavaScript in your validator-rules
suitably!!!
HTH
Nitesh
- Original Message -
From: "Lionel" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, June 28, 2005 4:08 PM
Subject: Problems with validator and IE 5.0
Hi all!
How can I use struts v
don't get the updated values...
Nitesh
- Original Message -
From: "Ciaran Hanley" <[EMAIL PROTECTED]>
To: "'Struts User Mailing List'"
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 28, 2005 7:23 PM
Subject: Re: How to create form rows dynamic
Try putting some debugs into your action class...
probably your pre-population logic is running over your edited data!
Nitesh
- Original Message -
From: "Ciaran Hanley" <[EMAIL PROTECTED]>
To: "'Struts User Mailing List'"
Sent: Thursday, June 30,
should've been
basically your generated html would look like...
...
HTH
Nitesh
- Original Message -
From: "Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Thursday, June 30, 2005 3:15 PM
Subject
Probably you could get the GET data in the action class which goes to a
intermediate JSP which does nothing but forwards to the right JSP using the
GET data.
HTH
Nitesh
- Original Message -
From: "Karianne Berg" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 30, 2005
You should probably try to put in the DHTML Folder tree to display your
list...
There should be script available online for doing this...
the change you'll have to put in your folder tree would be to add checkboxes
in addition to the text.
HTH
Nitesh
- Original Message -
From: &
You could probably think of putting them as a session/request attribute and
access it from action class!
Nitesh
- Original Message -
From: "Phani" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, June 30, 2005 10:08 PM
Subject: RE: Passi
Use a normal JSP scriptlet and loop over to put in the required fields.
HTH
Nitesh
- Original Message -
From: "Dewitte Rémi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, June 30, 2005 11:46 PM
Subject: iterate on a value
Hello !
In
Try if this works...
Nitesh
- Original Message -
From: "Grzegorz Stasica" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 30, 2005 10:18 PM
Subject: check role - isUserInRole in jstl
I've a code like that
but I get an error that namespace has to be specifi
The page expiring has probably nothing to do with the html:file.
Try removing that html:file and then go through the same steps and verify if
you get the same problem.
Mostly this may have to do with the page you are going back to being a
submitted reuqest which has expired
Nitesh
again problem only for the indexed property.
works fine for the normal one.
Any help to resolve this would be great!
Thanks in Advance
Nitesh N
again problem only for the indexed property.
works fine for the normal one.
Any help to resolve this would be great!
Thanks in Advance
Nitesh N
John,
Thank you for the answer.
I tried removing size with the form having session scope and it gave me
java.lang.ArrayIndexOutOfBoundsException.
Tried using ArrayList and gives me java.lang.IndexOutOfBoundsException
Regards,
Nitesh
- Original Message -
From: "John Fitzpa
You should probably have...
HTH
Nitesh
-Original Message-
From: Dewitte Rémi [mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 5:54 PM
To: Struts Users Mailing List
Subject: deal with nested properties
Hi all !
I have another problem to
Try putting in some logic where ever you are assigning the value... like if
it is not set then set it to false... if it is already set don't touch it!
HTH
Nitesh
-Original Message-
From: Ben [mailto:[EMAIL PROTECTED]
Sent: Monday, July 04, 2005 1:05 PM
To: Struts
Subject: Actio
tions, customize the validator-rule.xml add your own validation
there point it to a custom validator method in the validator you have coded.
HTH,
Nitesh
_
Disclaimer:
Information contained and transmitted by this e-mail is confidential,
proprietary, and legally privi
you ?
Rémi
Le Mardi 5 Juillet 2005 07:45, Nitesh Naveen a écrit :
> You could do this with validator and indexed properties.
> When using indexed properties, JavaScript validations doesn't work.
> However the server side validations does. This should suffice what you
> need... I
You could probably use format macro for formatting the number...
http://www.atlassian.com/software/jira/docs/api/3.1.1/com/atlassian/jira/uti
l/velocity/NumberTool.html
http://www.opensubscriber.com/message/velocity-user@jakarta.apache.org/14631
34.html
Thanks & Regards,
Ni
Generics is a Java 5.0 feature...
Don't think the features with 5.0 are introduced to Struts framework yet!
Thanks & Regards,
Nitesh
_
Disclaimer:
Information contained and transmitted by this e-mail is confidential,
proprietary, and legally privilege
need to make sure there are no fields in your form with the name -
submit
HTH,
Nitesh
_
Disclaimer:
Information contained and transmitted by this e-mail is confidential,
proprietary, and legally privileged data of Cordiant Technologies that is
intended for use only by
flow of OTs like these which are of no use to anyone is
not quiet the way anyone would like!
Friday of the week is over... At least from this point on let us cut this
off.
Regards,
Nitesh
_
Disclaimer:
Information contained and transmitted by this e-ma
Frans,
You can consider using AXIS with struts for Webservices.
Nitesh
On 4 April 2010 06:50, Frans Thamura wrote:
> On Sun, Apr 4, 2010 at 7:40 AM, Dave Newton wrote:
>
> > Frans Thamura wrote:
> >
> >> any idea to make a struts2 application using @We
w use following tag to
display a select box.
Hope it will help you.
Regards,
Nitesh Jain
-Original Message-
From: Robin Mannering [mailto:ro...@mtndesigns.co.uk]
Sent: 16 July 2009 20:36
To: Struts Users Mailing List
Subject: Freemarker and Select Tag
Hello,
Platform : Struts 2, EJ
Hi,
I have also implemented login mechanism but I have used Servlet
filter to check the user login status.
I have applied filer on the restricted URI of my application by just a small
configuration in web.xml.
Regards,
Nitesh Jain
-Original Message-
From: Robin Mannering
struts?
Regards,
Nitesh
Thanks Pawel,
It works for PDF file. Cant we find out any solution for DOC.
Regards,
Nitesh
-Original Message-
From: Paweł Wielgus [mailto:poulw...@gmail.com]
Sent: 27 July 2009 18:01
To: Struts Users Mailing List
Subject: Re: Display Doc or PDF file in JSP
Hi Nitesh,
as far
61 matches
Mail list logo