-
With Firefox browser the code is working fine. When I tried using IE, it gave me the runtime error for which I posted my question under thread "Struts JWP:Response not seen in std:InnerHTML".
The same code works fine in firefox.
Then I tried by removing the struts tag from the second jsp and after removing all the tags it works fine in IE.
Is there any soln to use the code...
2009-02-02 22:22:47 UTC in Java Web Parts
-
I added the form tag to the "row" jsp and its working now.
This is what I added:
<html:form action="/holidays">
I really wonder whats happening in the backend, as you can see I have 2 jsps, main and "row" jsp.
I am including the row jsp using include tag
<%@ include file="testContent.jsp"%>
what happens now, wont it have two forms...
2009-02-02 20:25:35 UTC in Java Web Parts
-
Adding to that,
my web.xml had the following :
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
actually servlet spec 2.2
I changed this to
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"...
2009-02-02 15:58:17 UTC in Java Web Parts
-
my servlet spec is 2.3 and the jsp name is test.jsp
I didnt insert the taglib uri=... to my jsp file, if I insert it nothing is returned as output.
But its wokring for all other jsps where I have struts tags.
Here goes my jsp :
<%@ taglib uri="javawebparts/ajaxparts/taglib" prefix="ajax" %>
<%
String n = (String)request.getAttribute("testName");.
2009-02-02 15:55:13 UTC in Java Web Parts
-
This is the content from view source :
<td colspan="2" class="standardtablenormalcellMatrix" width="60%">test2
<html:select name="holidaysForm" property="selRegionName" styleclass="inputSelectBox">
<html:options property="regionList">
</html:options>...
2009-02-02 10:28:16 UTC in Java Web Parts
-
My main page is working fine. It does has some struts tag in it.
I saw thru firebug that the struts tags are directly copied to the div secion thru ajax, its not converted to html tags. I guess thts why the output is not displayed. How to make the "row" jsp compiled to that the struts tags gets converted to html.
2009-02-02 10:23:57 UTC in Java Web Parts
-
Hi,
I am trying to alter data in a table using Ajax. The options are add or delete a row.
I followed the example given in cookbook.
I have a separate jsp which will have the row values, lets say with 3 columns as below :
<tr>
<td class="standardtablenormalcellMatrix" width="60%">test2
<td class="standardtablenormalcellMatrixC"...
2009-02-01 14:45:09 UTC in Java Web Parts
-
Hi Herman,
I was going thru other threads in this forum and got the answer for my last comment.
There were 2 things I corrected.
1. My output format [proper alignment of html tags]
2. I used for
<span id="records"> </span>
and its working now.
I really appreciate for the quick answers from you and Frank.
I hardly see any docs when i...
2009-01-30 15:00:35 UTC in Java Web Parts
-
Hi Herman,
I will leave the drop down part for now, for the issue returing text message from Action, I missed to close the PrintWriter [how did I?:( ].
Thanks very much. Its working now in FireFox.
But in IE it says runtime error. I have detailed that in the first message of this thread. How to avoid this?
My clients use both IE and FireFox, so I have to confirm that the...
2009-01-30 14:05:49 UTC in Java Web Parts
-
Adding to my previous comment, as you suggested I tried switching to stdAlerter for my table display, its empty, nothing is returned as output.
2009-01-30 10:31:36 UTC in Java Web Parts