Re: Apache Struts 2.3.35 Upgrade - backward incompatibility in s:if

2018-08-30 Thread Miguel Almeida
Thanks Lukasz, On Thu, Aug 30, 2018 at 10:03 AM Lukasz Lenart wrote: > czw., 30 sie 2018 o 10:40 Miguel Almeida > napisał(a): > > Out of curiosity, is the problem the conversion from List to XWorkList > > mentioned > > by Yasser > > < > https://i

Re: Apache Struts 2.3.35 Upgrade - backward incompatibility in s:if

2018-08-30 Thread Miguel Almeida
about this incompatibility? Going forward, is there a way to improve the compatibility assessments? Kind regards, Miguel On Thu, Aug 30, 2018 at 7:21 AM Lukasz Lenart wrote: > śr., 29 sie 2018 o 19:04 Miguel Almeida > napisał(a): > > *And *scopesValues was previously set ( > value=&q

Apache Struts 2.3.35 Upgrade - backward incompatibility in s:if

2018-08-29 Thread Miguel Almeida
of our pages we are now hesitant on what other places could break after the upgrade. Kind regards, Miguel

Re: Can we use the decorator pattern in Actions?

2017-03-31 Thread Miguel Almeida
original suggestion, I'm not sure I followed, since "Thus must be implemented in each interceptor which interacts with action base on interface (Preparable, ValidationAware, SessionAware, etc)." sounded like all (or most) Struts interceptors would need to be re-written. Miguel On Qui, 2012-1

Re: Can you use type conversion with JSONInterceptor?

2016-12-02 Thread Miguel Almeida
Thank you Lukasz! I will check if/how we can inject the converter there. If we manage to get it working in a way that helps the ticket resolution I'll also post the information there. On Sex, 2016-12-02 at 09:50 +0100, Lukasz Lenart wrote: > Hi, > > JSON plugin uses its own conversation

Can you use type conversion with JSONInterceptor?

2016-12-01 Thread Miguel Almeida
ld we configure this correctly? Is it possible for the JSON interceptor to be aware of the -conversion.properties? If not, what alternatives do you envision? Thanks! Miguel

Re: S:url and s:param and character encoding

2014-09-01 Thread Miguel Almeida
On Mon, 2014-09-01 at 10:20 +0200, Lukasz Lenart wrote: 2014-08-29 18:11 GMT+02:00 Miguel Almeida mig...@almeida.at: I had an issue recently with a download action not finding the corresponding file and you might be able to help me with it. The filename (on disk) was Calendário (á

S:url and s:param and character encoding

2014-08-29 Thread Miguel Almeida
=%{#answer}//a Is there something missing from s:url? I also found https://issues.apache.org/jira/browse/WW-2414 which seems to mention something similar, but marked as solved in 2.0.x. Cheers, Miguel

Is the email regex validator in Struts validation incorrect?

2014-08-25 Thread Miguel Almeida
on this? Could this regex be incorrect and miss out any special characters? Miguel Almeida

Re: Is the email regex validator in Struts validation incorrect?

2014-08-25 Thread Miguel Almeida
? Cheers! Miguel On Mon, 2014-08-25 at 10:51 -0500, Paul Benedict wrote: I looked up the RFC. The document lists itself as a proposed standard [1] so it's not really available yet for general use (but correct me if wrong). I propose that an enhancement should be made in JIRA to handle this. [1

Re: Is the email regex validator in Struts validation incorrect?

2014-08-25 Thread Miguel Almeida
. Note that other email validators can be plugged in fairly easily. Dave On Mon, Aug 25, 2014 at 12:11 PM, Miguel Almeida mig...@almeida.at wrote: I have added it to the JIRA - https://issues.apache.org/jira/browse/WW-4389 I can't seem to find the actual standard though

Re: REST question

2014-02-11 Thread Miguel
reading an replying the question. Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Tue, Feb 11, 2014 at 3:42 PM, Ken McWilliams ken.mcwilli...@gmail.comwrote: Sounds like you have used the Open Session in View method... probably provided by a custom interceptor

Re: REST question

2014-02-11 Thread Miguel
Thanks Lukasz, the REST namespace makes everything work well with the REST Plugin loaded. Now the real work begins, but that will be for tomorrow morning. Regards Miguel Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Tue, Feb 11, 2014 at 11:46 PM, Lukasz Lenart

REST question

2014-02-10 Thread Miguel
electrón Miguel Ruiz Velasco Sobrino

Re: Best book reference for struts 2

2014-01-16 Thread Miguel Almeida
I've found Dave Newton's Apache Struts to be one of the best Struts books out there. Miguel On Thu, 2014-01-16 at 14:17 +0530, Arvind Gupta wrote: Struts2 by Vincent is really good for starting out. Also have a look at this one from infoq http://www.infoq.com/minibooks/starting-struts2

Re: Best book reference for struts 2

2014-01-16 Thread Miguel Almeida
You're welcome! I like to give credit when credit is due, and your book helped me a lot when I started out, in 2007/2008, knowing virtually nothing about web development and very little about programming. Speaking of which, are you thinking about creating a new edition for 2.x or 3.x ? Miguel

Re: minimal set of jar files for struts 2.3

2014-01-06 Thread Miguel Almeida
Lukasz, Incidentally, is this list compiled by hand or is it built automatically using a (which?) maven plugin? Miguel On Sat, 2014-01-04 at 13:18 +0100, Lukasz Lenart wrote: The first section compile and optional No http://struts.apache.org/release/2.3.x/xwork-core/dependencies.html http

Re: Is Struts 2.3.15.2 affected by the security vulnerability S2-018?

2013-12-17 Thread Miguel Almeida
Lukasz, Just to be sure, does that mean that if you use 2.3.15.3 and you set the flag to enable the action: prefix it means you'll get the old behaviour (and vulnerability) back? Miguel On Mon, 2013-12-16 at 08:27 +0100, Lukasz Lenart wrote: 2.3.15.2 and 2.3.15.3 address the same issue

Re: Is Struts 2.3.15.2 affected by the security vulnerability S2-018?

2013-12-17 Thread Miguel Almeida
On Tue, 2013-12-17 at 11:40 +0100, Lukasz Lenart wrote: 2013/12/17 Miguel Almeida mig...@almeida.at: Lukasz, Just to be sure, does that mean that if you use 2.3.15.3 and you set the flag to enable the action: prefix it means you'll get the old behaviour (and vulnerability) back

Re: Token Session Interceptor and back button

2013-12-06 Thread Miguel Almeida
Paul, I was thinking about this example...what did you have in mind as a way to achieve that, tough, i.e., that a browser back refreshes the page? I can only see some javascript method/hack for that. Were you thinking of something else? Miguel On Thu, 2013-12-05 at 14:59 -0600, Paul Benedict

Re: S2 - custom tag with Spring

2013-12-04 Thread Miguel Almeida
Spring to scan) it is managed by spring - so you'll be able to inject whatever you want onto the bean. Beware of the scope you give to that bean, though. If it's in a tag, you might want to give it a request scope. Miguel On Wed, 2013-12-04 at 11:00 +0800, Steven Yang wrote: Hi I am writing some

Re: security impact after enabling back the action: prefix in Struts 2.3.15.3

2013-11-26 Thread Miguel Almeida
is that the normal behaviour will return in both situations on a future non-security release - hopefully the next one! Maybe someone from the dev team can share their input with us? Kind regards, Miguel Almeida On Wed, 2013-11-20 at 04:33 +0100, Krassen Deltchev wrote: Dear Struts2 mailing list, i have

Re: Sending email on uncought exception problems

2013-11-26 Thread Miguel Almeida
The first thought I had was also that this might be better suited on an interceptor. You'll also have more control over the desired behaviour since interceptors are more easily testable than JSPs. Miguel On Tue, 2013-11-26 at 09:43 -0500, Dave Newton wrote: Why not use an interceptor? Dave

s:token doesn't accept data- attributes, cssClass ignored

2013-10-02 Thread Miguel Almeida
rendering, the class is not passed onto the hidden input elements. Is there a reason for this? While in the case of data-foo this seems to be a missing feature, in the case of cssClass it's also misleading - you can set the property, but it doesn't have any consequence. Miguel

Re: Struts 2.3.15.1 How to read external properties files or conf files

2013-09-06 Thread Miguel Almeida
Without any code it's hard to know what's happening. I do ask you to seriously reconsider refactoring database access out of the action or you'll end up with a huge, very hard to test action class. Miguel Almeida On Fri, 2013-09-06 at 10:50 +0100, Chris wrote: Where : server side , in action

Re: How to set the name parameter on a multiple s:select

2013-05-30 Thread Miguel Almeida
]). The challenge is to create an s:select that generates that request parameters! Miguel [1] Unit Test snippet request.setParameter(entity.entity2List[0].entity3.id, 2); request.setParameter(entity.entity2List[1].entity3.id, 11); createAction(/example/Conversion.action

How to set the name parameter on a multiple s:select

2013-05-29 Thread Miguel Almeida
=true name=%{entity.entity2List[].entity3.id} list=#someList listKey=id listValue=code/ s:select key=centre.choose multiple=true name=entity.entity2List[].entity3.id list=#someList listKey=id listValue=code/ Thank you for your help! Miguel Almeida

Re: How to set the name parameter on a multiple s:select

2013-05-29 Thread Miguel Almeida
I've also posted this on http://stackoverflow.com/questions/16812357/how-to-set-the-name-parameter-on-a-multiple-sselect so the knowledge can be shared once the answer is known. I also plan to add this to struts' documentation! Miguel On Wed, 2013-05-29 at 11:27 +0100, Miguel Almeida wrote

Private setter method breaking application in Tomcat7

2013-02-20 Thread Miguel Almeida
) Why is Tomcat7 the only container complaining? Neither tomcat6 nor our embedded jetty containers complain about this 2) Even though the method's name should be changed, I also find it strange that this is a problem when the 2nd method is private. Any thoughts appreciated, Miguel Almeida

