Strtus2 tags IE issue error loading page 200 ok

2008-07-28 Thread dynamicd
Hi, I am new to Struts2 and I am having a problem displaying content with IE. It works fine in Firefox. I am using Struts2, Acegi for login, Hibernate for ORM and struts2 ajax tags for display I have a parent tabbed panel and a child tabbed panel. Once I login everything works fine however afte

Re: Strtus2 tags IE issue error loading page 200 ok

2008-07-28 Thread dynamicd
please help ! SOS dynamicd wrote: > > Hi, > > I am new to Struts2 and I am having a problem displaying content with IE. > It works fine in Firefox. > I am using Struts2, Acegi for login, Hibernate for ORM and struts2 ajax > tags for display > > I have a parent tabb

Re: Strtus2 tags IE issue error loading page 200 ok

2008-07-30 Thread dynamicd
Error loading '/Dashboard/ViewOMTable.action?dojo.preventCache=1217258686015' (200 OK) none of the tabs are working and they all show the error above. It could be an IE issue cause its working fine in FireFox. Any work arounds or ideas will be greatly appreciated. Thanks. dynamicd wrot

Re: Struts 2 And JFreeChart

2008-07-31 Thread dynamicd
I am having a similar issue. I am using Ajax and I want to update the div with an image but it renders it in byte code.. since the div does not know that its an image. I am not sure how to handle this either. I am thinking one way is to use the ChartUtils and write an image on the filesystem and

Re: Struts 2.1 & AjaxAnywhere

2008-08-01 Thread dynamicd
Hey Shoib, I have tried Ajax Anywhere with Struts 2.0.12 and it didnt get me anywhere.. I did not see the ajax behavior. Did you get it to work. Canyou post some sample code. Shoaib Gauhar wrote: > > Hello, > > Has anyone tried AjaxAnywhere with Struts 2.1? My action class is never > called

Struts2 tags radio button default select

