Re: struts layout

2007-05-13 Thread Antonio Petrelli
2007/5/12, shaki m <[EMAIL PROTECTED]>: I want to create a table using struts layout with edit,delete, update option and accessing the data from the database. E... see the Struts Layout site: http://struts.application-servers.com/ Antonio ---

Re: Need a recommendation to use struts version

2007-05-13 Thread Josh Long
If you dont' plan on maintaining it much, and you find it "easier" to develop raw servlets/jsps and do MVC, then do that. If you plan on maintaining it but don't imagine you'll ever get to the point where you're going to outsource it to hundreds of people, use Struts 2, as it (and any framework)

Re: Persistent Database Object

2007-05-13 Thread Josh Long
Use a Connection pool. Jakarta Commons has one that's comonly available and easily configured in Tomcat, Spring, in code, etc. Make the Connection pool persistant (As it might be if it were available in a Spring context, for example.), and then on each new "request" (ie, if you're going to use i

[S2] What does tabbedpanel "name" do?

2007-05-13 Thread Jason Wyatt
The docs for tabbedpanel at http://struts.apache.org/2.x/docs/tabbedpanel.html mention a "name" option... What does this do? Thanks for any help, regards Jason - Falun Dafa Truth - Compassion - Forbearance A mind & body practice under persecution in China http://www.faluninfo.net

[S2] How to refresh "remote" tabbedpanels on user entry?

2007-05-13 Thread Jason Wyatt
The docs for tabbedpanel at http://struts.apache.org/2.x/docs/tabbedpanel.html mention: "The tabbedpanel widget is primarily an AJAX component, where each tab can either be local content or remote content (refreshed each time the user selects t

Struts 2

2007-05-13 Thread Anshul Khare
Hi everyone, I am using Struts 2 and using tag to upload a file. But I get that file as a 'File' object in my action class and using getName() on that File object returns me some arbitrary value (something like upload__5b41f107_1127b4befe0__8000_.tmp). I want to retrieve things like Conte

Persistent Database Object

2007-05-13 Thread Asaf Paris Mandoki
Hello, I understand, form reading the Walking Tour of the Struts 2 MailReader Application that they use an object that is created when the application starts, and stays there forever, to manage the data source (XML). I'm planning to make an application that uses a MySQL Database. Should I have

Re: table tag - submit onclick

2007-05-13 Thread Mansour
I just found it. Thank you every one. I just modified this: to I added the "parentNode". __ Mansour wrote: I am using table tag and I want some of the records to appear as a link and to submit onClick. I am sure I am missing something. Here's a piece of the code:

table tag - submit onclick

2007-05-13 Thread Mansour
I am using table tag and I want some of the records to appear as a link and to submit onClick. I am sure I am missing something. Here's a piece of the code: can any one help ? Any idea? ---

Re: [s2] package and namespace info

2007-05-13 Thread Victor Neo
What do you mean by "to better use packages and namespaces"? Here are a couple of links that might help: http://struts.apache.org/2.0.6/struts2-core/apidocs/index.html Struts 2 API Documentation http://struts.apache.org/2.0.6/docs/big-picture.html Struts 2 Architecture Pedro Herrera wrote: >

Re: [s2] package and namespace info

2007-05-13 Thread Martin Gainty
I found this helpful http://struts.apache.org/2.x/docs/struts-1-solutions.html The doc says "In Struts 2, that technique is no longer necessary because we have packages. We can create a package, then set for that package the default Result type, Interceptor chain, and global results. (This leav

[s2] package and namespace info

2007-05-13 Thread Pedro Herrera
I´d like more information to better use packages and namespaces in struts2 applications . tks Herrera -- View this message in context: http://www.nabble.com/-s2--package-and-namespace-info-tf3740177.html#a10497570 Sent from the Struts - User mailing list archive at Nabble.com.

Re: [s2] ajax multipart form submission

2007-05-13 Thread Musachy Barroso
Try to get it to work with dojo first, no struts involved. I think there has been a couple of posts about this in the mailing list. Let us know if you get it to work as it would make a good FAQ :) musachy On 5/13/07, jf nuzbit <[EMAIL PROTECTED]> wrote: Hello, Has anyone managed to get a mult

[s2] ajax multipart form submission

2007-05-13 Thread jf nuzbit
Hello, Has anyone managed to get a multipart/form-data submission working with the ajax theme? This is what I've got so far: ... Which looks like it's almost working but the target div updates with '[object HTMLDocument]' and the action never gets invoked. If i remove the s:file e

Re: Problem with text encoding..

2007-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ஆமாச்சு, ஆமாச்சு wrote: > also replaced the text/ string in ApplicationResource.properties file > to my language... Did you make sure that ApplicationResource.properties was saved in ISO-8859-1 encoding with your Tamil characters written in Unicode e

Re: "cannot find bean" problem

2007-05-13 Thread Nuwan Chandrasoma
Hi, This is due to the fact that one of your tags is tryinig to access a bean that is not in any scope, for example: if you have a tag like this , and if the myVar is not available in any scope you would get this error. Thanks Nuwan. - Original Message - From: "vikas rao" <[EMA

Re: Hiding/encrypting URL parameters in Struts application

2007-05-13 Thread roberto
Hi, Which version of Struts are you using? If you are using Struts 1.x you can use HDIV for that. HDIV guarantees integrity and confidentiality of non editable data, including of course URL parameters. On the other hand, if you are using Struts2 we haven't still published a release for Struts2.

"cannot find bean" problem

2007-05-13 Thread vikas rao
Hi everyone, I seem to be getting this error: *javax.servlet.ServletException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope * where is this struts.taglib.html.BEAN? ive not dec

Re: how to assign bean : write to a variable

2007-05-13 Thread Nuwan Chandrasoma
Hi Thanks, Nuwan - Original Message - From: "jalal udeen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, May 13, 2007 7:05 AM Subject: how to assign bean : write to a variable hi all how to assign to a variable thnaks jalaludeen -

how to assign bean : write to a variable

2007-05-13 Thread jalal udeen
hi all how to assign to a variable thnaks jalaludeen