Re: s:textfield / Beginner question

2011-11-15 Thread Emi Lu
Why do I use Struts2/Tiles/openJPA? tiles: to work with layouts struts2: the action concept and the posibility to make mapping between html and the object in my action. Same for me. openJPA: to work with database entities I use mybatis for DB queries. Just curious to know, does

RE: s:textfield / Beginner question

2011-11-14 Thread Edward W. Rouse
You could always store it in the session and read it from there. -Original Message- From: Marco Schwarz [mailto:marco.schw...@cioppino.net] Sent: Saturday, November 12, 2011 1:57 PM To: Struts Users Mailing List; jlm...@gmail.com Subject: Re: s:textfield / Beginner question You

Re: s:textfield / Beginner question

2011-11-14 Thread Marco Schwarz
List; jlm...@gmail.com Subject: Re: s:textfield / Beginner question You are right, but the user must see the fields and I need the object with all properties for call (JPA) persist method. what's the best practice for this use case I have one object and many roles  any role can change

Re: s:textfield / Beginner question

2011-11-14 Thread JOSE L MARTINEZ-AVIAL
Subject: Re: s:textfield / Beginner question You are right, but the user must see the fields and I need the object with all properties for call (JPA) persist method. what's the best practice for this use case I have one object and many roles any role can change a different field

Re: s:textfield / Beginner question

2011-11-12 Thread Damian Krawcewicz
Hi, How about readonly=true ??? http://struts.apache.org/2.1.8/docs/textfield.html HTH, Damo On 11 November 2011 22:16, Marco Schwarz marco.schw...@cioppino.net wrote: Hi, hidden tags and plain text solve my problem ... I find, when I disable components via jquery, client side I'm sure

Re: s:textfield / Beginner question

2011-11-12 Thread jlmagc
-Mobile -Original Message- From: Marco Schwarz marco.schw...@cioppino.net Date: Fri, 11 Nov 2011 23:16:24 To: Struts Users Mailing Listuser@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org Subject: Re: s:textfield / Beginner question Hi, hidden tags and plain text

Re: s:textfield / Beginner question

2011-11-12 Thread Marco Schwarz
You are right, but the user must see the fields and I need the object with all properties for call (JPA) persist method. what's the best practice for this use case I have one object and many roles any role can change a different field ... Do I create a class for any roles? Idea? Thanks

Re: s:textfield / Beginner question

2011-11-12 Thread JOSE L MARTINEZ-AVIAL
I don't know how JPA works exactly, but I suppouse at some point in your app you need to get the object from the database through JPA and upda 2011/11/12 Marco Schwarz marco.schw...@cioppino.net You are right, but the user must see the fields and I need the object with all properties for call

s:textfield / Beginner question

2011-11-11 Thread Marco Schwarz
Hi, I'm new in this mailinglist. I have a guestion (simple) Why a textfield disabled=true doesn't set his value to my object? When I set disabled=false it works fine. Thanks Marco - To unsubscribe, e-mail:

Re: s:textfield / Beginner question

2011-11-11 Thread Chris Pratt
The obvious answer is, because it's disabled. The more complete answer is, because the browser doesn't send values for disabled form elements, Struts has no value to populate for that field. (*Chris*) On Fri, Nov 11, 2011 at 1:43 PM, Marco Schwarz marco.schw...@cioppino.netwrote: Hi, I'm

Re: s:textfield / Beginner question

2011-11-11 Thread Dave Newton
Probably because it doesn't need to. Dave On Fri, Nov 11, 2011 at 4:43 PM, Marco Schwarz marco.schw...@cioppino.net wrote: Hi, I'm new in this mailinglist. I have a guestion (simple) Why a textfield disabled=true doesn't set his value to my object? When I set disabled=false it works fine.

Re: s:textfield / Beginner question

2011-11-11 Thread Dave Newton
Oh, I misunderstood; I thought you meant the rendered HTML. Chris is correct; disabled field values aren't sent by the browser. Sorry! On Fri, Nov 11, 2011 at 4:47 PM, Dave Newton davelnew...@gmail.com wrote: Probably because it doesn't need to. Dave On Fri, Nov 11, 2011 at 4:43 PM, Marco

Re: s:textfield / Beginner question