2008-08-04 Thread dynamicd
Hey I am trying to create a radio button and I want one of the values selected by default, I thought I could use the value to select by default. However Its not working. Any help is appreciated. -- View this message in context: http://www.nabble.com/Struts2-tags-radio-button-default-select-

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
This is cool.. I tried it out. However once the chart_display.jsp is called the first time through the image tag. it does not call the DisplayChart.action again to refresh the image with a new one when clicked on the DrawChart.action. (I added the println statement in the display method to find o

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
Also tried implementing the SessionAware. However the same thing. dynamicd wrote: > > This is cool.. I tried it out. However once the > chart_display.jsp is called the first time through the image tag. it does > not call the DisplayChart.action again to refresh the image wi

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
I have tried <% response.setHeader("Cache-Control", "no-cache"); //HTTP 1.1 response.setHeader("Pragma", "no-cache"); //HTTP 1.0 response.setDateHeader("Expires", 0); //prevents caching at the proxy server %> as well.. newt

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
eBarChart) and store it in the session which > afterwards is used by DIV(DrawChart_display.action). You need to refresh > your chart object. > Leena > > On Wed, Aug 6, 2008 at 11:36 AM, dynamicd <[EMAIL PROTECTED]> wrote: > >> This is cool.. I tried it out. Howeve

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
Alrit got it to work Could not stop the browsers from caching. so added a param to the link /Dashboard/DisplayChart.action?p=<%=request.getParameter( " /> Hello Everyone, Got a quick question regarding the streaming of a JFreeChart (or any image) and how to be able to handle it on a jsp. I

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
got it to work.. could not stop the caching so added a param to the src img src="/Dashboard/DisplayChart.action?p=<%=request.getParameter("RANDOM")%>" / dynamicd wrote: > > I have tried > <% >response.setHeader("Cache-Control", &quo

Re: Multiple Images / InputStream

2008-08-14 Thread dynamicd
Might be a caching issue in the action pass something random as a param and see if it works like for the next image etc.. Pascal_ wrote: > > I'm using Struts 2.0.11 release. > > Within my JSP page, I'm displaying a list of elements which all have an > image. Those images are displa

Re: Problem with Struts2 tag

2008-08-14 Thread dynamicd
have u tried rajanikanth786 wrote: > > > Hi, > > > > > > In tag in struts2, i am unable to call any javascript > event(functions). > > > > > > for example, > > > ="getData();"/> > > > > > > > and in the getData() function i am just checking with one alert message. >

Re: Struts 2 And JFreeChart

2008-08-21 Thread dynamicd
e and so it will display the new image other wise if the url is the same then you will get displayed the cached image. Milan Milanovic wrote: > > I don't understand this solution, what is "p" parameter, and whait is > "RANDOM" ? > > > -- > Re

Re: Struts 2 And JFreeChart

2008-08-22 Thread dynamicd
No Milan Milanovic wrote: > > Hi, > > do I need to have this "p" (String type) parameter in my action class ? > > -- > Thx, Milan > > > dynamicd wrote: >> >> >> its some parameter name (the name does not matter) and RANDOM

Struts2 FireFox shows loading and then blank Page

2008-08-25 Thread dynamicd
I am having this weird problem. When I open Firefox and enter the URL. It opens up. I see my Tabbed Panel and the Loading Text and then the page goes blank. I have to refresh the page and then it works sometimes and sometimes it doesnt. Any ideas? -- View this message in context: http://www.nab

Re: help in build.xml

2008-08-25 Thread dynamicd
Heres my sample ..

Re: Invalidating session

2008-08-27 Thread dynamicd
I invalidate my session in my action using request.getSession().invalidate(); Gundersen, Richard wrote: > > Hi all > > I came across this page for invalidating the session > > http://struts.apache.org/2.0.11.2/docs/how-do-we-get-invalidate-the-sess > ion.html > > It mentions this way of

Re: Struts 2 Buttons

2008-09-02 Thread dynamicd
I am not sure if this is some thing you looking for SOME table here or some fields Cancel I like using anchors.. you can use submit as well. important things here are the formId which shud be the same as in the form tag showloadingText =false by default its true and there is a problem in IE

Re: on the chrome bandwagon

2008-09-03 Thread dynamicd
My App is working perfectly fine on chrome. Seems to be working the same as in firefox. Jukka Välimaa wrote: > > This is one bandwagon I've been riding since I read that comic. I've done > a > brief overview of our app with Chrome, and mostly dojo tags seem to be > working perfectly. Div, b

Re: on the chrome bandwagon

2008-09-03 Thread dynamicd
Well i Just caught something. For some reason my listentopics or action from the form is not working It shows loading.. in the Chrome browser. but never loads. nothing in the logs Works on both firefox and IE s:div > Any Ideas Jeromy Evans - Blue Sky Minds wrote

Re: SecurityFilter and Struts 1.3.8

2008-09-11 Thread dynamicd
in one of the previous projects we have used SecurityFilter with Struts1 successfully mtStruts wrote: > > Can anyone verify that they are successfully using the open source > SecurityFilter project with Struts 1.3.8? > > Thanks! > -- View this message in context: http://www.nabble.com/Sec

Re: Struts 2 + AjaxTags + DisplayTag

2008-09-12 Thread dynamicd
Hey Márcio Where you ever successful in getting AjaxTags to work with Dispay Tag and Struts2 I am at the same junction as you were. Please let me know. Thanks Márcio Gurgel wrote: > > Hi Randy, > > I also tried to set requestURI. > I'm having lots of problems with components inside tabbedPa

RE: Struts 2 + AjaxTags + DisplayTag

2008-09-16 Thread dynamicd
here is it .. <%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib uri="http://displaytag.sf.net"; prefix="display" %> <%@ taglib uri="http://ajaxtags.org/tags/ajax"; prefix="ajax" %>

RE: Struts 2 + AjaxTags + DisplayTag

2008-09-16 Thread dynamicd
here is it ... <%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib uri="http://displaytag.sf.net"; prefix="display" %> <%@ taglib uri="http://ajaxtags.org/tags/ajax"; prefix="ajax" %>

Re: Struts 2 + AjaxTags + DisplayTag

2008-09-17 Thread dynamicd
After some long hours I got pagination and export working with ajaxtags and displaytag THis is how you do ajax pagination. AjaxTags 1.3 rc7 Struts2.0.12 DisplayTag 1.1.1 I had to make small change in the ajaxtags.js for it to work Comment out the line that calls the prefunction in the ajaxtags.

Re: Struts 2 + AjaxTags + DisplayTag

2008-09-17 Thread dynamicd
I am using Struts 2.0.11.2 MyAshok wrote: > > hi, > > Are you using struts 2.1.2 Beta for your project? > With Regards, > Ashok > > > > > dynamicd wrote: >> >> After some long hours I got pagination and export working with ajaxtags

Struts2 value problem

2008-09-18 Thread dynamicd
i have an edit form which gets populated when the user clicks on edit. My user wants me to have the password field in there populated with the pwd that shows * however the value attribute for the s:password does not seem to be taking the password value the text field works THis works This does

Re: Struts2 value problem

2008-09-18 Thread dynamicd
showPassword="true" solved the problem dynamicd wrote: > > i have an edit form which gets populated when the user clicks on edit. > My user wants me to have the password field in there populated with the > pwd that shows * > however the value attribute for the s:pas

Struts2 DisplayTag dynamic table

2008-09-25 Thread dynamicd
Heres how I got the dynamic tables working with Display Tag and Struts2 I pass in the list of columnNames and chartDATA from the controller and heres my jsp Struts 2.0.11.2 DisplayTag 1.1.1 ajaxtags 1.3 rc7 <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib uri="http://displaytag.sf.net"; pr

Struts2 setting param in struts.xml JFreeChart

2008-09-28 Thread dynamicd
In my struts.xml file i need to pass a param dynamically for the height of JFreeChart I have param name="height" ${height} /param which is set in my controller as an Integer. public void setHeight(Interger height) public Integer getheight which returns an Integer However the param gets set as

Re: Strtus2 tags IE issue error loading page 200 ok

2008-09-29 Thread dynamicd
> Have you found a work around? Any help or advise would be greatly > appreciated. > > Thanks! > > > > dynamicd wrote: >> >> First I thought the problem was from ACEGI that I recently added to the >> project. So I took all of it out .However I encoun

Re: Struts2 DisplayTag dynamic table

2008-10-27 Thread dynamicd
tion (mostly so I > can get it done in a simpler fashion first)? Is your list "chartDATA" > some kind of 2 dimensional array, because I see that the s:property value > item seems to be a 2 dimensional array to get the value... Any additional > help on this would be great! &