Re: Struts application

2013-02-20 Thread Miguel Almeida
Or, if you already use Maven, use the Maven archetypes available at http://struts.apache.org/ Miguel Almeida On Wed, 2013-02-20 at 22:31 +0530, Umesh Awasthi wrote: download sample application from S2 official download section and you will be able to see how things are being configured

Re: Issue with maven archetypes - jetty plugin version 8 not refreshing JSPs

2012-11-07 Thread Miguel Almeida
timestamp and refreshes anyway, Jetty 8 is more sensitive and does not reload the file. So the solution here was simply to update the remote NFS server's clock. Why the NTP-aware server is having trouble with the time is another issue... Miguel Almeida On Tue, 2012-11-06 at 13:12 +0100, Lukasz

Re: Issue with maven archetypes - jetty plugin version 8 not refreshing JSPs

2012-10-31 Thread Miguel Almeida
and security). Could you try the configuration without scanTargets for jetty 6 and 8? Miguel Almeida On Tue, 2012-10-30 at 21:57 +0100, Lukasz Lenart wrote: Hi, I've tested with apps/blank and it works as expected, the same with an app created base on struts2-archetype-blank (mvn

Issue with maven archetypes - jetty plugin version 8 not refreshing JSPs

2012-10-29 Thread Miguel Almeida
configuration scanIntervalSeconds10/scanIntervalSeconds /configuration /plugin Does anyone know what configuration change is needed so you get the same behaviour as before? Miguel Almeida

