Re: OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
I enabled static method access by adding this to struts.xml: Thanks to the direction I found here under the "Accessing static properties" section: http://struts.apache.org/2.2.3/docs/ognl-basics.html And it now works!!! Thank you On Jul 21, 2011, at 7:42 AM, Asleson, Ryan wr

Re: OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
ing dates and I 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, Jul

OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
n.startDate" 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.com<http://www.biworldwide.com> Please consider the environment before printing. This e-mail mess

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 for

Re: result chain action parameters value

2010-10-18 Thread Ryan Beckes
Wataru, I'm not sure what you're looking for. It seems you are trying to match the first wildcard-matched value with the id and the actionName? I've never tried this, but perhaps you could split the two values like this? {1} Ryan 2010/10/17 > Dear struts Users. &

Re: Setting associated objects for the current model

2010-10-13 Thread Ryan Beckes
es; ... and the jsp... Best, Ryan On Tue, Oct 12, 2010 at 1:26 PM, Dave Newton wrote: > I don't know about sets; personally I'd use a map so you actually have a > way > to access them by something meaningful, like an ID.

Setting associated objects for the current model

2010-10-12 Thread Ryan Beckes
respond to the associated Address object for the current model? Thanks, Ryan

Re: getting label from property

2010-07-28 Thread Ryan Beckes
Thanks! On Wed, Jul 28, 2010 at 1:40 PM, Michal Ciasnocha wrote: > Hi Ryan, > > for getting translated text as label of select tag (and other tags) use > "key" attribute. Usage is same as . > > > Best regards, > > Michal > > Ryan Beckes wrote on 28.7

getting label from property

2010-07-28 Thread Ryan Beckes
en I try to pull the same 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" %>

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
reate 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

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" 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 in your pa

Convention plugin with custom interceptor stack

2009-04-09 Thread Ryan Chichirico
@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...@struts.apache.org

Re: Mixing convention plugin and legacy action mappings

2009-04-03 Thread Ryan Chichirico
/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? musachy On Fri, Apr 3, 2009 at 12:52 PM, Ryan Chichirico wrote: We&#x

Mixing convention plugin and legacy action mappings

2009-04-03 Thread Ryan Chichirico
ction.extension 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.apac

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 - [setParamet

Re: Dynamic OGNL population question

2009-01-28 Thread Ryan Peterson
"/> > > assuming that "p" is in the stack pointing to your person object. > > musachy > > On Wed, Jan 28, 2009 at 11:49 AM, Ralf Fischer > wrote: > > On Wed, Jan 28, 2009 at 5:09 PM, Ryan Peterson > wrote: > >> p is a custom object, say p

Re: Dynamic OGNL population question

2009-01-28 Thread Ryan Peterson
ed on that age. On Wed, Jan 28, 2009 at 8:55 AM, Wes Wannemacher wrote: > On Wednesday 28 January 2009 10:50:27 Ryan Peterson wrote: > > Hi guys, I have an object accessible using value="p.myInteger" > > />, which displays an arbitrary integer. > > > > I

Dynamic OGNL population question

2009-01-28 Thread Ryan Peterson
Hi guys, I have an object accessible using , which displays an arbitrary integer. Is there a way to dynamically put this into an OGNL method call, something like: Right now I can populate @getCodeType with an integer value @getCodeType(111) for example, which returns the expected results. But

S2: Custom StrutsTypeConverter

2009-01-27 Thread Ryan Peterson
method is never 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

RE: Struts2: Carry parameters into following jsp/action

2008-12-05 Thread Peterson, Ryan
AM To: Struts Users 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 fill

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 nam

Re: Is JasperReports supported in Struts2-core-2.0.11

2008-11-25 Thread ryan webb
e most are as follows - > > IIRC - If I Remember Correctly > 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 > pu

Re: Is JasperReports supported in Struts2-core-2.0.11

2008-11-25 Thread ryan webb
html > > IIRC, the jar is located 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 thi

Is JasperReports supported in Struts2-core-2.0.11

2008-11-25 Thread ryan webb
t com.opensymphony.xwork2.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: 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: Where can I find the list of string values for in struts.xml?

2008-11-20 Thread ryan webb
truts.apache.org/2.0.12/docs/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 .../> > > in struts.xml? >

Where can I find the list of string values for in struts.xml?

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

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 def

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

2008-11-20 Thread ryan webb
t has 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,

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]> wro

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

2008-11-19 Thread ryan webb
OTECTED] language="java" contentType="text/html; charset=ISO-8859-1"%> <[EMAIL PROTECTED] prefix="s" uri="/struts-tags"%> Ryan file upload ** ** *here's my Action:* *package*

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 th

Struts2: Getting multiple values from 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:

Re: What are Pros and Cons for Struts 2?

