Re: help - pagination using struts2

2007-11-16 Thread Jim Reynolds
Look into the open source project called displayTag, I think that will save a lot of headaches and reinventing the wheel. http://displaytag.sourceforge.net/10/jdepend-report.html On 11/16/07, Thilo Ettelt <[EMAIL PROTECTED]> wrote: > Hello DharmaRao, > > take a look at the s:iterator and s:sub

Re: Struts tile and other tag includes

2007-08-10 Thread Jim Reynolds
basically, I am finding myself putting in the taglibs in each page I am put(ting) in my template. So I feel I am duplicating too much code. Does this make sense? Possibly, I am doing something wrong? Thanks, On 8/10/07, Dave Newton <[EMAIL PROTECTED]> wrote: > Hmm; repeat? > > ---

Struts tile and other tag includes

2007-08-10 Thread Jim Reynolds
Struts 1.29 app that uses tiles definitions. Question is: I am finding myself having to call the taglib in the layout, and also in each tile. If I take the taglib out of any of the jsp pages that is a tile, then the page fails to display because it cannot find the taglib from the template layout.

Tiles and struts tags

2007-08-10 Thread Jim Reynolds
Struts 1.29 app that uses tiles definitions. Question is: I am finding myself having to call the taglib in the layout, and also in each tile. If I take the taglib out of any of the jsp pages that is a tile, then the page fails to display because it cannot find the taglib from the template layout.

Re: 1.2.9 html:action

2007-02-27 Thread Jim Reynolds
wrote: Jim Reynolds wrote: > Hello, > > I am using the following in a jsp view: > > > > And the source renders: > > > > Which works, but the source no longer gives me a name="GalleryForm" element> like the 1.2.4 that I was used to using. &g

1.2.9 html:action

2007-02-25 Thread Jim Reynolds
Hello, I am using the following in a jsp view: And the source renders: Which works, but the source no longer gives me a like the 1.2.4 that I was used to using. If there anyway I can get that to work? Thanks,

Re: Validate phone question 1.2.9

2007-02-21 Thread Jim Reynolds
AIL PROTECTED]> wrote: Regexp ("mask") validator? http://struts.apache.org/1.2.9/userGuide/dev_validator.html --- Jim Reynolds <[EMAIL PROTECTED]> wrote: > Best way to validate a phone that has 3 textfields. > > Scope wants 3 textfields (areacode, phoneexchange, > phone4

Validate phone question 1.2.9

2007-02-21 Thread Jim Reynolds
Best way to validate a phone that has 3 textfields. Scope wants 3 textfields (areacode, phoneexchange, phone4) on a form. We need to validate that the phone has all digits in each of the fields. But upon looking at the docs, I do not see a clean way to handle this. I am sure this is done often,

S2 Seeking Suggestion for XML/Dom

2007-02-15 Thread Jim Reynolds
I am implementing a "treeview" type of page to display categories in a "treeview" type manner. The implementation requires a XML file displayed in the browser. So my idea would be to use the action to create a dom, then put the dom into the request and have a JSP page pull the dom from the request

Re: S2 Tags Question

2007-02-09 Thread Jim Reynolds
events. Log tickets for anything you think it should have. regards musachy Jim Reynolds wrote: > I am browsing through the "struts2 showcase" and have the need to > reproduce the type of Tree Example that exists under the "tags->ui > tags example -> tree example dyn

S2 Tags Question

2007-02-09 Thread Jim Reynolds
I am browsing through the "struts2 showcase" and have the need to reproduce the type of Tree Example that exists under the "tags->ui tags example -> tree example dynamic". All makes good sense, but I am confused on how it works. How does dojo fit into the picture, and how could I put logic on the

Re: validation help

2007-02-09 Thread Jim Reynolds
It appears you are probably using the ValidatorForm or ValidatorActionForm in 1.x? Just a thought ... could you just implement the validate method in the Action form and handle it with logic? I did some looking, and see that you can validate two fields against each other, but I couldn't find anywh

