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 som
do I use Struts2... Servlet do the same.
>
> Thanks
> Marco
>
>
>
>
> On Mon, Nov 14, 2011 at 3:58 PM, Edward W. Rouse
> wrote:
> > You could always store it in the session and read it from there.
> >
> >> -Original Message-
> >> From
d 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: Begin
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: Beginner questi
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
> You are right, but the user must see the fields and I need the object
> with all properties for call (JPA) persist method. wha
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
Mar
rom T-Mobile
-Original Message-
From: Marco Schwarz
Date: Fri, 11 Nov 2011 23:16:24
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: Beginner question
Hi,
hidden tags and plain text solve my problem ...
I find, when I disable components via jque
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 wrote:
> 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 pr
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 wrote:
> I'd either:
>
> (a) Not render it as a text field, but rather as plain text, o
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
wrote:
> Hi,
>
> that's I understand... but I disable fields because a use
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 wrote:
> Oh, I misunderstood; I thought you mea
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 wrote:
> Probably because it doesn't need to.
>
> Dave
>
> On Fri, Nov 11, 2011 at 4:43 PM, Marco Schwarz
> wrote:
Probably because it doesn't need to.
Dave
On Fri, Nov 11, 2011 at 4:43 PM, Marco Schwarz
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.
>
> Thanks
> Marc
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
wrote:
> Hi,
>
> I'm new in this mailinglist.
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
> appl
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
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 alw
-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 meanin
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 val
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 ad
You forgot to extend "Action" class in your own action. Here is why you
got a ClassCastException.
public class AnzeigenAction extends Action
{
..
}
Ciao
Antonio
Wolfgang Rinnert wrote:
> Hi all,
> I am expanding the Struts Upload example.
> Right now I work on a step to display the data that
21 matches
Mail list logo