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 wrote: > 2016-05-23 3:01 GMT+02:00 Nick Broadhurst : > > Hello, > > > > I have an interc

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. Impleme

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 obj

Re: Two Docs from One Link/Action

2011-09-16 Thread Nick Broadhurst
u 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 > To: > Struts Users Mailing

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: application/msword inputStream filename="Med-Rec-Request.rtf" 1024 Grasped

Re: Multiple matches with single

2011-06-29 Thread Nick Broadhurst
ing 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

Re: Multiple matches with single

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 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 using > the antiquated

Re: Emails

2011-06-14 Thread Nick Broadhurst
Ollbogh On Jun 14, 2011 9:48 AM, "Eric Reed" 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? > > > > > - > To unsubs

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 ironic . Nick On Fri, Mar 25, 2011 at 9:02 AM, Dave Newton wrote: > I knew there had to be somethi

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 d

Re: Handling dynamic set of radio buttons

2011-02-17 Thread Nick Broadhurst
names. > > dave > On Feb 17, 2011 12:04 PM, "Nick Broadhurst" wrote: > > Hi Folks, > > > > I have a set of radio buttons and text fields that display based on user > > selections from prior page. This code: > > > > > > > > > l

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: displays it fine and names the radio/text inputs, but is there any other way to accept this info in my submit action than hard coding the field

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
; > > > *** I'm not fully sure that this format works. > > On 29 January 2011 05:54, Brajesh Patel wrote: > > I think it is possible with transient > > > > if you don't want to change field in the data base then use variable as > > transi

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: Both fields show the full date and time. Perfect. I need the creation date to go back in unchanged on form submit. Tried this: But only populates the date into hidden field and when it goes bac

Re: UpDownSelect & JPA

2010-11-05 Thread Nick Broadhurst
our 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 : >> Hi All, >> >> I am us

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 db