logic:iterate, with offset and length parameters, lose data

2005-04-20 Thread Oscar
dont know how to use html:hidden for my purposes, because I think this only can be used for a property. Any help? Thanks in advance Oscar Cristobal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: Catching: Unable to instantiate Action

2009-11-11 Thread Oscar
f the Class > does > not exist. In that case I get a struts error page (if debug mod is on) or a > tomcat error page. Any way to catch this exception? > > > > -- > > Gustavo Felisberto. > > WIT-Software, Lda > > Coimbra (Portugal), San Jose (California) > > Phone: +351239801030 > > Web: <http://www.wit-software.com> http://www.wit-software.com > > > > -- Oscar

Re: how to use ajax displaytag?

2009-11-12 Thread Oscar
fireapple escribió: Here's my situation: I used a displaytag to show a table as an ajax result. It works fine. However, when I click "sort" or go to different page, it opens a new page with only the displaytag table. I saw something online that there's ajaxTags or ajaxAnywhere, but it seems the

Re: displaytag - Nothing found to display.

2009-11-13 Thread Oscar
Kris Reid escribió: The problem has something to do with the get method in the action class not being called. Any ideas why this would happen? If I hit refresh a time or two it works fine. - http://www.kremsoft.com Kremsoft - Software Development Are you using ajax tags (like dojo )

Problem with tag

2009-11-13 Thread Oscar
Hi to all, i have a simple question about tag. Let's say that we have a property in our action of type List, but in that list i only store Strings. When i want to print the value of the list on the JSP i use this code snipped: But i don't know if that's right, because i don't know how

Re: Problem with tag

2009-11-13 Thread Oscar
Brian Thompson escribió: Try this: Calling without specifying a value will default to the top of the value stack which ought to be the current element in the list because you're inside the tag. -Brian On Fri, Nov 13, 2009 at 12:53 PM, Oscar wrote: Hi to all, i have a s

Question about PrepareInterceptor and Preparable

2009-11-16 Thread Oscar
Hi to all. I'm developing a Struts 2 application and i create an interceptor to initialize values and to validate user login. I want to load a list to jsp to populate a s:select so i implemented the Preparable interface in my action, and the method prepare(), so i type the code in this method t

Re: Question about PrepareInterceptor and Preparable

2009-11-16 Thread Oscar
Chris Pratt escribió: Did you either set your appInterceptors stack to be the default stack, or define the actions you're testing with to use the appInterceptors stack explicitly? Otherwise, you're actually just using the defaultStack. (*Chris*) On Mon, Nov 16, 2009 at 12:34 PM, Os

Re: Drop downs not populated after error

2009-11-17 Thread Oscar
larryreed escribió: I'm having a problem with the in which the drop downs are populated from a list of database objects. When I first display the screen, the drop downs are properly populated. However, when there is an error in some field, and the page is redisplayed, the drop downs are now empty

Re: s2: Validation xml file not being used when validating a method

2009-11-17 Thread Oscar
ben_979 escribió: I'm trying to figure out the validation framework, and I don't have a clear understanding from the docs I've read where I'm going wrong, so if someone could point me in the right direction I'd appreciate it. I'm trying to validate ONLY when a particular method of an action clas

Question about struts templates

2009-11-19 Thread Oscar
Hi to all, i have a problem with struts 2 templates. The problem is that when i put a s:submit in my jsp for example, it automatically creates a div containing the submit and a new column in the table, and i don't want that, i only want only the button. Is there a way to tell struts that i don'

Re: Question about struts templates

2009-11-19 Thread Oscar
Thanks for your answer Burton. I didn't know how to do that but for others that could have that problem to the way to do this is the next: Declare a constant in struts.xml like this: Burton Rhodes escribió: Use the 'simple' theme. It just prints the HTML tag. On 11/19/0

Re: What may cause ognl.InappropriateExpressionException warning ?

2009-11-23 Thread Oscar
As Musachy says, you could ignore it in the params interceptor in this way: d-\d+?-[sop] Musachy Barroso escribió: try adding quotes around it 'd-6836677-p' then it will be interpreted as a string, or try to ignore it in the params int