Re: Can we use the decorator pattern in Actions?

2012-10-03 Thread Miguel Almeida
Spring IoC to define these needed objects in OriginalAction. But it would be neat if that was performed by Struts. What are your thoughts on this? Miguel Almeida On Wed, 2012-05-16 at 11:22 +0100, Miguel Almeida wrote: Imagine the scenario where you have security implemented at the action method

RE: Type conversion on a Map

2012-09-21 Thread Miguel Almeida
initialised so this would fail as well This is where it is failing. Not because it hasn't been initialized, but because it doesn't have that key. Miguel Almeida

Type conversion on a Map

2012-09-20 Thread Miguel Almeida
file wrong, the parameter set in the unit test, or both? Cheers, Miguel Almeida

OGNL error in log - Error setting expression

2012-07-27 Thread Miguel Almeida
. It seems the question of whether or not these warnings should appear has been discussed in the mailing list before. What I couldn't find is this: should there even be a warning in this case, given that the property should be searched for in the i18n resources and not the action? Thank you, Miguel

Re: OGNL error in log - Error setting expression

2012-07-27 Thread Miguel Almeida
Answering my own question: apparently you need to define a name property for the submit tag. Thanks to http://www.coderanch.com/t/487063/Struts/Internationalization Miguel On Fri, 2012-07-27 at 18:33 +0100, Miguel Almeida wrote: I noticed some OGNL warnings in my log that I show below [1

