Re: Dynamically generating multiple sets of radio buttons

2018-03-03 Thread Dave Weis
08:19:36.086 ERROR CartAction - 13000=5600 08:19:36.086 ERROR CartAction - 2000=500 Thank you! dave On Sat, Mar 3, 2018 at 1:17 AM, Yasser Zamani <yasserzam...@apache.org> wrote: > > > On 2/27/2018 4:37 PM, Dave Weis wrote: > > > value="1500"/>HOTTER >

Re: Dynamically generating multiple sets of radio buttons

2018-02-27 Thread Dave Weis
e.g., something > JavaScript-y, then all this is out the window and we’d need more > information. > > Dave > > On Sat, Feb 24, 2018 at 5:00 PM Dave Weis <djw...@sjdjweis.com> wrote: > > > Hello > > > > I am trying to make multiple sets of radio buttons

Re: Dynamically generating multiple sets of radio buttons

2018-02-25 Thread Dave Weis
; String representation; // e.g., “radio”, “dropdown”, etc. > List items; // The things to show > } > > If it depends on actions *taken* in the view layer, e.g., something > JavaScript-y, then all this is out the window and we’d need more > information. &g

Dynamically generating multiple sets of radio buttons

2018-02-24 Thread Dave Weis
Hello I am trying to make multiple sets of radio buttons with independent lists of valid options. The options are all generated dynamically. I'm having trouble figuring out how to declare the item list provider in my java code. I have it working fine for a single item. With the sample below I

Re: newFixedThreadPool in struts2

2018-02-09 Thread Dave Weis
It's still accessible: public void sessionCreated(HttpSessionEvent hse) { final HttpSession session = hse.getSession(); logger.debug("session created"); session.setAttribute(KEY, new Clickstream()); } public void sessionDestroyed(HttpSessionEvent hse) {

Re: How to find location of an action

2017-12-28 Thread Dave Weis
On Thu, Dec 28, 2017 at 1:55 AM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2017-12-27 21:06 GMT+01:00 Dave Weis <djw...@sjdjweis.com>: > > Would it be a correct assumption that changing the property > > struts.convention.relative.result.types to add 'tiles' woul

Re: Action url

2017-12-27 Thread Dave Weis
I'm doing something similar and extended ActionSupport to put helpers to access the user session and the site they went to in the first place. On Dec 27, 2017 2:51 PM, "Tamás Barta" wrote: > For example there is a web application which has a LoginAction action. On > one

Re: How to find location of an action

2017-12-27 Thread Dave Weis
On Wed, Dec 27, 2017 at 1:22 PM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2017-12-27 18:12 GMT+01:00 Dave Weis <djw...@sjdjweis.com>: > > Which direction would you recommend? I'll probably have around 100 > actions > > on this project and 300 or so JSP pages

Re: How to find location of an action

2017-12-27 Thread Dave Weis
On Wed, Dec 27, 2017 at 11:43 AM, Yasser Zamani <yasserzam...@apache.org> wrote: > On 12/27/2017 8:42 PM, Dave Weis wrote: > > It would make things substantially > > more convenient but I like the declarative method so there's no question > as > > to intention. >

Re: How to find location of an action

2017-12-27 Thread Dave Weis
On Wed, Dec 27, 2017 at 10:41 AM, Yasser Zamani <yasserzam...@apache.org> wrote: > On 12/27/2017 7:52 PM, Dave Weis wrote: > > I do have the struts-convention plugin loaded and removing it fixed my > > problem!! > > > > Where was it trying to find the success f

Re: How to find location of an action

2017-12-27 Thread Dave Weis
On Wed, Dec 27, 2017 at 10:14 AM, Yasser Zamani <yasserzam...@apache.org> wrote: > On 12/27/2017 7:01 PM, Dave Weis wrote: > > Where it gets odd is that if I change that action definition to the > > following and completely stop and start Tomcat from Eclipse I sti

How to find location of an action

2017-12-27 Thread Dave Weis
I'm having an odd interaction/problem with Struts, eclipse, and Tomcat. I have this in my struts.xml file: /landing.jsp /landing.jsp /reload.jsp I can access /auth/logout2 correctly and can access /auth/reload correctly. The body of the execute method in both actions is nearly

Re: Unable to use 'categories' in an action name

2017-12-12 Thread Dave Weis
Thank you so much for your help - I appreciate it. I ended up just renaming the action and corrected the other pages pointing to it. dave On Sun, Dec 10, 2017 at 11:56 PM, Yasser Zamani <yasserzam...@apache.org> wrote: > > > On 12/10/2017 6:06 PM, Dave Weis wrote: >

Re: Unable to use 'categories' in an action name

2017-12-10 Thread Dave Weis
The productcategories vs categories was just to see if there was a collision in a different action definition. The full stack trace follows. The previous email contained my corrected struts.xml definition with only a couple actions. Thanks for looking at it dave Struts Problem Report Struts

Re: Unable to use 'categories' in an action name

2017-12-10 Thread Dave Weis
can't get to /commerce/categories successfully but /commerce/knobhead works fine at the same time. commerce.categories commerce.categories 2017-12-10 6:43 GMT-06:00 Yasser Zamani <yasserzam...@apache.org>: > > > On 12/9/2017 9:12 PM, Dave Weis wrote: > >

Unable to use 'categories' in an action name

2017-12-09 Thread Dave Weis
I hope this is something simple I've missed. I am unable to use the word 'categories' as an action name inside a package. Duplicating the action definition with a different name works fine. I've reproduced it as far as I can understand but there is something else going on. Relevant struts config

Re: Problems making SEO friendly URLs

2017-12-08 Thread Dave Weis
I was using the 'normal' method with forms and tiles. The problem ended up being that I was inheriting my namespaces from 'struts-default' instead of 'default' so tiles weren't activated in that namespace. The last couple webapps I wrote were on struts 1 so it's been an adjustment. I do enjoy not

Problems making SEO friendly URLs

2017-12-07 Thread Dave Weis
Hello I'm trying to set up an action to make attractive URLs but I'm not having success. Below is the struts.xml file and the error. Any help would be appreciated! Thanks dave Messages: There is no Action mapped for namespace [/commerce] and action name [dave/1/2] associated with context path

Multiple Page Form

2017-12-04 Thread Dave Weis
Hello All- I wanted to see what the current best practice was for a multiple web page form. I was used to Struts 1 and putting the form in the session but that doesn't seem to be available now. I have just been putting the values as hidden form fields but that doesn't seem quite correct. Thanks

Re: Odd results with get vs post for an action and form

2017-10-15 Thread Dave Weis
On Sun, Oct 15, 2017 at 1:30 AM, Yasser Zamani <yasser.zam...@live.com> wrote: > > On 10/15/2017 4:23 AM, Dave Weis wrote: > > If I set the method in the form to "get" it works fine but if I > > leave it to default to "post" I receive the following erro

Odd results with get vs post for an action and form

2017-10-14 Thread Dave Weis
Hello I'm having an odd problem trying to make a simple form that submits to an action. If I set the method in the form to "get" it works fine but if I leave it to default to "post" I receive the following error. Thanks for any help dave --- ERROR Dispatcher