RE: Message Resources from DB

2005-11-17 Thread Mick Knutson
=49385&package_id=1 > 49742 > > And I know the team is working on a solution to be included in > Commons-Resources and hopefully Struts 1.3.. but I may be wrong about > that. > > Brian Russell > www.closerware.com > > > -Original Message- > Fr

[ot]Hashtable like fifo que?

2005-11-17 Thread Mick Knutson
I am trying to create a FIFO que that I can add items, then they fall off like a standard FIFO, but, I want to be able to get an item from the que like a Hashtable. I.E. Object obj = fifoQue.get("stringKey"); "MMS " made the following annotations. -

RE: Message Resources from DB

2005-11-16 Thread Mick Knutson
Can you send me the solution to that? I don't have that book, I have an older version without that solution. -Original Message- From: Brian Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 12:58 PM To: 'Struts Users Mailing List' Subject: RE: Message Resources from DB

RE: returning user to the page they where on when they submitted the form?

2005-11-16 Thread Mick Knutson
they submitted the form? in ur action mappings in struts-config.xml , u can specify the input="" and so whenevr u want the user to return to the input page, u can say mapping.getInput() anf forward the user to the page they were on when they submitted the form HTH Deepa On 11/16/05, Mi

RE: [ANNOUNCE] Release of Commons Validator 1.2.0