2011-11-11 Thread Marco Schwarz
Hi, that's I understand... but I disable fields because a user doesn't have right to change the value... and after submit the entity is incomplete. It's there a better method to do that? Thanks Marco On Fri, Nov 11, 2011 at 10:53 PM, Dave Newton davelnew...@gmail.com wrote: Oh, I

Re: s:textfield / Beginner question

2011-11-11 Thread Dave Newton
I'd either: (a) Not render it as a text field, but rather as plain text, or (b) Include a hidden field if the user can't edit it. There are probably other options too. Dave On Fri, Nov 11, 2011 at 5:00 PM, Marco Schwarz marco.schw...@cioppino.net wrote: Hi, that's I understand... but I

Re: s:textfield / Beginner question

2011-11-11 Thread Marco Schwarz
Hi, hidden tags and plain text solve my problem ... I find, when I disable components via jquery, client side I'm sure to find the same problem :-( Thanks Marco On Fri, Nov 11, 2011 at 11:06 PM, Dave Newton davelnew...@gmail.com wrote: I'd either: (a) Not render it as a text field, but

Beginner Query on Struts tiles

2010-01-05 Thread steff_uk
in advance, -- View this message in context: http://old.nabble.com/Beginner--Query-on-Struts-tiles-tp27026099p27026099.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Beginner Query on Struts tiles

2010-01-05 Thread Antonio Petrelli
2010/1/5 steff_uk aravin...@hotmail.com: I need to call 2nd web app in 1st currently iam using Iframes frame sets , is there any other way do this? Yes, you could extract the 2nd webapp response's body and insert it into the 1st. For this, take a look at Sitemesh:

beginner

2009-03-30 Thread Àlex Camps Mezquita
Hi to all, How could I find an examples to begin a new application using struts2?? Some help please! -- ... à.c.m ...9

Re: beginner

2009-03-30 Thread Cody Burleson
I would recommend that you look at the Bootstrap page and follow this process: http://struts.apache.org/2.x/docs/bootstrap.html Cody Burleson On Mon, Mar 30, 2009 at 12:40 PM, Àlex Camps Mezquita camps.a...@gmail.comwrote: Hi to all, How could I find an examples to begin a new

Re: beginner

2009-03-30 Thread Kumar Mettu
camps.a...@gmail.com Subject: beginner To: user@struts.apache.org Date: Monday, March 30, 2009, 10:40 AM Hi to all, How could I find an examples to begin a new application using struts2?? Some help please! -- ... à.c.m ...9

[beginner] need to use logic:equal with request attribute

2007-10-18 Thread Marchioni Francesco
Hi all, I have an action class which sets some attributes request.setAttribute(pValueIn, vFlagms); then it forwards to a jsp page. Now I'd like to use logic:equal (or another struts tag) which controls the value of this field logic:equal name=pValueIn value=VC4S OK /logic:equal but

Re: [beginner] need to use logic:equal with request attribute

2007-10-18 Thread Antonio Petrelli
2007/10/18, Marchioni Francesco [EMAIL PROTECTED]: Hi all, I have an action class which sets some attributes request.setAttribute(pValueIn, vFlagms); then it forwards to a jsp page. Now I'd like to use logic:equal (or another struts tag) which controls the value of this field

R: [beginner] need to use logic:equal with request attribute