Re: some issues upgrade struts from 2.2.3 to 2.3.4

2012-07-18 Thread Miguel
Also REST doesn't work in 2.3.3 and 2.3.4. Not even the rest-showcase war. Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Sun, Jul 15, 2012 at 12:46 PM, ekstse eks...@gmail.com wrote: sorry that i do not aware that attachment is not valid sorry about

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
Sure, Lukas: https://github.com/mmalmeida/struts-performance On Thu, 2012-07-05 at 06:48 +0200, Lukasz Lenart wrote: Could you post somewhere (GitHub) the whole code base ? Regards

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
is using tiles, so I kept it there. However, I don't think it's being used in the web workflow I created (which just goes to index.jsp). Is there anything there that might explain this slowness? Cheers, Miguel Almeida On Thu, 2012-07-05 at 13:05 +0100, Miguel Almeida wrote: Sure, Lukas

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
. Updating to 2.3.19 makes performance normal again (the complete project needed freemarker, hence the direct dependency reference in the pom). While I don't know what changed between these freemarker versions, apparently the problem was there. Miguel Almeida On Thu, 2012-07-05 at 13:16 +0100

Re: data injection attack

2012-07-04 Thread Miguel Almeida
Lukas: that's not always viable though. You might need a setter for your model object elsewhere, but don't want that action to set that property. On Wed, 2012-07-04 at 14:57 +0200, Lukasz Lenart wrote: By removing setter for it ? Regards

Performance issue with nested iterator

2012-07-04 Thread Miguel Almeida
faster (ie, page load drops from 8 to 2 seconds). Looking at http://struts.apache.org/2.x/docs/performance-tuning.html, I double checked the OGNL version loaded in maven and indeed I have 3.0.3. Is there any obvious reason why I'm getting such a slow performance? Thanks for the input! Miguel Almeida

Can you define variables as the value in struts.properties?

2012-06-18 Thread Miguel Almeida
I really need is struts.custom.i18n.resources=environments/app-${envName}. Can one have this, so only the file that makes sense for that environment is loaded? [1] https://gist.github.com/2948672 Cheers, Miguel Almeida

Re: Using Spring proxied Session Beans with the ExecAndWaitInterceptor

2012-05-16 Thread Miguel Almeida
startup - even if you define it with, say, a prototype scope in spring. This means that apparently Struts disregards spring's scope for interceptors, which has thread safety implications (and you might be better off using the approach in 3) ). Miguel On Tue, 2012-05-15 at 09:00 +0200, Łukasz Lenart

Can we use the decorator pattern in Actions?

