2010/1/27 Stephen Ince :
> The following may not be necessary.
> Struts.xml
>
>
>
> name="jakartax"
> class="com.loadgeneral.struts2.JakartaMultiPartRequestx"
> scope="default" />
>
I'm curious why this didn't work... th
Is anyone using Struts 1.3.x with the COR pattern (chain-config.xml and
ComposableRequestProcessor) with Spring?
If so, how are you using Spring-defined Service Beans? I haven't looked into
this combination at all since I've been using Struts 1.3.x. I'm just writing
my own DAOs called by Acti
Hot dang Steve! Thanks! I have a feeling you've saved me a ton of
frustration. This really should be documented somewhere. . .
Brice
On Wed, Jan 27, 2010 at 3:00 PM, Stephen Ince wrote:
> Brice,
> I went through a similiar issue. Here is how I resolved it. I spent
> days on it. You have do
Brice,
I went through a similiar issue. Here is how I resolved it. I spent
days on it. You have do it via a plugin. This is not documented any
where.
create a plugin. e.g fileupload.jar and put in under WEB-INF/lib
The jar file should have the classes and a struts-plugin.xml file.
struts-plugi
I'm trying to use a custom implementation of the
org.apache.struts2.dispatcher.multipart.MultiPartRequest interface, but even
after changing the appropriate struts2 constant value I still end up with
the default JakartaMultiPartRequest.
Here's the change I've made to my struts.xml file:
{code}
{
We have seen situations where sometimes the global resource bundles are lost
intermittently for some sessions. We are in a clustered/shared environment
where multiple apps are deployed onto a GlassFishV2 server. Multiple apps
share the struts2 core jars.
We have some pages where we have written a
On Wed, Jan 27, 2010 at 9:25 AM, Dale Newfield wrote:
>
> P.S.:
> Patient: Doctor, doctor! It hurts when I do *this*.
> Doctor: Stop doing that.
>
>
>
Hopefully *this* isn't something like "walking" ;)
CRANFORD, CHRIS wrote:
That doesn't solve my original problem Gabriel.
It does if you are not tied to using chaining, which is almost always a
bad idea. Why isn't this implemented simply as an interceptor?
-Dale
P.S.:
Patient: Doctor, doctor! It hurts when I do *this*.
Doctor: Stop doin
The original Action that threw the exception ought to be included in the
stack trace. That wouldn't easily lend itself to auto-parsing though.
You might be able to pass the request URI to teh error-handler with
something like this in struts.xml:
errorHandler
Something like this should do the trick:
-Brian
On Wed, Jan 27, 2010 at 8:13 AM, Saeed Iqbal wrote:
> For header this is an interesting situation i have not come across
> yet. I cannot say anything.
>
> On Wednesday, January 27, 2010, Arpan wrote:
> > Hi Saeed,
> >
> > Replacing that with ch
Hi all,
I put together a blog post explaining how to test Struts actions using
Spring integration without using a container:
http://www.digitalsanctum.com/2010/01/25/how-to-test-struts-2-actions-without-a-container/
I thought this might be a helpful resource for those using Struts and Spring.
The simple solution is to checkout the
org.displaytag.localization.I18nWebworkAdapter and adjust it to Struts
2 (as Struts 2 is formerly WebWork)
Or evern better, use below code and put in displaytag.properties file
line like this:
locale.provider=org.demo.web.displaytag.I18nStruts2Adapter
*
Label= that
On Wednesday, January 27, 2010, Saeed Iqbal wrote:
> Trying %{getText('xxx')}
>
> On Wed, Jan 27, 2010 at 6:24 PM, Nicola Bortolotti
> wrote:
> Sorry Saiid, I feel very dummy; I will try a little more, then I back
> on it in next days..
>
> I've just read it display tag reference, b
For header this is an interesting situation i have not come across
yet. I cannot say anything.
On Wednesday, January 27, 2010, Arpan wrote:
> Hi Saeed,
>
> Replacing that with checkbox element will give me checkbox for every row for
> that column.
> But still my column header or title will not h
That doesn't solve my original problem Gabriel.
What I need is a way that I can determine which Action threw the exception so
that I could include that Request URI in the exception email and logged entry.
I think if I use a redirect result type, to Struts when it redirects it is
considered a
Hi Saeed,
Replacing that with checkbox element will give me checkbox for every row for
that column.
But still my column header or title will not have any checkbox.
On Wed, Jan 27, 2010 at 5:58 PM, Saeed Iqbal wrote:
> Replace the
>
>
> paramProperty="id" headerClass="listHeader">
>
>
Trying %{getText('xxx')}
On Wed, Jan 27, 2010 at 6:24 PM, Nicola Bortolotti <
bortolotti.nic...@gmail.com> wrote:
> Sorry Saiid, I feel very dummy; I will try a little more, then I back
> on it in next days..
>
> I've just read it display tag reference, but nothing new.
>
> As I told you, my prop
Sorry Saiid, I feel very dummy; I will try a little more, then I back
on it in next days..
I've just read it display tag reference, but nothing new.
As I told you, my properties file are already named as
"package_it.properties", "package.properties", and, as I said before,
in the same page,
WORK
Now your properties file must be called package.properties :)
see display tag refernce
On Wed, Jan 27, 2010 at 5:30 PM, Nicola Bortolotti <
bortolotti.nic...@gmail.com> wrote:
> Thank you Saiid, but it continue not working..
> Probably I don't understand. I've update this constant
> struts.custo
Thank you Saiid, but it continue not working..
Probably I don't understand. I've update this constant
struts.custom.i18n.resources=package
in "struts2-core-2.1.6.jar/org/apache/struts2/default.properties" (the
only default.properties file into my project),
and restart server, but, AS BEFORE MODIFY
Replace the
On Wed, Jan 27, 2010 at 5:23 PM, Arpan wrote:
> Hi Saeed,
>
> Thanks for the reply. But how can you display your checkbox inside that
> "column Title"?
>
> On Wed, Jan 27, 2010 at 4:45 PM, Saeed Iqbal wrote:
>
> > For display you can close your display tag open an
Hi Saeed,
Thanks for the reply. But how can you display your checkbox inside that
"column Title"?
On Wed, Jan 27, 2010 at 4:45 PM, Saeed Iqbal wrote:
> For display you can close your display tag open and end your tag
> separately.
> In between you can place your checkbox.
> For example:
> para
Like that it wont work. Mention your properties file in struts.properties or
struts.xml constant
struts.custom.i18n.resources=package
in that the xxx in titleKey must be defined.
On Wed, Jan 27, 2010 at 4:40 PM, Nicola Bortolotti <
bortolotti.nic...@gmail.com> wrote:
> I've just try that!
> Fol
I've just try that!
Follow part of coding
I've created "displaytag_IT.properties", "package_it.properties",
"package_en.properties" and I've wrote into every file a property as
xxx=property
in the test code of my jsp_page, property were founded from struts tag
but not from displaytag, in the
For display you can close your display tag open and end your tag separately.
In between you can place your checkbox.
For example:
For checking all (javascript) include an id with each checkbox and have
onclick with the top one to be able to code in javascript to check all
others.
O
My scenario is that I need a column only for checkboxes. In the title there
will be a checkbox and a link "Delete". How can I show these using display
tag.
When the user will select the top checkbox, all other checkboxes in that
column should be selected or unselected accordingly.
On Thu, Jan 7,
Use titleKey.
On Wed, Jan 27, 2010 at 3:29 PM, Nicola Bortolotti <
bortolotti.nic...@gmail.com> wrote:
> Hi all, first of all, sorry for terrible English.
> In these days I've developed my first, simple application with
> struts2, and, after putting properties file in correct place, I've
> inter
Hi all, first of all, sorry for terrible English.
In these days I've developed my first, simple application with
struts2, and, after putting properties file in correct place, I've
internationalized it.
Then I've looked for something about how to display a table (data
grid) and, on your lists, I fou
28 matches
Mail list logo