s:div ajax problem

2007-08-19 Thread ptriller
Hello, I Have a little problem. i am using an s:div theme=ajax id=myDiv notifyTopics=myTopic href=someUrl /s:div and I have some JavaScript Code that alters the links in the div. but when I get notified by the div tag through , the new content of the div has not yet been set, so I can't do

Re: s:div ajax problem

2007-08-19 Thread Jeromy Evans
ptriller wrote: i am using an s:div theme=ajax id=myDiv notifyTopics=myTopic href=someUrl /s:div and I have some JavaScript Code that alters the links in the div. but when I get notified by the div tag through , the new content of the div has not yet been set, so I can't do that. Hi

Re: [S2][Tabbed panel] posting data from one tab

2007-08-19 Thread Eugen Stoianovici
Alvaro Sanchez-Mariscal wrote: Hi, I've done the same using topics: 1) Publish on a topic after the request is executed (eg, notifyTopics=/submit in the s:submit). 2) Register to the same topic in the s:div corresponding to the tab (eg, listenTopics=/submit in the s:div). Alvaro. Can

Re: [S2][Tabbed panel] posting data from one tab

2007-08-19 Thread Alvaro Sanchez-Mariscal
Try prepending an slash, ie, /addProduct. Without it, it also didn't worked to me. Also, what happens exactly? Javascript errors? Have you tried inspecting it with firebug? Alvaro. On 8/19/07, Eugen Stoianovici [EMAIL PROTECTED] wrote: Alvaro Sanchez-Mariscal wrote: Hi, I've done the

Re: Conditional validation

2007-08-19 Thread j alex
Can you paste the entry from validator xml -- and the line which is flagged with the error? From the error message, it just looks like an ordering problem -- ie we must have param tag before the message tag ; but i may be oversimplifying things.. On 8/18/07, stanlick [EMAIL PROTECTED] wrote:

Re: Losing Session attributes

2007-08-19 Thread j alex
Are u using Struts 1.x or 2 ? -- please paste the code from struts xml and how you are doing the redirect? ; will attempt to answer after that. -Joseph On 8/17/07, Paul Benedict [EMAIL PROTECTED] wrote: If you switch domains or ports, you will lose your session. Sessions are usually tied to

Re: Help with scope interceptor

2007-08-19 Thread j alex
Thanks Laurie for your observations..I'm having the key attribute in struts xml and also setting start to true for the first Action ; doing this puts the object in session, but updates to it made on the subsequent pages are not being reflected ; ie when we print it out - the value from session is

action being re-executed when target page is refreshed

2007-08-19 Thread abhiram
hi i have a little problem.. i am using struts 1.2. when i refresh the target page of a particular Action, the Action is being re-executed.. for instance.. i hav a jsp called AddAddress.jsp(which is a form for entering a new address), a form bean called AddressBookForm and an action called

Re: action being re-executed when target page is refreshed

2007-08-19 Thread Nuwan Chandrasoma
Hi, use the struts token to avoid multiple form submits or else do something like submit and re-direct, that will change the URL in the browser and will not all the same action mapping again. Thanks, Nuwan abhiram wrote: hi i have a little problem.. i am using struts 1.2. when i

Default tab in tabbedPanel loaded twice

2007-08-19 Thread Alvaro Sanchez-Mariscal
Hi, I have the following tabbed panel: s:tabbedPanel id=panel c:choose c:when test=${sessionScope.user.departmentMember} s:div id=myTab label=Mis acogidas autoStart=false theme=ajax href=%{my} cssStyle=margin: 10px 10px 10px 10px; listenTopics=/refresh executeScripts=true

Re: Default tab in tabbedPanel loaded twice

2007-08-19 Thread Alvaro Sanchez-Mariscal
Here is a screenshot of firebug: http://www.upload-images.net/imagen/7915ac25eb.gif On 8/19/07, Alvaro Sanchez-Mariscal [EMAIL PROTECTED] wrote: Hi, I have the following tabbed panel: s:tabbedPanel id=panel c:choose c:when test=${sessionScope.user.departmentMember}

Re: s:div ajax problem

2007-08-19 Thread ptriller
Hi, I hooked it directly to the onLoad event, and everything works just fine. Thanks for the answer. Greets Peter Jeromy Evans - Blue Sky Minds wrote: ptriller wrote: i am using an s:div theme=ajax id=myDiv notifyTopics=myTopic href=someUrl /s:div and I have some JavaScript

