Hi,
I am using html file control to upload a file. If file size exceeds a limit,
then I return an error from Action class through ActionMessages object. The
errors are displayed fine.The problem is that the input form has around 10
fields and after I return control to it for file size limit error
Chris Pratt wrote:
for some reason, in my current instance it's trying to
evaluate the resource bundle key as an OGNL expression.
A couple weeks ago I finally took the time to look at lots of the
warning output in my log files and was able to use that to fix a few
buggy ognl expressions (yay
I'm seeing some weird behavior in ActionSupport.getText() that is causing me
some problems in Struts 2.0.14. From the docs (and my previous experience),
getText() retrieves entries from the resource bundle's associated with the
application. But for some reason, in my current instance it's trying
Hello,
You can avoid opening of the link in the current window removing the
href attribute from tag.
Florin Cazacu.
Celinio Fernandes wrote:
Hi,
I am using Struts 2.1.8.
In a JSP, I have a link which calls an action. I want to open that link in a
new window. The following code works :
Target blank isn't necessarily available (e.g. writing the site in xhtml 1.1)
-Brian
On Tue, Mar 23, 2010 at 10:06 AM, Robert Graf-Waczenski wrote:
> Hi!
>
> How about using
>
> target="_blank"
>
> instead of onclick?
>
> Robert
>
> Gustavo Felisberto schrieb:
>>
>> Hello,
>>
>> This is a JS t
What if I'm using the app, and I want to open the link in a new tab
instead? Or how about, I want to open it in the same tab and just use
the back button once I'm done looking at the PDF?
-Brian
On Tue, Mar 23, 2010 at 8:02 AM, Celinio Fernandes wrote:
> Hi,
> I am using Struts 2.1.8.
> In a
Hi!
How about using
target="_blank"
instead of onclick?
Robert
Gustavo Felisberto schrieb:
Hello,
This is a JS thing. Try:
onclick="javascript:window.open('%{genererRapportPDF}'); return false;"
Gustavo
-Mensagem original-
De: Celinio Fernandes [mailto:cel...@yahoo.com]
Enviada:
Hello,
This is a JS thing. Try:
onclick="javascript:window.open('%{genererRapportPDF}'); return false;"
Gustavo
-Mensagem original-
De: Celinio Fernandes [mailto:cel...@yahoo.com]
Enviada: terça-feira, 23 de Março de 2010 13:03
Para: Struts Users Mailing List
Assunto: [Struts 2.1.8] s:u
I fixed this issue by changing my "Cancel" (submit) button to use the
"action" attribute for a cancel action, see change below. Sharing just
in case someone else runs into this issue.
Previously
---
Fixed
--
Todd Kofford
tkoff...@ku.edu
University of Kansas - IT
-Original
Hi,
I tried to display error messages in my JSP, I put on the JSP the tag :
In the MessageRessources.properties, I created the following entries :
errors.header=
errors.footer=
errors.prefix=
errors.suffix=
error.technique=Problème technique {0}
error.utilisateurdoublon=L'utilisateur existe dé
Hi,
I am using Struts 2.1.8.
In a JSP, I have a link which calls an action. I want to open that link in a
new window. The following code works :
Generation
The problem is that it also calls the action / opens the link in the current
window.
How to avoid that ?
Thanks.
Hi,
I found where to change the filter settings.
I get the exact same errors with the different filters:
java.lang.ClassCastException:
org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter cannot be cast to
javax.servlet.Filter
For all 3 filters you suggested.
Kveðja / Regards,
Hallgrí
Hi,
Thanks for the reply.
Where is this typically changed? In an XML file or in the code?
Kveðja / Regards,
Hallgrímur
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: 23. mars 2010 11:49
To: Struts Users Mailing List
Subject: Re: org.apache.struts2.d
2010/3/23 Hallgrímur Th. Björnsson :
> I am fairly new to Struts. I'm trying to get an application which uses Struts
> to work on Glassfish v3. I have made it work on JBoss and Tomcat.
Try to use one of these
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
or (when you are
Hi,
I am fairly new to Struts. I'm trying to get an application which uses Struts
to work on Glassfish v3. I have made it work on JBoss and Tomcat.
If I put struts2-core-2.1.8.jar in the classpath, loading the application
triggers the error message:
WARNING: StandardWrapperValve[jsp]: PWC1406
With the recent release of JasperReport Plug-in, Now, you can directly add
any fields, calculations(stored/un-stored), aggregations, global variables,
related fields and many more, to your Jasper Report, as you are doing in
Servoy itself. You don't have write huge SQL Query for the same. Just pas
I have mentioned the action configuration in web.xml but struts Action is
not getting initialized.
I have placed the jar file in the classpath also which is in lib folder.
Where is the problem.
Regards,
VR Venugopal Rao
-Original Message-
From: Alex Rodriguez Lopez [mailto:alo...@flor
Forgot to mention, this is the case with a multiple select, if the
select is simple and only one option can be selected, then a bean
property for an int or long will sufice.
Em 23-03-2010 09:33, Alex Rodriguez Lopez escreveu:
Assuming your ids are of type long, you could do it with a list of L
Assuming your ids are of type long, you could do it with a list of Long
like so in your action:
private List test = new ArrayList();
plus the getters and setters (getTest(), setTest()).
test is the name you gave in the select ().
Struts2 will polulate the list with the selected ids.
Em 23-0
19 matches
Mail list logo