Re: Invoking Javascript function from Struts 1.3

2010-12-23 Thread Dennis Atkinson
Thanks to the repliers! Tom, your solution is perfect.  Thank you! Dave, I might have been unclear as to what I was looking for.  I wasn't specifically looking to get the tag working; I was just looking for a solution, with whatever would possibly help. Dennis

Invoking Javascript function from Struts 1.3

2010-12-22 Thread Dennis Atkinson
Greetings all. I have a problem invoking Javascript that I can't seem to solve.  I'm hoping someone here has run into the same kind of thing.   When I am iterating through a List of items to display (via the tag), one cell I am trying to write has to be a link to a Javascript function, with th

Re: Struts2 / Hibernate Question

2009-10-24 Thread Dennis Atkinson
/ Hibernate Question Hm, interesting. I checked against my configurations. I have in my WEB-INF/lib spring.jar, all necessary hibernate archives and the configuration of filters is done as described in the link I already posted. Best Eduard Dennis Atkinson schrieb: > OK, that's good.

Re: Struts2 / Hibernate Question

2009-10-23 Thread Dennis Atkinson
estion Hi Dennis, sorry i don't know anything about FullHibernatePlugin. I am using only the OpenSessionInView-approach. The Google delivers several threads to this topic. It seems to be rather interesting problem. Regards Eduard Dennis Atkinson schrieb: > Eduard, > > I thought

Re: Struts2 / Hibernate Question

2009-10-23 Thread Dennis Atkinson
y request from the Database/second level cash. The Eager >> Initialization does not work for two or more Lists in the class :( >> >> Regards >> Eduard >> >> >> Dennis Atkinson schrieb: >> >> Hello all. >> >>> I am running into

Struts2 / Hibernate Question

2009-10-23 Thread Dennis Atkinson
Hello all. I am running into the infamous "closed session" issue, whereby I get a LazyInitializationException on a lazy-initialized foreign key relationship. The issue, as I understand it, is that the session is closed before the lazy-initialized objects need to be read from the database, so t

Re: Question about 'if' tag

2009-09-24 Thread Dennis Atkinson
mind what Wes was writing about, hidding a link is not > suficient. > > Best greetings, > Paweł Wielgus. > > 2009/9/23 Dennis Atkinson : > > I have gone through Pawel's example and it is not working for me. > > > > Here is the iterator: > > > >

Re: Question about 'if' tag

2009-09-23 Thread Dennis Atkinson
like: > or > > > > Which simply is naming your iterator variable to "iter" and use it in if tag, > depending on struts2 version it will be id or var. > > Best greetings, > Paweł Wielgus. > > > 2009/9/23 Dennis Atkinson : >> Hi all. >> &

Question about 'if' tag

2009-09-23 Thread Dennis Atkinson
Hi all. In my Struts2 application, I have a collection of Customer objects, and various users have the rights to edit some of them and not others. I have created a Struts iterator tag, and in the iterator, I put the various Customer attributes into an HTML table. All this works. In one cell

Re: How to prevent validations from running?

2009-09-22 Thread Dennis Atkinson
he submit button [2] [1] http://struts.apache.org/2.1.6/struts2-core/apidocs/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.html [2] http://struts.apache.org/2.1.6/docs/submit.html On Tue, Sep 22, 2009 at 11:10 AM, Dennis Atkinson < dennisatkinson...@yahoo.com> wrote: > Hi

Re: How to prevent validations from running?

2009-09-22 Thread Dennis Atkinson
om running? Are you running Struts 1 or 2? How is your button causing a redirect? On Tue, Sep 22, 2009 at 10:00 AM, Dennis Atkinson < dennisatkinson...@yahoo.com> wrote: > Hi all. > > I have a data entry page with a button to redirect to another page. > Problem is, pressing tha

How to prevent validations from running?

2009-09-22 Thread Dennis Atkinson
Hi all. I have a data entry page with a button to redirect to another page. Problem is, pressing that button causes all validations to run on every field in the page. I want to immediately get away from that page without having to enter data. I know that if I redirect to the "input" method,

Re: New to Struts, a Question

2009-08-02 Thread Dennis Atkinson
the trick to this? Thanks, Dennis ____ From: Dennis Atkinson To: Struts Users Mailing List Sent: Thursday, July 30, 2009 1:18:12 PM Subject: Re: New to Struts, a Question Thanks to all who helped with this - I understand it better now. Dennis _

Re: New to Struts, a Question

2009-07-30 Thread Dennis Atkinson
gt; > > > On Wed, Jul 29, 2009 at 8:40 PM, Dave Newton wrote: > > > Dennis Atkinson wrote: > > > >> Dave, > >> > >> OK, I can make it work. I just don't understand WHY it works. > >> > >> If I change to this: My > >

Re: New to Struts, a Question

2009-07-29 Thread Dennis Atkinson
09 5:49:04 PM Subject: Re: New to Struts, a Question Dennis Atkinson wrote: > The menu says: > My Acccount > > Can I direct this to an action class, rather than to a jsp file? Action URLs are URLs like any other, including a JSP. Dave --

Re: New to Struts, a Question

2009-07-29 Thread Dennis Atkinson
7; control to your user action. On 7/29/09, Dennis Atkinson wrote: > Hello everyone. > > I am new to Struts2, and I like what I see so far. I want to use it for all > my web programming. > > I have a question, and I hope I don't sound too foolish for asking it. > &g

New to Struts, a Question

2009-07-29 Thread Dennis Atkinson
f these tables? Am I reading this right? I hope one of the experts can clear this up for me. Thanks in advance, Dennis Atkinson