Re: excute method

2009-11-27 Thread Oscar
I think that you have to implement Preparable interface, and you can't declare prepare() throwing an exception because that's not permitted by methods implementation rules (if i'm wrong tell me please). Wes Wannemacher escribió: On Fri, Nov 27, 2009 at 4:04 AM, Nguyen Xuan Son wrote: Dear

Re: Authorization technique

2009-11-30 Thread Oscar
I've worked with struts menu and jsp without problems. About CSS i remember that you specify theme to struts menu tags then you simply edit the css sheet that you include in your application when you put all the necessary stuff to make work struts menu, like the jar and so on. nani2ratna escri

Re: File I/O in Struts 1.2.x

2009-12-14 Thread Oscar
ruts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Oscar

Problem with jquery plugin

2009-12-15 Thread Oscar
Hi to all, i was exploring the jquery plugin of struts 2 because i read that you can do something like a grid with the tags that provides that plugin, something like displaytag or extremecomponents. I follow an example that i found where they simply create a list in action and show the data in

Re: Problem with excel download file from Action (S 2.1.8)

2010-01-21 Thread Oscar
/1/21 Dale Newfield > Oscar Calderon wrote: > >> a question about downloading files from struts action. >> > > I would suggest using the stream result type rather than hand-constructing > the servlet response. In either case, though, you want to look into the > "co

Re: [Q] Enable Freemarker template caching

2010-02-15 Thread Oscar
Hi to all, i have a doubt about struts 2. Is possible to write ognl expressions on struts.xml . Let's say, something like wildcards but instead wildcards build the value of result with some attribute from request or a value of session, that's possible? THanks in regard -- Oscar

Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Oscar
i´ve set the ui.theme to simple, also you can see the error here (the url of google application): https://anicetoapp2.appspot.com/ I don't know about this but i imagine that the solution is to override some property value or something like that, or not? Regards. -- Oscar http://www.javahowto.net/

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Oscar
-- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Oscar

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Oscar
I've changed my appengine-web-app as you said but i still get the same error. You can see it here (in a new application): https://anicetoapp3.appspot.com/ Regards 2010/3/10 Lukasz Lenart > 2010/3/10 Oscar : > > Do you mean in web.xml right? Well, no. This is the web.xml as

About bank application using Struts 2

2010-03-22 Thread Oscar
some book about critical applications development with struts 2 or you can give me some tips to develop a secure application, also tips about struts and ssl, or if you know internet resources that talk about that. Thanks in advance. -- Oscar

Re: About bank application using Struts 2

2010-03-22 Thread Oscar
> Lastly, make sure you secure your application server... There is a > > guide to hardening Tomcat here - > > > > > http://cisecurity.org/en-us/?route=downloads.browse.category.benchmarks.servers.web.apache > > > > If you are not using tomcat, make sure you know

OGNL to define readonly of form fields

2010-04-19 Thread Oscar
l: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p282 87622.html<http://old.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-tp18761735p282%0A87622.html> Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Oscar Calderon SCJP 6 http://www.javahowto.net/

Additional JSP to render via AJAX

2010-05-25 Thread Oscar
le to avoid to do a second jsp? Can't i just use the content of sx:div to rerender when i refresh it via ajax instead render it using a second jsp? Thanks in advance. -- Oscar Calderón SCJP 6 http://www.javahowto.net/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Encrypting parameters

2010-06-03 Thread Oscar
useful feature >> is >> >> implemented in struts 2. >> >> >> >> So what is the best solution to perform it ? >> >> >> >> I was thinking to an interceptor which unencrypt each request for each >> >> action and a java function which encry the url in each jsp, but i'm not >> >> sure >>

IMPORTANT Call action on application deploy, like servlet with load-on-startup (Struts 2)

2010-06-23 Thread Oscar
ay to achieve this? Best regards. -- Oscar Calderón SCJP 6 http://www.javahowto.net/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: IMPORTANT Call action on application deploy, like servlet with load-on-startup (Struts 2)

2010-06-24 Thread Oscar
Felisberto : > Create a servlet that makes a request to the action. > > Gustavo Felisberto > > On 23 de Jun de 2010, at 19:03, Oscar wrote: > >> Hi to all, i have the next situation: I need to call an action on >> application startup like you can call a servlet on appl

Escape html characters on Struts 2.1.8

2010-06-28 Thread Oscar
ble to tell tag to escape html like other tags, like this: Or if somebody knows another solution? Thanks and regards. -- Oscar Calderón SCJP 6 http://www.javahowto.net/ - To unsubscribe, e-mail: user-unsubscr...

Avoid Phishing in Struts Applications plugin

2010-09-06 Thread Oscar
a security plugin to avoid phishing or another plugin or library for J2EE applications that achieves that? Thanks in advance -- Oscar Calderón SCJP 6 <http://javahowto.net>

Re: Avoid Phishing in Struts Applications plugin

2010-09-06 Thread Oscar
don't see what prevents > those users from being duped into providing that keyfile to a phisher. > https://www.sestus.com/vt/comparesitekey.asp > > It's a hard problem, and it mostly happens *outside* your app, so good luck > solving it within your app. :-( > > -Dale > -- Oscar Calderón SCJP 6 <http://javahowto.net>

Problem with struts.serve.static.browserCache

2010-09-07 Thread Oscar
T to be cached by web browser (using Cache-Content, Pragma, Expires ###headers) But it doesn't work. Somebody knows why doesn't work or another way to avoid cache after i logout from a Struts application (to avoid show cached content when user press Back button)? Thanks

Problem with Struts 2 and browser cache

2010-09-07 Thread Oscar
ogout from a Struts application (to avoid show cached content when user press Back button)? > > Thanks in advance. > > -- Oscar Calderón SCJP 6 <http://javahowto.net>

Re: Problem with struts.serve.static.browserCache

2010-09-07 Thread Oscar
nd comment is broken. Regards. 2010/9/7 Paweł Wielgus > Hi Oscar, > You can find some info about this subject here: > > http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html > > Best greetings, > Paweł Wielgus. > > 2010/9/7 Oscar : > > Hi

S1: Problem overriding processValidate() from RequestProcessor

2010-09-17 Thread Oscar
27;t know why. Thanks in advance. -- Oscar Calderón SCJP 6 <http://javahowto.net>

Re: S1: Problem overriding processValidate() from RequestProcessor

2010-09-17 Thread Oscar
/9/17 Dave Newton > You only call prepareAfter if there aren't validation errors--if there are, > it won't be called. > > On Fri, Sep 17, 2010 at 4:48 PM, Oscar wrote: > > > Hi to all. I'm working on a project using Struts 1.1 because those are > > clien

Re: S1: Problem overriding processValidate() from RequestProcessor

2010-09-17 Thread Oscar
> ... > > Of course you can execute code after that. > > *You're* executing code after that--but when there are validation errors > the > code you'll execute is the check to see if there were validation errors and > the type check. > > On Fri, Sep 17, 2010 at 5:51 P

Re: S1: Problem overriding processValidate() from RequestProcessor

2010-09-17 Thread Oscar
No, i was looking in the stack trace but there's no exception, just redirects to input page. 2010/9/17 Dave Newton > I'm skeptical--does the superclass throw an exception? > > On Fri, Sep 17, 2010 at 6:26 PM, Oscar wrote: > > > But i understand that, if there ar

Re: S2 overriding a Localization property

2010-09-27 Thread Oscar
mechanism? Exist a way to tell struts 2 how to encode those characters? Regards. -- Oscar Calderón SCJP 6 <http://javahowto.net>

Problem with S2 form parameters encode

2010-09-27 Thread Oscar
mechanism? Exist a way to tell struts 2 how to encode those characters? Regards. -- Oscar Calderón SCJP 6 <http://javahowto.net>

Re: Problem with S2 form parameters encode

2010-09-27 Thread Oscar
Thanks Maurizio, but that's not the problem, because i have already this header that is the same as yours: <%...@page contentType="text/html" pageEncoding="UTF-8"%> But i tried using your header and i get the same result. Regards. 2010/9/27 Maurizio Cucchiar

Re: Problem with S2 form parameters encode

2010-09-27 Thread Oscar
Unicode (UTF-8) Regards. 2010/9/27 Maurizio Cucchiara > Struts 2 version? > Which encoding do you see if you press CTRL+i on firefox? > > 2010/9/27 Oscar > > > Thanks Maurizio, but that's not the problem, because i have already this > > header that is the s

Re: Problem with S2 form parameters encode

2010-09-27 Thread Oscar
e head section? > > > > Maurizio Cucchiara > -- Oscar Calderón SCJP 6 <http://javahowto.net>

Re: Problem with S2 form parameters encode

2010-09-27 Thread Oscar
;UTF-8" contentType="text/html; *charset*=UTF-8" %> > > 2010/9/27 Maurizio Cucchiara > > > Which struts version are you using? Which application server? is it > running > > on linux or windows? > > Did you try to insert meta tag inside head section?

Set JSP timeout in struts 1 app with multipart/form-data form

2010-10-03 Thread Oscar
t" to avoit the browser to reset the request. Thanks in advance. -- Oscar Calderón SCJP 6 <http://javahowto.net>

Re: Set JSP timeout in struts 1 app with multipart/form-data form

2010-10-04 Thread Oscar
m is related with your AS. > For instance, Tomcat have a disableUploadTimeout variable. > > > Maurizio Cucchiara > > > 2010/10/4 Oscar : > > Hi to all, i have a question about a situation that i have in my > > application. It's in Struts 1.1 . Basically, i ha

Store permanently file in temp directory

2010-10-12 Thread Oscar
truts framework to save that file in some directory without the need to write code to write the file in the web application's directory. Regards. -- Oscar Calderón SCJP 6 <http://javahowto.net>

Documentation about Struts2 performance improvement

2010-11-27 Thread Oscar
a project with struts 2 but the client's infraestructure is a little bit old and it doesn't have a powerful server so we have to enhace performance in the application. Regards. -- Oscar Calderón SCJP 6 <http://javahowto.net>

S2: Populate with List

2010-12-23 Thread Oscar
perties, is an array of object, so i think that i have to specify the index that will be listKey and listValue, but i don't know if that's possible. Regards. -- Oscar Calderón SCJP 6 <http://javahowto.net>

Initialize and inject resources per application - S2

2011-01-04 Thread Oscar
alize resources once per application and set in application context for example, or i have to look for other choices like Spring. Regards. -- Oscar Calderón SCJP 6 <http://javahowto.net>

Re: Initialize and inject resources per application - S2

2011-01-05 Thread Oscar
rut" wrote: > Struts2 has its own Object creation way an Object factory which is > responsible for creating all framework required objects > like Actions,Interceptors Results etc. > > And its flexible enough if you want to let spring do this for Struts2 you > can always do that

Re: DatetimePicker Issue... Struts 2.1.2

2009-01-06 Thread Oscar Alvarez
Anshuman Nanda > www.eximware.com > > > > > ----- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Thanks, Oscar

Re: caching Java objects

2009-07-08 Thread Oscar Alvarez
Hi... It depends on what the objects mean on your system... exist ApplicationAware, SessionAware and RequestAware interfaces... You decide what to use in your design. HTH 2009/7/8 Mitch Claborn > What is the preferred method of caching arbitrary Java objects locally > in a Struts application?

Re: dynamic return when validation failed

2009-07-08 Thread Oscar Alvarez
Hi... Try to get the Ian Roughley's "Starting Struts2 online" ebook for free, and study "PRODUCTIVITY TIPS" -> "Re-Using Action Configurations"... and see if there are some other tips for you. HTH 2009/7/8 Greg Lindholm > > Greg Lindholm wrote: > > > >> The referer header will contain the URL

Re: dynamic return when validation failed

2009-07-08 Thread Oscar Alvarez
2009/7/8 Oscar Alvarez > Hi... > > Try to get the Ian Roughley's "Starting Struts2 online" ebook for free, and > study "PRODUCTIVITY TIPS" -> "Re-Using Action Configurations"... and see if > there are some other tips for you. > An

Re: dynamic return when validation failed

2009-07-09 Thread Oscar Alvarez
ook in it, > didn't found any good tip to solve my problem. > > Regards > Louis > > > > ____ > From: Oscar Alvarez > To: Struts Users Mailing List > Sent: Wednesday, July 8, 2009 7:09:35 PM > Subject: Re: dynamic return when

Re: Getting OPTGROUP items to appear in the right order within a larger top-level SELECT list

2009-07-09 Thread Oscar Alvarez
Have you try to put lists in lists??? may be it works... another way can be if you put every item as a s:optgroup HTH 2009/7/2 mlevin > > ** Many apologies if this goes through twice -- I posted a few hours ago > and > didn't see my own post show up yet ** > > Hi folks, > > I'm having some tr

Problem with OGNL syntax

2008-03-03 Thread oscar perez
Hi! I am having a very strange problem with struts 2. I am newbie to Struts 2 so maybe it is a simple thing I misunderstood. I have an abstract class (enterprise) and 4 subclasses. I want to perform CRUD operations on them and since all the properties are common to all the subclasses I've decided

Re: Problem with OGNL syntax

2008-03-04 Thread oscar perez
Hi, Thank you for your quick reply. I tried your suggested syntax and didn't work either. However, I like a lot more your last proposal so I will give it a shot. Thanks! Oscar On Tue, Mar 4, 2008 at 1:05 AM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > oscar perez wrote: > > &

Re: redirect-action to https

2008-03-04 Thread oscar perez
I don't know if struts 2 provides functionality for that but I've used acegi for a scenario such as the one you described. Oscar On Tue, Mar 4, 2008 at 12:25 PM, David Loup <[EMAIL PROTECTED]> wrote: > Hi, > > > > I'm trying to have Struts 2 redirect over HT

Problem when upgrading to Struts 2.1

2008-04-10 Thread oscar perez
refactoring of ActionContext and while I agree I cannot see a quick-and-dirty workaround to solve this problem. How can I get a context for running my tests now? Thanks, Oscar

Retrieving param values from s:include

2008-04-30 Thread oscar perez
his mean I cannot access the parameters via the s:property tag or I cannot access the parameters via any s tag at all? Thank you in advance, Oscar

Re: Retrieving param values from s:include

2008-04-30 Thread oscar perez
plugin is outdated, What can we safely use? :) :) On Wed, Apr 30, 2008 at 3:45 PM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > oscar perez wrote: > > > Hi all, > > I've been struggling trying to get working the s:include with the nested > > s:params but I ha

Re: No JavaScript in s:div

2008-05-16 Thread oscar perez
ding the page, this will run. But with s and sx tags it seems impossible to get both, i.e. execute the scripts when loading the page and have the scripts available for further use. Is there any workaround for this? thanks, Oscar On Fri, May 16, 2008 at 4:26 PM, Yoge <[EMAIL PROTECTED]> wro

Introduction to Struts

2008-07-08 Thread Oscar Calderon
don't find jhow to fill the JSP table with data when is requested, because i can create an aditional method in the Action that is associated with the FormBean of the JSP but i don't know how to activate that method. -- Oscar Calderon Soluciones de desarrollo a bajo costo? http://www.osca

Problem executing scripts after AJAX request

2008-08-08 Thread oscar perez
the scripts in the returned snippet those are not run if there is sx tags on it so I really dont know whether there is a solution for my problem... Br, Oscar

Problems with sx tags

2008-08-13 Thread oscar perez
don't have enough knowledge but after reading the documentation and ajax recipes extensively I couldn't find any answer to any of the above questions. I've moved now to jQuery and all my problems are solved :) Br, Oscar

Re: Submit button with no form

2008-09-12 Thread oscar perez
another alternative would be to use a normal anchor tag and via CSS to make it look like a button.. On Wed, Sep 10, 2008 at 3:47 PM, Dan <[EMAIL PROTECTED]> wrote: > Lukasz Lenart escribió: > >> As Don said, implement small form, only with submit button and you >> wouldn't have to use JavaScript.

Re: Graphical Configuration Utility

2008-12-15 Thread Oscar Alvarez
Hi! I try to run the dot jar, but does not run... C:\>java Struts2GUI-0.1-alpha.jar Exception in thread "main" java.lang.NoClassDefFoundError: Struts2GUI-0/1-alpha/jar Caused by: java.lang.ClassNotFoundException: Struts2GUI-0.1-alpha.jar at java.net.URLClassLoader$1.run(Unknown Source)

Re: Fwd: export file data using formFile

2008-12-15 Thread Oscar Alvarez
I think, you need to put a hiperlink or a button for start your action. Then you need to retrieve the data from the db, generate the csv Stream or File as you wish to call it. Then the only diference between a Servlet.doGet method an Action.execute method is 2 parameters ActionMapping and ActionFor

Re: Graphical Configuration Utility

2008-12-15 Thread Oscar Alvarez
All depends on Licences of the dependencies i think. Spring brings all its dependencies in the full distribution. 2008/12/15 mpeccorini > > Hi Oscar, > > The Release Notes > ( > https://sourceforge.net/project/shownotes.php?group_id=247875&release_id=647398

Re: [S2] Best way to provide default values for an action that takes GET parameters?

2008-12-15 Thread Oscar Alvarez
2008/12/15 James Carr > is there a way to provide default values for action parameters without > having to set defaults in the actual target objects? May be Preparable interface meets your requirement. http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html

Re: file name as null in model driven

2008-12-15 Thread Oscar Alvarez
What interceptor stack are you using? The names you are using in form is present in your action??? 2008/12/15 srinivasa_v . > I have problem in uploading files, > I have created a class with modle driven.and in jsp i mentioned form as > encyrpt > > when i submit form I am getting form value

Re: Simple Question?

2008-12-16 Thread Oscar Alvarez
try puting a comparator in your action like this public Boolean isPipeEditAction(){ return "|".equals(getEditAction()); } and then test it in your view 2008/12/16 Dave Newton > > Famoso Struts OGNL :-)! > > Or typical Java. > > OGNL one-ups Java, in fact, as OGNL will treat multiple cha

Re: .properties variable from action class

2008-12-16 Thread Oscar Alvarez
if you extend ActionSupport try getText("name.of.your.property") 2008/12/16 elyes sallem > Hello, > i wanna know how get back a property variable defined in ".properties" file > from an exceute method, in the action class > > Regards > Elyes. >

[S1] How to set a form property from Action classes.

2008-12-17 Thread Oscar Alvarez
t.setAttribute("id_evaluacion", et.getId()); errors.add("",new ActionError("mensaje_ejecucion", mensaje)); } saveErrors(request, errors); return new ActionForward(actionMapping.getInput()); JSP CODE: any help will be apreciated. Oscar