2012-05-16 Thread Miguel Almeida
question is: how would you go on and solve this? Or is the decorator approach impractical in Struts? I haven't even consider the necessity to implement every getter/setter on the IAction, which would also make this approach a bit cumbersome. The simplicity for testing, however, is great! Cheers, Miguel

Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Miguel Almeida
suggest I perform this test? Thank you, Miguel Almeida [1]- see http://www.displaytag.org/1.2/export_filter.html

RE: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Miguel Almeida
Hi Steve, On Mon, 2012-05-14 at 11:09 +0100, Steve Higham wrote: Hi Miguel, I haven't used the StrutsSpringTestCase however I have made use of the StrutsTestCase. This only tests the interceptor stack / Action / Result. There is no web server involved and no attempt to render

Re: Using Spring proxied Session Beans with the ExecAndWaitInterceptor

2012-05-14 Thread Miguel Almeida
about http sessions or requests and should really be http agnostic). Could you clear me up on you meant by your approach? Thanks, Miguel Almeida On 05/14/2012 08:11 PM, Łukasz Lenart wrote: I think it's better to repackage what you need and pass as a context variables instead inject session aware

Re: Testing with StrutsTestCase in a Tiles application - NullPointerException

2012-01-30 Thread Miguel Almeida
, WEB-INF/tiles.xml); final StrutsTilesListener tilesListener = new StrutsTilesListener(); final ServletContextEvent event = new ServletContextEvent(servletContext); tilesListener.contextInitialized(event); } } Miguel Almeida On Fri, 2012-01-27 at 17

Testing with StrutsTestCase in a Tiles application - NullPointerException

2012-01-27 Thread Miguel Almeida
@struts.apache.org/msg77582.html ). Petrelli tried to answer, but no solution was posted. From these resources, do you know what the problem might be and if it is possible to use StrutsTestCase to test an application that has Tiles enabled through the StrutsTilesListener? Cheers, Miguel Almeida

Maven archetypes not working?

2012-01-20 Thread Miguel Almeida
- https://repository.apache.org/content/groups/public/] The defined artifact is not an archetype While I've just added the catalog to my workspace, I have used maven archetypes before. Is there something not working with the archetypes at the moment? Cheers, Miguel Almeida

Message lookup (from key) in Test

2011-11-16 Thread Miguel Almeida
is: assertEquals(expectedMessage, action.getActionErrors().iterator().next()); But actionErrors() contains the key (error.authorisation) and not the value (you cannot do this). What's the cleanest way to retrieve the value from the test? Cheers, Miguel Almeida

Re: Can Struts Junit plugin be used to test the redirect result of an action

2011-09-24 Thread miguel
the database unless I pause its execution for a second. Weird. Very. Maurizio Cucchiara On 21 September 2011 17:25, Miguel Almeida mig...@almeida.at wrote: I am using the Struts Junit plugin (http://struts.apache.org/2.2.3.1/docs/struts-2-junit-plugin-tutorial.html ), extending

Can Struts Junit plugin be used to test the redirect result of an action

2011-09-21 Thread Miguel Almeida
with this base test case to make it call the 2nd action? Regards, Miguel Almeida

Re: Unit Test Struts2 Action - Custom type converters not being run?

2011-09-21 Thread Miguel Almeida
in my action's session.get() method (because ServletConfigInterceptor's ((SessionAware) action).setSession(context.getSession()); (line 146) will set it to null and override the action.setSession(session) instruction) Miguel

Re: PropertyPlaceholderConfigurer can't read file properties

2011-07-01 Thread Miguel Almeida
On Fri, 2011-07-01 at 08:46 -0500, Paul Benedict wrote: Can you clarify? You spoke about reloading -- are you trying to change property files on the fly? Agree: as far as I know, you can't do that with PropertyPlaceholderConfigurer. Also agree with previous mail: this is Spring, not Struts.

Re: Multi Devices and Multilanguage

