Re: Struts2 DisplayTag dynamic table

2008-10-27 Thread dynamicd
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! Thanks --TJ dynamicd wrote: ajax:displayTag id=chartDATA ajaxFlag

Re: Strtus2 tags IE issue error loading page 200 ok

2008-09-29 Thread dynamicd
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 encountered the same problem as above in IE. Then I thought the problem could be some

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 a

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;

Struts2 s:password 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

Re: Struts2 s:password 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:password does not seem to be taking

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

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 and displaytag THis is how you do ajax pagination. AjaxTags 1.3

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 % script type=text/javascript

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 % script type=text/javascript

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

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:

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,

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 s:form id=selectreport theme=ajax action=ShowConfigureDZ s:select

Re: Struts 2 Buttons

2008-09-02 Thread dynamicd
I am not sure if this is some thing you looking for s:form id=configureform name=configureform SOME table here or some fields /s:form s:url id=configure value=Configure.action / s:a href=%{configure} showLoadingText=false id=configure cssClass=anchors theme=ajax targets=div2

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

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:

Re: help in build.xml

2008-08-25 Thread dynamicd
Heres my sample .. project name=SOMETHING basedir=./ default=build property name=projname value=SOMETHING/ property name=webrootsuffix value=WebContent/${projname}/ property name=webinfsuffix value=WebContent/${projname}/WEB-INF/ property name=srcdir

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 is set in the controller (Action) or to make it easy img src=/Dashboard

Re: Struts 2 And JFreeChart

2008-08-21 Thread dynamicd
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 ? -- Regards, Milan dynamicd wrote: got it to work.. could not stop the caching

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 s:url id=imageUr1l value=/Something/displayExerciceImageAction.action?position=One for the next image s:url id=imageUrl2 value=/Something/displayExerciceImageAction.action?position=Two etc..

Re: Problem with Struts2 tag

2008-08-14 Thread dynamicd
have u tried sx:autocompleter list=practiceList name=emailList onclick =javascript:getData();/ rajanikanth786 wrote: Hi, In sx:autocompleter tag in struts2, i am unable to call any javascript event(functions). for example, sx:autocompleter list=practiceList

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

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 with a new one when

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.. newton.dave wrote: --- On Wed, 8/6/08, dynamicd [EMAIL PROTECTED] wrote

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
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. However once the chart_display.jsp is called the first time through

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, no-cache); //HTTP 1.1 response.setHeader(Pragma, no-cache); //HTTP

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, s:radio label=Chart Type name=chartType list={'Bar Chart','3D Bar Chart'} value=Bar Chart/ I thought I could use the value to select by default. However Its not working. Any help is appreciated. --

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.

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: 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 wrote: Hi

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

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 tabbed panel and a child tabbed panel