OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
but that didn't seem to work. Any help is greatly appreciated. Thank you -Ryan Ryan Asleson | Application Architect BI | Technology Solutions Group www.biworldwide.comhttp://www.biworldwide.com Please consider the environment before printing. This e-mail message is being sent solely for use

Re: OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
really don't want to change them all! On Jul 21, 2011, at 7:39 AM, Dave Newton wrote: Did you enable static method access? The default may have changed. (Is there a reason the default formatting tags aren't being used? Or the JSTL format tags?) Dave On Thursday, July 21, 2011, Asleson, Ryan

Re: OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
On Jul 21, 2011, at 7:42 AM, Asleson, Ryan wrote: How do I enable static method access? Is that through OGNL or Struts2? I don't know why the default formatting tags aren't being used. Probably because the app uses a custom content management system but I don't know. There are over 100

Convention plugin seems to add blank action to default namespace?

2011-05-13 Thread Ryan Sims
I'm new to Struts; working on getting a small app running with the Convention plugin. It seems to work perfectly well in finding the actions I have - a little *too* well, actually. The problem is that if I visit a url like localhost:8080/foo/bar/baz/ I get my IndexAction, which should only work

Re: result chain action parameters value

2010-10-18 Thread Ryan Beckes
}/param /result /action Ryan 2010/10/17 atcngw000...@gmail.com Dear struts Users. I've been using Wildcard-mapping url and result type=chain. @ struts 2.2.1. this action's parameter (id) is Null. action name=/*/detail result type=chain param name=actionNamedetail/param param name

Re: Setting associated objects for the current model

2010-10-13 Thread Ryan Beckes
s:textfield name=addresses[%{key}].code value=%{value.code}/ /td /s:iterator /tr /table Best, Ryan On Tue, Oct 12, 2010 at 1:26 PM, Dave Newton davelnew...@gmail.com wrote: I don't know about sets; personally I'd use a map so you actually have

Setting associated objects for the current model

2010-10-12 Thread Ryan Beckes
/table END resulting html ... Is there a convention I can use (in this case I tried addresses.field, which didn't work) so that the fields I set correspond to the associated Address object for the current model? Thanks, Ryan

getting label from property

2010-07-28 Thread Ryan Beckes
message for the select label below, it does not work. I've also tried %{message} and %{getText('message')}. Thanks, Ryan %@ page contentType=text/html; charset=UTF-8% %@ taglib prefix=s uri=/struts-tags% %@ taglib prefix=sx uri=/struts-dojo-tags % table class=w100p border=1 tr td s:text

Re: getting label from property

2010-07-28 Thread Ryan Beckes
Thanks! On Wed, Jul 28, 2010 at 1:40 PM, Michal Ciasnocha m...@struts.cz wrote: Hi Ryan, for getting translated text as label of select tag (and other tags) use key attribute. Usage is same as s:s text name=... /. Best regards, Michal Ryan Beckes wrote on 28.7.2010 20:16: Hi All

internationalization via tiles definition files

2010-07-16 Thread Ryan Beckes
-2.1.8.1/example/HelloWorld.action?request_locale=es ... but the title (Hola a Todos) never changes, it seems that tiles is not picking up the tiles_es.xml file. Can anyone see if I am missing something? Thanks, Ryan

JQuery Struts 1

2010-03-08 Thread Jack Ryan
I see that there has been a plugin developed for asynchronous loading of UI components using JQuery in Struts 2. Could anybody tell me of anything comparable (e.g. custom tag libraries using JQuery) for Struts 1?

[S2] When/How are Actions Created?

2009-05-19 Thread Asleson, Ryan
? If I create an Action using the new operator none of the dependencies are injected, but somehow when Struts 2 creates the Action, the dependencies are injected. How or when does this happen? How does Spring know what to inject and when to do it? Thank you!!! -Ryan Ryan Asleson | Lead

Re: Convention plugin with custom interceptor stack

2009-04-10 Thread Ryan Chichirico
Thank you! That makes perfect sense now. On Apr 9, 2009, at 3:48 PM, Musachy Barroso musa...@gmail.com wrote: Hi Ryan In Convention, as well as in XML, if you try to use an interceptor or result outside the package where it is defined, you will get an error. You interceptor is defined

Convention plugin with custom interceptor stack

2009-04-09 Thread Ryan Chichirico
({ @InterceptorRef(interceptor-1), @InterceptorRef(defaultStack) }) public class HelloWorld extends ActionSupport {} Ideas? Thanks -Ryan - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Mixing convention plugin and legacy action mappings

2009-04-03 Thread Ryan Chichirico
then the convention plugin works fine with the new actions but all of our legacy *.action classes don't work. Any tips would be greatly appreciated -Ryan - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands

Re: Mixing convention plugin and legacy action mappings

2009-04-03 Thread Ryan Chichirico
package com.xm.web.struts2.test.HelloAction I was able to use both /test/hello and /test/hello.action Thanks for your quick response. -Ryan Musachy Barroso wrote: Convention configuration just gets mixed with xml configuration, they should not conflict. What kind of problem are you having

S2: Unexpected Exception

2009-03-05 Thread Ryan Peterson
Hi guys, I'm working with Dojo and Struts 2, and getting the following error when I submit my form (It seems to be referring to a null input from the two single quotes): [2009-03-05 15:56:25,688] ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor - ParametersInterceptor -

Dynamic OGNL population question

2009-01-28 Thread Ryan Peterson
Hi guys, I have an object accessible using s:property value=p.myInteger /, which displays an arbitrary integer. Is there a way to dynamically put this into an OGNL method call, something like: s:set name=DynamicCodeType value=@com.whatever.myactioncl...@getcodetype(p.myInteger)'/ Right

Re: Dynamic OGNL population question

2009-01-28 Thread Ryan Peterson
on that age. On Wed, Jan 28, 2009 at 8:55 AM, Wes Wannemacher w...@wantii.com wrote: On Wednesday 28 January 2009 10:50:27 Ryan Peterson wrote: Hi guys, I have an object accessible using s:property value=p.myInteger /, which displays an arbitrary integer. Is there a way to dynamically put

Re: Dynamic OGNL population question

2009-01-28 Thread Ryan Peterson
to your person object. musachy On Wed, Jan 28, 2009 at 11:49 AM, Ralf Fischer thema...@googlemail.com wrote: On Wed, Jan 28, 2009 at 5:09 PM, Ryan Peterson rrpeter...@gmail.com wrote: p is a custom object, say person. So it could be person.age for example. I would use the stackObj.method

S2: Custom StrutsTypeConverter

2009-01-27 Thread Ryan Peterson
called. I have seen several references to this being a bug: https://issues.apache.org/struts/browse/WW-2367 Has anyone else run into this issue? What kind of workaround did you wind up implementing, and would you recommend it? Thank you for any assistence, Ryan

Struts2: Carry parameters into following jsp/action

2008-12-05 Thread Peterson, Ryan
Hello all, I have a form filled out that may require additional info, which I have a 2nd jsp form for. How can I carry over the already entered parameters from the first form to the second, so that all info may be submitted to an action. For example: data is collected from form1.jsp. Say

RE: Struts2: Carry parameters into following jsp/action

2008-12-05 Thread Peterson, Ryan
Mailing List Subject: Re: Struts2: Carry parameters into following jsp/action The quickest/easiest solutions are chaining (boo hiss) or just keeping a form model in the session like in any other framework. Dave --- On Fri, 12/5/08, Peterson, Ryan wrote: I have a form filled out that may require

Is JasperReports supported in Struts2-core-2.0.11

2008-11-25 Thread ryan webb
.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:338) ... 35 more If I do this: (following the struts manual) -- warmest regards, Ryan Webb - Philippines email: [EMAIL PROTECTED]

Re: Is JasperReports supported in Struts2-core-2.0.11

2008-11-25 Thread ryan webb
in the struts-2.mumble-all.zip On Wed, 2008-11-26 at 10:15 +0800, ryan webb wrote: Hi!! Is JasperReports supported in Struts2-core-2.0.11 ?? because whenever I start Tomcat, i get this error... Result class [org.apache.struts2.views.jasperreports.JasperReportsResult] doesn't exist

Re: Is JasperReports supported in Struts2-core-2.0.11

2008-11-25 Thread ryan webb
IIUC - If I Understand Correctly AFAICT - As Far As I Can Tell On Wed, 2008-11-26 at 11:02 +0800, ryan webb wrote: Yes I think so...I downloaded JasperReport project (at sourceforge) and put all jar files in my WEB-INF/lib folder. I was wondering if the struts2 version I am using

RE: Struts 2: What do i need to do to be able to upload files

2008-11-21 Thread Peterson, Ryan
Check here: http://struts.apache.org/2.0.6/docs/how-do-we-upload-files.html Specifically the struts.multipart.maxSize property. -Original Message- From: ryan webb [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2008 4:53 PM To: Struts Users Mailing List Subject: Re: Struts 2

Re: Struts 2: What do i need to do to be able to upload files

2008-11-20 Thread ryan webb
Thanks for your kind reply but I have commons-fileupload-1.1.1.jar and commons-io-1.2.jar in my lib folder. With those jar files included, doesn't that mean that I should be able to do file uploads automatcally? On Thu, Nov 20, 2008 at 2:56 PM, Jeromy Evans [EMAIL PROTECTED] wrote: ryan webb

Re: Struts 2: What do i need to do to be able to upload files

2008-11-20 Thread ryan webb
been very helpful. God bless. On Thu, Nov 20, 2008 at 7:10 PM, Jeromy Evans [EMAIL PROTECTED] wrote: ryan webb wrote: Thanks for your kind reply but I have commons-fileupload-1.1.1.jar and commons-io-1.2.jar in my lib folder. With those jar files included, doesn't that mean that I should

Re: Struts 2: What do i need to do to be able to upload files

2008-11-20 Thread ryan webb
By the way, is there a file size limit for uploading files? I tried to upload 600+MB of movie and it just failed! What can you say 'bout this? On Fri, Nov 21, 2008 at 7:22 AM, ryan webb [EMAIL PROTECTED] wrote: Hi I finally got it! Three request parameters are by default to uploading files

Where can I find the list of string values for constant name= .../ in struts.xml?

2008-11-20 Thread ryan webb
Hi!! Where can I find the list of string values for constant name= .../ in struts.xml? So i may use it as future reference... thanks -- warmest regards, Ryan Webb - Philippines email: [EMAIL PROTECTED]

Re: Where can I find the list of string values for constant name= .../ in struts.xml?

2008-11-20 Thread ryan webb
/strutsproperties.html -Wes On Fri, 2008-11-21 at 11:14 +0800, ryan webb wrote: Hi!! Where can I find the list of string values for constant name= .../ in struts.xml? So i may use it as future reference... thanks

Struts 2: What do i need to do to be able to upload files

2008-11-19 Thread ryan webb
://struts.apache.org/dtds/struts-2.0.dtd; struts package name=ryan namespace=/ryan extends=struts-default action name=addFile result /ryan/ryan.jsp /result /action action name=upload class=manning.ryan.UploadAction param name

RE: Problem with select

2008-11-12 Thread Peterson, Ryan
What is the field name that you want to have returned (defined by listKey) and what is the field name you want to display to the user (defined by listValue). If they're not key and value respectively then that's why you're getting null. They need to be named the same as the attributes on the

Struts2: Getting multiple values from s:select tag

2008-11-11 Thread Peterson, Ryan
Hey guys, I'm using custom objects to store attributes (say a person with first/last name, age, height). Right now I have a collection that stores these objects, and then displays them on a JSP page for the user to select one from the collection for further processing like so: s:iterator

Re: What are Pros and Cons for Struts 2?

2008-11-09 Thread ryan webb
theme.) 2008/11/7 Néstor Boscán [EMAIL PROTECTED]: Hi Ryan In my experience: Pros: 1.- Form mapping!!!. Yes form mapping in Struts 1 is horrible. 2.- Conversion support 3.- Interceptor support 4.- Better AJAX Support 5.- Lightweight vs JSF The framework is very flexible

Re: What are Pros and Cons for Struts 2?

2008-11-07 Thread ryan webb
slow (I'm sure I'm partly to blame, so I'm not pointing fingers) Since it is really loose, some problems are hard to troubleshoot On Fri, 2008-11-07 at 11:48 +0800, ryan webb wrote: Can anyone share to me some of the things you like about Struts 2 as well some of the things you don't like

What are Pros and Cons for Struts 2?

2008-11-06 Thread ryan webb
Can anyone share to me some of the things you like about Struts 2 as well some of the things you don't like about struts 2? Thanks!

Re: What are Pros and Cons for Struts 2?

2008-11-06 Thread ryan webb
a oks.. thanks for the reply =) On Fri, Nov 7, 2008 at 2:03 PM, Mead Lai [EMAIL PROTECTED] wrote: don't like the theme. On Fri, Nov 7, 2008 at 11:48 AM, ryan webb [EMAIL PROTECTED] wrote: Can anyone share to me some of the things you like about Struts 2 as well some of the things you

RE: How to run an iterator twice in a page

2008-10-31 Thread Peterson, Ryan
It's sort of hack-ish, but can you make a copy of the list of users in the Java code, and iterate over the copied list for the 2nd set of results? -Original Message- From: Struts Two [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 1:36 PM To: Struts Users Mailing List Subject:

Re: sitemesh decorator problem with struts action

2008-10-24 Thread Ryan Wong
I'm sorry for that I haven't notice u r using struts 1... here is an article which sample code contains an example using struts1 and site mesh. http://www.onjava.com/pub/a/onjava/2004/09/22/sitemesh.html?page=3 regards. sa10 wrote: Thanks Ryan. Here is my web.xml could you please advise

Re: Formating in Struts 2

2008-10-24 Thread Ryan Wong
for date u can use s:date / and more common usage can be refer at http://struts.apache.org/2.1.2/docs/formatting-dates-and-numbers.html if u are using freemarker, it will be more flexible with ftl syntax. nestorjb wrote: Hi Isn’t there a way to apply formatting of number and dates

Re: RESTful Crud clean url:s, advanced howto anybody?

2008-10-24 Thread Ryan Wong
hello, will u try the new feature NamedVariablePatternMatcher http://www.nabble.com/Some-Idea-On-REST-mapping-td19263471.html#a19263471 Leonard Broman wrote: Hey! I've been looking around quite some time for a solution how to build a neat REST driven web application. What I basically

Re: sitemesh decorator problem with struts action

2008-10-23 Thread Ryan Wong
hello... may be the problem is the order of the filter here is mine !-- END SNIPPET: filter -- filter-mapping filter-nameset-encoding/filter-name url-pattern/j_spring_security_check/url-pattern /filter-mapping filter-mapping

Using Struts with Dojo vs GWT

2008-10-20 Thread Ryan Detert
I am new to Struts but have used the GWT before. Would it be wise at all to try and use the GWT with Struts or should I just stick with Dojo?

Results Layout Question

2008-10-20 Thread Peterson, Ryan
this list and allow the user to select one? I'm playing with radio buttons or a select box, but they feel very kludgey. Does anyone have a more elegant way to display a list of names to allow a single selection? Thanks for any help! Ryan P.

RE: Results Layout Question

2008-10-20 Thread Peterson, Ryan
To: Struts Users Mailing List Subject: Re: Results Layout Question How about a link? -Peterson, Ryan [EMAIL PROTECTED] wrote: - To: user@struts.apache.org From: Peterson, Ryan [EMAIL PROTECTED] Date: 10/20/2008 12:03PM Subject: Results Layout Question Hey guys, quick question on how

Struts 2 session in Weblogic 10.0

2008-10-17 Thread Peterson, Ryan
Hi guys, I'm having some trouble with a session variable not being saved in Weblogic 10. I'm tracking the login of a user by allowing my login class to implement sessionAware, and putting a key/value pair into the session upon successful login. This works just fine testing in Tomcat 5.5, but

Using Rest with JSON, post error (jquery)

2008-10-06 Thread Ryan Wong
I using jquery to post the request with some content and expecting a JSON-format response here is my code.. $.post(/socialize/tags;addTag.json,{contentType:TOPIC, resourceId:1, tags:tag},function(data){

Inspect Tile Definitions

2008-09-30 Thread Shelley, Ryan
are present, we can insert the ads proactively as the page is constructed. Any suggestions? Thanks! -Ryan Shelley

RE: Inspect Tile Definitions

2008-09-30 Thread Shelley, Ryan
for the suggestion! -Ryan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Petrelli Sent: Tuesday, September 30, 2008 11:30 AM To: Struts Users Mailing List Subject: Re: Inspect Tile Definitions 2008/9/30 Shelley, Ryan [EMAIL PROTECTED]: We were wondering

RE: Inspect Tile Definitions

2008-09-30 Thread Shelley, Ryan
page-level values that could be accessed when the JSP is rendered? -Ryan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Petrelli Sent: Tuesday, September 30, 2008 11:51 AM To: Struts Users Mailing List Subject: Re: Inspect Tile Definitions 2008/9

RE: Inspect Tile Definitions

2008-09-30 Thread Shelley, Ryan
Well, I just need to know if Tile definitions A, B and C are in the chain of Tiles to be inserted in the particular page render, and if so, put some variables in the Request or Page scope for the JSP to pick up during render. -Ryan -Original Message- From: [EMAIL PROTECTED] [mailto

RE: Inspect Tile Definitions

2008-09-30 Thread Shelley, Ryan
that will have getAttribute and getAttributeNames methods? -Ryan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shelley, Ryan Sent: Tuesday, September 30, 2008 1:26 PM To: Struts Users Mailing List Subject: RE: Inspect Tile Definitions Well, I just need to know

RE: Inspect Tile Definitions

2008-09-30 Thread Shelley, Ryan
already been sent to the browser. Ideally, we'd be able to inspect each Tile that WILL be loaded and then put a string of Ad codes in the request before the page is rendered so the Ad Engine code in the header will have a complete list of all the Ads to be rendered on the page. -Ryan -Original

Newbie Help: Struts 2 + Spring + Hibernate

2008-09-24 Thread Ryan Detert
I just read the Manning book on Struts 2 and understand the theory behind Struts but am a little bit confused as to how to actually implement my first app in practice. The locations of the config files, etc are a little confusing. For my development environment I'm using Maven 2 + Ecplise IDE.

[S2]checkboxlist tag bug?

2008-09-07 Thread Ryan Wong
I've used checkboxlist tag with JDK 5 enum like: [EMAIL PROTECTED] key=resource.requestMethod name=requestMethods list=@[EMAIL PROTECTED]() listKey=name() listValue=name() /] every thing is OK, and the data can be persist to the database correctly. but when I

Re: Displaying BLOB image in a jsp page through struts...

2008-09-07 Thread Ryan Wong
Well, in my previous project, using JasperReports, I need to display a server create Image to user. I used a Image Servlet (and I believe it's the standard method) the provide the Image data, set the response content-type to image/jpeg or what ever. and the action of struts is just to send the

Re: Displaying BLOB image in a jsp page through struts...

2008-09-07 Thread Ryan Wong
and besides, you could use a struts2 action with result stream, but I'm not sure how to do it in struts 1 but the pattern is the same.. Amir Hossein Sharifzadeh-2 wrote: Dear J2ee members I am trying to display an image in a jsp page which is stored as a blob in the oracle table. I wrote a

Re: Problem with radiobuttons

2008-09-07 Thread Ryan Wong
I think all you need is some function provide by JavaScript. Mitxel Mitxelisimo wrote: Hi, I´m trying to make a form to fill in a questionform that is composed by some questions and one radiobutton for each, and this is the problem, what can i do to this in my action? how i can fill in

Re: Some Idea On REST mapping

2008-09-02 Thread Ryan Wong
Thanks Jeromy... There is not any document about this one.. So i missed that feature... Jeromy Evans - Blue Sky Minds wrote: Ryan Wong wrote: I have changed the rest action mapper class to apply Ruby Style . there is draft, post here to find a better way to build RESTful app

Re: Some Idea On REST mapping

2008-09-02 Thread Ryan Wong
to accept by user, isn't it? Jeromy Evans - Blue Sky Minds wrote: Ryan Wong wrote: Thanks Jeromy... There is not any document about this one.. So i missed that feature... Yeah, the NamedVariablePatternMatcher is only documented within messages in struts-user so far. I quite like

Re: Some Idea On REST mapping

2008-09-02 Thread Ryan Wong
Thanks so much for those replys I got much clear about the URL patterns I could use with the plugin. Jeromy Evans - Blue Sky Minds wrote: Ryan Wong wrote: But there is still a question. With the namespace we have to place the parameter like prefix... eg. http://example.org/namespace

Some Idea On REST mapping

2008-09-01 Thread Ryan Wong
I have changed the rest action mapper class to apply Ruby Style . there is draft, post here to find a better way to build RESTful app with struts2 Rest style action mapper Using with struts2-rest-plugin, replace the orginal RestActionMapper class. With url patterns below to support CRUD

Re: Can anyone help me with an example of REST with mutiple paras

2008-08-26 Thread Ryan Wong
Thanks, Jeromy, that's a very useful example. Jeromy Evans - Blue Sky Minds wrote: Ryan Wong wrote: how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to action to show item with ontract id - 1 and sprints id - 1 Here's an example using the REST plugin: http

Can anyone help me with an example of REST with mutiple paras

2008-08-25 Thread Ryan Wong
how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to action to show item with ontract id - 1 and sprints id - 1 -- View this message in context: http://www.nabble.com/Can-anyone-help-me-with-an-example-of-REST-with-mutiple-paras-tp19154913p19154913.html Sent from the Struts -

Re: Can anyone help me with an example of REST with mutiple paras

2008-08-25 Thread Ryan Wong
I found org.apache.struts2.dispatcher.mapper.Restful2ActionMapper in struts2-core support that url patern so why should we still need a rest plugin? to simplify the configuration? Ryan Wong wrote: how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to action to show item

I don't know what to call this SQL Exception.

2008-08-06 Thread ryan webb
to inform the second user that his/her data is not the latest one. -- warmest regards, Ryan Webb - Philippines email: [EMAIL PROTECTED]

Re: newbie question: How can I make a Struts Project with multiple modules?

2008-08-04 Thread ryan webb
Struts Version = 1.2.9 So creating a multiple module depends on struts version? On 8/4/08, Antonio Petrelli [EMAIL PROTECTED] wrote: Version of Struts? 2008/8/4 ryan webb [EMAIL PROTECTED]: How can I make a Struts Project with multiple modules? -- warmest regards, Ryan Webb

newbie question: How can I make a Struts Project with multiple modules?

2008-08-03 Thread ryan webb
How can I make a Struts Project with multiple modules? -- warmest regards, Ryan Webb - Philippines email: [EMAIL PROTECTED]

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
is that the problem has to do with tiles:insert attribute=body /. For the life of my I can't figure out why, which is why I'm asking for some assistance please. Thanks! -Ryan - Original Message From: Antonio Petrelli [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
not seem to work correctly with tiles:insert? - Original Message From: Antonio Petrelli [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, July 10, 2008 9:44:16 AM Subject: Re: Struts-Tiles - Missing Content 2008/7/10 Ryan Henson [EMAIL PROTECTED]: I

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
Subject: Re: Struts-Tiles - Missing Content 2008/7/10 Ryan Henson [EMAIL PROTECTED]: I posted the resulting HTML code at the bottom of that last email. Whoops! Sorry I did not see it. It would appear from my side that the tiles:insert attribute=body / is not executing properly as tiles:getAsString

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
!! - Original Message From: Ryan Henson [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, July 10, 2008 1:58:13 PM Subject: Re: Struts-Tiles - Missing Content I put in the text as you suggested and it did indeed show the text from the body. So now the issue has

Struts-Tiles - Missing Content

2008-07-09 Thread Ryan Henson
??? THANKS! -Ryan Henson PDFAction.java /* * @author: Ryan Henson Created on July 7, 2008 * * Purpose: This file takes an input source, converts it into a PDF, and returns it */ package org.airybsa.struts.control; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.URL