2011-06-29 Thread Miguel
handle natively The international and localization stuff. Enviado desde mi Nexus S Miguel Ruiz Velasco Sobrino On Jun 29, 2011 10:28 AM, Frans Thamura fr...@meruvian.org wrote: hi all we want to create a multi devices rendering for our apps, which we use struts2, for mobile, tablet and web

Re: getText on XSLT transformation on an Action

2011-06-16 Thread Miguel
positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Thu, Jun 16, 2011 at 19:31, JOSE L MARTINEZ-AVIAL jlm...@gmail.com wrote: could you expand that? do you mean to create the XSLT on the fly? 2011/6/16 Maurizio Cucchiara mcucchi...@apache.org The first solution I thought is: a template

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Miguel
yields unexpected Struts errors (Spring injection) Para: Struts Users Mailing List user@struts.apache.org It works for me ... Hello Lukasz, today is 2011/06/08 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/6/8 Miguel

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Miguel
is triggered by writing issue in the field name. Can you try it again? You should see the error then! Miguel

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Miguel
To ease inspection of the problem, I created a unit test in the JIRA issue (https://issues.apache.org/jira/browse/WW-3647 ): run JNDIProblemTestCase in https://issues.apache.org/jira/secure/attachment/12481828/redirectActionErrorWithJunitTest.zip On Wed, 2011-06-08 at 16:08 +0100, Miguel

Adding a JNDI lookup yields unexpected Struts errors

2011-06-07 Thread Miguel
to understand this problem! Regards, Miguel Almeida

Re: Adding a JNDI lookup yields unexpected Struts errors

2011-06-07 Thread Miguel
property Struts will say (for every action): There is no Action mapped for action name YYY/tutorial/randomiseRedirect. Why is it adding my jndi property to the URL? On Tue, 2011-06-07 at 18:07 +0100, Miguel wrote: Dear all, I am having a strange problem and was hoping anyone knows why

Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Miguel
property name=request ref=XXX/property /bean Is what I am trying to achieve possible? Regards, Miguel Almeida

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Miguel
to my previous mails' question? Thanks a lot for your quick reply! Miguel Almeida

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Miguel
On Fri, 2011-05-27 at 13:24 +0100, Miguel wrote: Hi Dave, On Fri, 2011-05-27 at 08:10 -0400, Dave Newton wrote: What specifically do you need an actual request for? This strikes me as coupling your design to the servlet spec, and there's rarely a strong reason to do that past the web

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Miguel
On Fri, 2011-05-27 at 09:00 -0400, Dave Newton wrote: On Friday, May 27, 2011, Miguel wrote: Following my previous email and agreeing with you on this, I might, of course, get off the request hook by changing the request injection with injecting, for example, those two properties

Where's the best way to test session timeout?

2011-05-23 Thread Miguel
-config However, how does one test it? More specifically: 1) Can we test it with a struts integration test? 2) How can we mock the time span (ie, we obviously don't want to wait 5 minutes for the test to finish...). Thanks for the input, Miguel Almeida

Re: S2 TEst Best Practices

2011-05-20 Thread Miguel
different places b) I'm not completely happy with my validation test class yet, which currently extends from StrutsSpringTestCase Regards, Miguel Almeida

Re: S2 TEst Best Practices

2011-05-20 Thread Miguel
can set that up in jenkins. I am actually starting with jenkins and have little experience with CI systems. Everything is easy until you have environment specific settings (like different databases and database credentials, or upload paths). Miguel Almeida

RE: S2 TEst Best Practices

2011-05-20 Thread Miguel
On Fri, 2011-05-20 at 15:38 +0400, Ilya Kazakevich wrote: Hello, In pure struts your action is just a presenter (see MVP pattern). So you can test it using unit testing engines like testNG and jUnit. For GUI testing you can use selenium. Ilya, what kind of tests do you usually run with

RE: S2 TEst Best Practices