2007-10-18 Thread Marchioni Francesco
: giovedì 18 ottobre 2007 13.56 A: Struts Users Mailing List Oggetto: Re: [beginner] need to use logic:equal with request attribute 2007/10/18, Marchioni Francesco [EMAIL PROTECTED]: Hi all, I have an action class which sets some attributes request.setAttribute(pValueIn, vFlagms

(beginner) How to intialize a form's input item

2007-10-18 Thread sriharsha . chevuru
Hi, I am starter in Struts. I am using 1.3.8. My requirement: Prepopulate a form feild if value is present. Can anybody help me in intializing a input feild using struts custom tags? Thanks H.

Re: (beginner) How to intialize a form's input item

2007-10-18 Thread Dave Newton
From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: user@struts.apache.org Sent: Thursday, October 18, 2007 1:47:22 PM Subject: (beginner) How to intialize a form's input item Hi, I am starter in Struts. I am using 1.3.8. My requirement: Prepopulate a form feild if value is present

Re: (beginner) How to intialize a form's input item

2007-10-18 Thread Norris Shelton
Look at the Preparable or Model interface. - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: user@struts.apache.org Sent: Thursday, October 18, 2007 1:47:22 PM Subject: (beginner) How to intialize a form's input item Hi, I am starter in Struts. I am using 1.3.8. My

RE: (beginner) How to intialize a form's input item

2007-10-18 Thread Slattery, Tim - BLS
My requirement: Prepopulate a form feild if value is present. Can anybody help me in intializing a input feild using struts custom tags? The tags look for a corresponding property in the form bean, and take an initial value from that. For example, if this tag is in you JSP file: html:text

RE: (beginner) How to intialize a form's input item

2007-10-18 Thread sriharsha . chevuru
/ /html:form /body /html Thank you -H Slattery, Tim - BLS [EMAIL PROTECTED] 10/18/2007 11:55 AM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject RE: (beginner) How to intialize a form's input item My

RE: (beginner) How to intialize a form's input item

2007-10-18 Thread Dave Newton
Slattery, Tim - BLS [EMAIL PROTECTED] 10/18/2007 11:55 AM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject RE: (beginner) How to intialize a form's input item My requirement

RE: (beginner) How to intialize a form's input item

2007-10-18 Thread sriharsha . chevuru
Silly one.. Thanks:) Dave Newton [EMAIL PROTECTED] 10/18/2007 03:01 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject RE: (beginner) How to intialize a form's input item You're creating a new

Beginner

2007-08-26 Thread Cenk
Hi, I m new to Struts and i wonder if you can help to start with some simple tutorials? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Beginner

2007-08-26 Thread Deepak Kumar
Hi, Please check http://www.roseindia.net/struts and http://www.roseindia.net/struts/struts2 Thanks Deepak Kumar -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Cenk Sent: Sunday, August 26, 2007 9:09 PM To: user@struts.apache.org Subject: Beginner Hi, I m new

Beginner question about views and subviews in Struts Shale.

2006-03-11 Thread Marcio E Miranda
Hi, I've a few questions regarding how Shale handles views and suvbviews: 1. Why a redirect to somepage.faces (in the index.jsp for example) will output a blank screen. I used to do that in my regular My Faces application, but it doesn't seem to work with Shale. 2. Do I have to

Re: Beginner question about views and subviews in Struts Shale.

2006-03-11 Thread Craig McClanahan
On 3/11/06, Marcio E Miranda [EMAIL PROTECTED] wrote: Hi, I've a few questions regarding how Shale handles views and suvbviews: 1. Why a redirect to somepage.faces (in the index.jsp for example) will output a blank screen. I used to do that in my regular My Faces application, but

Beginner Question: Which is the Best place to start

2005-04-12 Thread Balaji H. Kasal
Hi, I am quite new to Struts. Please let me know which is the best place to start with. I am interested to start learning from examples. Thanks in advance. --Balaji - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Beginner Question: Which is the Best place to start

2005-04-12 Thread Erik Weber
http://struts.apache.org/learning.html http://wiki.apache.org/struts/ and http://wiki.apache.org/struts/StrutsResources On that page is a link to a site that helped me a lot when I first started with Struts (plenty of examples): http://www.reumann.net/struts/main.do But, with all that said, I

Re: Beginner Question: Which is the Best place to start

2005-04-12 Thread Kumar deepak
Hi Balaji, Please visit http://www.roseindia.net/struts/ tutorial is with running example. Following topics are covered: Many advance topics like Tiles, Struts Validation Framework, Java Script validations are covered in this tutorial. Introduction to the Apache Struts This lesson is an

Beginner question...

2005-03-31 Thread Apte, Dhanashree (Noblestar)
This is the first time I am doing web programming and using struts as well. I have been meaning to ask this ever since I started. At the risk of sounding stupid, here is the question: If struts is smart enough to figure out logic:iterate and put out the attributes of each bean from the

Re: Beginner question...

2005-03-31 Thread Rick Reumann
Apte, Dhanashree (Noblestar) wrote the following on 3/31/2005 2:07 PM: If struts is smart enough to figure out logic:iterate and put out the attributes of each bean from the collection neatly for editing, why is it not smart enough to figure out which element the user edited and put the changed

RE: Beginner question...

2005-03-31 Thread Sachin Bhutada
-Original Message- From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 11:07 AM To: 'Struts Users Mailing List' Subject: Beginner question... This is the first time I am doing web programming and using struts as well. I have been

