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 Trivedi
gt; the form values.
>
> /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:
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.
loop 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 <[E
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 S
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:
> Supp
t; 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
> forms,
> > is there something equal in Struts 2?
> >
> >
>
> ---
In Struts 1, we could use map-backed form beans to deal with dynamic forms,
is there something equal in Struts 2?
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
>
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 ap
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 durin
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 of
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. How
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 P
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)
one top level element is allowed in an XML
> document."
>
> Thanks for your reply.
>
> Cheng Wei Lee escribió:
> > Did you extends "struts-default" in your tag?
> >
> > e.g.
> >
> > > namespace="/fileupload"> or you used
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 reade
ral things:
> >
> > a) I have a AddPluginAction-validation.xml, but validation never
> occurrs.
> > b) With this interceptors configuration, the AddPluginAction is
> > successfully executed (it is, the plugin is added), but the
> > "indicator" image never stops
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:
>
>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:
com
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 an
table 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
> &
>/WEB-INF/toolbox.xml
>
>
>10
>
>
>
>
>
>
>velocity
>*.vm
>
>
>
>action
>*.do
>
>
>
>
>
>/WEB-INF/struts-bean.tld
>/WEB-INF/struts-bean.t
error ..
>
> Thanks,
> Sohil
>
> Thanks,
> Sohil.
>
> Cheng Wei Lee wrote:
> > Hi Sohil,
> >
> > Could you provide the stacktrace for troubleshooting?
> >
> > Thanks.
> >
> > On Jan 8, 2008 3:37 PM, Sohil Rupani <[EMAIL PROTECTED]>
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
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
sh
28 matches
Mail list logo