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
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
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" />
>
>
>
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
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
"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
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
Context().getSession();
> attributes.put("CHART", null);
> this.chart = chart;
> attributes.put("CHART", this.chart);
> }
>
> public JFreeChart getChart() {
>return chart;
>}
&
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
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
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.
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
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,
> >
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
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
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
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
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.
>
>
> > 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
-
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
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
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
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
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
Hi,
How to enable logging in S2? I added log4j.jar and isDebug statements in my
actions, but do not see any messages.
Leena
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
What is the best way to learn AJAX and struts 2 development? Is there any
good article ? I have just started learning AJAX.
Leena
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
28 matches
Mail list logo