a fine example of an example

2004-06-21 Thread josh
oding in struts? I would like to get some ideas on how to make my code better. Thanks in advance josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts, Dreamweaver, and JSP

2004-06-29 Thread josh
that allow one to validate the html that is generated by the jsp/struts tags? josh *** signature.asc Description: This is a digitally signed message part

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread josh
g through a standard validator. Or maybe this is just wishful thinking. > hth > Chris > > -----Original Message- > From: josh [mailto:[EMAIL PROTECTED] > Sent: 29 June 2004 16:11 > To: Struts Users Mailing List > Subject: Struts, Dreamweaver, and JSP > > >

Tiles: converting jsp definitions to xml defs.

2004-07-06 Thread josh
I am getting the following error after converting my app from using jsp based tiles definitions to xml based tiles definitions. "org.apache.jasper.JasperException: Can't get definitions factory from context" Then a big stack trace. The app was functional before I made the following changes... *

ibatis and jndi pooling

2004-07-27 Thread josh
I am trying to figure out how to use sqlmaps and struts. Before sqlMaps I would create a connection to the database using a plugin. In my init() I did something like this this.ds = (DataSource) context.lookup("java:comp/env/" + lookupString); This gave me a datasource object that I could use fo

Re: ibatis and jndi pooling

2004-07-27 Thread josh
to the DB forcing me to bring down tomcat in order to close them (for my DB admin who gets irate). It makes me think that I am not doing something at the server level that I should be doing. Any ideas? cheers, josh On Tue, 2004-07-27 at 14:31, Vic Cekvenich wrote: > josh wrote: > > I am tryin

Re: OT: Re: ibatis and jndi pooling

2004-07-28 Thread josh
your last email in the forum. -josh On Tue, 2004-07-27 at 18:33, Vic Cekvenich wrote: > josh wrote: > I just get a reference to the datasource and close it in > > the destroy method of the plugin. > > Let me ask why do you get a reference to datasource in SqlMaps? > >

Content Management Across Multiple Apps

2004-09-15 Thread josh
Hi all, I am writing multiple apps (~20) that all share the same sidebar navigation. Is there a way to make multiple applications use a central library of tiles so that I would be able to change or add a link in the library and it would affect all applications? In such a scenario could I add a l

Re: Validation and Tiles

2004-09-15 Thread josh
ags-html"; prefix="html" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"; prefix="tiles" %> I'm leaving out the validation stuff because I you must have it right if it is detecting the errors and sending you somepl

Re: Content Management Across Multiple Apps

2004-09-17 Thread josh
Still interested to hear if anyone has any ideas about this... On Wed, 2004-09-15 at 10:47, josh wrote: > Hi all, > > I am writing multiple apps (~20) that all share the same sidebar > navigation. > > Is there a way to make multiple applications use a central library of >

Re: Content Management Across Multiple Apps

2004-09-17 Thread josh
7 at 08:32, josh wrote: > Still interested to hear if anyone has any ideas about this... > > On Wed, 2004-09-15 at 10:47, josh wrote: > > Hi all, > > > > I am writing multiple apps (~20) that all share the same sidebar > > navigation. > > > > Is there a way

streaming binary data to client

2004-10-15 Thread josh
Is it possible to stream binary data like a pdf to the client browser using struts? I was reading somewhere that I will need to have a seperate servlet to do that part because you can't change the mime type using the struts framework. -- Joshua Cronemeyer signature.asc Description: This is a

Struts Console

2004-09-27 Thread josh
ng to support 1.1.3? Just trying to stay current -josh signature.asc Description: This is a digitally signed message part

Re: validator-rules.xml

2004-09-28 Thread josh
Find where struts is installed. Go into the webapp directory. You should be able to unzip one of the example war files and then under the WEB-INF directory of whichever example you pick you will find a pristine validator-rules.xml file. I unzipped the examples.war file and found it np. -josh

Re: validator-rules.xml

2004-09-28 Thread josh
On Tue, 2004-09-28 at 15:05, Wendy Smoak wrote: > From: "Anna Kerekes" <[EMAIL PROTECTED]> > Does anyone know where I can get a copy of this file? In its default form? > > Yes, we do. ;) > > (There's one in the 'lib' directory of the Struts 1.2.4 distribution.) > > -- > Wendy Smoak Or, if you

inheritance in tiles

2004-10-06 Thread josh
Can a tile definition that extends another definition itself be extended again? definition ^ | child definition ^ | grandchild definition -- Joshua Cronemeyer Thank you. signature.asc Description: This is a digitally signed message part

Re: Subclassing ActionForward

2005-05-17 Thread Josh
ively, you could extend the RequestProcessor and provide a custom implementation of the processRoles method. However, that seems a bit heavy handed for something a simple as checking if a user is logged in. Josh - To unsubscri

Session Invalidation in JSP

2004-12-06 Thread josh
Hi, I have been working on a portal style collection of apps. There is a central app that functions as a simple content management tool. It generates dynamic Header, footer, navigation, etc... Other apps that are "in the portal" then do imports of the central application's Header/footer/nav.

no sessions

2004-12-07 Thread josh
Is there a way to specify a struts app not to create a session object? -- Joshua Cronemeyer signature.asc Description: This is a digitally signed message part

RE: no sessions

2004-12-07 Thread josh
created. I was hoping there was something I could put in the web.xml, but it seems like the session-timeout variable is the only related option. It can't help me except by making the sessions drop off more quickly. Any suggestions? thanks in advance josh On Tue, 2004-12-07 at 10:2

Re: Struts failing under load ?

2004-05-06 Thread Josh Cronemeyer
> I only have questions rather than answers... > > I'd been interested to know how you're automated emulation of 100 users > works - could it be that you have two requests operating on the same form > and your form has some kind of nested/mapped/indexed properties in it? Do > the 100 users all ha

Struts and Data/Presentation Separation

2004-05-23 Thread Josh Holtzman
. Regards, Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner

RE: Struts and Data/Presentation Separation

2004-05-24 Thread Josh Holtzman
this route we become dependant on the Resin platform. Any comments on the use of Resin with Struts and some of the benefits or drawbacks on using XTP are appreciated. Regards, Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications [EMAIL PROTECT

RE: Struts and Data/Presentation Separation

2004-05-24 Thread Josh Holtzman
Ludovic, Thank you for your helpful response. Best regards, Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner -Original Message

RE: LookupDispatchAction and Form validation + DispatchAction

2004-06-15 Thread Josh Holtzman
n the DispatchAction class only when the specific methods are called. I don't like either of these options very much (particularly number 2) since they require a significant increase in maintenance. Any suggestions would be greatly appreciated. Thanks. Josh Holtzman AMERICAN DAT

tag in Struts-Faces

2004-06-24 Thread Josh Porter
basic, so I apologize if this is something that's been well covered already, but I couldn't find information about it anywhere. -- Josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tag in Struts-Faces

2004-06-25 Thread Josh Porter
) ... 53 more Matthias Wessendorf wrote: Do you get any exceptions on submitting a form? regards, -Original Message- From: Josh Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 11:37 PM To: [EMAIL PROTECTED] Subject: tag in Struts-Faces I am trying to develop a web

[Digester] Not Converting String to Int

2004-06-30 Thread Josh Bronson
, but obviously it isn't. Any help? Thanks! josh Here is an excerpt from the XML file I'm parsing: 0 My Restaurant 123 Sesame Street Cityville 12345 (123) 123-4567 http://myrestaurant.com myrestaurant.jpg blah blah blah 5 6 189

RE: [Digester] Not Converting String to Int

2004-07-01 Thread Josh Bronson
nevermind, i figured it out. It's all about the fourth parameter of addCallMethod(). I just passed it new Class[] {Integer.class} and it worked. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

RE: examples of struts??

2004-07-14 Thread Josh Holtzman
x for all our struts apps. With that said, who knows how many struts apps are out there. Part of the beauty of Struts is the flexibility it provides for mapping your controller. It's just a Servlet after all. :) Regards, Josh Holtzman AMERICAN DATA COMPANY Developing and Supp

Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Josh Holtzman
uot;website.product.sallysue" template, and validation fails, the user is returned to the "website.product.lazydazy" page with the error displayed. Does anyone have any suggestions, other than having to create a seperate "addtocart" action for every page? Thank

RE: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Josh Holtzman
ing a better approach. Thank you for all your responses. Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner -Original Message- From: Jim Ba

RE:[OT] interface prototyping

2004-07-16 Thread Josh Holtzman
Microsoft Visio does a fine job for our organization. It has a set of drag and drop GUI components to assist with prototyping. Also it has tools for UML, flow charts, and site maps... all sorts of goodies. Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online

Mail Archive Access

2004-09-14 Thread Josh Holtzman
Can someone please provide me with the location of a mirror of the mailing list archive? The search feature seems to be down again. Thanks. Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications Sun Microsystems iForce Partner

RE: Mail Archive Access

2004-09-14 Thread Josh Holtzman
Text search is not available for: http://mail-archives.apache.org/eyebrowse/SummarizeList?listId=241 Thanks for the alternative access. Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362

html:link -- module attribute

2004-04-11 Thread Josh Holtzman
ing to the Struts HTML tld. Can anyone assist me with this situation? Is the API documentation located at this URL out of date? Can anyone offer any other ideas as to how to enforce that my navigation links always reference the default application module. Thanks in advance. Best Regards, J

RE: html:link -- module attribute

2004-04-12 Thread Josh Holtzman
Bill, Thank you. What is the Status of the 1.2 build? Is it stable? Also, is it specified in the documentation that the module attribute is only available in Struts 1.2? Or is this misleading in the documentation? Thanks again. Regards, Josh Holtzman American Data Company [EMAIL

Struts Application Security within the Controller Layer

2004-04-15 Thread Josh Holtzman
k that is where this belongs in a Struts application. simply if the request doesn't meet the requirements stated above, the User shouldn't get to the Action in the first place. Does anyone have any suggestions or best practices they can offer? Thanks. Josh Holtzman American

RE: Struts Application Security within the Controller Layer

2004-04-15 Thread Josh Holtzman
ssistance is greatly appreciated as it always is. Regards, Josh Holtzman American Data Company [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Thursday, April

Detrmining which module from within JSP

2004-04-17 Thread Josh Holtzman
Hello, Can anyone suggest a means to determine the current struts application module from within a JSP? Would it be possible to use a Bean or Logic tag to make this determination? Thanks again for any suggestions. Regards, Josh Holtzman American Data Company [EMAIL

RE: Struts Application Security within the Controller Layer

2004-04-17 Thread Josh Holtzman
tes may be added to the Action element in the StrutsConfig file, but I'm not sure. Please let me know your thoughts. Everyone else is also free to comment. Regards, Josh -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 9:07 AM To: Struts

JSTL vs Struts-el

2004-04-19 Thread Josh Holtzman
? I've been reading up online and would like some firsthand suggestions? Thanks in advance. Regards, Josh Holtzman American Data Company [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner

Accessing a dynamic value in EL

2004-04-20 Thread Josh Holtzman
ke similar lookups. Thanks in advance. Regards, Josh Holtzman American Data Company [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner

RE: Accessing a dynamic value in EL

2004-04-20 Thread Josh Holtzman
Thank you David. Josh Holtzman American Data Company [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 9:43 AM To: Struts Users Mailing

RE: Benefits of LookupDispatchAction without parameter nonsense

2004-04-23 Thread Josh Holtzman
s the following resources: Would this work? Or does the resource specified in the "parameter" attribute only specify an internal resource (i.e., it is not inspected Struts processing). I would like to hear the thoughts of others. Josh Holtzman American Data Company [EMAIL PR

Custom Request Processor is failing at startup.

2004-04-23 Thread Josh Holtzman
stions would be greatly appreciated. Regards, Josh 23/Apr/2004:17:30:48] WARNING ( 9992): CORE3283: stderr: [ERROR] Digester - -Begin event threw exception java.lang.NoSuchMethodException: Bean has no property named ignoreSessionCheckPath [23/Apr/2004:17:30:48] WARNING ( 9992): CORE32

RE: Custom Request Processor is failing at startup.

2004-04-24 Thread Josh Holtzman
Thank you very much Niall. This makes perfect sense. Regards, Josh Holtzman American Data Company [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday

Re: Tiles - getting parent attribute?

2004-05-11 Thread Josh Cronemeyer
ing mess because I ended up re-doing that piece of my application. Such JSP tricks might save lots of redundancy in your Struts-Config and Action Classes, but they make the general flow of the code more obscure, and I'll take clarity over compactness any day. -josh --

validwhen validation

2004-05-11 Thread Josh Cronemeyer
Is there any way to use validwhen yet? I would really like to use it, but it isn't in my validator-rules.xml, and I can't find a validator-rules.xml version anywhere that includes it. thanks in advance - To unsubscribe, e-mai

Re: validwhen validation

2004-05-11 Thread Josh Cronemeyer
won't work) I am wondering if this has something to do with the fact that validwhen doesn't have the javascript definition like the rest of them do. -josh On Tue, 2004-05-11 at 10:47, Niall Pemberton wrote: > I was under the (mistaken) impression it had shipped with 1.1 - but seem

Re: validwhen validation

2004-05-11 Thread Josh Cronemeyer
truts/conf/share/ > > or if you download a nightly build, it should be in the conf/share directory > > Niall > > > - Original Message - > From: "Josh Cronemeyer" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, May 11, 2

(repost) validwhen validation

2004-05-13 Thread Josh Cronemeyer
I seem to have deleted the original messages to this thread, but it is probably best that I just ask the question again anyway. I am rather new to struts and I am trying to use the validwhen dependency for validation. After finding out that validwhen feature wasn't included in struts 1.1 final re

Re: Tiles - getting parent attribute?

2004-05-10 Thread Josh Cronemeyer
ate one page from multiple pages, so remember that your menu.jsp and support.html won't need to have all components of a page such as their own titles, headers, footers, html:head html:body etc, etc. The layout should take care of all that for you. -josh On Sun, 2004-05-09 at 06:59, John Moo

Restricting Get requests

2005-07-28 Thread Josh Cronemeyer
the session id if cookies are disabled? -- Josh Cronemeyer Information Network of Kansas "I don't understand," said the scientist, "why you lemmings all rush down to the sea and drown yourselves." "How curious," said the lemming. "The one thing I don'

Validator's indexedListProperty

2005-08-22 Thread Josh Cronemeyer
i missing? Regards, josh cronemeyer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validator's indexedListProperty

2005-08-22 Thread Josh Cronemeyer
On Mon, Aug 22, 2005 at 11:18:50AM -0500, Josh Cronemeyer wrote: > Hi, > > I've been playing with the indexedListProperty to validate what a user has > selected in my forms. The problem I am having is that when an error message > gets returned, It does not get associated w

Re: Validator's indexedListProperty

2005-08-23 Thread Josh Cronemeyer
the div when there are errors for the given property. Here is the link. http://www.cuberick.com/?p=2 Lemme know if you have any suggestions or questions. On Mon, Aug 22, 2005 at 03:52:30PM -0500, Josh Cronemeyer wrote: > On Mon, Aug 22, 2005 at 11:18:50AM -0500, Josh Cronemeyer wrote: >

Re: Validator's indexedListProperty

2005-08-24 Thread Josh Cronemeyer
the div when there are errors for the given property. Here is the link. http://www.cuberick.com/?p=2 Lemme know if you have any suggestions or questions. On Mon, Aug 22, 2005 at 03:52:30PM -0500, Josh Cronemeyer wrote: > On Mon, Aug 22, 2005 at 11:18:50AM -0500, Josh Cronemeyer wrote: >

Re: Validator's indexedListProperty

2005-08-24 Thread Josh Cronemeyer
when there are errors for the given property. Here is the link. http://www.cuberick.com/?p=2 Lemme know if you have any suggestions or questions. Hmm, I don't know where my emails are ending up, but this is my 3rd attempt to respond to this (my own) thread. -josh On Mon, Aug 22, 2005

Re: Validator's indexedListProperty

2005-08-24 Thread Josh Cronemeyer
div when there are errors for the given property. Here is the link. http://www.cuberick.com/?p=2 Lemme know if you have any suggestions or questions. On Mon, Aug 22, 2005 at 11:18:50AM -0500, Josh Cronemeyer wrote: > Hi, > > I've been playing with the indexedListProperty to valida

test

2005-08-24 Thread Josh Cronemeyer
Sorry, Having troube getting my mail to the list. Just testing. Pardons, Josh Cronemeyer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Re: Validator's indexedListProperty

2005-08-24 Thread Josh Cronemeyer
x27;m getting all the email I send to list list except ones with the subject of this thread. It is really weird. Didn't mean to make you all see double, uh i mean quadruple. Shame on me! -josh > > > - > To unsub

[OT] Content Management Systems

2005-02-11 Thread Josh Holtzman
application.   It wouldn’t surprise me if there are at least a few items already available out there, and I’d prefer not to re-invent the wheel if necessary.   Thanks in advance.   Josh Holtzman     tel 310.470.1257 fax 310-362.8545   Sun Microsystems iForce Partner IBM Business Partner  

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-04 Thread Josh Cronemeyer
carab.html -josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts/Magnolia Integration

2005-02-07 Thread Josh Holtzman
experience you can lend would be greatly appreciated.   We would also appreciate any suggestions or comments about other content management systems that meet this basic criteria.   Thank you all again for your time and assistance in advance.   Best regards,   Josh Holtzman     tel 888-259

validation.xml - "Attribute 'indexedProperty' used but not declared" ?

2006-01-31 Thread Josh McDonald
I've inherited an application (again) which supposed works, but on deployment I get this error. Google isn't being much help, can anybody shed some light on the subject? Cheers, -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson

Re: [OT] Hiding methods

2006-02-16 Thread Josh McDonald
package with public a API that can only be instantiated by your "manager" classes. And it's you're still going to go to programmer hell if you do that. -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland

Re: [OT] Hiding methods

2006-02-16 Thread Josh McDonald
. That's what they're for. -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED] >>>

Re: [OT] Hiding methods

2006-02-16 Thread Josh McDonald
rstate, and your replacement's replacement adds a class to the package full of "allowed" classes, and it takes him a week to figure out what the bejesus you did. -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland

Re: Disabling Back Button in IE

2006-02-21 Thread Josh McDonald
Can't (and shouldn't) be done. The closest you're likely to get it open your app in a popup window with no menu, though the user can still hit backspace. A better idea is to fix the (assumed) re-post issues in your application. -Josh -- "His comrades fought beside him, V

Re: AW: Disabling Back Button in IE

2006-02-22 Thread Josh McDonald
des fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 23/02/2006 2:09:28 am >>> Just add docu

Re: [ANNOUNCE] Struts Central - When only Struts will Do

2006-03-01 Thread Josh McDonald
It's not? :) -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 02/03/

Validation Issue - Validation Not Taking Affect

2006-05-09 Thread josh t
I'm trying to set up a very basic(generic) validation with struts 1.1 (and tiles) and I can not get it to work. I'm not getting any errors or anything. Validation simply doesn't take affect. I believe I have everything in place. Here is some snippets from my file. Please let me know if you k

RE: Validation Issue - Validation Not Taking Affect

2006-05-09 Thread josh t
IL PROTECTED]> wrote: I am not 100% on this as I don't know the package "org.apache.struts.chain.commands.servlet.ValidateActionForm" very well, but try extending your form from ValidatorForm from: org.apache.struts.validator.ValidatorForm Harsh. -Original Message

Role-Based Menu Navigation

2006-05-09 Thread josh t
I want to build a role-based nested navigation menu : - Using Struts 1.1 with tiles - My menu.jsp will be used by all other JSPs (extension in the tiles def file) - The roles to build the menu will be retrived from the session. - I don't care about the java script part of the dropdown na

Re: Validation Issue - Validation Not Taking Affect

2006-05-09 Thread josh t
I've tried several things, but the form filed is not being validated. Am I doing the nested form attribute right in the validator.xml? josh t <[EMAIL PROTECTED]> wrote: I'm trying to set up a very basic(generic) validation with struts 1.1 (and tiles) and I can not get it

message-resources key/parameter

2006-05-10 Thread josh t
Can someone please explain to me how and where in my code I need to refer to message-resources key? When doing validation, how does the validator know where to loopup the ApplicationResources? Do I need to include the key somwhere in my validator.xml? Thanks!

Re: message-resources key/parameter

2006-05-10 Thread josh t
is the same as "key" in struts-config.xml) for a while, it was only actually supported since Struts 1.2.7 and Validator 1.1.4: http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section7_2 Niall On 5/10/06, josh t wrote: > > > > Can someone please expl

Basic

2006-05-10 Thread josh t
Greetings everyone: Objective: Retrieve an object from the session that contains a Collection of String for userRoles. Iterate through userRoles, and if one of the roles equals "SUPER" include a href. So this is what I have, but doesn't seem to be correct: .

RE: Basic

2006-05-10 Thread josh t
Thanks. Does anyone know where I can get some good reference material on Struts Tags? "Patil, Sheetal" <[EMAIL PROTECTED]> wrote: Hi there As my best knowledge your And supports for either int or boolean -Original Message- From: josh t [mailto:[EMAIL PROTECTED] Sen

extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
When my form extends Strut's ValidationForm instead of ValidatorActionForm, I get the following exception when my form gets loaded for the first time. Any idea what this is? Also, I've copied my sample form here. Please let me know what I'm doing wrong. Many Thanks! MY Form (Do I need the

RE: extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
: My Validator-rule.xml "Chaudhary, Harsh" <[EMAIL PROTECTED]> wrote: Could you also include of you validation.xml and struts-config.xml? Harsh. -Original Message- From: josh t [mailto:[EMAIL PROTECTED] S

RE: extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
irst thought was that you might be using an action as you validation key i.e., in validation.xml, instead of: you had: But this is not the case. So, I can't really tell why this is happening. Harsh. -Original Message- From: josh t [mailto:[EMAIL PROTECTED] Sent: Friday, Ma

RE: extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
first thought was that you might be using an action as you validation > key i.e., in validation.xml, instead of: > > > > you had: > > > > But this is not the case. So, I can't really tell why this is happening. > > Harsh. > > -Original Mess

RE: extending ValidationForm instead of ValidatorActionForm

2006-05-12 Thread josh t
I still get the same error with Struts 1.2.7. I get the error with both ValidationForm or when using ValidatorActionForm. josh t <[EMAIL PROTECTED]> wrote: Thanks Gary. So where should I be adding this method. I'm using struts 1.2.9. This probably has something to do with it, as

Are my jar versions in Synch?

2006-05-12 Thread josh t
My commons-validator.jar Implementation-Version is 1.1.3 My struts.jar Implementation-Version is 1.2.8 Are these Compatible? They're under your jar's MANIFEST.MF file. - Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for

Noob question...

2005-12-12 Thread Josh McDonald
, "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED] **

Re: Noob question...

2005-12-12 Thread Josh McDonald
Thanks, managed to get it working by re-writing a gang of code, so not sure what exactly was the culprit :| -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information

Apologies - Eclipse mailing list??

2005-12-13 Thread Josh McDonald
Hi, aplogies for the OT post, but is anyone here on the eclipse-general or wtp mailing list? I think the signup page is blocked by the admins here, so I can't get the subscribe address, and I'm wondering if any of you guys could mail it to me off-list? Cheers, -Josh -- "His

Re: Is JSF ready?

2005-12-13 Thread Josh McDonald
Last I checked servlets / jsp were part of J2EE. -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED] >>&g

Re: Is JSF ready?

2005-12-13 Thread Josh McDonald
Mainly I thought I'd interrupt the ranting :) And what's tomcat if it's not an implementation of JSP / Servlets, and hence a partial implementation of J2EE? -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the b

Input validation and repair

2005-12-18 Thread Josh McDonald
amework allows me to change the data if it's fixable, or just flag it as being bad? Cheers, -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61

Re: Input validation and repair

2005-12-18 Thread Josh McDonald
or now I've just got it in the validate() function of the view/form (not sure where struts terminology ends and local cruft terminology begins) and it's working just about perfect :) I'll definitely be coming back to these posts if I have any lists that need checking etc. Cheers, -Josh -

Re: Input validation and repair

2005-12-18 Thread Josh McDonald
Sweet, that's good to know. Not much use in an environment of such inertia and red tape tho :) I believe it'll be 1.1 for many moons after my contract is up -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was t

Re: how to show an image without its address or OutputStream ?

2005-12-19 Thread Josh McDonald
Nope. You can't include an image's data with the html in a request. You'll have to have a servlet dedicated to seving up images using response.getOutputStream(), and in your JSP use an URL for the servlet with an image ID or something similar, like the above post. -Josh --

Noob Q: "Failed to obtain specified collection"

2006-01-08 Thread Josh McDonald
kes? I've added bean references at the top of the JSP, they seem OK and don't trigger any errors. Cheers, -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Informa

Re: Noob Q: "Failed to obtain specified collection"

2006-01-09 Thread Josh McDonald
taining really "got the point" of struts, or OO design at all really /rant -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph:

user@struts.apache.org

2006-01-11 Thread Josh McDonald
Quick question, is it possible to make generate an id="" ? Or to generate a name="" that's not based on the name of the form bean? The whole setup of the taglib doesn't make a lot of sense from where I sit really :( Cheers, -Josh -- "His comrades fough

Re:

2006-01-12 Thread Josh McDonald
y you'd want to that. So I can have two forms that use the same form, mainly. Otherwise I need multiple entries in the "class->bean name" mapping section of the config file, which just seems unecessary to me. Just trying to clean up this application, it's got more duplica

Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Josh McDonald
ot;His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED]

  1   2   >