Re: [S1] How to set a form property from Action classes.

2008-12-17 Thread Oscar Alvarez
2008/12/17 Oscar Alvarez > Hi All. > > I need to put a value in an ActionForm object, because of the edition use > case of an mantainer (CRUD). > Im using hibernate to save an object and hibernate assigns the id when > save, and i need to put that value back in the ActionFo

Re: [S1] How to set a form property from Action classes.

2008-12-17 Thread Oscar Alvarez
. > Thanks! > -dave > Best Regards Oscar > > > -Original Message- > From: Oscar Alvarez [mailto:listasdesarro...@gmail.com] > Sent: Wednesday, December 17, 2008 2:50 PM > To: Struts Users Mailing List > Subject: Re: [S1] How to se

Re: How can I "parameterize" include files?

2008-12-17 Thread Oscar Alvarez
t; >> > >> - > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > >> > > > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Thanks, Oscar

Re: Exception when using ServletActionRedirectResult with @Result

2008-12-17 Thread Oscar Alvarez
.setValue(SimpleNode.java:246) >>at ognl.Ognl.setValue(Ognl.java:476) >>at >> com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:197) >>at >> com.opensymphony.xwork2.ognl.OgnlUtil.internalSetProperty(OgnlUtil.java:393) >> >> >> I have looked around and upgraded to Struts 2.1.2 and am still getting the >> exception. Would it be possible if someone can advise me on what I am doing >> wrong. >> >> >> Thanks >> Amin >> > > -- Thanks, Oscar

