Ylva Degerfeldt wrote:
Hi everyone,
...
Maybe I could use the onclick attribute of s:submit but I don't know
the syntax for sending a value to the Action there. (Isn't that
javascript?)
Can somebody please help me with this?
Thanks in advance!
/Ylva
Are you asking on how to get
Dave Newton wrote:
--- On Fri, 8/29/08, James Neff wrote:
s:form id=myForm name=myForm
action=OriginalAction theme=simple
input type='button' onclick=myJavaScriptMethod();
value='button label here'/
/s:form
In the head section:
function myJavaScriptMethod
Felipe Lorenz wrote:
Hi..
Did you try change in web.xml file? Change from index.jsp to
your_action.action!! i dont know if it work...
Felipe.
On Thu, Aug 21, 2008 at 7:24 AM, Roger [EMAIL PROTECTED] wrote:
Sorry, I know that I've read about this here before, but I can't find the
thread.
cpanon wrote:
Hello
What is the best way to return simple text/html or an xml document from an
action? Do I have to forward to a servlet and open an output stream and write
the stream? Is there a simpler/better way? tia.
I'm not sure what your asking but just recently I have added a
I am trying to find a good example of how to use Crystal Reports XI with
Struts 2.
I found this:
http://www.jroller.com/njain/entry/crystal_reports_plus_struts
But the code does not work. I need to see the struts.xml example and the
author doesn't provide a list of required jar's.
I see
James Neff wrote:
I am trying to find a good example of how to use Crystal Reports XI
with Struts 2.
I found this:
http://www.jroller.com/njain/entry/crystal_reports_plus_struts
But the code does not work. I need to see the struts.xml example and
the author doesn't provide a list
I'm trying to add a tooltip to an s:a tag. I couldn't get the tooltip
attribute to work so now I am trying to get a tooltip via an onmouseover
Javascript. The Javascript code works and I get my tooltip but the text
in the tooltip I want when I create the s:a tag.
Here is my code:
Lukasz Lenart wrote:
Hi,
Try
s:iterator value=codes
s:a href=# onmouseover=ddrivetip('%{codeDescription}', 300)
onmouseout=hideddrivetip()
s:property value=code/
/s:a
/s:iterator
Regards
Thank you!
--James
-
I'm trying to get an s:label tag to also have a tool-tip but it doesn't
seem to be working.
Here is the documentation I am trying to follow:
http://struts.apache.org/2.0.11.1/docs/label.html
Here is my code:
s:iterator value=codes
s:label
I'm trying to get an s:label tag to also have a tool-tip but it doesn't
seem to be working.
Here is the documentation I am trying to follow:
http://struts.apache.org/2.0.11.1/docs/label.html
Here is my code:
s:iterator value=codes
s:label value=%{code}
10 matches
Mail list logo