2008-11-09 Thread ryan webb
nt's HTML code and styles are tied to a particular > 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. >

Re: What are Pros and Cons for Struts 2?

2008-11-07 Thread ryan webb
ins for most situations) > > > Cons - > > Lately release cycle has been 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, ry

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 abo

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: 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: 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 basical

Re: Formating in Struts 2

2008-10-24 Thread Ryan Wong
for date u can use 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 in S

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 we

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 set-encoding /j_spring_security_check struts-cleanup /* sitemesh /*

RE: Results Layout Question

2008-10-20 Thread Peterson, Ryan
AM 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

Results Layout Question

2008-10-20 Thread Peterson, Ryan
way to display 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.

Using Struts with Dojo vs GWT

2008-10-19 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?

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)

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 -Ori

RE: Inspect Tile Definitions

2008-09-30 Thread Shelley, Ryan
t; to compare it to some class 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 S

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
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
Thanks 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]>

Inspect Tile Definitions

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

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. I'

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: 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 wro

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 key

[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 w

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... &g

Re: Some Idea On REST mapping

2008-09-02 Thread Ryan Wong
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 onl

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 buil

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 operati

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 >> > H

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 >

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 - Use

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

2008-08-06 Thread ryan webb
ed 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?

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
tonio!! - Original Message From: Ryan Henson <[EMAIL PROTECTED]> To: Struts Users Mailing List 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 moved to

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
The camper is not enrolled in any classes - Original Message From: Antonio Petrelli <[EMAIL PROTECTED]> To: Struts Users Mailing

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
Message From: Antonio Petrelli <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Thursday, July 10, 2008 9:44:16 AM Subject: Re: Struts-Tiles - Missing Content 2008/7/10 Ryan Henson <[EMAIL PROTECTED]>: > I will note that calling this definition works correctly when

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
_ Resulting HTML from the HttpURLConnection Camp Airy BSA: Schedule Manager - Tools - Reports - Camper >From all of the above my diagnosis is that the problem has to do with >. For th

Struts-Tiles - Missing Content

2008-07-09 Thread Ryan Henson
for the tiles tag which tells me that the HttpURLConnection is getting the tiles attributes, but where it is failing is on the tag. That at least narrows the problem down to the tiles:insert line specifically and not tiles overall. How can I make this work??? THANKS! -Ryan Henson PDFAction

RE: Validating objects in Collections

2008-07-01 Thread Asleson, Ryan
ROTECTED] Sent: 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

Validating objects in Collections

2008-07-01 Thread Asleson, Ryan
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. If you are not the intended r

Grabbing the "current" Result

2008-06-23 Thread Asleson, Ryan
has 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 co

RE: Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Asleson, Ryan
ethod. 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

Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Asleson, Ryan
ny, we have a 1:1 mapping 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 infor

RE: Struts 2 and Sitemesh

2008-05-19 Thread Asleson, Ryan
OK, I now get content. I specified the wrong value in the 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 the

RE: Struts 2 and Sitemesh

2008-05-16 Thread Asleson, Ryan
? 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 new to Struts 2 and have some experience with Sitemesh, but I'm having trouble getting

Struts 2 and Sitemesh

2008-05-16 Thread Asleson, Ryan
/myapp/include/footer.action and it displayed correctly. Here's what's in web.xml: struts-cleanup /* sitemesh /* struts2 /* I don't know what else to do. Can anybody figure out what's goin

Annotation Validations: Per Method?

2008-05-12 Thread Asleson, Ryan
h firstName and lastName, contrary to my intent. Similarly, submitting the form using the button 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 ju

Repopulating Select Lists after Validation Error

2008-05-12 Thread Asleson, Ryan
tabase access should occur, a bad idea? 2. What 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(

Injecting Spring Services into Struts 2 Actions

2008-05-08 Thread Asleson, Ryan
e ways of letting Spring know what to provide for your 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 b

Struts 2 StrutsTypeConverter

2008-04-30 Thread Asleson, Ryan
the class that is sent to convertFromString 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

RE: Accessing the Struts2 Action in a JSP via tags

2008-04-29 Thread Asleson, Ryan
EL? Thank you! -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

Accessing the Struts2 Action in a JSP via tags

2008-04-29 Thread Asleson, Ryan
st 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 or distribution is prohibited.

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

Struts 2 ResourceBundle Class

2008-04-28 Thread Asleson, Ryan
f our 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 contac

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 t

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 * * 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]> w

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

2008-04-16 Thread ryan webb
s only displays the word NULL I am new 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 Ja

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: [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 mai

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

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

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

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

2008-04-10 Thread ryan webb
I am having difficulty with authentication of user levels. I have to kinds of users "user" and "administrators". What we did in mySQL db is make a user table and in it, a "level" column is placed containing whether a user is "administrator" or not. there's no problem with this actually (I just wro

  1   2   3   >