Question about OGNL in JSP

2009-11-09 Thread Oscar Calderón
Hi to all, this is my first question here. I have a doubt about the use of OGNL expressions on JSP to access to an object that i declared in a scriptlet in the same JSP. I have the following code: <% AnObject obj = request.getSession().getAttribute(AnObject.OBJECT_NAME); %>

Re: Question about OGNL in JSP

2009-11-09 Thread Oscar Calderón
page context, you need to actually add it to the context. > > musachy > > On Mon, Nov 9, 2009 at 1:47 PM, Oscar Calderón > wrote: > > Hi to all, this is my first question here. I have a doubt about the use > of > > OGNL expressions on JSP to access to an object that

Re: Action tag is forced to use input result if outer action has action errors

2009-11-10 Thread Oscar Calderón
Hi Matt, You could add to your action declaration in the struts.xml a parameter called excluded methods, where you can add the name of the methods of your action that you don't want to be validated, for example: methodName1,methodName2 Even if your interceptor is a default interceptor like wo

Problem with excel download file from Action (S 2.1.8)

2010-01-21 Thread Oscar Calderon
it works fine,is this: byte[] arrStream = reportObj.getPdfReportStream("/reports/repDetalleRecarg.jrxml", parameters); ServletOutputStream out = servletResponseObj.getOutputStream(); servletResponseObj.setContentType("application/pdf"); out.write(arrStream); out.flush(); out.close(); Thank