Re: action being re-executed when target page is refreshed

2007-08-19 Thread abhiram
! thanks for the response.. as i am new to struts, i did not understand the meaning of submit and redirect that will change the URL in the browser and -- could you xplain a bit more clearly ? Nuwan Chandrasoma [EMAIL PROTECTED] wrote: Hi, use the struts token to avoid multiple form submits or

Re: [S2][Tabbed panel] posting data from one tab

2007-08-19 Thread Eugen Stoianovici
Alvaro Sanchez-Mariscal wrote: Try prepending an slash, ie, /addProduct. Without it, it also didn't worked to me. Also, what happens exactly? Javascript errors? Have you tried inspecting it with firebug? Alvaro. On 8/19/07, Eugen Stoianovici [EMAIL PROTECTED] wrote: I've tried it with

Re: [S2][Tabbed panel] posting data from one tab

2007-08-19 Thread Alvaro Sanchez-Mariscal
If the URL changes, then a normal http post is being fired, instead of an ajax request. What's your struts.ui.theme in struts.properties? If it is not ajax, try using theme=ajax in the s:form and in the s:submit tags. Did you included the s:head tag (http://struts.apache.org/2.x/docs/head.html)?

Re: s:include value=%=filename % / does not work

2007-08-19 Thread Zoran Avtarovski
I know I've used both a OGNL JSTL expression and it's worked fine. For example both the follwing worked for me: s:include value=%{filename} / s:include value=${filename} / Hi all, How to use s:include to include a dynamic jsp file? For instance: s:include value=%=filename % / does

the icons of datatimepicker cannot be displayed

2007-08-19 Thread Andvar Woo
when I use s:datetimepicker/, it works well except that the icons of that component cannot be displyed.eg. select a date, Up ,Down these icons do exist in the struts-core.jar. Why they cannot be displayed? Anyone knows? Thanks.

Why the icons of the datetimepicker cannot be displayed?

2007-08-19 Thread Andvar Woo
when I use s:datetimepicker/, it works well except that the icons cannot be displayed. These incos do exist in the struts-core.jar,why thay cannot be displayed? Many thanks for your replay.

How to get directory information in struts2 action?

2007-08-19 Thread red phoenix
I want to know how to get directory information in struts2 action,when I run following action: http://localhost:8080/struts2-blank-2.0.9/example/HelloWorld.action I want to get the path value http://localhost:8080/struts2-blank-2.0.9 in HelloWorld.action,such as: public String execute() throws

Re: [ANN] Connext Graphs

2007-08-19 Thread Mark P Ashworth
Good Day, I am please to announce that version 0.4 of Connext Graphs includes support for Bar and Filled Bar charts. Have a look at:- http://cwiki.apache.org/confluence/display/S2PLUGINS/Connext+Graph+Plugin Get the source at:- https://connext-graphs.dev.java.net/ If you have any questions

Re: [ANN] Connext Graphs

2007-08-19 Thread Don Brown
Pic or it didn't happen :) Don On 8/20/07, Mark P Ashworth [EMAIL PROTECTED] wrote: Good Day, I am please to announce that version 0.4 of Connext Graphs includes support for Bar and Filled Bar charts. Have a look at:-

Re: [ANN] Connext Graphs

2007-08-19 Thread Dale Newfield
The project is accessible at https://connext-graphs.dev.java.net/ No it's not. You have the permissions all outta whack: Your account does not have the Project Page - View permission needed for you to access the page you requested in the connext-graphs project (view your permissions).

Re: [ANN] Connext Graphs

2007-08-19 Thread Zoran Avtarovski
Just a suggestion, but you could simplify the action side of things by moving some of the graph configuration detail (ie controller.getTitle etc) into the tag itself. Let us know when the source is available as I'd like to have a look and if you're interested I'd be happy to help. Z. Good

Re: [ANN] Connext Graphs

2007-08-19 Thread Mark P Ashworth
Good Day, Thank you for your suggestions, I will improve the library with suggestions from the community. The project is pending approval on java.net and as soon as it is approved I will let those that are interested know. Thank you for your comments. Regards, Mark P Ashworth Don Brown