2005-11-15 Thread Mick Knutson
get ibiblio updated. Niall - Original Message - From: "Mick Knutson" <[EMAIL PROTECTED]> Sent: Tuesday, November 15, 2005 11:42 PM > When will this be available in the ibiblio Maven Repository? > > -Original Message- > From: Niall Pemberton [mai

RE: [ANNOUNCE] Release of Commons Validator 1.2.0

2005-11-15 Thread Mick Knutson
When will this be available in the ibiblio Maven Repository? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 3:30 PM To: Struts User Jakarta Subject: [ANNOUNCE] Relase of Commons Validator 1.2.0 The Jakarta Commons Validator team is ple

returning user to the page they where on when they submitted the form?

2005-11-15 Thread Mick Knutson
I have a tile component that I use many places in my app, and I want to return the user back to the page they where on when they submitted the component form. How can I do this? "MMS " made the following annotations. --

best way to add a confirmation dialog when submitting a struts form?

2005-11-15 Thread Mick Knutson
I have a dispatchAction form that is submitted, and I want to show a confirmation (ok/cancel) dialog when I click submit. What is the best struts way to do this please? "MMS " made the following annotations. -- Warning:

RE: [ot] utility to verify if an Object implements all methods from Interface?

2005-11-08 Thread Mick Knutson
No, I am using the BeanUtils.copyProperties(target, orig); -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 12:57 PM To: Struts Users Mailing List Subject: Re: [ot] utility to verify if an Object implements all methods from Interface? Mick

RE: [ot] utility to verify if an Object implements all methods from Interface?

2005-10-28 Thread Mick Knutson
ernatively, you can use reflection to get a list of the methods it contains and do your checks against that. Frank Mick Knutson wrote: > I have some generated Objects that I CAN"T make implement my given > interface, but I would like to run a test at startup time, if the > Object h

[ot] utility to verify if an Object implements all methods from Interface?

2005-10-27 Thread Mick Knutson
I have some generated Objects that I CAN"T make implement my given interface, but I would like to run a test at startup time, if the Object has all the methods it is suppose to have? "MMS " made the following annotations. --

RE: [ot] Need Design help for Axis ComplextTypes to ActionForms please...anyone?

2005-10-19 Thread Mick Knutson
I am forced to use the Websphere Axis libraries, and yes generate classes just fine. But I can't get them to adhere to MY interface, or MAKE these Types extend an Abstract Class of my own. At least that I can see. I also have about 1,000 different types being generated in our project. So, is there

[ot] Need Design help for Axis ComplextTypes to ActionForms please...anyone?

2005-10-19 Thread Mick Knutson
me type of interface between my ActionForms and my ComplextTypes? Besides going through by hand each time there is an update and making changes by hand, then having to verify by hand that the changes get reflected in my ActionForms? Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc.

[ot]Date utilitiy to take date String, add a day, and return sql date?

2005-10-17 Thread Mick Knutson
I need to see if anyone has a utility to take a String date, add 1 day, and return a java.sql.Date -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect --- "MMS " made the following a

Re: startup time validator validation?

2005-10-11 Thread Mick Knutson
of the > >validation.xml forms at startup time if possible. > > > > > > Regards, > David > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks Mick Knutson (925) 9

Re: startup time validator validation?

2005-10-11 Thread Mick Knutson
It could be at build time just fine, but I am using maven. So how could I integrate this into my build then? Dave Newton wrote: > Mick Knutson wrote: > > >I am trying to figure out if there is a way to have the Validator > >framwork verify that the form element na

startup time validator validation?

2005-10-11 Thread Mick Knutson
, on the field that is mismatched. So I would like to be able to enforce the validating of the validation.xml forms at startup time if possible. -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect --- "MMS " made the

Re: bean:message with dynamic key?

2005-10-05 Thread Mick Knutson
Can you please explain this a bit more?: If you're using , (JSTL 1.0 on a Servlet 2.3 container,) you should be using the Struts-EL tags instead of the original ones. Then you can use an ${expression} for the 'key' attribute. Wendy Smoak wrote: > From: "Mick Knu

bean:message with dynamic key?

2005-10-05 Thread Mick Knutson
I want to write a bean:message with a dynamic key such as: So that my ApplicationResources.properties can display: foobar = A combined key resulting in text. Can anyone help with this? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE

Re: tag question about identifying a specific item in acollection

2005-10-01 Thread Mick Knutson
et an error about missing a parameter/header/name What am I missing? Murray Collingwood wrote: > Will the following work? > > > > > > > > > > > > > > Kind regards > mc > > > On 29 Sep 2005 at 15:41, Mick Knutson w

Re: tag question about identifying a specific item in acollection

2005-09-29 Thread Mick Knutson
Thanks so much! Murray Collingwood wrote: > Will the following work? > > > > > > > > > > > > > > Kind regards > mc > > > On 29 Sep 2005 at 15:41, Mick Knutson wrote: > > > I have a collection of cards. and

tag question about identifying a specific item in a collection

2005-09-29 Thread Mick Knutson
I have a collection of cards. and I want to create a table fo thos cards, but if I get to a card where foo=bar, then I want to paint that row as a form with updateable fields and 1 submit for just that row. How would I do this please? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services

Re: get MessageResources Key from tiles

2005-08-09 Thread Mick Knutson
Thanks. Dave Newton wrote: > Mick Knutson wrote: > > >What is this used for though: > > > > > >? I don't know what someOtherParam is for, or where it comes from. > > > > > I believe that would be a parameter replacement for the resource? > &

Nested navigation items not working

2005-08-09 Thread Mick Knutson
e jsp: Mick Knutson wrote: > I have started to use the menu.jsp example to create a dynamic menu for > my application. > But the

Re: get MessageResources Key from tiles

2005-08-09 Thread Mick Knutson
What is this used for though: ? I don't know what someOtherParam is for, or where it comes from. Wendy Smoak wrote: > From: "Mick Knutson" <[EMAIL PROTECTED]> > > >I have the following tag in my defaultLayout: > > > > > > and

a jsp as a navigation item?

2005-08-09 Thread Mick Knutson
with a static jsp, but want to use a more dynamic tiles creation, but can't figure out how to create dynamic URL's with the menu.jsp example. Any help? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect --- "MMS "

get MessageResources Key from tiles

2005-08-09 Thread Mick Knutson
I have the following tag in my defaultLayout: and I want to show the label.default.title text from my ApplicationResources.properties file instead of my page showing: "label.default.title" How can I do this please? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Servic

Re: How can I use my DTO POJO's as ActionForms?

2005-08-09 Thread Mick Knutson
Do you have some examples of both viewing, and posting of such nested pojo's? Michael Jouravlev wrote: > Instead -- no. But you can use them as nested properties. > > On 8/8/05, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I have many DTO's and do not wan

Re: My first JAAS implementation. Part 2

2005-08-08 Thread Mick Knutson
submit a Struts form to a Struts action and then invoke my > LoginModule? Is it something to do with writing a CallbackHandler? > > > > Your help and time is appreciated.. (Hate saying that but it sums it up > nicely). > > > > > > - >

How can I use my DTO POJO's as ActionForms?

2005-08-08 Thread Mick Knutson
I have many DTO's and do not want to duplicate code my creating ActionFOrms that are identical to my DTO's. Can I used the DTO's instead of ActionForms? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect ---

Re: submitting an array of objects with 1 submit?

2005-07-28 Thread Mick Knutson
g displayed in the consumer screen, and this displays > > all the cards the consumer has. Also the card.status needs to be updated > > the same time the consumer is updated. > > How would I be able to have this 1 page update the consumer and the > > consumers cards? >

Re: submitting an array of objects with 1 submit?

2005-07-27 Thread Mick Knutson
the consumer has. Also the card.status needs to be updated > the same time the consumer is updated. > How would I be able to have this 1 page update the consumer and the > consumers cards? > > -- > > Thanks > Mick Knutson > (925) 951-4126 > HP Consulting Services >

need 2 parameters for html:link

2005-07-06 Thread Mick Knutson
s an action method on my LookupDispatchAction that needs to be called when I click this link. Thanks in advance for your help. -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect --- "MMS &qu

Re: How to access the first item in a Collection in a JSP?

2005-07-06 Thread Mick Knutson
about... > >><%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> > >> > >> > >> -- > >> Wendy Smoak > >> > >> ----- > >> To unsubscribe, e-mai

Re: How to access the first item in a Collection in a JSP?

2005-07-06 Thread Mick Knutson
Wel, I catually have something like form.cards[0].cardNumber, but it is also not an array. It is a collection. Wendy Smoak wrote: > From: "Mick Knutson" <[EMAIL PROTECTED]> > > > I have a Collection in my ActionForm, and want to access just the > > first object

How to access the first item in a Collection in a JSP?

2005-07-06 Thread Mick Knutson
I have a Collection in my ActionForm, and want to access just the first object in that Collection. How can I do this? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect --- "MMS " made the following a

Re: c:out not finding values that are in a pojo, inside an actionForm.

2005-06-29 Thread Mick Knutson
Not exactly. test1 actually is a pojo. Then there is a value in there called lastPinChangeDate or getLastPinChangeDate(). And nothing I have tried will print that value out at all. Kjersti Berg wrote: > On 6/28/05, Dave Newton <[EMAIL PROTECTED]> wrote: > > Mick Knutson wrote: &

c:out not finding values that are in a pojo, inside an actionForm.

2005-06-28 Thread Mick Knutson
a:1017) at org.apache.struts.taglib.bean.DefineTag.doEndTag(DefineTag.java:232) at org.apache.jsp.WEB_002dINF.default_.body.consumer_jsp._jspService(org.apache.jsp.WEB_002dINF.default_.body.consumer_jsp:384) -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services S

