You can also have a look at easy wizard
http://superinterface.com/easywizard.htm
~madhav
On 2/26/07, Tom Schneider [EMAIL PROTECTED] wrote:
Mark Menard has done some work in this area for struts2:
http://www.vitarara.org/cms/node/84
For webwork I implemented something similar called a model
tile will need to have fields uniquely named? I thought this was a big ask
and therefore wanted to know how tiles and struts validator framework work
together.
Thanks for the reply.
~madhav
On 11/7/06, Antonio Petrelli [EMAIL PROTECTED] wrote:
Madhav Bhargava ha scritto:
Since i am using struts
Hi All,
I am using struts tiles for laying out all the pages. I am wondering how i
can use struts client validator framework with struts tiles.
The validation.xml file requires form name and then within the form tag we
define the individual fields along with the respective validations.
Since i
Post the exact requirement.
On 10/27/06, Chris Pratt [EMAIL PROTECTED] wrote:
It's not possible in straight HTML. There are some DHTML tricks that
combine text boxes with select boxes, but most that I've seen are ugly and
unworkable. If you find a good solution to the problem, please post it
I was going thru the struts source code and was in particular reading the
way they have implemented the synchronizer token pattern for preventing
multiple submits on transacional pages.
I saw that they have synchronized on session ID attribute. Is it possible
that multiple session share the same
There are many ways you can do it:
One way is using Apache BeanUtils with Converters registered to it. This way
automatic conversions can happen
Again it depends on what date you want to convert- current date, arbitrary
date.
You can just go ahead and use SimpleDateFormat's format/parse
For all these small things the best way is to google and find out. I am sure
you will get enough hits to suffice what you need.
On 6/24/06, Madhav Bhargava [EMAIL PROTECTED] wrote:
There are many ways you can do it:
One way is using Apache BeanUtils with Converters registered to it. This
way
From your original mail the entire concept of having 2 war files bundled in
one EAR file is a bit strange. You can totally avoid this by using different
struts-config files and SwitchActions in struts.
The two different teams can have their own set of actions, form beans,
action mapping and
Could you please elaborate on the same. If there are several release
processes, will you still go ahead with the same approach.
On 6/24/06, Leon Rosenberg [EMAIL PROTECTED] wrote:
On 6/23/06, Madhav Bhargava [EMAIL PROTECTED] wrote:
From your original mail the entire concept of having 2 war
with system.
out.printlns so that i will check in the console. I dont understand
whether its checking or not, coz its not entering into the form even i run
in debug mode without values in username and password.
Madhav Bhargava [EMAIL PROTECTED] wrote:
If you give validate=true then you need to give
Consider a scenario of a clustered environment where there are multiple
servers handling requests from an application. On each of these servers
session object will be replicated. This means that the same request can go
more than once.
Shouldn't this solution fail then?
~madhav
On 6/21/06, Paul
be more clear with the
information.
Madhav Bhargava [EMAIL PROTECTED] wrote: Paste the complete code for
action form, snippet in JSP where you are
fetching the messages.
~madhav
On 6/21/06, Medicherla Lakshmi wrote:
Hi,
am still not able to recieve any error messages in the jsp. Is there
any
for a
single JVM.
On 6/21/06, Paul Benedict [EMAIL PROTECTED] wrote:
Yes - of course it would. The solution is only for one JVM. You will need
another approach for a clustered environment.
Madhav Bhargava [EMAIL PROTECTED] wrote: Consider a scenario of a
clustered environment where there are multiple
If you give validate=true then you need to give input parameter in the
struts-config as well. One more thing - in your JSP try using the following
code:
logic:messagesPresent
html:messages id=errorMess
bean:write name=errorMess/
/html:messages id=errorMess
/logic:messagesPresent
If
there is another option.
you can use apache JCS cache or open symphony's OScache for caching all
objects that are required during user interaction.
On 6/9/06, Emilia Ipate [EMAIL PROTECTED] wrote:
Hello, all!
Is there a solution besides using session, to send some request parameters
from
am using i doubt there is *validwhen* available. I need to double check
that.
~madhav
On 4/10/06, Laurie Harper [EMAIL PROTECTED] wrote:
Madhav Bhargava wrote:
Hi All,
I am using Struts 1.0 and struts-validator 1.0.
I have a JSP which has 3 tabs. Each tab body has a different input
Hi All,
I am using Struts 1.0 and struts-validator 1.0.
I have a JSP which has 3 tabs. Each tab body has a different input element
inside it. I am using Ajax to dynamically generate the tab body content.
Let me take an example and explain it. Assume there are 2 tabs - Tab1 and
Tab2.
*Controls in
Hi All,
I have 2 drop downs in my JSP. One drop down gets populated based on the
value selected in the other drop down. At present this is done using a Tag
handler call. The control goes to a rendering action which then forwards the
call to the JSP. From within the JSP the tag handler is invoked
another approach to handle session scoped objects is to create a filter that
will be responsible to clean up any session scope objects when they are not
needed. Alternatively you can also overwrite the RequestProcessor
processPreprocess method and do session cleaning there as well.
If you want
-data (used for file uploads).
There it's common-fileupload library which does the decoding. Why would
you want to do the decoding yourself? The decoding/encoding process is
done according to rfc1630 specifications.
Madhav Bhargava a écrit :
Hi All,
It is a common practice to encode
Hi All,
I have a JSP where if a link is clicked then a Save As dialog box is
invoked. If the user chooses to save the file, then on the successful
completion of the file download i need to update a status in the database.
After the status is updated the page from which the Save As dialog box was
a 'file then redirect' construction. That may be
worth investigations. See HTTP rfc for informations.
Madhav Bhargava a écrit :
Hi All,
I have a JSP where if a link is clicked then a Save As dialog box is
invoked. If the user chooses to save the file, then on the successful
completion
did not find anything that would be of help.
On 3/8/06, Madhav Bhargava [EMAIL PROTECTED] wrote:
Hmm... let me check that out. Will get back to you if this does not work.
The purpose however is to know when the download is complete and to
refresh a JSP.
--Madhav
On 3/8/06, David Delbecq
Hi All,
It is a common practice to encode special characters such as ' ', %, #, :, $
etc.. when sending parameters in the query string along with the URL. We
have a similar requirement. Some of the query parameters can contain special
characters and therefore we went for UTf-8 encoding.
Before
Hi All,
I have a JSP page where on the select of a radio button some controls are
disabled/enabled. The form bean associated with this JSP extends
ValidatorForm. I have created rules in validation-xml for each of these
controls which are there on the screen. One rule that is common to all the
Hi All,
I have a JSP page where on the select of a radio button some controls are
disabled/enabled. The form bean associated with this JSP extends
ValidatorForm. I have created rules in validation-xml for each of these
controls which are there on the screen. One rule that is common to all the
' ||
field.type == 'file' ||
field.type == 'radio' ||
field.type == 'checkbox' ||
field.type == 'select-one' ||
field.type == 'password')
*field.disabled == false*) {
Vlad
Madhav Bhargava wrote
27 matches
Mail list logo