Validating objects in Collections

2008-07-01 Thread Asleson, Ryan
validate the contents of objects within collections using annotations? Thank you!!! -Ryan This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited

RE: Validating objects in Collections

2008-07-01 Thread Asleson, Ryan
: Tuesday, July 01, 2008 11:43 AM To: Struts Users Mailing List Subject: Re: Validating objects in Collections You can put the validation on Person's firstName() method. On Tue, Jul 1, 2008 at 12:39 PM, Asleson, Ryan [EMAIL PROTECTED] wrote: Hello, I'm using Struts 2.0.11. I have an HTML table

Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Asleson, Ryan
between an Action and a JSP, including a naming convention: MyFavoriteAction maps to myFavorite.jsp. Any thoughts or comments? Thank you!! -Ryan This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized

RE: Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Asleson, Ryan
. However, I can't find a way to get the current Result. I've tried ActionInvocation.getResult(), but it only returns null. Is there a way to get the current Result object before it is actually executed? This would help greatly. Any other thoughts are greatly appreciated. -Ryan -Original

Grabbing the current Result

2008-06-23 Thread Asleson, Ryan
a getResult() method, but when I tried this, the result of the getResult() method is null. Is there any way to get a reference to the current Result that is about to be executed? Thank you!! -Ryan This e-mail message is being sent solely for use by the intended recipient(s) and may contain

