Unable to download attachment for struts1 rollover.war from wiki

2011-03-21 Thread Aldray Low
Hi guys,I am trying to download the rollover.war from http://wiki.apache.org/struts/RolloverScope. Apparently, i saw from some other mailing list that the download or upload is disabled due to spamming. The error encountered is "You are not allowed to do AttachFile on this page". Is there any ot

JPA Collection Update on Post

2011-03-21 Thread Nick Broadhurst
Hi Guys, JPA background: I have a Demographics entity that has as one of its properties a Collection of MedicalRecordsReceived entities. Each MedicalRecordsRecieved entity has as one of its properties a Demographic object. OK, When I pull the Demo entity and display in page using s:iterator to d

[OT] Re: Need your inputs.

2011-03-21 Thread Dave Newton
On Mon, Mar 21, 2011 at 6:04 PM, sharath karnati wrote: > Can you please send me links/details for doing this(Serialize the DOM)? What JavaScript framework are you using? (I'd really just try [search engine of choice] first, though--much, much faster than waiting on the list.) Dave

Re: Need your inputs.

2011-03-21 Thread sharath karnati
Hi Dave,     Can you please send me links/details for doing this(Serialize the DOM)?   Thanks, Sharath.   --- On Mon, 3/21/11, Dave Newton wrote: From: Dave Newton Subject: Re: Need your inputs. To: "Struts Users Mailing List" Cc: "sharath karnati" Date: Monday, March 21, 2011, 1:25 PM On

Re: Need your inputs.

2011-03-21 Thread Dave Newton
On Mon, Mar 21, 2011 at 11:35 AM, sharath karnati wrote: >   1) How many fields are there? >   2) Each field name, title and size(example: field3,zip, 5) > > Please advice how to do this using strust2. It won't have anything to do with S2; you'll either need to: * Serialize the DOM info (most lik

Re: Need your inputs.

2011-03-21 Thread Mohamed SIDI
Hi, so I will explain what you have to do suppose you have three fileds in your form with respectively have the names filed1, filed2 and filed3 in your struts.xml file you shoud paramter your action like this : filed1, filed2, filed3 and in your action class you shoud crea

Need your inputs.

2011-03-21 Thread sharath karnati
Hi All,      Planning to create a dynamic form using struts2(similar to http://www.phpform.org/formbuilder/index.php).     Say I have following headings     Create a Label (heading 1)     It will display text field to enter label text and 'Add Label' button   Create a

RE: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread CRANFORD, CHRIS
I would highly recommend AJAX/JSON/jQuery, they are Javascript. Question - Does your requirement state that the data should be server-call back delay delivered? Does your requirement expect the data to be pre-rendered and the DOM updated real-time? Either way, I would use jQuery to perform eit

Re: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread Dave Newton
On Mon, Mar 21, 2011 at 9:31 AM, adam pinder wrote: > you can use AJAX functionality straight from plain old javascript without > using DOJO > or other javascript libraries - its just those libs make it easier. Make it easier to the point of it being a Really Bad Idea to do it *without* them. Us

RE: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread adam pinder
if you don't use AJAX then you can only do the standard get/post based on form submission which is a synchronous call. you can use AJAX functionality straight from plain old javascript without using DOJO or other javascript libraries - its just those libs make it easier. adam > Date:

Re: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread Dave Newton
On Mon, Mar 21, 2011 at 1:16 AM, JavaNoobie87 wrote: > Im trying to implement it only using Javascript as part of our project > requirements , and so using AJAX with JSON , dwr etc is ruled out. Both Ajax and JSON are JavaScript. Dave -

Re: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread APE SHOW
we just use js ajax request the json data from struts2 action. you can find a jsonlib from json.org, written by java,it's quite easy... good luck mead.ipod On 2011-3-21, at 13:16, JavaNoobie87 wrote: > Hi All , > I'm trying to call an action class , On change of the values in a dropdown > box