Andy Hahn wrote:
>
>
> I have kind of sorted this out..
>
> My goal is simple - I don't ever want my users to see errors caused by
> actions or jsps, and I want to be able to record every error.
>
> My configuration is struts 2.1.6, struts-spring-plugin,
> struts-tiles-plugin, hibernate,
Hellow,
I am using struts2.0 in my project.I am getting all error messages after
submitting the form.
But i am not getting the error messages in proper order as the fields order
in form.
please let me know how to solve this one.please tell me if any of you know.
Thanking you,
Nageswara Rao
--
Vie
Hello,
I am using struts 2.0 and annotations in my project.I am getting all field
and error message after submitting the page.But i want all the message to be
displayed in proper order as fields are set in form.
please let me know how to handle this problem.I have been struked with this
problem i
FIY
..
In Firefox, selecting text(as only If click on "Delete" link
as button then that url woring fine(go to next page).
In IE-7, not select text(as If click on "Delete" link as
button then nothig happen (could not go to next page)
I checked both the html that generates
+1 for @Namespace("/webfarm")
chaining is usually a sign of a bad pattern. See
http://cwiki.apache.org/confluence/display/WW/Action+Chaining.
Those are class annotations I assume. Any errors on application startup?
Including the convention plugin does help it work.
newton.dave wrote:
>
On 27/01/2009, at 4:57 AM, Matthew Seaborn wrote:
As I have grid of checkboxes I am currently trying to use embedded
maps as arguments in Struts 2, for example using
@CreateIfNull( value = true )
@Element( value = HashMap.class )
public Map> getTestMap() {
return testMap;
}
Using
/testActi
mvn dependency:tree | grep spring
spring-framework-xxx:2.0.5
spring-framework-xxx:2.5.6 -- oh #&@!
org.apache.struts
struts2-spring-plugin
2.0.11.2
org.springframework
spring-context
org.springframe
Next week on "When Dave Snaps", he threatens to ban anyone from the list if
he finds the answer in the first five links returned from googling 3 or more
words in their post.
"...do the needful" -- priceless.
newton.dave wrote:
>
> Wes Wannemacher wrote:
>> On Monday 26 January 2009 22:34:57
Hi,
Thanks for reply.
i am trying to load page from url and write in to the pdf.
can please reviw my code and send the solution.
if u want any more information send me mail.
--
View this message in context:
http://www.nabble.com/Converting-HTML-content-to-PDF-tp6203248p21679603.html
Sent f
Hi
how to use Fop in spring framework for html to pdf convertion.
is there any jar file available for this?
--
View this message in context:
http://www.nabble.com/Converting-HTML-content-to-PDF-tp6203248p21679566.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
It would be interesting indeed if the Struts2 spring integration was really
just a re-badged Spring MVC application
I so dislike magic, but I agree it works.
newton.dave wrote:
>
> Isn't... that for a Spring MVC app?
>
> Dave
>
> Martin Gainty wrote:
>> your ActionController class extend
Wes Wannemacher wrote:
On Monday 26 January 2009 22:34:57 Dave Newton wrote:
I get a null pointer exception when I load a JSP a Struts tag in it.
Well, don't load the JSP...
Can I get a second opinion?
Dave "I can be the straight man, too" Newton
-
On Monday 26 January 2009 22:34:57 Dave Newton wrote:
>
> I'm somewhat at a loss as to how I should go about helping you with this
> problem. I'll tell you what--I'm having a problem here, maybe we can
> trade answers. I'll describe my problem below:
>
> I get a null pointer exception when I load a
puneet duggal wrote:
Exception: java.lang.reflect.InvocationTargetException
this error is coming when i am trying to send mail through Gmail from my Jsp Page
heres the Link
http://cybercafecontrol.com/mailme.jsp
I'm somewhat at a loss as to how I should go about helping you with this
probl
Exception: java.lang.reflect.InvocationTargetException
this error is coming when i am trying to send mail through Gmail from my Jsp
Page
heres the Link
http://cybercafecontrol.com/mailme.jsp
carlo latasa wrote:
So I guess it's just not possible using the velocity tag equivalent. I'll
try digging into the source.
Are the Struts 2 Velocity just not very popular and or supported?
I think the Velo tags are less popular than the JSP and FreeMarker tags,
certainly. It's not an issue of
Right - duh. I knew that.
So I guess it's just not possible using the velocity tag equivalent. I'll
try digging into the source.
Are the Struts 2 Velocity just not very popular and or supported?
On Mon, Jan 26, 2009 at 5:44 PM, Dave Newton wrote:
> carlo latasa wrote:
>
>> That makes sense. It
carlo latasa wrote:
That makes sense. It was multi-line in older versions of WebWork with
Velocity.
So I'm still stuck trying to make this work
Is there any documentation that I'm missing? How would one do this with a
plain struts action tag?
In JSP? The way you're doing it.
Dave
-
That makes sense. It was multi-line in older versions of WebWork with
Velocity.
So I'm still stuck trying to make this work
Is there any documentation that I'm missing? How would one do this with a
plain struts action tag?
On Mon, Jan 26, 2009 at 5:28 PM, Dave Newton wrote:
> clat...@gmail
clat...@gmail.com wrote:
I'm trying to use the #saction tag where I pass a parameter into the
action being called. (Struts 2, Velocity 1.5)
Like this:
#saction( "id=vehicleAction" "namespace=/admin/fleet/vehicle"
"name=search" "executeResult=true")
#sparam("name=when" "value=now")
#end
I'd
Hello,
I'm trying to use the #saction tag where I pass a parameter into the action
being called. (Struts 2, Velocity 1.5)
Like this:
#saction( "id=vehicleAction" "namespace=/admin/fleet/vehicle" "name=search"
"executeResult=true")
#sparam("name=when" "value=now")
#end
however the #end give
Sidharth Bhatia wrote:
This file:
struts2-plugins
org.apache.struts
2.1.2
Um... what about all the other stuff I said? Can't you just explicitly
specify the plugin?
Dave
-
To unsubscribe, e-m
I am using the following:
http://repo1.maven.org/maven2/org/apache/struts/struts2-plugins/ to get the
plugin from.
Sid Bhatia
"Try not. Do... or do not. There is no try" -- Yoda
_
_ mailto:sidharth.bhat...@gmail.com
-Original Message-
From: Sidharth Bhatia [mail
This file:
struts2-plugins
org.apache.struts
2.1.2
Sid Bhatia
"Try not. Do... or do not. There is no try" -- Yoda
_
_ mailto:sidharth.bhat...@gmail.com
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Mond
Sidharth Bhatia wrote:
The file does not seem to exist in the maven repository.
Which file? Are you even using Maven?
In any case, I'd first try using the matching Spring library version
(2.0.5) although I thought I remembered dropping in Spring 2.5 into a
Struts 2.0 project and having it wo
Hi,
The file does not seem to exist in the maven repository. So I looked for it
in the struts package. I am using the file named
struts2-struts1-plugins-2.1.6.jar. Does anyone know if this is the same
file. It is from struts 2.1.6
But this file does not seem to solve the problem. I also had a sug
Isn't... that for a Spring MVC app?
Dave
Martin Gainty wrote:
your ActionController class extends MultiActionController as seen here..
/**
* MultiActionController for the image list/upload UI.
* @author Juergen Hoeller
* @since 07.01.2004
*/
public class ImageController extends MultiActionC
Hi Martin,
struts2-plugins
org.apache.struts
2.1.2
Does this have to be a parent or can it be a dependency?
Sid Bhatia
"Try not. Do... or do not. There is no try" -- Yoda
_
_ mailto:sidharth.bhat...@gmail.com
-Original Message-
Fro
Pennel,Paul T wrote:
@ParentPackage("ej-update")
@Namespace("webfarm")
Did you try "/webfarm"? (I'm not sure that it's necessary to explicitly
configure this particular namespace since the package name ends with
"actions.webfarm", though--don't recall off the top of my head.)
@Results ({
your ActionController class extends MultiActionController as seen here..
/**
* MultiActionController for the image list/upload UI.
* @author Juergen Hoeller
* @since 07.01.2004
*/
public class ImageController extends MultiActionController {
where /WEB-INF/web.xml contains:
i
We are trying to use the convention plugin but it does not recognize
any of our namespaces. We have followed convention by having "actions"
in the package name, and naming our actions *Action. We are using
Weblogic 10.3 and think it may have something to do with weblogic jaring
up our
class f
On Monday 26 January 2009 17:03:25 Sidharth Bhatia wrote:
> Hey guys,
>
> I am getting the following spring error:
>
> Cannot locate the chosen ObjectFactory implementation: spring - [unknown
> location]
>
> at
> org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionPro
Make sure struts2-plugin is configured in the pom.xml used to build the war
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
struts2-plugins
Hey guys,
I am getting the following spring error:
Cannot locate the chosen ObjectFactory implementation: spring - [unknown
location]
at
org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.
java:224)
at
org.apache.struts2.config.Bean
I ran into the same issue, not from upgrading, just starting from scratch.
I resolved the issue by:
1. Making my action implement ModelDriven
2. passing appendPrefix=false to visitorfieldvalidator
For example, my action is
MemberAction implements ModelDriven {
public Member getModel() {
Thanks Gus, you are correct that is the same exact case. I still have
not found a work around other then passing an actually message with:
@VisitorFieldValidator(message = "Please ")
What worked with 2.0.x now does not:
@VisitorFieldValidator(message = "")
Any other suggestions guys? Since Gus
Andy wrote:
> it appears that the Exception interceptor will fire after
> the Result has completed, which would theoretically catch
> any exceptions thrown by the JSP.
It's not that it fires "after" the result is completed, it's that
everything happens *within* the interceptors: they're wrapped
Accidentally found out how to do this:
invalid.fieldvalue.deliveryLocations[*].port=Delivery Location Port is invalid
Posting it for others who may have the same question.
On Mon, Jan 26, 2009 at 1:37 PM, Owen Berry wrote:
> I have an action that has a collection of objects. Conversion to and
2009/1/26 dusty :
> Interesting. So I am being lazy by not looking at the code first; How does
> it register the new action object with Spring so its services can be
> autowired in?
I don't know exactly but it works ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
-
I have kind of sorted this out..
My goal is simple - I don't ever want my users to see errors caused by actions
or jsps, and I want to be able to record every error.
My configuration is struts 2.1.6, struts-spring-plugin, struts-tiles-plugin,
hibernate, jsp, tomcat.
This topic seems to be
I have an action that has a collection of objects. Conversion to and
from the objects in this collection works fine. However, I can't
figure out how to give sensible errors for type conversions that fail.
It's not cool for the user to get:
Invalid field value for field "deliveryLocations[1].por
As I have grid of checkboxes I am currently trying to use embedded maps as
arguments in Struts 2, for example using
@CreateIfNull( value = true )
@Element( value = HashMap.class )
public Map> getTestMap() {
return testMap;
}
Using
/testAction.action?testMap[1][2]=true
Although it places the va
Yes I also think that only positional parameters would work, which means I
have to create another message just for this case. Struts 2 should allow
developers to use messages with positional parameters with the validation
framework so you can have just one type of message.
-Mensaje original---
OK, sorry for not looking further! I was just pessimistic that the whole
ResultConfig must have been made read-only.
Thanks
Adam
Musachy Barroso on 26/01/09 15:43, wrote:
I think just need to pass a string, instead of an object in the value param.
musachy
On Mon, Jan 26, 2009 at 10:37 AM, Ad
Lukasz Lenart wrote:
>
> 2009/1/26 dusty :
>> When using the struts2-spring-plugin, without bean declaration for your
>> actions, what is the default scope for the created Action beans?
>> Prototype,
>> I hope, but I can't really find where that is set or happens. I know the
>> default for Sp
I think just need to pass a string, instead of an object in the value param.
musachy
On Mon, Jan 26, 2009 at 10:37 AM, Adam Hardy
wrote:
> Hi,
>
> got a compilation error after upgrading from 2.0.11 to 2.1.6 due to changes
> in com.opensymphony.xwork2.config.entities.ResultConfig
>
> I am doing
Isn't there a ResultConfig.getParams() that returns a MapString>? Seems like you could just add entries to that, but I've never
had a need to do it, so I don't know if it'd actually work.
Dave
Adam Hardy wrote:
got a compilation error after upgrading from 2.0.11 to 2.1.6 due to
changes in com.
Néstor Boscán wrote:
message.requiredfield = The field "${getText(fieldName)}" is required
Now I need to do some extra javascript validations where I need to get the
message from the property files but I can’t get:
I don't think that's how it would work; if I had to guess I'd say that
only
Hi,
got a compilation error after upgrading from 2.0.11 to 2.1.6 due to changes in
com.opensymphony.xwork2.config.entities.ResultConfig
I am doing this:
public boolean addRedirectParameter(String resultName, String paramName,
Object paramValue)
{
Map resultsMap =
Hi
Im using the Struts 2 validation framework and using message properties
like this:
message.requiredfield = The field "${getText(fieldName)}" is required
Now I need to do some extra javascript validations where I need to get the
message from the property files but I cant get:
Did you sort this out already Andy?
I can't remember whether the web.xml error page is the same mechanism as the
error page declaration.
As for grabbing the exception object, I guess it must be in some servlet
container scope like the request attributes under some key or other.
You could ev
2009/1/26 :
> who can I get the locale which is used.
> I just want to make a log entry for debugging!
Check ActionContext.LOCALE [1]
[1]
http://struts.apache.org/2.0.6/struts2-core/apidocs/index.html?com/opensymphony/xwork2/interceptor/I18nInterceptor.html
Regards
--
Lukasz
http://www.lenar
Hi Juergen,
this might help:
http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/I18nInterceptor.html
Best greetings,
Paweł Wielgus.
2009/1/26 :
> Hello,
>
> who can I get the locale which is used.
> I just want to make a log entry for debugging!
>
> Thanks!
>
Hello,
who can I get the locale which is used.
I just want to make a log entry for debugging!
Thanks!
Thanks Pawel for such detalied description
i did all the things as mentioned by you but still its not working for me
regarding SSL its working for me bt still caching problem is there
i will again dig deep in to it and if you can provide me a small app that
will be wonderfull i can use that to c
Hi Say,
have You looked at
http://localhost:8080/CONTEXT/config-browser/index.action where
CONTEXT is your app context? That might give You some clues, also to
see this page You need to have config-browser plugin.
Best greetings,
Paweł Wielgus.
2009/1/25 Say Jon :
> Hi everyone,
> I have recentl
Hi all,
just as a side note I wrote few lines about my upgrade process here [1],
remember to delete work directory from tomcat if You are using one.
[1] - http://poulwiel.blogspot.com/2009/01/migrating-from-struts-20x-to-216.html
Best greetings,
Paweł Wielgus.
2009/1/25 Wes Wannemacher :
> On Su
Me also had a similar experience.
Srinivasan K S
On Mon, Jan 26, 2009 at 12:19 PM, Kostas Flokos wrote:
> Dear all,
>
> If you have received (lots of) notification from me to register with the
> social network "YAARI" PLEASE DO NOT REGISTER! I registered by accident -
> as
> a good trusted frie
Dear all,
If you have received (lots of) notification from me to register with the
social network "YAARI" PLEASE DO NOT REGISTER! I registered by accident - as
a good trusted friend invited me - and that site immediately used my
complete address book to send invitations and reminders! The only thi
Hi Shekher,
what i did is:
1. I added on every page:
- in section at the begining of page and after just
before i added:
- so it is doubled!
2. I added to every response:
response.setHeader("Pragma", "no-cache");
60 matches
Mail list logo