RE: Struts 2 and Sitemesh

2008-05-19 Thread Asleson, Ryan
OK, I now get content. I specified the wrong value in the s:action tag's namespace attribute. -Original Message- From: Asleson, Ryan [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 2:27 PM To: Struts Users Mailing List Subject: RE: Struts 2 and Sitemesh OK, doing that made

Struts 2 and Sitemesh

2008-05-16 Thread Asleson, Ryan
anybody figure out what's going on?? Thank you!! -Ryan This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient

RE: Struts 2 and Sitemesh

2008-05-16 Thread Asleson, Ryan
To: Struts Users Mailing List Subject: RE: Struts 2 and Sitemesh Can you provide your struts.xml? Brian Relph -Original Message- From: Asleson, Ryan [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 1:52 PM To: Struts Users Mailing List Subject: Struts 2 and Sitemesh Hello, I'm

Repopulating Select Lists after Validation Error

2008-05-12 Thread Asleson, Ryan
is the recommended way to repopulate drop-down selects after a validation error, if the list items need to be retrieved from a database? Thank you!! -Ryan This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any

Annotation Validations: Per Method?

2008-05-12 Thread Asleson, Ryan
for methodTwo also produces validation messages for both firstName and lastName. So, my question: Are the @Validations annotations specific to a method? It doesn't appear they are, but I just wanted to see if they were and if I'm doing something wrong. Thank you!! -Ryan This e-mail message

Injecting Spring Services into Struts 2 Actions

2008-05-08 Thread Asleson, Ryan
actions. But it doesn't give an example of how to let Spring know what to provide to the actions. So, the question is: How do I tell Spring what beans need to be injected into the Action? Thanks -Ryan This e-mail message is being sent solely for use by the intended recipient(s

Struts 2 StrutsTypeConverter

2008-04-30 Thread Asleson, Ryan
the actual class that is being converted, or the class that is listed in the .properties file? Will Struts2 use the SomeAbstractClass converter for a subclass of SomeAbstractClass even if it's not explicity defined in the .properties file? Thank you!! -Ryan This e-mail message is being

Accessing the Struts2 Action in a JSP via tags

2008-04-29 Thread Asleson, Ryan
on the request using a specific name, or is it available via OGNL? If so, how do I access it? Thank you!! -Ryan This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure

RE: Accessing the Struts2 Action in a JSP via tags

2008-04-29 Thread Asleson, Ryan
! -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 11:05 AM To: Struts Users Mailing List Subject: Re: Accessing the Struts2 Action in a JSP via tags --- Asleson, Ryan [EMAIL PROTECTED] wrote: Assume that I'm on a JSP that has been rendered with a Struts2

Struts 2 ResourceBundle Class

2008-04-28 Thread Asleson, Ryan
custom ResourceBundle? Thanks!! -Ryan This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact

RE: Struts 2 ResourceBundle Class

2008-04-28 Thread Asleson, Ryan
OK, I answered my own question. Apparently I can use the struts.custom.i18n.resources property and specify the fully-qualified class name of our custom ResourceBundle. -Original Message- From: Asleson, Ryan [mailto:[EMAIL PROTECTED] Sent: Monday, April 28, 2008 9:54 AM To: user

Re: Building First strut

2008-04-25 Thread ryan webb
Building first struts? You may use Netbeans 6.0 already has struts bundled and everything you need to get started. This is only a suggestion..you may or may not do this. God bless, Ryan Webb On Sat, Apr 26, 2008 at 2:30 AM, Allen, Daniel [EMAIL PROTECTED] wrote: Did you read the page I linked

Is it possible to make a pop up window using Struts?

2008-04-16 Thread ryan webb
Hi, Is it possible to make a window pop up using struts? usually this can be done in Javascript.. God bless, Ryan Webb

Re: Is it possible to make a pop up window using Struts?

2008-04-16 Thread ryan webb
to struts.. Ryan On Wed, Apr 16, 2008 at 4:22 PM, Antonio Petrelli [EMAIL PROTECTED] wrote: 2008/4/16, ryan webb [EMAIL PROTECTED]: Is it possible to make a window pop up using struts? usually this can be done in Javascript.. 1) What Struts? 2) You can still do it in Javascript Antonio

