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
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
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
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;
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
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
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
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
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
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
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
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:
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,
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
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
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
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:
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
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
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
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..
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
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
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
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
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
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
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
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.
--
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.
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
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
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
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
34 matches
Mail list logo