Re: AJAX issues in struts 2.1.6

2009-05-17 Thread rajeevP
I have tried with this sample jsp <%@ taglib prefix="s" uri="/struts-tags"%> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> Listing function show_details() { dojo.event.topic.publish("show_detail"); } and list of struts jar files struts2-codebehind-plugin-2.1.6.jar stru

Re: Struts2Builder 0.1.0 has been released

2009-05-17 Thread dusty
What was the name of that middleware generator for HibernateMiddleGen? The screenshots in the docs remind me of that. Is there a link for the source code? The svn repo seems empty. It would be good to get through the source and see how the actions/etc are implemented and see if we can offe

Re: Invoking multiple webservices from Action

2009-05-17 Thread sid5
satyanarayana katta wrote: > > You can choose to write your own threading mechanism to invoke the > webservices in parallel. That is what we do. We are using FJTask, which > has a neater Fork and join mechanism for invoking the threads in parallel. > > I was hoping that this would be a commo

Re: Invoking multiple webservices from Action

2009-05-17 Thread satyanarayana katta
You can choose to write your own threading mechanism to invoke the webservices in parallel. That is what we do. We are using FJTask, which has a neater Fork and join mechanism for invoking the threads in parallel. On Sun, May 17, 2009 at 11:38 AM, sid5 wrote: > > hi > We currently have a SOA b

RE: Struts newbie - Advice on file downloading

2009-05-17 Thread Steve
Hi, Thanks to Richard, Mike and Dale for your help. I've now got this working. The XML is downloading fine in my development environment. I'll worry about other browsers and formats further downstream. I've used contentType "text/xml" and contentDisposition attachment;filename="myfile.xml" as su

Invoking multiple webservices from Action

2009-05-17 Thread sid5
hi We currently have a SOA based application with a struts front end. We have to invoke multiple webservices to get the data to render a single page. I was thinking of writing an Executor service inside an Action class or an Interceptor to do this. Is this the right approach ? I would like the we

Re: Disabling JSP's

2009-05-17 Thread Scott Stanlick
Put you pages under web-inf On May 15, 2009, at 1:36 PM, Timothy Orme wrote: Hello All, I'm in the process of migrating pages from JSP's using snippets to struts actions. I'm wondering how people have disabled access to JSP's so that they cannot be accessed outside of the action a

Re: AJAX issues in struts 2.1.6

2009-05-17 Thread Dave Newton
rajeevP wrote: I am using struts2.1.6 jar files and tried with samples for AJAX available from internet community. But none of the examples are worked for me. Getting exceptions like FreeMarker template error! Expression parameters.pushId is undefined on line 24, column 6 in template/ajax/div-

AJAX issues in struts 2.1.6

2009-05-17 Thread rajeevP
Hi I am using struts2.1.6 jar files and tried with samples for AJAX available from internet community. But none of the examples are worked for me. Getting exceptions like FreeMarker template error! Expression parameters.pushId is undefined on line 24, column 6 in template/ajax/div-close.ftl. Th

Re: I have removed struts-default.xml so why do I get it's Interceptors stack??

2009-05-17 Thread Dave Newton
David Rocks wrote: But i still get all 18 of the defaultStack interceptors being called even though I have created my own stack and called in the struts.xml for the package, also extends="" is set for the package. My own stack gets ignored. Is there something I am doing wrong? Most likely, s

Re: please advise how to use the

2009-05-17 Thread Dave Newton
Prashant Singh wrote: I have put the following code in my jsp but its not generating any rows where I can enter data: Without knowing anything about the "lineItems" property it's difficult to help. Dave - To unsubscr

Re: File upload (jupload)--how to disable struts2' fileupload interceptor?

2009-05-17 Thread Dave Newton
Andy Sykes wrote: I can't see anywhere in the documentation (I've only had a quick skim of it) that says not mapping the Struts dispatcher to /* can be dangerous.. the only example I can see is if you're using Struts interceptors/actions for webapp security - in which case hitting a servlet di

I have removed struts-default.xml so why do I get it's Interceptors stack??

2009-05-17 Thread David Rocks
Hi, I wanted to cut down to the minumim interceptors so I removed my references to struts-default, by setting struts.configuration.files invarious places, documentation confilcts quite a bit in struts.xml struts.configuration.files=struts.xml in struts.properties and even tried in

please advise how to use the

2009-05-17 Thread Prashant Singh
Hi, I have put the following code in my jsp but its not generating any rows where I can enter data: # Product Qty Unit Price Allocation Instructions Label Instructions Description Override Reason