Re: Is it possible to make a pop up window using Struts?

2008-04-16 Thread ryan webb
(orderNumber);* then store it to a form bean variable(String data type)then on popup window I will use *jsp:getProperty * accessing form bean variable (form bean property). Again, I would like to thank you for your answer. -Ryan Webb On Thu, Apr 17, 2008 at 3:56 AM, Randy Burgess [EMAIL PROTECTED] wrote

Re: Migrating data from one select box to other.

2008-04-15 Thread Ryan
I believe these will help you out a bit: http://struts.apache.org/2.0.11/docs/optiontransferselect.html http://www.roseindia.net/struts/struts2/struts2uitags/optiontransferselect-tag.shtml Cheers! Ryan On Tue, Apr 15, 2008 at 1:54 AM, Arpan Debroy [EMAIL PROTECTED] wrote: I have two select

Re: [OT] Re: How do I insert a file into mySQL?

2008-04-15 Thread ryan webb
Dear Dave, Thank you for your time in replying to my mail. Yes you are correct my english is quite confusing. I will follow your advise and ask to database mailing-list. regards, Ryan Webb On 4/15/08, Dave Newton [EMAIL PROTECTED] wrote: Perhaps this would be better asked on a mailing list

Re: How do I make Tomcat send 403 Forbidden page to the client in jsp and in struts?

2008-04-14 Thread ryan webb
Thanks Randy Burgess, Your suggestion works perfectly! Sorry I didn't reply early I was out of town.. Have a nice day! -Ryan Webb On Fri, Apr 11, 2008 at 9:53 PM, Randy Burgess [EMAIL PROTECTED] wrote: I wonder if specifying HttpServletResponse.SC_FORBIDDEN would make a difference because

How do I insert a file into mySQL?

2008-04-14 Thread ryan webb
. +- | id |address | +- | 1 |c:\videos\video1.avi| +- -just like you tube =) Any help / suggestion is very much welcome! God bless! -Ryan Webb

how do i make the tomcat server send a 403 Forbidden response in JSP and in Struts?

2008-04-10 Thread ryan webb
mapping.findForward(Sucess); } this code does not compile..sendError() expects int value. I tried sendError(403) but doesn't work. Any Help is Gladly Appreciated! =) God Bless! Ryan Webb from Philippines

  1   2   3   >