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!
&
> 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
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
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
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
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
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
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.
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" %>
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" %>
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
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
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
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
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
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
Heres my sample ..
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
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
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
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.
>
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
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
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
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
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
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
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
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-
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 wrot
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
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
34 matches
Mail list logo