Re: Pager Tag in Struts1.1

2007-02-09 Thread Jim Reynolds
If you want a good example, go to Matt Raibles AppFuse site, and download either the AppFuse or Equinox. The example (equinox for sure) uses the displaytag and would be a great example to understand its workings. The easiest is Equinox, just hit the readme, and deploy to your webserver then go ba

S2 showcase 2.0.1

2007-02-08 Thread Jim Reynolds
Downloaded from site the struts-2.0.1-apps this morning. Extracted the download, and deployed "struts2-showcase-2.0.1.war" to my local tomcat 5.5 webserver. When hitting the app, I issue: [http://localhost/struts2-showcase-2.0.1] and it must hit an index.html and returns this: [http://localhost/s

Re: Struts2 Spring Info

2007-01-26 Thread Jim Reynolds
Thanks Don, On 1/26/07, Don Brown <[EMAIL PROTECTED]> wrote: A plugin: http://cwiki.apache.org/S2PLUGINS/spring-plugin.html There are also Spring Web Flow and Spring MVC plugins listed in the plugin registry: http://cwiki.apache.org/S2PLUGINS/home.html Don On 1/26/07, Jim Reynolds &

Struts2 Spring Info

2007-01-26 Thread Jim Reynolds
Does the S2 that is now beta have Spring IOC built in? Or is this a plug in. I have been grepping through the docs, I see mention of spring mocks, but not of anything with the IOC layer. I wasn't sure if it is built-in per sey, or if it is a plug in, or just add as a listener. If so, are there do

Struts 1.24 Implement Spring IOC

2006-12-28 Thread Jim Reynolds
Hello, I have a older application running under Struts 1.24. I would like to incorporate the Spring IOC for DAO to my database. Can this be done with struts 1.24? Any links, information would be appreciated. - To unsubscribe, e-

Validation Error

2006-12-22 Thread Jim Reynolds
I am having a bad time moving from Tomcat 4.1 to Tomcat 5.20. I basically took a webapp and moved it to the new server, and all functionality works except for validation. As odd as it may seem, any form that is "required" does not forward back to the view unless I put bad data into the field. If

Version Question Pre 2.0

2006-12-21 Thread Jim Reynolds
Are there major differences between 1.24 and 1.29? I am having lots of validation problems, and problems with the SSLExt in the 1.29 when I am trying to migrate. I read the docs, but do not see any major changes that would cause this? Thanks

Validator Framework 1.29

2006-12-20 Thread Jim Reynolds
Hello, I am having some issues with getting the messages from the validator framework from showing. Actually, I have some old code like this: that used to work, before upgrading to 1.29. I am getting this error: "ccording to TLD or attr

Core Tag Question Struts 1.29

2006-12-20 Thread Jim Reynolds
Hello, I am refactoring some code, and ran into an error, I cannot quite figure out. I have the following line in my jsp page. I have an include at top of jsp page that includes a page of taglibs. <%@ include file="/includes/imports.jsp" %> That file has the core tag here: <%@ taglib uri="htt

Validator without Struts

2006-11-29 Thread Jim Reynolds
Hello, I have the need to do some form validations, but the site in question is not running Struts, nor WW or any framework. :-( It is an older site and I have been commissioned to do some validtion within it. I was hoping that the Validator that comes with Struts may be able to work as a stand-

Re: Tiles

2006-11-01 Thread Jim Reynolds
--- De: Jim Reynolds [mailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 01 de Noviembre de 2006 10:49 a.m. Para: Struts Users Mailing List Asunto: Re: Tiles I do not know this answer, but I think I may try using SiteMesh for my first S2 site. Matt Raible from AppFuse has some great examples of

Re: Tiles

2006-11-01 Thread Jim Reynolds
I do not know this answer, but I think I may try using SiteMesh for my first S2 site. Matt Raible from AppFuse has some great examples of using SiteMesh. It seems pretty easy to use and it is from the same folks at Open Symphony. My 2 cents. On 11/1/06, Juan Espinosa <[EMAIL PROTECTED]> wrote:

SSL support [s2]

2006-11-01 Thread Jim Reynolds
Considering upgrading a site from Struts 1.x to Struts 2. Looking back through the code there was a SSL Extension I used that allowed me to set a true/false in the action as to whether or not the action was going to be SSL or normal. This all extended from the RequestProcessor, so with S2, I am t

Mailreader2 question

2006-10-31 Thread Jim Reynolds
After analyzing the Mailreader2 application, I cannot figure out these three lines of the Welcome.java file, full class below: String message = getText(Constants.ERROR_DATABASE_MISSING); if (Constants.ERROR_DATABASE_MISSING.equals(message)) { addActionError(Constants.ERROR_MESSAGES_NOT

Acegi Implementation [s2]

2006-10-31 Thread Jim Reynolds
Is there any documentation regarding Acegi implementation and Struts2. I would like to somehow use the Acegi security framework, and a Struts Interceptor to handle login and session management. I googled this, but did not find anything that amounted to much. Thanks,

Download, Obtain Src [S2]

2006-10-31 Thread Jim Reynolds
Pardon for another question... but I would like to interrogate some of the Interceptors that are included with the S[2] codebase. What is the best way to download the original src code for S2? I am here < http://svn.apache.org/viewvc/struts/struts2/trunk/?root=Apache-SVN but not sure what to loo

Request Processor Struts2

2006-10-30 Thread Jim Reynolds
Hello, Newbie with WW, so hopefully this is not a silly question. In Struts 1.x I used to extend the request processor, and check for a user with a certain object in the session. If it did not exist, I would put it in, and at the same time, send to the front login if it did not exist. This was ho

Re: Struts2 Basic Questions

2006-10-27 Thread Jim Reynolds
lt;[EMAIL PROTECTED]> wrote: > On 10/26/06 5:06 PM, "Jim Reynolds" <[EMAIL PROTECTED]> wrote: > > > From reading about Struts2, I can see that it is a marriage of Struts > > 1.x and WebWork. Now WebWork actually consisted of 2 frameworks from > > my understandin

Struts2 Basic Questions

2006-10-26 Thread Jim Reynolds
Hello, From reading about Struts2, I can see that it is a marriage of Struts 1.x and WebWork. Now WebWork actually consisted of 2 frameworks from my understanding. WebWork framework for Web and underneath that was XWork framework. Also, WebWork in 2.2 I believe was starting to use Spring IOC fo

Re: [SOLVED?]: Add request parameter in

2006-10-25 Thread Jim Reynolds
In Struts 1.x I used to use this type of mechanism to add parameters to an action. I think that is what you are trying to do, if not dismiss. In JSP collect data and put into a Map. [ java.util.HashMap params = new java.util.HashMap(); params.put("imageNum", imageNum); params.put("assetId", asset

Re: Passing a parameter into a bean

2006-10-19 Thread Jim Reynolds
How about doing a jstl if statement within the index.jsp page. If you need to pass the parameters, then within the if errors put in a hidden field named portal with value of collab, else no hidden value. something like that maybe? On 10/19/06, Perry Minchew <[EMAIL PROTECTED]> wrote: Hi every

MailReader Example Struts2

2006-10-18 Thread Jim Reynolds
I am trying to figure out how Struts2 works, so I am going through the docs at and walking the code. Problem: I cannot figure out how the Welcome.java which subclasses MailreaderSupport gets the data to and from the xml? I see the datab

Re: Struts2 Showcase Example and Eclipse

2006-10-18 Thread Jim Reynolds
I also found this useful: http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse Don On 10/18/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > I have downloaded and deployed the showcase examples for Struts2 as a > learning tool. I have been going through the code file

Re: Struts & Workflow

2006-10-18 Thread Jim Reynolds
AIL PROTECTED]> wrote: From: Jim Reynolds [mailto:[EMAIL PROTECTED] > [...] also appears to include WebWork. Struts2 *is* WebWork. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Struts & Workflow

2006-10-18 Thread Jim Reynolds
Hello Roger, I know for sure that Spring has a wizard-like approach for multi-screen data entry. I believe it is called Spring Web Flow. Now, I am getting a feeling that Struts2 supports portions of Spring (Still trying to figure this out) and also appears to include WebWork. So to the point of

Struts2 Showcase Example and Eclipse

2006-10-18 Thread Jim Reynolds
I have downloaded and deployed the showcase examples for Struts2 as a learning tool. I have been going through the code file by file, and was wondering if there was a better way to handle this. I have Eclipse IDE and was wondering if the project could be imported into Eclipse, so I can walk the cl

Struts2 Validation Question

2006-10-17 Thread Jim Reynolds
Downloaded and extracted the struts2-showcase-2.0.1.war file to my tomcat server. I am looking at the validation/quizBasic!input.action and I am confused on how the validtion on these fields is set. I am accustomzed to using 1.x. Could someone please explain how the validation for these three fie

Re: Struts 2.0 question tags, config

2006-10-17 Thread Jim Reynolds
Thanks Dave, That is what I was looking for. Sincerely Scott On 10/17/06, Dave Newton <[EMAIL PROTECTED]> wrote: From: Jim Reynolds [mailto:[EMAIL PROTECTED] > I have downloaded and trying to learn the 2.0 framework. First off, I > am trying to figure out how the struts.xml get

Struts 2.0 question tags, config

2006-10-17 Thread Jim Reynolds
Hello, I have downloaded and trying to learn the 2.0 framework. First off, I am trying to figure out how the struts.xml gets configured, I do not see this in the web.xml anymore. Also, I am having trouble finding documenttion on the struts-tags that are now avaiable. Are these just the WebWork t

Re: Handling breadcrumbs with Struts

2006-09-20 Thread Jim Reynolds
You may even try and do something more dynamic, like use Ajax calls upon page loads, and that would keep things clean. Just a thought ... Scott On 9/20/06, Darren Hall <[EMAIL PROTECTED]> wrote: Thanks Leon. I've already started implementing an action hierarchy. Before I started down this r

iSeries 5 or AS/400

2006-09-20 Thread Jim Reynolds
Hello, I have entered a new environment where the hardware is a iSeries 5 application server. I am trying to figure out an entry point to begin creating a webapp within this environment. Since the db2 database is integrated and there are apparently other issues, I was hoping someone may have expe

Tiles Configuration Plug-in Help

2006-07-18 Thread Jim Reynolds
Hello, I have a site that I want to rework and include the tiles framework. Possible problem is as follows through: A new struts-blank.war extracted shows the processorClass being the TilesRequestProcessor. My existing site, has SSL and I am using Since I need to keep the SecureRequ

Cannot find examples.war

2006-07-05 Thread Jim Reynolds
Ever since the web site redesign, I cannot find the to get started with. Anyone know where it is? Been searching struts site for a bit. No luck. Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

html:text tag, EL expressions follow-up

2006-04-13 Thread Jim Reynolds
Hello, Last week I started a thread about issues using EL expressions within

Re: html:text tag, how to get javascript index

2006-04-07 Thread Jim Reynolds
PS, Isn't it just the JSP, JSTL that enables that snippet to work? Or do I need a certain jar? Maybe I am missing something. On 4/7/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > It is the later. I just checked my lib dir. Only using the latest > struts jars and no struts-el j

Re: html:text tag, how to get javascript index

2006-04-07 Thread Jim Reynolds
It is the later. I just checked my lib dir. Only using the latest struts jars and no struts-el jars even in there. Thanks, On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Jim Reynolds wrote the following on 4/7/2006 2:02 PM: > > Thanks Rick for the info. > > > &

Re: html:text tag, how to get javascript index

2006-04-07 Thread Jim Reynolds
Thanks Rick for the info. I am running Tomcat 5.5. But for some reason, it is still not happy. It just prints out the tag like in the page, and does no variable substitution. On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Jim Reynolds wrote the following on 4/7/2006 1:38 PM: &

html:text tag, how to get javascript index

2006-04-07 Thread Jim Reynolds
I have the following logic:iterate loop The loop is happy and creates nice names and indexed properties. Problem is, when someone does an update on one of the slices (of the indexed data), I need to know which one they clicked. The line updateStatus(

View Not Correctly Being Indexed by searchengines.

2006-03-24 Thread Jim Reynolds
Hello, I created a ecommerce site using struts and opened it up about 6 months ago. Ever since its inception, I have had trouble getting my site indexed by google, or any other searchengine. I am using servlet mapping of ".do". I cannot understand for my life, but it appears that when the robots

Re: html:link, etc, looking for full url, not just context name

2006-02-27 Thread Jim Reynolds
cause it > to be ignored than the use of relative URLs. > > - George > > > -Original Message- > > From: Jim Reynolds [mailto:[EMAIL PROTECTED] > > Sent: Monday, February 27, 2006 4:20 PM > > To: Struts Users Mailing List > > Subject: Re: html:link, etc, l

Re: html:link, etc, looking for full url, not just context name

2006-02-27 Thread Jim Reynolds
an iteration use the properties > (indexed,indexId) > If you want to compose a URL like > Action1.do?ID=2 > use > > paramProperty="thePropertyInTheForm">link > > Ahmed Hashim > > On 2/27/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > > > &g

html:link, etc, looking for full url, not just context name

2006-02-27 Thread Jim Reynolds
I have created a ecommerce site using struts, and using the full array of html:# tags. I am at the point of trying to index the site better, and one thing I have noticed with most sites that index well, and according to what I hear from google. The href links, which I currently use html:link with

Re: passing objects from one request to another

2006-02-24 Thread Jim Reynolds
I recommend not using session, unless it is completely necessary. I have had memory issues, and other problems like garbage colleciton when putting information into the session. Basically like one of the other responders said, just populate your form, do your validation, and pass it along to anothe

Re: Database For Resource Properties

2006-02-24 Thread Jim Reynolds
tart by extending a class? Or where I begin my thought process here. Anyway you could explain a bit more in depth? Thanks On 2/24/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > Jim Reynolds wrote: > > I have a scenario where our site allows users to enter foreign > > langu

Database For Resource Properties

2006-02-24 Thread Jim Reynolds
I have a scenario where our site allows users to enter foreign languages in a database. So at anytime, the value of a langage value can change. So I am unable to use the message resources as they are static between server bumps. Anyway, it would be great if I could actually create some type of mec

Re: application resources on iplanet

2006-02-21 Thread Jim Reynolds
I checked with my Admin who managers our IPLanet, and he says there is no additional classpath configuration. That IPlanet creates the classpath from /WEB-INF/classes automatically. Scott On 2/21/06, Scott Purcell <[EMAIL PROTECTED]> wrote: > Yes, I believe you are correct. If the classes are fou

Struts Message Resources

2006-02-21 Thread Jim Reynolds
I have a struts application in which I use the message resources for most of my view pages. Using bean:message, etc. All is good. But I have created some tag libraries, in which run in the same struts app, and I need to get to them. I know you can get the properties from an action class through th

message-rsource access in taglib

2006-02-21 Thread Jim Reynolds
I created a struts application and in order to keep some area clean, I have created some tags to handle some isolated logic. I have been unable to figure out how to use the message-resources in the tag. Does anyone have a link or know if this is possible? Currently I ended up hard-coding values in

extension-mapping path-mapping

2006-02-17 Thread Jim Reynolds
Hello, I am probbly wrong on a couple of issues here, so I am needing assistance on the following: I am running a struts application in a directory (context?) named "test". In my web.xml I configured the following: test org.apache.struts.action.ActionServlet .. test *.do

Re: Site Setup, Need Advise On Struts Config

2006-02-11 Thread Jim Reynolds
I will give that a try. Thanks for the idea ... maybe that is all I need. I will implement the change and run some more curl. Many thanks, On 2/11/06, Torgeir Veimo <[EMAIL PROTECTED]> wrote: > On Sat, 2006-02-11 at 09:10 -0600, Jim Reynolds wrote: > > Do you mean a redirect usi

Re: Site Setup, Need Advise On Struts Config

2006-02-11 Thread Jim Reynolds
Do you mean a redirect using a servlet or something like that? On 2/11/06, Torgeir Veimo <[EMAIL PROTECTED]> wrote: > On Sat, 2006-02-11 at 09:05 -0600, Jim Reynolds wrote: > > I have a html file in my tomcat root > > which does a javascript function that directs

Site Setup, Need Advise On Struts Config

2006-02-11 Thread Jim Reynolds
I have created a site using struts over the past couple of months. I am running Tomcat 5x and Struts 1.2x. But here is my huge problem. I have a html file in my tomcat root which does a javascript function that directs the user to the site. Soemthing like this: top.l

Re: Reloading resource properties

2006-02-02 Thread Jim Reynolds
, > I.Hari krishna > > Caritor India Private Limited. > +91- 44 - 28212878 Extn:4406,4407 > ------ > > > > Jim Reynolds <[EMAIL PROTECTED]> > 02/02/2006 08:50 PM > Please respond to > "Struts Users

Reloading resource properties

2006-02-02 Thread Jim Reynolds
Apologize for a second question for the day ... but I ran into a issue. I developed a struts application on a Tomcat 5.5 engine. Whenever I updated a resource.property, the next time I would log in, I would see the new values. And that is how I thought it all worked. I believe it reloaded the prop

URL Submission To Search Engines With Struts

2006-02-02 Thread Jim Reynolds
Hello, I have been having trouble getting the Search Engines to index my site properly. My old site was just JSP model 1, and I would just submit the index.html page. Since I recrated the site with struts, I now immediately go from that index.html page to a forward to welcome.do which then does s

html:radio headaches

2006-02-01 Thread Jim Reynolds
I am having issues working with the html:radio tag. First off: I have simple bean which extends ActionForm. In my business logic I create DTO objects and stuff them into the actionform into a arrayList through a setter. The DTO has a getName method in it. In my view, I am iterating over like so,

Re: Get Struts Internal Logs From Tomcat

2006-01-12 Thread Jim Reynolds
Yes, it is there. On 1/11/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > Did you put a copy of log4j.jar in WEB-INF/lib? > > L. > > Jim Reynolds wrote: > > Hello, > > I am creating a Struts webapp, and I would like to get some of the > > internal messa

Get Struts Internal Logs From Tomcat

2006-01-11 Thread Jim Reynolds
Hello, I am creating a Struts webapp, and I would like to get some of the internal messages that struts throws out ... eg. Bean Creation, scope, etc. I created a log4j.properties and laid it into my /WEB-INF/classes directory ... log4j.rootCategory=DEBUG, R log4j.appender.R=org.apache.log4j.Rollin

Re: Which method sets bean into desired scope

2006-01-03 Thread Jim Reynolds
exist. > > Niall > > - Original Message - > From: "David Evans" <[EMAIL PROTECTED]> > Sent: Tuesday, January 03, 2006 2:47 PM > > > > In struts 1.1 (the only one i have the source for) its in the > > processActionForm method. > > >

Which method sets bean into desired scope

2006-01-03 Thread Jim Reynolds
Hello and Happy New Year I am trying to figure out which method (of the many) in the request processor physically takes the form bean and sets it into the desired scope? Based upon the configuration for said Action Mapping. Regards ---

How does Shale affect my Struts development

2005-12-29 Thread Jim Reynolds
First off, a little background. I have started using the 'Struts' framework about 1 year ago. I have created three apps, and all is moving along pretty well with the Struts and model 2 approach. I am just starting to use more design patterns for my business logic, etc. Anyway, as you may be aware

Log4J Error thrown when restarting

2005-12-28 Thread Jim Reynolds
I have an error that Log4J throws out each time my instance restarts. The error (below) looks like I have not declared an attribute "debug" in my element controller. ... but I have. Here is a snippet of that line xml header: http://struts.apache.org/dtds/struts-config_1_2.dtd";> I would r

Re: Need bean class from RequestProcessor?

2005-12-28 Thread Jim Reynolds
you looking for the action's > "form=''' name which would be more specific > to Struts? > > Regards, > David > > -Original Message- > From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 28, 2005 10:55 AM > To: user@

Need bean class from RequestProcessor?

2005-12-28 Thread Jim Reynolds
I have the need to find out the bean class name from an extended RequestProcessor method. I have checked the docs, and do not see anything obvious. Is there a way to achieve this? I have access to the ActionForm, ActionMapping, etc in this method. I have extended the processActionPerform method of

processActionPerform question

2005-12-27 Thread Jim Reynolds
I am creating a dynamic 'CrumbTrail' and have a question. A tactic I came up with is to clone the ActionForm, and store it. Later on when a crumb is clicked, I pull out the cloned ActionForm, and call, return super.processValidate(request, response, form, mapping); from my extended RequestProce

global forward out of module

2005-12-21 Thread Jim Reynolds
I am working within a struts module. I have a session expires exception that I want to forward to the login of my site. In my global-exceptions I entered the class that is being thrown, and a forward like so: I tried setting the module to '' but it does not work. Instead of going to th

How to handle multiple controller attributes

2005-12-20 Thread Jim Reynolds
Hello, Currently in my struts-config.xml file I have the following controller entry. All is running, but now I have the need to extend the RequestProcessor. So I created a class 'com.xxx.xxx.myExtendedRequestProcessor". which means now my controller should inclue that in the "processorClass="

Ideas needed for SSL problem

2005-12-15 Thread Jim Reynolds
Hello, I have got a problem. I have created a struts module that fits into an existing java model 1 architecture webapp. Anyway, when moving the code to test, I realized that the site is all HTTPS. But the webservers are not doing the 443. There are a pair of load balancers handling the 443 traff

Syntax assistance bean tag

2005-12-07 Thread Jim Reynolds
Need a little help with syntax dilemma: I am iterating over a list like so: and creating And the problem is within the onclick event, I need to send another property from attributeBean to a handler. javascript:selectRadio(''); But no matter what I try,

Re: problem with "mask" of validation

2005-12-07 Thread Jim Reynolds
You should be able to accomplish this with altering the regular expression. If you are having troubles with regular expressions, search google for perl regular expressions there are a ton of examples out there. eg: This states that the match should be from beginning to end of string matching 0-9,

Re: where to put struts element

2005-12-06 Thread Jim Reynolds
se, you need to simply > replace the action-mappings element in struts-config.xml with the one > from the sslext documentation. > > L. > > Jim Reynolds wrote: > > Hello, > > > > I am following the sslext configuration, and it is asking to add a > > > >

sslext

2005-12-06 Thread Jim Reynolds
I configured a test site using sslext, and using the SecureRequestProcessor as my processorClass, not using tags I ran into some bad results. If I put a object into the request, and switched protocols, the request object was no longer found? Since most struts work has something to do with passing

where to put struts element

2005-12-06 Thread Jim Reynolds
Hello, I am following the sslext configuration, and it is asking to add a element to my struts-config.xml file. I am not sure how this fits in because most of my knowledge in this is configuring action-mapping elements. How is this one put in? Any ideas. Here is a raw "struts-blank" struts-co

sslext

2005-12-06 Thread Jim Reynolds
Having the need to switch between http and https in a project I am working on with struts as the framework, I have run into some issues in regards to accomplishing this task. If I use the action mapping and forward to a full url specifying the type [http, https], then I have to do a redirect, and

How to change URL to 'https'

2005-12-05 Thread Jim Reynolds
In a project I am working on, I have the need to change some of my html:link and html:actions to go to https pages. Since I usually just call action forwards to something like "success" path="/jsp/mypage.jsp" for the view, I am confused how to change the url to https? I could use

Re: create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Jim Reynolds
Thanks to all for the assistance, your help is greatly appreciated. On 11/29/05, Jim Reynolds <[EMAIL PROTECTED]> wrote: > On 11/29/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 11/29/05, Michael Jouravlev <

Re: create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Jim Reynolds
On 11/29/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/29/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > ">The link > > ? > > -- > Wendy > > - > To unsubscribe, e-mail: [EMAIL PROTE

create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Jim Reynolds
I created a FormBean which holds a list of POJOs. The FormBean has a method called getPOJOs() which returns a list. In my JSP page, I am iterating over the list like so: and that appears to get each POJO object and I can get data from it like so: and all is good. But I need to create a url so

MessageResource Problem In JSP Page

2005-11-28 Thread Jim Reynolds
I have been using message resources for a while in my struts apps ... but because it is monday, I am getting an error on a certain page. struts.xml has this: And in most of my JSP pages, all is happy, but within a frameset I am getting thrown to an error page stating the key does not exist: J

Re: Anyone hear of com.ibatis.struts.BeanAction?

2005-11-14 Thread Jim Reynolds
action/for into one class...sort of JSF-ish. > > Larry > > > On 11/14/05, Jim Reynolds <[EMAIL PROTECTED]> wrote: > > Hello, > > I am disecting a tutorial from IBatis which of course uses struts, > > called "jpetstore". Anyway, they are using a clas

Anyone hear of com.ibatis.struts.BeanAction?

2005-11-14 Thread Jim Reynolds
Hello, I am disecting a tutorial from IBatis which of course uses struts, called "jpetstore". Anyway, they are using a class called com.ibatis.struts.BeanAction. Is anyone using this class, or have knowledge of its status. - To

getRealPath() from Action class

2005-11-10 Thread Jim Reynolds
In an Action class I am writing, I would like to be able to get the real physical path to the web app. Eg: C:/webserver/webapp/instance According to the docs, the request.getRealPath("instance") is going away. It looks like the ServletContext would work, but I do not know how to get the context fr

Difference between and JS submit.

2005-11-07 Thread Jim Reynolds
I posted this email a week ago, and received no response, so I am going to try again and change my verbage. Below is a JSP file which uses struts client-side validation. The validtion works great when you use either the or a normal. This is all good. Problem is, when you use legal javascript to

Client Side Validator Fails When Submit from Javascript

2005-11-04 Thread Jim Reynolds
I have been playing with the client-side validation, and ran into a problem last night that I can docuemnt, but cannot figure out why it fails. The below file, shows a form and when you hit the submit, presents the appropriate alert box with the proper message. All is good, and works when the "sub

Commons Validator or Struts Validator?

2005-11-03 Thread Jim Reynolds
I am a bit confused between the "commons validator" and the "struts validator". I am trying to incorporate "javascript:validations" within some JSP files, and I am having a hard time deciding what to configure. I found a struts-validtor.tld, but it appears old, and when I search google for struts

struts-validator.tld question

2005-11-03 Thread Jim Reynolds
I want to try and use some client-side validation on a project. I have used the server-side quite a bit in the past. Anyway, I found an example of how this would work, and the first thing it shows is a taglib include like so: '<[EMAIL PROTECTED] uri="/tags/struts-validator" prefix="validator" %>'

Beans in Request and Validation Question

2005-11-01 Thread Jim Reynolds
I have a question about using request scoped beans and validation with an ActionForm. Here is a example: In a certain action, I go and create a Collection of objects for a select list. I put the Collection into the request, and forward to a JSP page, and I show the list. From the JSP page, the us

Re: global-exceptions elements/attributes info needed

2005-11-01 Thread Jim Reynolds
ven though it is not listed in atts list Thanks, On 11/1/05, Dave Newton <[EMAIL PROTECTED]> wrote: > > Jim Reynolds wrote: > > >I am trying to find what attributes or elements can be placed inside a > >global-exceptions element tag. > > > Does

  1   2   >