Re: Problem with excel download file from Action (S 2.1.8)

2010-01-22 Thread Oscar Calderon
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Oscar Calderon JAVA Tutorials and How to's? Visit http://www.javahowto.net/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-11 Thread Oscar Calderon
Sorry, i had a problem so i can't answer. The Struts version is 2.0.11 El 3/10/2010 11:58 AM, Lukasz Lenart escribió: 2010/3/10 Oscar: I've changed my appengine-web-app as you said but i still get the same error. You can see it here (in a new application): What version o

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-11 Thread Oscar Calderon
Ok, i'm going to do that and after that tell us if works. Regards. El 3/11/2010 8:52 AM, Lukasz Lenart escribió: No problem, but I think you have to upgrade to latest version - 2.1.8.1 -- Oscar Calderon JAVA Tutorials and How to's? Visit http://www.jav

Nesting logic:iterate tags and indexed="true"

2007-01-25 Thread Oscar Guindzberg
rated html: Standard Superb If I submit the form, Struts won't be able to rebuild the Car array with its components. This is what I expect the html to be: Standard Superb How can I achieve that? Am I on the right path? Oscar -- O

Re: Map param in tag

2012-02-21 Thread Oscar Alvarez
Hi Ansari, Already tested the email in this URL? http://struts.apache.org/1.x/faqs/validator.html Best regards, Oscar. 2012/2/21 danish ansari > Hello there , > I am working on struts 1.2 validation. > I am having a requirement which i am unable to implement. > I am having two fie

Re: Struts CRUD generator

2012-07-06 Thread Oscar Alvarez
Take a look at AppFuse. http://appfuse.org/display/APF/Home 2012/7/5 Mitch Claborn > I thought I saw a reference fairly recently to a Struts CRUD generator - > generates a complete struts application for database manipulations. Can > someone point me in the right direction? > > mitch > > -

Re: S2 equivalent of ForwardAction?

2012-07-06 Thread Oscar Alvarez
You can use wildcard too. Something like this: /{*}.jsp This takes advantage of ActionSupport and take the default result (success) to your page. 2012/7/6 Łukasz Lenart > 2012/7/6 Paul Benedict : > > Is there any such shortcut in S2? It would be nice if such a thing > existed like: > >

FW: [struts-community-plugins/struts2-jquery] How often are the issues placed here looked at? (#175)

2019-12-06 Thread Nazario, Oscar
Hi, Can you please take a look at the issue I posted on github and let me know how to solve this problem, so we can upgrade from 3.7.1 to 4.0.3. Thanks, Oscar From: Nazario, Oscar Sent: Friday, December 6, 2019 6:50 AM To: struts-community-plugins/struts2-jquery ; struts-community-plugins