Re: unable to print nested values with bean:write, or c:out

2005-06-28 Thread Mick Knutson
pojo, and not an action form? Wendy Smoak wrote: > From: "Mick Knutson" [EMAIL PROTECTED]> > >I modified what I was trying with this: > > > >?bean:define id="lastPinChangeDate" name="consumerValidatorForm" > > property="c

Re: unable to print nested values with bean:write, or c:out

2005-06-27 Thread Mick Knutson
java.lang.Thread.run(Thread.java:534) 19:02:50,970 ERROR [InsertTag] ServletException in '/WEB-INF/default/body/consumer.jsp': Invalid argument looking up property consumerActivity.la stPinChangeDate of bean consumerValidatorForm Mick Knutson wrote: > I have an ActionForm (consumerValida

unable to print nested values with bean:write, or c:out

2005-06-27 Thread Mick Knutson
date in that object as I do a print in my action. -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Architect --- "MMS " made the following annotations.

RE: form problem

2004-08-20 Thread Mick . Knutson
Try the Bean.populate() method. This will make copying from different beans much easier. -Original Message- From: Lucero, Dennis M [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 5:53 PM To: [EMAIL PROTECTED] Subject: form problem Does anyone know how to do this or why it does n

RE: OT - How to add icon in browser url field

2004-07-06 Thread Mick . Knutson
Are you talking about the "Address:..." field of the browser? If so, just create an icon and call it "favicon.ico" and put it into your root HTML directory. Then it just works -Original Message- From: David Gagnon [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 1:42 PM To: 'Str

RE: Validation: How do I do a field check for NotEqual? (!=)

2004-07-01 Thread Mick . Knutson
I am having trouble getting a field check for a NOTEQUAL. How would I implement that? --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- --

Validation: How do I do a field check for NotEqual? (!=)

2004-07-01 Thread Mick . Knutson
I am having trouble getting a field check for a NOTEQUAL. How would I implement that? --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- ---

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 12:12 PM > To: [EMAIL PROTECTED] > Subject: Using 1 Validator definition for 2 different forms? > > > How can I Use 1 Validator definition for 2 different forms? > > > --- > > Thanks... > > Mick Knu

Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
How can I Use 1 Validator definition for 2 different forms? --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- - To unsubs

Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
How can I Use 1 Validator definition for 2 different forms? --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- - To unsubs

RE: Validation Mask help please

2004-06-24 Thread Mick . Knutson
: "1 letter, followed by 4 digits, a hyphen, then 3 digits" A8345-123 Can someone help with this REGEX please: ^[A-Za-z]\d{4}-\d{3}$ --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAI

RE: Validation Mask help please

2004-06-24 Thread Mick . Knutson
lease: ^[A-Za-z]\d{4}-\d{3}$ --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Validation Mask help please

2004-06-24 Thread Mick . Knutson
I have the following field validation: mask ^[A-Za-z]\d{4}-\d{3}$ I want to have a MAC address like follows _OLNY_: "1 letter, followed by 4 digits, a hyphen, then 3 digits" A8345-123 Can someone help with this REGEX please: ^[A-Za-z]\d{4}-\d{3}$ --- > Thanks... &

[ot]Help with classpath issues in my ant script.

2004-06-23 Thread Mick . Knutson
7) at org.apache.tools.ant.Main.runBuild(Main.java:596) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) Total time: 1 second C:\opt\ice> --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 941

RE: Struts, War files, and WebLogic

2004-06-10 Thread Mick . Knutson
Sounds like you have a security realm on WebLogic that is causing this. Is this a fresh install? -Original Message- From: David Meyer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 1:44 PM To: [EMAIL PROTECTED] Subject: Struts, War files, and Weblogic I have a war file that I am

Validating multiple DTO's within a single ActionForm.

2004-06-03 Thread Mick . Knutson
we go about doing this? --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[ot]Common-logging in EJB.jar issue

2004-06-02 Thread Mick . Knutson
er (com.wf.bd.ice.creditapplication.CreditApplicationManager_9j600a_Impl). log4j:WARN Please initialize the log4j system properly. [DEBUG] TilesRequestProcessor - -processForwardConfig(.acceptanceAgreement, false) I added the 2 properties files into my ear and my ejb.jar. But no luck --- >

RE: validator.xml usage

2004-06-02 Thread Mick . Knutson
arameter="function" > > input="somepage.jsp" <--- goes to this page > if validation > fails > > /> > > > > if you want to use javascript toowith the same setup > > (validation.xml, > validator-rules.xml) u ca

RE: validator.xml usage

2004-06-01 Thread Mick . Knutson
t; > Rodrigo Oliveira > [EMAIL PROTECTED] > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 01, 2004 5:15 PM > Subject: validator.xml usage > > > > Is the validator.xml just for clien

RE: validator.xml usage

2004-06-01 Thread Mick . Knutson
n rules. > > []´s > > Rodrigo Oliveira > [EMAIL PROTECTED] > > > - Original Message - > From: > To: > Sent: Tuesday, June 01, 2004 5:15 PM > Subject: validator.xml usage > > > > Is the validator.xml just for client-side validation? Or

WHO IS shaikh.sohrab@rave-tech.com?

2004-06-01 Thread Mick . Knutson
.xml usage > Is the validator.xml just for client-side validation? Or also for > server-side validation > > > --- > > Thanks... > > Mick Knutson > > > > 525 Market Street, SF, CA 94103 &g

RE: validator.xml usage

2004-06-01 Thread Mick . Knutson
gt; Sent: Tuesday, June 01, 2004 5:15 PM Subject: validator.xml usage > Is the validator.xml just for client-side validation? Or also for > server-side validation > > > --- > > Thanks... > > Mick Knutson > > > > 525 Market Street, SF, CA 94103 &g

RE: validator.xml usage

2004-06-01 Thread Mick . Knutson
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 4:15 PM To: [EMAIL PROTECTED] Subject: validator.xml usage Is the validator.xml just for client-side validation? Or also for server-side validation --- > Thanks... > Mick Knutson > > 525 Market

validator.xml usage

2004-06-01 Thread Mick . Knutson
Is the validator.xml just for client-side validation? Or also for server-side validation --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- ---

RE: jsp problem

2004-06-01 Thread Mick . Knutson
This is because the webserver looks for processing everything after mydomain.com except for */examples, which is delegated to tomcat. You need to configure tomcat and apache to delegate all requests on mydomain.com/*.jsp to Tomcat. -Original Message- From: Charles Jordan [mailto:[EMAIL PR

RE: I need an html:submit to act as html:link

2004-05-28 Thread Mick . Knutson
Is there a JavaScript item that will do that? Or CSS? -Original Message- From: ksitron [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 2:47 PM To: Struts Users Mailing List Subject: I need an html:submit to act as html:link I need the cursor to change when over an html:submit button

RE: Tiles definitions accessing jsps in a foreign context

2004-05-27 Thread Mick . Knutson
Whoops. Yes, mine is deploy time fix. -Original Message- From: Carlos Sanchez [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 2:56 PM To: 'Struts Users Mailing List' Subject: RE: Tiles definitions accessing jsps in a foreign context Not at building time, at runtime you can access

RE: Tiles definitions accessing jsps in a foreign context

2004-05-27 Thread Mick . Knutson
I actually have a /web/common DIR that I have ant add to each of my web modules. Is that what you mean? -Original Message- From: Carlos Sanchez [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 2:45 PM To: 'Struts Users Mailing List' Subject: Tiles definitions accessing jsps in a for

RE: Can I have multiple ApplicationResources from the same locale ?

2004-05-26 Thread Mick . Knutson
That is so if the key does not exist, you will get ???bundle.key.attr??? instead of a null string. -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 11:44 AM To: Struts Users Mailing List Subject: Re: Can I have multiple ApplicationResources fro

RE: Can I have multiple ApplicationResources from the same locale ?

2004-05-26 Thread Mick . Knutson
And then in the use the 'bundle=""' attribute on the bean:write tag to specify the additional bundle to use, if different than the default. -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 11:38 AM To: Struts Users Mailing List Subjec

RE: struts is giving error on weblogic81

2004-05-17 Thread Mick . Knutson
We might be interested in this. We are creating a new app on WLS 8.1 currently. Are there a list of specific items that are being fixed associated with WLS8.1? -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 8:30 AM To: Struts Users Mailing List

Validating a composite object?

2004-05-05 Thread Mick . Knutson
t; BI.Type |--> 1..* OI |--> OI.SSN |--> 1..* PROD For example, the BI.EIN# can not be the same as the OI.SSN# on any of the OI's if the BI.Type is _NOT_ "Sole Proprietor". Can anyone help with a way to design my val