Hi,
The datetimepicker appears very small on my page, is there any way to make
it bigger? Is this configured via the CSS? If yes, which CSS?
Thanks!
Is there a way to do this programmatically rather than declaratively?
Thanks!
Hi,
I asked the same question a few weeks ago. Do search the archive for more
details. Anyway, take a look at the ParameterAware interface. By
implementing it, you have access to all the request parameters. Should be
similar to mapped back.
Cheers!
On Fri, Mar 28, 2008 at 11:56 AM, Niral
In Struts 1, we could use map-backed form beans to deal with dynamic forms,
is there something equal in Struts 2?
]
Cheng Wei Lee wrote:
In Struts 1, we could use map-backed form beans to deal with dynamic
forms,
is there something equal in Struts 2?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Ok, silly me, the setRequest method would set all request parameters into
the map, which I could then extract and use the values. Thanks for pointing
out this. Should have read the APIs more carefully.
On Wed, Mar 5, 2008 at 1:22 AM, Cheng Wei Lee [EMAIL PROTECTED] wrote:
Suppose I use
I know I can get the values of the request parameters in the action class
and then use them to instantiate an object. Read from the API for
ParameterAware interface, One common use for this is to have the action
propagate parameters to internally instantiated data objects.. Does this
means that
through, and create a Person object through each set of 5 textfields.
What do you think of my approach? Or there's a better or more elegant way of
doing things?
Thanks!
On Wed, Mar 5, 2008 at 1:58 AM, Dave Newton [EMAIL PROTECTED] wrote:
--- Cheng Wei Lee [EMAIL PROTECTED] wrote:
Suppose I use
Thanks!
On Wed, Mar 5, 2008 at 2:08 AM, Dave Newton [EMAIL PROTECTED] wrote:
--- Cheng Wei Lee [EMAIL PROTECTED] wrote:
What I was thinking of doing, is to prefix the components at the JSP
such
that I can pick them up at action classes by iterating. Suppose I've 5
textfields that makes
.
/Ian
--
Ian Roughley
From Down Around, Inc.
Consulting * Agile Process * Open Source
Advanced Struts2 Workshop, April 28-30, Sunnyvale CA
web: http://www.fdar.com - email: [EMAIL PROTECTED]
Cheng Wei Lee wrote:
In Struts 1, we could use map-backed form beans to deal with dynamic
Looking into using Hibernate's 2nd level cache. Any tips or pitfalls?
Thanks!
On Sun, Feb 24, 2008 at 2:20 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
Cheng Wei Lee wrote:
What do you'll think of writing a stateful session bean to hold these
data
and make it gets the data from database
What do you'll think of writing a stateful session bean to hold these data
and make it gets the data from database once/twice a day?
On Sun, Feb 24, 2008 at 9:20 AM, Jeromy Evans
[EMAIL PROTECTED] wrote:
Cheng Wei Lee wrote:
Hi all,
In most web applications, it is unavoidable to have
Hi all,
In most web applications, it is unavoidable to have some codes/lookup
tables, for example, in a form we may need to display the country list. If
we were to hit the database per request to get this list for displaying in
the dropdown, it would be too expensive. If we load these values
The same EAR run fine on IBM WAS v6.1.0.13 on Windows machine, i.e., the
datetimepicker could appear and be used, but in the Solaris 10 and WAS
v6.1.0.2 environment, it was not showing up. Does anyone have similar
experiences? Could it be due to the operating system or a bug in the lower
version
Currently for client/server side validation, struts is able to maintain the
data and shows it to the user, with the error messages and preserved user
input. I'm using Hibernate for persistence. The StaleObjectStateException is
caught inside the filter that I use to set up the Hibernate session.
help.
Pablo Vázquez Blázquez escribió:
Yes, I first tried with the default stack, but the problem is the
same :(
Cheng Wei Lee escribió:
Try removing the interceptors? If I'm not mistaken, the default
stack has
it.
On Jan 17, 2008 2:32 AM, Pablo Vázquez Blázquez
[EMAIL
I've no difficulties using Struts 2 on RAD v7. What are you actually trying
to do? To build Struts 2 from scratch?
On Jan 17, 2008 9:42 PM, [EMAIL PROTECTED] wrote:
Hi,
I am trying to figure out how could I use Strus-2 with RAD-6 which has Jdk
1.4.
I even tried to run the mail reader
is allowed in an XML
document.
Thanks for your reply.
Cheng Wei Lee escribió:
Did you extends struts-default in your package tag?
e.g.
package name=fileupload extends=*struts-default*
namespace=/fileupload or you used your own stack?
On Jan 17, 2008 8:33 PM, Pablo Vázquez Blázquez
Was this debugging statement executed?
log.debug(Anadido plugin + uploadFileName);
On Jan 18, 2008 12:13 AM, Pablo Vázquez Blázquez [EMAIL PROTECTED]
wrote:
Here I send you my JSP and Action code.
Yes, when I submit, the new plugin is added (I know it because of my
logs), but I
Does your doExecute method in DefaultRequestResponseAction class call the
execute method? I believe that Struts look for the execute method to run, so
if your debugging statement didn't execute, probably is the method not being
called.
On Jan 18, 2008 9:39 AM, Cheng Wei Lee [EMAIL PROTECTED
Try removing the interceptors? If I'm not mistaken, the default stack has
it.
On Jan 17, 2008 2:32 AM, Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote:
I am using Struts 2.0.9 and I have the following action:
action name=AddPlugin
class=AddPluginAction
Hi all,
I was trying out the SWF plugin from Google codes with the old example and
encountered some exceptions.
Got the example from https://issues.apache.org/struts/browse/WW-1525.
When I tried to enter the age, I got the following exception. I'd changed
the example.xml slightly to use the:
I didn't really make use of maven, instead, I imported the struts-blank war
file into Eclipse which would create a project for me automatically. That
way I can see where to place the XML files.
On Jan 13, 2008 7:53 PM, Gaurav Arora [EMAIL PROTECTED] wrote:
Hi list,
I am new to Struts and
in the
entire HTML document. So perhaps I would change this code and see if it
works.
On Jan 10, 2008 7:24 AM, Laurie Harper [EMAIL PROTECTED] wrote:
Cheng Wei Lee wrote:
I'd difficulties in clearing the client side validation error messages.
So I
followed the guide at
http
message Servlet action is not available
description The requested resource (Servlet action is not available) is
not available.
Apache Tomcat/5.5.25
I searched throught thru the log file of tomcat. however it doesnt show
any error ..
Thanks,
Sohil
Thanks,
Sohil.
Cheng Wei Lee wrote
taglib-location/WEB-INF/struts-html.tld/taglib-location
/taglib
taglib
taglib-uri/WEB-INF/struts-logic.tld/taglib-uri
taglib-location/WEB-INF/struts-logic.tld/taglib-location
/taglib
/web-app
Cheng Wei Lee wrote:
Are you using Struts 1? Please check your
I enabled client side validation for a form, when the user submits, the
validation kicks in and the messages are shown. If the user didn't make any
changes and proceed to submit again, the set messages are shown again. The
messages kept increasing. Is there a way to clear the old messages before
Hi Sohil,
Could you provide the stacktrace for troubleshooting?
Thanks.
On Jan 8, 2008 3:37 PM, Sohil Rupani [EMAIL PROTECTED] wrote:
Hi,
I m new to struts , using tomcat and jdk 1.5. i m getting a error
Servlet action not avaliable..
which on browsing i learn that is a very common error
28 matches
Mail list logo