RE: Unit Test in struts

2004-01-21 Thread Shane Mingins
You could be thinking of StrutsTestCase but I am not sure if it will test your JSP pages? http://strutstestcase.sourceforge.net/ To test web pages you could look at Canoo WebTest http://webtest.canoo.com/webtest/manual/WebTestHome.html HTH Shane > -Original Message- > From: Vinicius C

[OT] Struts meets Swing

2003-12-09 Thread Shane Mingins
Just found these Someone may find them of interest (or not) :-) http://javaboutique.internet.com/tutorials/Swing/ <http://javaboutique.internet.com/tutorials/Swing/> http://javaboutique.internet.com/tutorials/Swing2/ <http://javaboutique.internet.com/tutorials/Swing2/>

RE: IDE

2003-11-19 Thread Shane Mingins
> -Original Message- > From: Larry Meadors [mailto:[EMAIL PROTECTED] > Sent: Thursday, 20 November 2003 3:44 a.m. > To: [EMAIL PROTECTED] > Subject: RE: IDE > For what I need to do today, eclipse is the one that sucks the *least*, > but make no mistake: it still sucks. Nice fast java editi

RE: Accessing a static final constant from Class in JSP

2003-11-17 Thread Shane Mingins
Just a thought ... if linkEdit is only used on the JSP's for Struts would it be better placed in the resources.properties file? Shane > -Original Message- > From: Jimmy Emmanual [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 18 November 2003 12:41 p.m. > To: 'Struts Users Mailing List' > Subj

[FRIDAY] Finally a game worth playing except if u belong to the S PCA

2003-11-06 Thread Shane Mingins
http://www.richsalter.btinternet.co.uk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[FRIDAY] Rugby World Cup joke

2003-11-06 Thread Shane Mingins
A man has tickets for the Rugby World Cup Final between New Zealand and Australia. As he sits down, another man comes and asks if anyone is sitting in the seat next to him. He replies, "The seat is empty." "This is incredible," said the man. "Who in their right mind would have a seat like this f

[OT] Could be work ($$) for someone?

2003-10-29 Thread Shane Mingins
s for the various survey... > > example: > > area computer > ...survey1: > ...survey2: > > area food > ...survey1: > ...survey2: > > the areas are container of the survey object, i will need to comunicate > with ejb for business logic... > sorry..i

RE: EVALUATION of TEST FRAMEWORKS

2003-10-22 Thread Shane Mingins
I would have thought it depends on what type of testing you are doing??? IOW is it [using XP terminology] Programmer Testing (was called Unit Testing) or Acceptance Testing?? One that I have had a quick look at and was recommended to me is Canoo WebTest http://webtest.canoo.com/webtest/manual/WebT

RE: [ANN] Struts and JavaServer Faces talk by Craig McClanahan on 11/ 5

2003-10-21 Thread Shane Mingins
And an offline copy. For those of us not local to the country :-) > -Original Message- > From: Ruth, Brice [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 22 October 2003 2:54 p.m. > To: Struts Users Mailing List > Subject: Re: [ANN] Struts and JavaServer Faces talk by Craig McClanahan on >

RE: Form Question

2003-10-21 Thread Shane Mingins
Here are my thoughts --- It sounds like a wizard type interaction where each 'next' step does something until the final result is achieved. So I would probably have a session scope action form collecting the cumulative inputs. The action form could also then provide the state info to your jsp.

RE: Defining Struts in Terms of PofEAA

2003-10-19 Thread Shane Mingins
s ago somebody responded to a similar question > breaking each component from the struts framework into the matching > design pattern(s). Try searching the list archives for it. > > > Pete > > -Original Message- > From: Shane Mingins [mailto:[EMAIL PROTECTED] >

RE: Defining Struts in Terms of PofEAA

2003-10-19 Thread Shane Mingins
er sees the state of the model and the "controller" is how the user > changes the state or provides input. > > Hope this helps, > > -Martin > - Original Message - > From: "Shane Mingins" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> >

Defining Struts in Terms of PofEAA

2003-10-19 Thread Shane Mingins
lease enlighten me? Thanks Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [FRIDAY] Free Dog.....

2003-10-16 Thread Shane Mingins
Ok so no attachments :-( http://fattyco.org/~beck/stephen/Free_Dog.jpg > -Original Message- > From: Shane Mingins [mailto:[EMAIL PROTECTED] > Sent: Friday, 17 October 2003 12:28 p.m. > To: '[EMAIL PROTECTED]' > Subject: [FRIDAY] Free Dog. > > Hi >

[FRIDAY] Free Dog.....

2003-10-16 Thread Shane Mingins
Hi A mate of mine is looking for a good home for their family's dog. He said it's really lovable and friendly with kids, but his wife said the dog makes her nervous when it stares at her (I know - weird - I thought the same thing). She wants it out of the house ASAP unfortunately. If you know o

RE: OT - book on Java patterns

2003-10-13 Thread Shane Mingins
Just noticed you mention DAO (Data Access Object). For a free book on EJB Design Patterns: http://www.theserverside.com/books/EJBDesignPatterns/index.jsp > > > -Original Message- > > From: Sasha Borodin [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 10, 2003 6:23 PM > > To: Struts

RE: OT - book on Java patterns

2003-10-13 Thread Shane Mingins
I can recommend (along with the GOF book which is really a reference book) Agile Software Development - Principles, Patterns, and Practices by Robert C. Martin. Examples are in a mixture of Java and C++ and very good examples. Source is here: http://www.objectmentor.com/resources/bookstore/books/

RE: Tools for Testing

2003-10-09 Thread Shane Mingins
e.html > to handle StrutsTestCase > and this could be automated... > beautiful, > -Martin > ----- Original Message - > From: "Shane Mingins" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Thu

RE: Tools for Testing

2003-10-09 Thread Shane Mingins
Also Canoo WebTest is a free open source tool for automated testing of web applications. http://webtest.canoo.com/webtest/manual/WebTestHome.html I am not sure how that compares with HtmlUnit? I had a quick look at StrutsTestCase but (as a novice) could not see how to use it to develop the "St

RE: help???? Missing message for key "index.titl

2003-10-09 Thread Shane Mingins
Reading that error message ... it looks like you have not defined a key index.title in your ApplicationResources.properties file. I though the message was different if it cannot locate the file. > -Original Message- > From: nothl [mailto:[EMAIL PROTECTED] > Sent: Friday, 10 October 2003 1

[FRIDAY] Yeah I know it's early ;-)

2003-10-08 Thread Shane Mingins
http://www.foulds2000.freeserve.co.uk/economists.htm

Handling Exceptions in ActionForm

2003-10-02 Thread Shane Mingins
le in the ActionForm and then have the validate() method check that collection and generate the required ActionErrors? Any thoughts? Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522 - To unsubsc

Can I Get the Index Value of Selected Option?

2003-09-30 Thread Shane Mingins
JavaScript? Any pointers, examples, resources etc would be great :-) Thanks Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: books and tutorials

2003-09-30 Thread Shane Mingins
> - Original Message - > From: "Carlos Llona" <[EMAIL PROTECTED]> > > Im new in Struts but its very interesting,but I dont find goob books > > or tutorials to download, please if anyone knows links send me plz > > First port of call -- the Struts site http://jakarta.apache.org/struts/

RE: element

2003-09-29 Thread Shane Mingins
If memory serves me correct was only supported by IE has that changed? Shane > -Original Message- > From: Graham Leggett [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 30 September 2003 4:48 a.m. > To: Struts Users Mailing List > Subject: element > > Hi all, > > I don't seem to

RE: Disabling Buttons on View

2003-09-25 Thread Shane Mingins
> -Original Message- > From: Karr, David [mailto:[EMAIL PROTECTED] > Sent: Friday, 26 September 2003 11:25 a.m. > To: Struts Users Mailing List > > > > But the ... disabled="<%=disable %> ... is not found. > > What do you mean "is not found"? Are you getting an error message? If > so,

RE: Disabling Buttons on View

2003-09-25 Thread Shane Mingins
: RE: Disabling Buttons on View > > you can try some thing like this. > > > > > > key="button.edit"/> > > > Thanks and Regards > Deepak. > > > -Original Message- > From: Shane Mingins [mailto:[EMAIL PROTECTED] > S

RE: [Poll] action mappings

2003-09-25 Thread Shane Mingins
> -Original Message- > From: Sgarlata Matt [mailto:[EMAIL PROTECTED] > Sent: Friday, 26 September 2003 8:55 a.m. > To: Struts Users Mailing List > Subject: Re: [Poll] action mappings > > When I am using design #3 my action mappings always specify that > validate="false". Those methods th

RE: [Poll] action mappings

2003-09-25 Thread Shane Mingins
> -Original Message- > From: Sgarlata Matt [mailto:[EMAIL PROTECTED] > Sent: Friday, 26 September 2003 2:14 a.m. > To: Struts Users Mailing List > Subject: Re: [Poll] action mappings > > OK, I think I understand #1 now. However, I still disagree with it ;) If > you are using the same for

Disabling Buttons on View

2003-09-24 Thread Shane Mingins
Hi If I wish to simulate the enable/disable of buttons that users are used to with a rich GUI on a JSP view, is there are nicer way than using the logic tags like this? Thanks Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522

RE: How to restore user selections when returning to a JSP?

2003-09-23 Thread Shane Mingins
Could you not have that page set to session scope so the set selected value is retained? There are tips on this page http://husted.com/struts/catalog.html regarding workflows that may be of help. Shane > -Original Message- > From: John Habbouche [mailto:[EMAIL PROTECTED] > Sent: Wednesda

RE: Refreshing Form Submission and Duplicates

2003-09-18 Thread Shane Mingins
I noticed this the other day at http://husted.com/struts/catalog.html Use the Action Token methods to prevent duplicate submits There are methods built into the Struts action to generate one-use tokens. A token is placed in the session when a form is populated and also into the HTML form as a hid

[FRIDAY] Save the Servers!

2003-09-18 Thread Shane Mingins
http://www.savetheservers.com/

RE: multiple submit redirect in action

2003-09-11 Thread Shane Mingins
Hi You could use JavaScript to set a field on the form to the value of the action. Also have a look at using DispatchAction http://husted.com/struts/tips/002.html And for the tips menu: http://husted.com/struts/tips/index.html HTH Shane > -Original Message- > From: Stephane Grenier [m

RE: YASJR (Yet Another Struts Justification Request)

2003-09-10 Thread Shane Mingins
Have u seen http://jakarta.apache.org/struts/volunteers.html Cheers Shane > -Original Message- > From: Gregory F. March [mailto:[EMAIL PROTECTED] > Sent: Thursday, 11 September 2003 12:03 p.m. > To: Struts Users Mailing List > Subject: Re: YASJR (Yet Another Struts Justification Request)

[OT] RE: J2EE IDE

2003-08-27 Thread Shane Mingins
IntelliJ provide a document on supporting & developing web apps with IntelliJ IDEA http://www.intellij.com/docs/html/webAppl.html http://www.intellij.com/docs/WebApps.pdf -Original Message- From: Paul Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2003 11:15 a.m. To:

[OT] RE: J2EE IDE

2003-08-27 Thread Shane Mingins
Well then most of the world are obviously a Fowler groupies. Metsker gets 4 stars on Amazon whilst Fowler gets 4 1/2. I have not read Metsker but the TOC suggests that these two books are quite different. From what I have browsed of PoEA it is not a "design patterns explained" typed book writte

RE: keys of MessageResources

2003-08-27 Thread Shane Mingins
Huh? Why not just do: // my file is called resources.properties ResourceBundle myResources = ResourceBundle.getBundle("resources", Locale.getDefault()); Enumeration enum = myResources.getKeys(); while (enum.hasMoreElements()) { String key = (String) enum.nextElement(); System.out.println("ke

RE: Struts, Tomcat, Hibernate - what the heck?

2003-08-26 Thread Shane Mingins
Maybe have a look at http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse. I think Matt Raible is using Hibernate and Struts in this application and he has posted to this mailing list. Not sure if that is of any help. Have u looked at any of the Struts examples at http://jakarta.apache.org/struts

RE: Re Small request...

2003-08-26 Thread Shane Mingins
Especially the 30 day trial version of Struts :-) -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 2:57 p.m. To: Struts Users Mailing List Subject: OT: Re Small request... and besides, by continuing to set my clock back none of my 30-day evals e

Generic Ok/Cancel Page

2003-08-25 Thread Shane Mingins
from. Cheers Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522

RE: Telling Users to Wait

2003-08-21 Thread Shane Mingins
I did something similar and used a refresh tag to update the screen whilst the process was running ... it would show % completed (in text i.e. 25% etc). I had my database processing running in a new thread. I had a session attribute BEEN_HERE, if that was null I start the process. When the pro

RE: action forward -> redirect

2003-08-14 Thread Shane Mingins
Have you seen this http://jakarta.apache.org/struts/userGuide/index.html ? -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 August 2003 3:14 p.m. To: Struts-Users Subject: Re: action forward -> redirect never mind - found the redirect attribute. Alth

[So Far OT it's kinda Funny] - [OT] WAY off-topic . . . don't bother flaming & RE: major weirdness with c:forEach & html-el:text

2003-08-14 Thread Shane Mingins
Suggest rec.arts.comics and less coffee ;-) -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 August 2003 2:30 p.m. To: 'Struts Users Mailing List' Subject: RE: major weirdness with c:forEach & html-el:text This is becoming more prevalent: questions ab

RE: Jason Meredith/LDN/FIMAT is out of the office.

2003-08-14 Thread Shane Mingins
Yey ... a whole week of out office replies ... thanks :-) -Original Message- From: Jason Meredith [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 August 2003 12:01 p.m. To: Struts Users Mailing List Subject: Jason Meredith/LDN/FIMAT is out of the office. I will be out of the office startin

RE: J2EE certified

2003-08-14 Thread Shane Mingins
So where's the Struts question? -Original Message- From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 August 2003 2:01 p.m. To: 'Struts Users Mailing List' Subject: RE: J2EE certified I meant getting a web application certified -Original Message- From: Raghu.R

[FRIDAY] Childern

2003-08-14 Thread Shane Mingins
To those of you who have children in your lives, whether they are your own, grandchildren, nieces, nephews, or students ... here is something to make you chuckle. Whenever your children are out of control, you can take comfort from the thought that even God's omnipotence did not extend to Hi

RE: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

2003-07-24 Thread Shane Mingins
lol -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, 25 July 2003 3:29 p.m. To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action] If received in error, please destroy and notify sender Wouldnt

RE: OT Posts on this List almost [FRIDAY]

2003-07-24 Thread Shane Mingins
lol -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Friday, 25 July 2003 11:15 a.m. To: Struts Users Mailing List Subject: Re: OT Posts on this List almost [FRIDAY] Yansheng Lin wrote: > I thought it's already Firday in Munich, no? > > And I think Mark made a va

RE: How do I implement a Master/Detail maintenance form?

2003-07-16 Thread Shane Mingins
b applications. >It was a design decision I made sometime ago >for our product. But it is still an open/challenging >question in my mind. >Jing - Original Message - From: "Shane Mingins" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'&qu

RE: How do I implement a Master/Detail maintenance form?

2003-07-16 Thread Shane Mingins
> are lost. Do you have any workaround for this > > senario? > > It is not clear to me that such use of multiple > > forms is valid > > or not. Just my thoughts for a quite long time with > > an assumption that we do not combine the master form > > and the detail form

How do I implement a Master/Detail maintenance form?

2003-07-15 Thread Shane Mingins
product details, to select the product to edit I need to provide a key to identify that product. I can use a link but then any changes to the supplier are not kept as the link does not submit the form. Thanks Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522

RE: Iterating the resultset contents in the view (jsp)

2003-07-14 Thread Shane Mingins
Hi Richard For what it is worth this is how I am doing it: My form has a Collection called products which contains product objects. A product has a name and description. The id value "product" is then used to refer to each object in the collection in a bean write statement, displaying the name a

Test Driven Development with Struts

2003-07-14 Thread Shane Mingins
new to TDD & Struts and would like to start on a good track :-) Thanks Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

RE: accessing more than 1 formbean in an action class

2003-07-14 Thread Shane Mingins
Hi Can you not just retrieve the object from the request/session? I had a form in session scope that I access from other action classes like so: MyForm form = (MyForm)request.getSession().getAttribute("MyForm"); Shane -Original Message- From: Madhu Nair [mailto:[EMAIL PROTECTED] Sent

RE: [FRIDAY] Burnt Ashes

2003-07-10 Thread Shane Mingins
awyers Award Contest. ONLY IN AMERICA > > >Shane Mingins >Analyst Programmer >Assure NZ Ltd >Ph 644 494 2522 > > > > Do you have any supporting documentation that it's a true story, I looked for newspaper articles, but all I came up with was that this story was

[FRIDAY] Burnt Ashes

2003-07-10 Thread Shane Mingins
ail and a $24,000.00 fine. This is a true story and was the 1st place winner in the recent Criminal Lawyers Award Contest. ONLY IN AMERICA Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522 - To unsubscribe, e-ma

RE: Struts Developers Needed

2003-07-10 Thread Shane Mingins
Hm . Projected Project Quality Graph 100 | |x | x | x | x Quality % |x | x

Representing a 1->m relationship. Any suggestions to the best approach?

2003-07-01 Thread Shane Mingins
uggestions for improvements? Thanks Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts and database

2003-06-18 Thread Shane Mingins
Hi Andy Programming Jakarta Struts - Chuck Cavaness Source: http://examples.oreilly.com/jakarta/ Professional Struts Applications: Building Web Sites with Struts, Object Relational Bridge, Lucene, and Velocity Source: http://web.wrox.com/download/code/professional/7817.zip Both of these use OJB

RE: Making Value Objects Into Form Objects

2003-06-18 Thread Shane Mingins
Hi Matt I was just browsing thru your source code. I am not familiar with XDoclet but have I got this correct... You have UserForm (generated from User using XDoclet) which extends BaseForm and then have UserFormEx extending UserForm. Boy that was a mouthful :-) Cheers Shane >Of course, you

RE: Struts Studio

2003-06-17 Thread Shane Mingins
You should probably have a look at Scioworks Camino then also. There is a list of all these tools etc here: http://jakarta.apache.org/struts/resources/tools.html HTH Shane P.S. FYI, JBuilder 9.0 claims added Struts support but I have never seen any specifics. -Original Message- From

RE: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread Shane Mingins
Hey has anyone tried the new version of JBuilder? It claims "Struts Support" and I would love to know if that claim actually realises into faster development for developers. P.S. IntelliJ IDEA is fantastic! It's just a joy to code with :-) -Original Message- From: Max Cooper [mailto:[E

RE: unit test in presentation layer

2003-06-10 Thread Shane Mingins
I cannot provide detailed suggestions but I was discussing this sort of issue with Bryan Dollery last night http://www.devx.com/Java/Article/9305/0 http://www.greenpulse.com/gpl.html /> He suggested that the action classes would not directly talk to the business layer but there would be a workflo

Application Layering

2003-06-05 Thread Shane Mingins
for example the Products) in a JSP and then add and update them displaying the changes? I hope I have used the correct terminology in asking these questions. Thanks in advance for any pointers/comments/questions Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2

RE: Basic CRUD

2003-06-03 Thread Shane Mingins
I ended up using links instead. I have a links alongside each record with parameters action and record key for UPDATE, READ, DELETE. And then I have an Add button at the bottom of my form to do the CREATE action. I think I would rather have links than buttons (IMO they look nicer and fit better)

RE: Dynamic value in a Tag

2003-06-03 Thread Shane Mingins
I do that using: Where name is the field in the ActionForm class with setters and getters ... setName(), getName(). The setName() is called from the associated Action class. HTH Shane -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Tuesday, 3 June 2003 3:47 a.m.

Can I set the src of html:img from a bean?

2003-05-30 Thread Shane Mingins
s is using: But I thought if I could use html:img it would be tidier. TIA Shane Shane Mingins Analyst Programmer Assure NZ Ltd Ph 644 494 2522 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Basic CRUD

2003-05-29 Thread Shane Mingins
Hi Eric I do not know if what I can provide will help. I have only been using Struts for a month. Your post was almost identical to one I was about to send so I was hoping to see some replies to yours. Anyhow what I have so far is this (an Edit): [I refer to a Distribution Channel entity which