I'm deploying the ear file on Websphere 5.1.
This error occurs only when I try to use the source code. If I use the
struts jar file and place it in the lib folder, it works as desired. I've
checked in my war file also, the web.xml is present.
I'm using th fully qualified name "org.apache.struts.a
Alberto A. Flores wrote:
Does anyone knows why the API for the StrutsTypeConverter abstract class
takes an array of Strings instead of a single one (the convertFromString
method)? The sample app seems to be always checking for the first
element. Is OGNL supposed to add more? Any feedback will
Setting the checkbox theme to simple will give you a plain HTML checkbox:
Otherwise you need to create your own theme for the checkbox:
http://struts.apache.org/2.0.11/docs/themes-and-templates.html
carmi_cd wrote:
I have a table with four columns, the other three columns are a
Sorry, that's what I meant - the guice plugin may not be setup for 2.1
correctly (as in a bug in the plugin).
I'll take a look at it myself when I get a chance too.
volnei Granado Munhoz wrote:
Hi Jeromy,
I think this is not a configuration problem (probably a Xwork|Struts bug),
my object fac
Hi,
I have a getting problem in using s:select tag. Need some help if anyone
used s:select before.
This dropdown is populated dynamically. When form is loaded initially
dropdown is getting populated perfectly. No issue here.
But when we submit the form and some of the validations fail then page is
Thank you for the response. After more investigation, and looking over the
WSRP specification, it appears that the remote portlet producer is
responsible for maintaining a users session with a portlet. The particular
producer i am using is from ibm, and it seems that its interpretation (or
maybe
I've got a page that uses s:optiontransferselect, and I'm pretty happy
with it, but I'm now trying to scale up this app, and just over 1000
entries and the freemarker template bombs out:
FreeMarker template error!
Error on line 264, column 13 in template/simple/optiontransferselect.ftl
stack.f
Filipe David Manana wrote:
Anyone using Struts 2 with multiple Sitemesh decorators?
Yep.
You mention using more than one decorator, but the decorators.xml file
you show only has one. It's scanned in order, and the first matching
one is used. Do you have your "other" decorator (with "/*") l
Does anyone knows why the API for the StrutsTypeConverter abstract class
takes an array of Strings instead of a single one (the convertFromString
method)? The sample app seems to be always checking for the first
element. Is OGNL supposed to add more? Any feedback will be appreciated...
Thanks
--- Arpan Debroy <[EMAIL PROTECTED]> wrote:
> Using 'Long' is the correct way to get 'required' validator worked.
> But now I want show error message when user will put string or character
> instead of any long value. What validator to use?
If you're using the defaultStack this is done for you; ty
Hi to everyone
I use the action of jasper type to rendering report in format XLS in my
application, it work very fine, but, now I need set the few parameters like
JRXlsExporterParameter.IS_DETECT_CELL_TYPE.
Please, i need to know, how I can put this options in my struts.xml.
Regards,
Ma
took a look at enabling 'cache' and 'compression' capabilities in IE
http://msdn2.microsoft.com/en-us/library/bb250442.aspx
HTH
M--
- Original Message -
From: "Andrea Rizzini" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, December 14, 2007 11:59 AM
Subject: Re: Poor P
Take a look at:
http://struts.apache.org/1.x/apidocs/org/apache/struts/validator/Resources.html#getMessage(javax.servlet.http.HttpServletRequest,%20java.lang.String)
Hope this helps... It should be straight forward.
Chris Pat wrote:
Hi Alberto
The second. To result with a localized text str
Hi Alberto
The second. To result with a localized text string for the value of the field
when reset() is called.
"Alberto A. Flores" <[EMAIL PROTECTED]> wrote: Do you mean changing the name of
the method? Or calling the resource
bundle to generate a string (using the proper locale)?
Chris Pat
Any development on the strange behaviour that forms hangs for about 5-6
minutes when loading data from the database?
I have a similar problem on an application. On the tsting environment
ie7 and firefox works perfectly on ie6 xpsp2 forms hangs for several
minutes before completry displaying all the
Sorry I can't be of much help, as I have never tried a scenario like
this. I assume this happens because the WSRP-container request and the
servlet request acts as two different "clients". I did find an
interesting thread [1] that's not really the same as your problem, but
might contain some intere
I solved the problem.. It was just a stupid error in a xml file :(
Thank you anyway for the advice.
Paranoid_Fabio wrote:
>
> Yes. The first time i saw the errore message I thought the same. It was
> like the content of the variable was the page itself, rather then the url.
> But I checked it
Hi,
Anyone using Struts 2 with multiple Sitemesh decorators?
I am trying to map a decorator to a specific subset of my webapp's URI
space.
The structure of my src/main/webapp dir is:
[EMAIL PROTECTED]:~/apache/struts/cdbweb2/src/main/webapp$ tree
.
|-- WEB-INF
| |-- decorators
| | `-- lsf
There is a convince validator for types that uses the backing type errors to
generate validation errors. I use it to ensure that letters aren't entered in
my number fields.
The annotation is ConversionErrorFieldValidator
For example:
@ConversionErrorFieldValidator(message="Please enter only nu
How are you deploying your application? Are you both getting the same
Stacktrace? Even if you use the Struts source code, there are many
dependencies that come as part of the Struts distribution
(commons-logging, digester, etc).
I will start debugging as follows:
- Unpack your war manually. Ch
Hi all,
for the application I'm working on I need a tree component which is more
configurable/capable than the current Struts2 s:tree component.
Basically I want to use it like this:
childCollectionPropert="children">
Depending on the type of the current node o
Do you mean changing the name of the method? Or calling the resource
bundle to generate a string (using the proper locale)?
Chris Pat wrote:
Hello
Is it possible to have the reset() of a formBean be internationalized? I can do it on the jsp. However how do I refer to the correct language mess
You may want to read on
http://struts.apache.org/2.x/docs/type-conversion.html
The last topic "Type Conversion Error Handling".
I had the same problem. It turns out that there's no "validation"
concept of a "type" (similar to Struts1"), however Struts 2 will give
you control over type convers
Even I'm facing the same issue.
The only difference in my problem is that I'm not using the struts jar but
the actual source code.
So the struts classes are getting compiled in the WEB-INF/classes folder.
When I start my server it gives me the same error.
The ActionServlet.java contains the follo
Hello
Is it possible to have the reset() of a formBean be internationalized? I can
do it on the jsp. However how do I refer to the correct language message
resource bundle in the formBean itself? tia
Yes. The first time i saw the errore message I thought the same. It was like
the content of the variable was the page itself, rather then the url. But I
checked it and I can assure you that the content of the variable is actually
the url, not the page itself.
Nils-Helge Garli wrote:
>
>> The
> The requested resource (/web/hello/PE%20HTML%20PUBLIC) is not available.
>
Seems to me like what you expect to be a url isn't really a url. Have
you tried inspecting the variable and see what the actual value is?
Nils-H
-
To
Hello. I've a problem whit redirect and i'm really going mad.
All i want to do is very simple.
I've an action that sends a post to a server. The server answer with a page
to
which i've to redirect the client.
When the server answer, i read the page in a buffer and i extract the url to
which i've t
Hi Jeromy,
I think this is not a configuration problem (probably a Xwork|Struts bug),
my object factory works fine when I don't use xwork-conversion.properties,
it's inject all of my objects except the converter objects.
You can show me your configs??
Thanks...
-Mensagem original-
volnei Granado Munhoz wrote:
Hi, i'm using xwork 2.1 with struts 2.1 and Guice to Inject my dependencies.
My struts.xml contains the follow line
and when i start my servlet container the NPE is throwed and aplication is
broken...
When remove or comment the xwork-conversion.propertie
go to :
http://people.apache.org/builds/struts/2.1.0/
Herrera
Rajasekhar-3 wrote:
>
>
> Hi to all
>
> how can i download struts2.1 jars is this released? if so
> can you send me url
>
> Best Regards,
>
> Rajasekhar Yenduva B.tech(IT),
> Jr J2EE Developer,
> Miracle Software Sys
Hi to all
how can i download struts2.1 jars is this released? if so
can you send me url
Best Regards,
Rajasekhar Yenduva B.tech(IT),
Jr J2EE Developer,
Miracle Software Systems, Inc
Website: www.miraclesoft.com
Email: [EMAIL PROTECTED]
Work: 248-233-1814
Mobile: 9290842877
Thank you Laurie ,
Using 'Long' is the correct way to get 'required' validator worked.
But now I want show error message when user will put string or character
instead of any long value.
What validator to use?
On Dec 11, 2007 7:13 PM, Laurie Harper <[EMAIL PROTECTED]> wrote:
> The 'requiredstrin
Hi, i'm using xwork 2.1 with struts 2.1 and Guice to Inject my dependencies.
My struts.xml contains the follow line
and when i start my servlet container the NPE is throwed and aplication is
broken...
When remove or comment the xwork-conversion.properties this runs normaly.
Here is
I have a table with four columns, the other three columns are all filled
with text, while the first column
of each row is a checkbox to select the row. My problem is the checkbox move
the other column to the
next line. It seems that it occupy to much space in the table..how should i
change thi
hi to all
i am getting issue in tabbebpannel like
maintaining the state of tab in multipletabs means
when i refresh the page previous tab should be selected that was last
accessed tab.
in this context selectTab is property is given but it's showing Depricated
Message On Jsp
please give
Hi Don,
I think we are using WS-Security, but I have not been too involved in
it. I just wanted to confirm that a reasonable equivalent was
available.
Is it possible with the S2 plugin to do one of the classical examples of
getting resources by date e.g. /orders/2007/12/13. It would be great i
i already solved it..
i hope this help other new struts user
just replaced it with this one..
carmi_cd wrote:
>
> hello
> i have a checkbox which supposed to have the value of UserId property of
> the action class
> I try to do it this way but its having an exception..
>
> here is how i'
Thank you for your response i will work out with an example
-Original Message-
From: hezjing [mailto:[EMAIL PROTECTED]
Sent: Friday, December 14, 2007 2:10 PM
To: Struts Users Mailing List
Subject: Re: LOG4J in Struts2
Hi Rajasekhar
You can study the struts2-showcase-2.0.11.war whic
Hi Rajasekhar
You can study the struts2-showcase-2.0.11.war which comes with the
Struts2 distribution.
You will see WEB-INF\lib\log4j-1.2.9.jar,
WEB-INF\classes\log4j.properties
and the Java files in
WEB-INF\src\java\org\apache\struts2\showcase\action directory.
On 12/14/07, Rajasekhar <[EMAIL
40 matches
Mail list logo