Re: How to specify namespace for s:submit.

2009-03-02 Thread Leena Borle
Hi, Yes, can submit two different actions. It's the problem with namespace. I don't see a way to specify namespace for tag. I guess, I will have to add JavaScript. I don't want to use two separate forms. Thanks For the help, Leena On Sun, Mar 1, 2009 at 5:52 AM, Dave Newton wrote: > Zarar S

How to specify namespace for s:submit.

2009-02-27 Thread Leena Borle
Hi, Probably this questions has been asked before, but could not find answer on the list. How do I specify namespace for tag ? I have two buttons in the from and both of them call different action from different name space. These are not AJAX actions I tries using and also tried to give just

Re: s:property tag with action attribute of form/submit

2009-01-14 Thread Leena Borle
That worked, Thanks for the help. Leena On Wed, Jan 14, 2009 at 1:23 PM, Christian Priebe wrote: > Hey, > > since %{actionUrl} is simple OGNL you should be able to use it directly in > the s:submit-Tag like this: > > targets="dummy_div" /> > > >

s:property tag with action attribute of form/submit

2009-01-14 Thread Leena Borle
Hello, I want to use s:property tag in action attribute of s:submit, like this, " theme="ajax" targets="dummy_div" /> Is this possible ? I am getting errors while compiling this JSP . I even tried ". Doesn't work. Leena

Re: problem with s:inputtransferselect

2008-12-08 Thread Leena Borle
Hi, It is of type "ArrayList". It does renders fine. Leena > Without a "key" or "name" attribute, from the way all the other tags work, > I wouldn't expect it to work right. If you're saying the select box is being > rendered properly with a name (and you've verified the form values are being > s

Re: problem with s:inputtransferselect

2008-12-08 Thread Leena Borle
"list" > attribute was what populated the control. > > Dave > > > --- On Mon, 12/8/08, Leena Borle <[EMAIL PROTECTED]> wrote: > > > From: Leena Borle <[EMAIL PROTECTED]> > > Subject: problem with s:inputtransferselect > > To

problem with s:inputtransferselect

2008-12-08 Thread Leena Borle
Hi, I am having problem with the tag "s:inputtransferselect". All I have is a list defined inside a bean. This bean is used by action to add/edit the values. I see all the values except values of this tag does not get reflected back to the action. Am I missing something in this tag ? My Jsp cod

Re: Struts 2 And JFreeChart

2008-08-06 Thread Leena Borle
Context().getSession(); > attributes.put("CHART", null); > this.chart = chart; > attributes.put("CHART", this.chart); > } > > public JFreeChart getChart() { >return chart; >} &

Re: Struts 2 And JFreeChart

2008-08-05 Thread Leena Borle
Hello, See if this helps you. I have a form with remote DIV which displays chart after user clicks on submit. Trick here is to generate chart object, store it in session and display it in separate JSP. Remove the form part if you want to display just the dynamic-DIV using Chart image. Form.jsp

Re: JFreeChart plugin

2008-05-13 Thread Leena Borle
rom the documentation on WebLogic 9.2.2 and it > ran > fine. I built off that example code and now have several actions creating > nice 3D pie charts. Which application server are you using? > > Regards, > Randy Burgess > Sr. Web Applications Developer > Nuvox Communicatio

JFreeChart plugin

2008-05-13 Thread Leena Borle
Hello, Has anyone tried out JFreeChart plugin? I am trying to run the sample code available on plugin documentation page. I see all ASCII characters getting printed on my browser screen instead of an image file. Any help is appreciated. Thanks, Leena.

s:doubleselect problem

