Re: Passing Query String to Action through Interceptor

2016-05-23 Thread Nick Broadhurst
Wow! I am embarrassed I did not know that and had not come across it yet. Of course it resolved the issue. Thank you very much, Nick On Mon, May 23, 2016 at 1:39 AM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2016-05-23 3:01 GMT+02:00 Nick Broadhurst <hou1...@gmail.com

Passing Query String to Action through Interceptor

2016-05-22 Thread Nick Broadhurst
Hello, I have an interceptor that is working fine except the query string is not being passed on to the action from the interceptor. iro/IroCaseFORM.jsp URL: http:///EditIroCase.action?id=123 Action is an existing one that I am adding the interceptor to.

Re: Editing a JPA entity

2016-01-07 Thread Nick Broadhurst
Just to make sure - you are POSTing the object back to the action and THEN merging the entity correct? Not just calling the merge function in the action from the page? Sorry, I had to ask because it sort of sounds like that is what you are saying. I am using Struts2 and JPA and I routinely post

Two Docs from One Link/Action

2011-09-16 Thread Nick Broadhurst
Hi folks, Trying to generate an additional document from a link/action that already generates one. Here is my config: code action name=MedRequest class=action.WordAction method=MedicalRecordsRequest result name=success type=stream param

Re: Two Docs from One Link/Action

2011-09-16 Thread Nick Broadhurst
you form your e-mail into a question? What are you trying to accomplish? Do you want the user to be able to download two documents at the same time? Do you want links to the documents? What didn't work? From: Nick Broadhurst hou1...@gmail.com To: Struts Users Mailing List user

Re: Multiple matches with single logic:match...

2011-06-29 Thread Nick Broadhurst
...antiquated Struts tags... you're concerning me. That's all I use. On Wed, Jun 29, 2011 at 10:17 AM, Dave Newton davelnew...@gmail.com wrote: How about using JSTL? It's the recommended solution when both it and Struts tags provide equivalent functionality, and it's arguably better than

Re: Multiple matches with single logic:match...

2011-06-29 Thread Nick Broadhurst
recommends using JSTL when functionality overlaps. JSTL didn't exist when the first iterations of S1 tags were developed :) If you're using Struts 2 there's less of an advantage, but the OP is on S1. I've tended to use S2 tags for most stuff in S2 apps. Dave On Jun 29, 2011 11:30 AM, Nick

Re: Emails

2011-06-14 Thread Nick Broadhurst
Ollbogh On Jun 14, 2011 9:48 AM, Eric Reed ere...@mail.nysed.gov wrote: After registering for this mailing list about a month ago I have been receiving spam emails from Ghanna every other day. Is anyone else receiving these?

Re: [OT] Re: Could somebody tell me where can I find struts2 sample maven archetypes?

2011-03-25 Thread Nick Broadhurst
Dave, It only matters when you don't have one. How ironichttp://www.wired.com/magazine/2010/12/pr_burningquestion_legalwarning/ . http://www.wired.com/magazine/2010/12/pr_burningquestion_legalwarning/Nick On Fri, Mar 25, 2011 at 9:02 AM, Dave Newton davelnew...@gmail.com wrote: I knew there

JPA Collection Update on Post

2011-03-21 Thread Nick Broadhurst
Hi Guys, JPA background: I have a Demographics entity that has as one of its properties a Collection of MedicalRecordsReceived entities. Each MedicalRecordsRecieved entity has as one of its properties a Demographic object. OK, When I pull the Demo entity and display in page using s:iterator to

Handling dynamic set of radio buttons

2011-02-17 Thread Nick Broadhurst
Hi Folks, I have a set of radio buttons and text fields that display based on user selections from prior page. This code: s:iterator value=deniedAreas status=rowstatus s:property/ s:radio name=conclusion.radio%{#rowstatus.index} list=#{'Yes':'Yes','No':'No'}/s:radio

Re: Handling dynamic set of radio buttons

2011-02-17 Thread Nick Broadhurst
of the field names. dave On Feb 17, 2011 12:04 PM, Nick Broadhurst hou1...@gmail.com wrote: Hi Folks, I have a set of radio buttons and text fields that display based on user selections from prior page. This code: s:iterator value=deniedAreas status=rowstatus s:property/ s:radio

Rtf Templating

2011-02-07 Thread Nick Broadhurst
Hi Folks, A client provided me with a bunch of documents to serve up to users through the browser with fields populated from DB, some PDFs and some RTF/Word docs. I have the PDFs handled beautifully with iText, but was wondering if they are any options (open-source) for the RTF/Word docs? I found

Re: Another Date Time Format

2011-01-29 Thread Nick Broadhurst
that this format works. On 29 January 2011 05:54, Brajesh Patel brajeshpate...@gmail.com wrote: I think it is possible with transient if you don't want to change field in the data base then use variable as transient. On Sat, Jan 29, 2011 at 9:58 AM, Nick Broadhurst hou1...@gmail.com

Another Date Time Format

2011-01-28 Thread Nick Broadhurst
Hi, I am displaying two date-time fields from my demographics object which populates from the DB: s:date name=demographics.creationDate/ s:date name=demographics.lastModificationDate/ Both fields show the full date and time. Perfect. I need the creation date to go back in unchanged on form

Re: UpDownSelect JPA

2010-11-05 Thread Nick Broadhurst
-shape your DB design IMHO. If you expect multiple values for an entity property why do you declare as a plain string? You should consider to represent as at least an integer array (or even as an entity). 2010/11/5 Nick Broadhurst hou1...@gmail.com: Hi All, I am using the struts2

UpDownSelect JPA

2010-11-04 Thread Nick Broadhurst
Hi All, I am using the struts2 updownselect for getting multiple selections from user. It is populated by a list and works great as long as only one item is selected. The datatype in mysql where the field is being persisted to is a string. If one item is selected, the ID (listKey) goes into the