2011-05-20 Thread Miguel
On Fri, 2011-05-20 at 09:29 -0400, Dave Newton wrote: On May 20, 2011 9:26 AM, Ilya Kazakevich wrote: There should not be logic in view. If there is no logic -- there is nothing to test:) Sure there is, and I'm not even including JavaScript-based functionality. Are the right things

Re: Type conversion of ListSomeInterface - how does one do it?

2011-05-18 Thread Miguel
On Tue, 2011-05-17 at 14:42 -0700, Jeffrey Black wrote: Hey there Miguel. Have a look here: http://struts.apache.org/2.0.14/docs/type-conversion.html#TypeConversion-GenericsandErasure Thanks Jb. In my case a possible solution is to remove the generic reference to the list (ie

Type conversion of ListSomeInterface - how does one do it?

2011-05-17 Thread Miguel
with: #KeyProperty_users=id #Element_users=iw.persist.model.UserImpl #CreateIfNull_users=true So, how can one use the automatic type conversion when your list is defined for an interface? Thank you in advance, Miguel Almeida

Re: Pagination using Struts library

2011-05-13 Thread Miguel
export url is Someaction.action?6578706f7274=1d-16533-e=5 and 6578706f7274 doesn't seem to be valid on recent versions. Miguel Almeida Dave,On Wed, 2011-05-11 at 08:06 -0400, Dave Newton wrote: DisplayTag is open-source, BTW.

jsp's outside WEB-INF in maven archetype?

2011-05-10 Thread Miguel
to store the jsp's inside WEB-INF (to reduce their visibility)? If so, shouldn't the archetypes be changed in accordance? Regards, Miguel Almeida

Re: [ANN] Struts2 jQuery Plugin Version 3.0.0 is available

2011-05-09 Thread miguel
Johannes, Have you posted 3.0.0 on maven repositories yet? I have used jquery extensively, but never jquery plugin. I am trying it out on a pet project. Well done! Miguel On Mon, 2011-05-09 at 11:22 -0700, Johannes Geppert wrote: arin_12 wrote: Seems that we have some issue in the GRID

Re: help with MethodFailedException in ognl.OgnlRuntime.callAppropriateMethod

2011-05-03 Thread Miguel
Which means: try changing your property name to something else; the tagId may already be in use. I also had a problem with a property name once. It might be useful to have a wiki page with names already in use in struts. Enviado a partir do meu HTC - Reply message - De: Eric Reed

Overriding interceptor in stack

2011-04-28 Thread Miguel
Today's question actually follows yesterday's suggestion by Dave of using the preparable interface and is really an architecture/convention-over-configuration question: - what do you think about the possibility to override an interceptor by reassigning it in the configuration? I don't think this

How to make s:action run when validation fails?

2011-04-27 Thread Miguel
that should be shown with the form, even when validation fail) Your help is greatly appreciated, Miguel Almeida

Re: How to make s:action run when validation fails?

2011-04-27 Thread Miguel
don't use validation very often. It appears to over complicate things a bit (a bit egg vs chicken theory, perhaps that's why I don't use it very often). Regards, Miguel

Re: Restrict direct access to static content

2011-02-22 Thread Miguel
You can always make a request aware struts action that returns a stream (not a jsp) and inside the action You can put everything You want to check the user. Open the file with a fileinputstream from an internal resource directory. Enviado desde mi Nexus S Miguel Ruiz Velasco Sobrino On Feb 16

Re: Struts2 - implementing SSL

2010-11-10 Thread Miguel
), or in native mode using tomcat native, using openssl (and is configured in the openssl way), and the performance difference is significative. Those are my reasons for my preference. Regards, Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino 2010/11/10 Paweł Wielgus poulw

Re: Struts2 - implementing SSL

2010-11-09 Thread Miguel
documentation about this in the tomcat connectors page and the httpd documentation. Regards, Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Tue, Nov 9, 2010 at 15:12, Ken McWilliams ken.mcwilli...@gmail.com wrote: I'm just looking into this and have never implemented