Re: Beginner question: No action instance for path /anzeigen could be created

2005-03-25 Thread Wolfgang Rinnert
From: [EMAIL PROTECTED] ... You forgot to extend Action class in your own action. Here is why you got a ClassCastException. Thanks a lot - that was it. 8-) Regards, Wolfgang - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Beginner question: No action instance for path /anzeigen could be created

2005-03-24 Thread Wolfgang Rinnert
Hi all, I am expanding the Struts Upload example. Right now I work on a step to display the data that have been uploaded to a (server-)local file. This step consists of invoking an Action that reads the data into request scope, and a JSP to display the data. When invoking the Action I get an

RE: another easy (I hope) beginner question

2004-09-07 Thread Daniel Perry
Message- From: Tim Cross [mailto:[EMAIL PROTECTED] Sent: 06 September 2004 18:34 To: [EMAIL PROTECTED] Subject: another easy (I hope) beginner question Hail gurus, especially Robert Taylor at mulework.com, who, in spite of his claims not to be a guru, set me right on my last easy beginner

RE: another easy (I hope) beginner question

2004-09-07 Thread Tim Cross
Many thanks (vielen Dank, as they say over here) to everybody who threw in on my easy beginner question. Found a cure, to wit: logic:iterate id=fskRatingOption name=fskRatingOptionBean type=org.apache.struts.util.LabelValueBean logic:equal value=%=(String) fskRatingOption.getValue

another easy (I hope) beginner question

2004-09-06 Thread Tim Cross
Hail gurus, especially Robert Taylor at mulework.com, who, in spite of his claims not to be a guru, set me right on my last easy beginner question (as did my friend and former colleague Ciaran Kenny back in Boulder - the same answer came in from both gurus within an hour of each other). Here's

Re: another easy (I hope) beginner question

2004-09-06 Thread Vic
wrote: Hail gurus, especially Robert Taylor at mulework.com, who, in spite of his claims not to be a guru, set me right on my last easy beginner question (as did my friend and former colleague Ciaran Kenny back in Boulder - the same answer came in from both gurus within an hour of each other). Here's

Re: another easy (I hope) beginner question

2004-09-06 Thread Erik Weber
Tim Cross wrote: Hail gurus, especially Robert Taylor at mulework.com, who, in spite of his claims not to be a guru, set me right on my last easy beginner question (as did my friend and former colleague Ciaran Kenny back in Boulder - the same answer came in from both gurus within an hour of each

Help : Server Side Validation + Client Side using Struts Validator Framework (beginner)

2004-08-27 Thread Ronald B
Hello, I has been quite some time that I have been introduced to STRUTS. (beginner) Could any help write server side code. Thank U Yahoo! India Matrimony: Find your life partner online Go to: http

Re: Help : Server Side Validation + Client Side using Struts Validator Framework (beginner)

2004-08-27 Thread Erik Weber
You might find the examples on Rick Reumann's site helpful. http://www.reumann.net/do/struts/main Erik Ronald B wrote: Hello, I has been quite some time that I have been introduced to STRUTS. (beginner) Could any help write server side code. Thank U

coupla easy (I hope) beginner questions

2004-07-22 Thread Tim Cross
stripped out) like: ### SNIPPET table border=1 cellspacing=2 cellpadding=2 tr td bean.define id=eltIde682d6b47f0101616dd681dc2378/bean.define a href=deleteContact.do?id=${eltId}Delete Contact/a /td tdmr/td tdtim/td ... ### !SNIPPET The first beginner question (I've been working in C and SQL

RE: coupla easy (I hope) beginner questions

2004-07-22 Thread Robert Taylor
Sorry, can't help you with your second question :( robert -Original Message- From: Tim Cross [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 9:22 AM To: [EMAIL PROTECTED] Subject: coupla easy (I hope) beginner questions Hail gurus! I've got a jsp page taking a session

R: coupla easy (I hope) beginner questions

2004-07-22 Thread Amleto Di Salle
compliant (for example Tomcat 5.0.x) and JSTL1.1. BR Amleto -Messaggio originale- Da: Robert Taylor [mailto:[EMAIL PROTECTED] Inviato: giovedì 22 luglio 2004 15.33 A: Struts Users Mailing List Oggetto: RE: coupla easy (I hope) beginner questions I'm no guru, but You can put