2008-05-08 Thread Leena Borle
Hi, I have struts 2.0.11. I am getting following exception when I use s:doubleselect tag. I referred to struts2-showcase example to use this tag in my application. Any ideas on what can be wrong ? Leena Exception is -- ==> ${parameters.formName} [on line 98, column 41 in template/si

Re: combining Struts-2 with Struts-1 application.

2007-11-21 Thread Leena Borle
ht help. It doesn't let us run Struts 1 taglibs from Struts > 2, but it can wrap the Struts 1 Action classes. > > -Ted. > > On Nov 20, 2007 2:29 PM, Leena Borle <[EMAIL PROTECTED]> wrote: > > Hi, > > I followed simple approach suggested by Ted which says, > >

Re: combining Struts-2 with Struts-1 application.

2007-11-20 Thread Leena Borle
Hi, I followed simple approach suggested by Ted which says, "The simplest thing is to let the Struts 1 portion answer the *.do URIs and let the Struts 2 portion answer the *.action URIs. Everyone can share session and application scope as needed. One page can submit to the other portion, just inc

Form based User Authentication in struts 2

2007-10-26 Thread Leena Borle
Hi, I have added "Form Based" Tomcat Authentication for my struts-2 application. It works foine if I have just the login form in my login.jspas, However I wan to add link to registration page in the same login page , e.g. ">Register If I add this line to the login.j

Struts 2 and Tomcat JDBCRealm

2007-10-24 Thread Leena Borle
Hi, I am trying to add user authetication using tomcat JDBCRealm in my struts-2 application. But I don't seem to get it working. Has anyone tried it ? I have configured web.xml and my context.xml for "Form" based validation. but after I click submit, it goes back to error page described in web

Re: combining Struts-2 with Struts-1 application.

2007-10-05 Thread Leena Borle
Thanks a lot, This article looks promising. Leena On 10/4/07, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > > I would start here -> > http://struts.apache.org/2.0.9/docs/struts-1-plugin.html > > -W > > On 10/4/07, Leena Borle <[EMAIL PROTECTED]> wrote: > &g

combining Struts-2 with Struts-1 application.

2007-10-04 Thread Leena Borle
Hi , I have started developing my application using Struts-2. Now my requirement is I need to use another application(separate WAR file) with this new one. This other application is written strut1 framework. My question is how do I make calls to the actions in struts-1 from my jsps/actions.

Re: Struts2+Spring2 Beans+Hibernate

2007-09-26 Thread Leena Borle
> > > > 2) Can anyone point me to a sample Struts2 web-app > > that uses Spring2 Beans with Hibernate. > > Did you take a look at this example at, http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html It is complete with all possible combinations with Strus2 Leena -

Re: Spring tutorial

2007-09-24 Thread Leena Borle
Hi, Using a Spring JDBC Template in struts 2 is fairly simple. You can take a look at this article, http://cwiki.apache.org/WW/spring.html and also, Part-3 Ch.11 of Spring Reference manual. I have used it and I like it because you really don't have to worry about DB con

Windows Vista and strust 2

2007-09-15 Thread Leena Borle
Hi all, I still have no luck with my problem that I described before in previous emails, has anybody installed tomcat-struts2 on windows vista and been successful doing it ? Especially calling actions from Submit button fails on my application. Leena Problem is I have this strange pro

struts 2 and Windows Vista

2007-09-10 Thread Leena Borle
Hi, I have this strange problem. I have struts2 web application running on my tomcat/linux very well. Recently I moved Tomcat server on my Windows Vista laptop and when I try to execute any S2 action using this tomcat, Firefox browser throws error saying, "Firefox has detected that the server i

Re: using css with struts 2

2007-08-02 Thread Leena Borle
Hi, Do you have your form's theme set to css_xhtml ? Leena On 7/31/07, Session A Mwamufiya <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a page with various strut objects in a form (buttons, textfields, > and listboxes), and would like to be able to control the layout. I tried > using a css fil

Re: s2: Logging

2007-07-13 Thread Leena Borle
Hi, I did not add log4J.xml in the classpath. I am following "mailreader" tutorial and did not see any in that application too. Do I have to add it explicitly ? Leena On 7/13/07, Dave Newton <[EMAIL PROTECTED]> wrote: Perhaps more importantly, do you have a log4j xml or properties configurati

s2: Logging

2007-07-12 Thread Leena Borle
Hi, How to enable logging in S2? I added log4j.jar and isDebug statements in my actions, but do not see any messages. Leena

Re: How to control the display of Struts2 tags like s:textfield

2007-07-09 Thread Leena Borle
You can try this, set the theme of your form to css_xhtml . If you have any css classe, you can just call them within form elements like .e.g. Leena On 7/9/07, Dale Newfield <[EMAIL PROTECTED]> wrote: TonyD wrote: > I have the same problem with a checkbox tag, > if a use the ccsStyle="colo

AJAX and Struts2

2007-06-19 Thread Leena Borle
What is the best way to learn AJAX and struts 2 development? Is there any good article ? I have just started learning AJAX. Leena

email field validation in struts-2

2007-06-04 Thread Leena Borle
Hi, I have just started learning Struts-2. I am using sruts2-blank application on Tomcat server. I added email field in login file. Problem I have is validation is failing. Even if I put email address in email field, framework comes back with the error message from my validation.XML file(Email fi