Re: Article: Skin Web applications using Xkins (with Struts)

2004-10-25 Thread Langdon Stevenson
Hi Guillermo Thanks for posting that link. Just what I needed to see. I am about to look at implementing skins for my current web app, so it was timely. Regards, Langdon Guillermo Meyer wrote: If anyone is interested in skinning a Struts web application, you can read this article at http://www.

Displaying multiple messages from a resouce file

2004-10-20 Thread Langdon Stevenson
I made a post on Sunday asking if there was an easy way (taglib) to display a random number of messages from a resource file. I took the deafening silence to mean no, so I went ahead and investigated the options. In the end it was easiest to extend the bean:message tag. My new version takes two

Displaying multiple messages from a resource bundle

2004-10-17 Thread Langdon Stevenson
Hi I need to display multiple paragraphs of text taken from a resource bundle in a page and am trying to understand how it can be done. I am sure I have seen it explained somewhere on the web, but haven't been able to find it again. For instance, following is the resource file entry: message.t

Iterating through nested sets of objects

2004-10-12 Thread Langdon Stevenson
Hi I am trying to output the contents of a set of nested Objects in a JSP page using the taglib. I have three objects that are persisted using Hibernate: 1. Student - (contains a HashSet of Project called 'projects') 2. Project - (contains a HashSet of Url called 'urls') 3. Url - (contains a strin

Re: Seeking advice for buying a Struts book

2004-09-29 Thread Langdon Stevenson
I know what you are saying, Langdon, but warn you that a lot of those solutions on the Googling are really poor solutions. I am sure you know that already. Is there a "definitive" resource anywhere for Struts tips, patterns and example code for common problems/questions ( possibly something li

Re: Seeking advice for buying a Struts book

2004-09-28 Thread Langdon Stevenson
Hi I am in a pretty similar position to you in that I am now to Struts (also new to Java). I downloaded the Jakata Struts Live PDF document and worked through the tutorials there in. See: http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss Others in my team have the book

Re: Seeking advice for buying a Struts book

2004-09-28 Thread Langdon Stevenson
Hi I am in a pretty similar position to you in that I am now to Struts (also new to Java). I downloaded the Jakata Struts Live PDF document and worked through the tutorials there in. See: http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss Others in my team have the book

Wizard back button solution

2004-09-16 Thread Langdon Stevenson
I hit a wall with validation in my wizard today. The Next and Cancel functionality worked fine, validating using automatic validation and forwarding just fine, and canceling when Cancel was clicked. The problem was with the Back button. As it was a regular Image Submit button it caused the vali

Implementing Back, Next, and Cancel buttons in a wizard

2004-09-13 Thread Langdon Stevenson
Hi I have gotten down to the business end of implementing my wizard. I wish to use "image" buttons based on the input tag, rather than Submit and Cancel version. I have looked at, and experimented with the Struts custom tag. It allows me to use images of my choice for the buttons to make th

Re: Bean tag and session data issue

2004-09-11 Thread Langdon Stevenson
pplication without having to continually build and deploy. This will save a significant amount of time and trauma. Now its back to building JWebUnit tests. My favorite pass time. I just love seeing them all pass :-) Regards, Langdon Langdon Stevenson wrote: Hi Bill Indeed I do have scope set to &q

Re: Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
My appology to the list. Outlook Express and a weak wireless connection confused me and I sent this message multiple times. Langdon > Hi Bill > > Indeed I do have scope set to "session" in struts-config.xml. - To unsubscribe,

Re: Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
gt; struts-config.xml? If so, I'd take it through a debugger. > > - Bill Siggelkow > > Langdon Stevenson wrote: > > > Having overcome my validation problem with help from the list (thanks > > Bill) I now find myself banging my head against another wall. -

Re: Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
gt; struts-config.xml? If so, I'd take it through a debugger. > > - Bill Siggelkow > > Langdon Stevenson wrote: > > > Having overcome my validation problem with help from the list (thanks > > Bill) I now find myself banging my head against another wall. -

Re: Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
gt; struts-config.xml? If so, I'd take it through a debugger. > > - Bill Siggelkow > > Langdon Stevenson wrote: > > > Having overcome my validation problem with help from the list (thanks > > Bill) I now find myself banging my head against another wall. -

Re: Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
gt; struts-config.xml? If so, I'd take it through a debugger. > > - Bill Siggelkow > > Langdon Stevenson wrote: > > > Having overcome my validation problem with help from the list (thanks > > Bill) I now find myself banging my head against another wall. -

Re: Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
gt; struts-config.xml? If so, I'd take it through a debugger. > > - Bill Siggelkow > > Langdon Stevenson wrote: > > > Having overcome my validation problem with help from the list (thanks > > Bill) I now find myself banging my head against another wall. -

Re: Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
gt; struts-config.xml? If so, I'd take it through a debugger. > > - Bill Siggelkow > > Langdon Stevenson wrote: > > > Having overcome my validation problem with help from the list (thanks > > Bill) I now find myself banging my head against another wall. -

Re: Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
gt; struts-config.xml? If so, I'd take it through a debugger. > > - Bill Siggelkow > > Langdon Stevenson wrote: > > > Having overcome my validation problem with help from the list (thanks > > Bill) I now find myself banging my head against another wall. -

Bean tag and session data issue

2004-09-08 Thread Langdon Stevenson
Having overcome my validation problem with help from the list (thanks Bill) I now find myself banging my head against another wall. I now have a multi-page form backed by an ActionForm and an Action that appears to work fine (stepping from one page to the next, accepting input, validating it, s

Re: Validating single fields in multi-page forms

2004-09-08 Thread Langdon Stevenson
rm extends ValidatorActionForm (or DynaValidatorActionForm) and you specify the path to the action for the form name in the validation.xml ... ... for this action, only these fields will be validated... Bill Siggelkow Langdon Stevenson wrote: Hi I have a multi-page form (about 8 pages total) that take

Re: where to go next (after submit)

2004-09-04 Thread Langdon Stevenson
David Stevenson wrote: On 4/9/04 8:26, "Dan Allen" <[EMAIL PROTECTED]> wrote: This workflow seems to make the most sense. Doesn't work in all cases - after deleting something, I'd rarely want to have a screen that says "this is what you deleted", in that case I would go to the index page. This i

Validating single fields in multi-page forms

2004-09-04 Thread Langdon Stevenson
Hi I have a multi-page form (about 8 pages total) that take just a few fields per page that I am implementing in Struts (this is my first Struts project). I have succeeded in setting up and implementing validation using the Validator Framework. Each page passes a "page" number and all validat

Re: where to go next (after submit)

2004-09-04 Thread Langdon Stevenson
Hi Dan I agree entirely with you on this front. I follow the same sort of process myself when saving data from forms. My personal preference is to be able to see the data that I have saved, and (if necessary) be able to edit any silly mistakes that I may have made. This is especially true of

Re: Hibernate VS ibatis, which is better?

2004-09-02 Thread Langdon Stevenson
>As it stands today, a team has three major choices in data access libraries: > > 1. Roll your own persistence layer using the stock data access libraries (JDBC) > > 2. Use an Object-Relational-Modeling (ORM) Tool, like Hibernate or Apache OJB or > Sun's JDO > > 3. Use a Data Mapper framework,