Re: Struts2 - Html to PDF

2010-07-24 Thread Miguel
Miguel Ruiz Velasco Sobrino On Sat, Jul 24, 2010 at 09:08, Martin Gainty mgai...@hotmail.com wrote: i dont know how Crystal can ingest either XSD schema entities or POJOs..maybe someone out there knows of a converter? FOP transform is the best solution offered http://xmlgraphics.apache.org

Re: jsp in WEB-INF

2010-07-16 Thread Miguel
, there are lot's of directories, and some are assembled dynamically at build time from sub-projects, so I think it's somewhat difficult that way as it needs a lot of manual bookkeeping. Thanks for the help from everyone. Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino

jsp in WEB-INF

2010-07-15 Thread Miguel
quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: How to prevent direct access to JSP

2010-07-05 Thread Miguel
electrón Miguel Ruiz Velasco Sobrino On Mon, Jul 5, 2010 at 23:53, Kushan Jayathilake kusha...@gmail.com wrote: Hi Guys, Can anyone suggest me how to prevent an user entering a direct URL for the JSP instead of action, ie : *search.jsp* instead of *search.action* I want to control

Re: Different results with spring

2010-01-30 Thread Miguel
On Fri, Jan 29, 2010 at 19:09, Miguel miguel...@gmail.com wrote: Hi, Thanks for answering!! I'll post my relevant configurations. I'm using spring 2.5.6 and struts 2.1.8.1. I have the spring plugin in the struts.conf, and my actions are correctly autowired by name. I also have an include

Re: Different results with spring

2010-01-29 Thread Miguel
or not. Thanks for your help. Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Fri, Jan 29, 2010 at 14:27, Wes Wannemacher w...@wantii.com wrote: What you are doing should work the way you expect... I use the Spring integration all the time :) A few simple

Different results with spring

2010-01-28 Thread Miguel
//property /bean I hope someone can help me Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: Where to disable encrypting of non latin chars?

2009-11-27 Thread Miguel
. %@ page language=java contentType=text/html; charset=UTF-8 pageEncoding=UTF-8% Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Fri, Nov 27, 2009 at 20:14, Saeed Iqbal saee...@gmail.com wrote: I mean if you want to display decoded HTML value, then feed in encoded

Re: jQuery Plugin

2009-06-09 Thread Miguel
Miguel Ruiz Velasco Sobrino On Tue, Jun 9, 2009 at 15:34, Johannes Geppertjo...@web.de wrote: You can easily use Themes created with jQuery Themeroller. Take a look in the Wiki about Custume Themes http://code.google.com/p/struts2-jquery/wiki/HeadTag BTW: I also have handcoding befor

weird display tag behavior

2009-06-09 Thread Miguel
=paginatedList ... .../display:table and i worked!! Can anyone explain why the second code works, but not the first? Thanks Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino - To unsubscribe, e-mail

Re: jQuery Plugin

2009-06-08 Thread Miguel
electrón Miguel Ruiz Velasco Sobrino On Mon, Jun 8, 2009 at 10:07, Johannes Geppertjo...@web.de wrote: Hello, since last Friday i have lunched a new jQuery plugin for struts2 at Google Code. http://code.google.com/p/struts2-jquery/ It provides an AJAX Support for Links, Forms and Divs

Re: Autowired and PostConstruct with Struts + Spring

2009-04-27 Thread Miguel
Check you only have one ocurrence of myService in your spring configuration specially if it's in more than one file. Maybe there is more than one instance and spring uses the last wins design principle. Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Mon, Apr 27

Re: Web Services

2009-03-17 Thread Miguel
You may take a look at Spring-WS. Remoting is like RMI over http, meanwhile Spring-WS is a contract-first approach. Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco S. On Tue, Mar 17, 2009 at 09:02, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: Spring has

redirectAction with parameters

2009-02-17 Thread Miguel
quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco S. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

  1   2   >