Hello struts users
We are facing a strange problem. We submit a form with textfields which
contain some float numbers.
When the entity is loaded the numbers appears in the textfield like this :
x.x
But when we submit the form, it is the input result which is returned. If we
change the numbers
.
On Thu, 2010-07-01 at 15:04 +0800, Stephane Cosmeur wrote:
Hello struts users
We are facing a strange problem. We submit a form with textfields which
contain some float numbers.
When the entity is loaded the numbers appears in the textfield like this
:
x.x
But when we submit the form
is anyways not allowed. Combined with HTTPS this will
give you good enough protection against eavesdropping. But, to protect
data access, you would still need to enforce some access control on the
data based on the user credentials.
cheers,
Rahul Mohan
From:
Stephane Cosmeur cosm...@gmail.com
practise and not a tool or a plugin that
can be used ad-hoc.
Also if You will use such a practise You will find that You don't need
to care about hiding parameters,
because it is not important at all.
Best greetings,
Paweł Wielgus.
2010/6/3 Stephane Cosmeur cosm...@gmail.com:
Thank you for your
Hello,
I would like to improve the security of my web application. My problem is I
would like to encrypt the visible parameters in the URL to prevent user to
change it to access data he should not see.
At start i thought the simple attribute encode of s:url will work for what i
need, but it's not
Hello,
My question is quite simple : what are the best practices to manage the edit
and create form who often are exactly the same. Do you usualy create two jsp
? Do you call an action who check if the object is in the DB or not. Maybe
some people use two diffrent action with two submit (seems
(id);
}
return INPUT;
}
On Tue, May 18, 2010 at 21:02, Stephane Cosmeur cosm...@gmail.com wrote:
Hello,
My question is quite simple : what are the best practices to manage the
edit
and create form who often are exactly the same. Do you usualy create two
jsp
? Do you call
Hey Struts 2 users
i'm facing problem with a s:autocompleter. There is the definition
s:autocompleter
id=employeeAutucompleter
list=employees
headerKey=0
headerValue=-- Please Select --
listKey=id
listValue=lastName
keyName=employeeSelected
label=To
/
Firstly i tried to use they key
Hello struts users !
I am building a web application whose users will often need to search many
diffrent kind of entity. To find it they will have the choice between to
click on the element through a table (not really convinient when there are
many entity) or to find it by a search on the name
Hello Struts 2 Users,
I would like to call an action when an envent onchange from a s:select
component is dispatched. According to the selected value I would like to
load data in a form in order to modify it after. To do that i would like to
call a Struts 2 action with AJAX, is it posible and is
Hello struts users
I have a really basic security problem and i would like to know what is the
best practice to resolve it.
I have an application with an authentification system and diffrent rights
for diffrent type of user. To add or remove a link/fonctionnality, we simply
declarate the element
to your stack on
all protected actions.
Cimballi
On Thu, Apr 15, 2010 at 9:39 PM, Kun Niu haoniu...@gmail.com wrote:
You should check the authentication all by yourself in your action.
Stephane Cosmeur wrote:
Hello struts users
I have a really basic security problem and i would
I tried this as well :
s:select label=Select company
type list=mapTypeCompanyENUM headerValue=-- Please Select --/
Regards,
On Tue, Apr 13, 2010 at 12:51 PM, Stephane Cosmeur cosm...@gmail.comwrote:
Hello
I know my problem is quite common but i can't figure out by google and
myself
;
}
//Others getters and setters
}
On Tue, Apr 13, 2010 at 2:50 PM, Stephane Cosmeur cosm...@gmail.com wrote:
I tried this as well :
s:select label=Select company
type list=mapTypeCompanyENUM headerValue=-- Please Select --/
Regards,
On Tue, Apr 13, 2010 at 12:51 PM, Stephane
Hello
I know my problem is quite common but i can't figure out by google and
myself, although many people had the same problem.
I try to populate a s:select with a map (MapInteger, String, but i got the
(well known) following error :
tag 'select', field 'list', id 'typeCompanyENUM', name
and
populating your List in the prepare() method?
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html
Em 07-04-2010 05:16, Stephane Cosmeur escreveu:
One week later, i'm still bocking on this problem !
The display:table has a really strange behaviour. I still
.
Em 07-04-2010 09:27, Stephane Cosmeur escreveu:
Yes I tried quite early after i discovered my problem and unfortunately
useless. The behaviour stays strictly the same.
On Wed, Apr 7, 2010 at 4:08 PM, Alex Rodriguez Lopez
alo...@flordeutopia.pt
wrote:
Hi Stéphane,
did you try
/ListOrdersClient.action paramProperty=id paramId=id/
display:column property=address/
display:column property=company/
display:column property=phone/
/display:table
/s:if
help plz !
Regards,
On Wed, Mar 31, 2010 at 4:18 PM, Stephane Cosmeur cosm...@gmail.com wrote:
Hello,
My second message
Hello,
My second message on this webmail and still very new on Struts 2.
My problem is, I guess, quite common. I have a simple action which return a
jsp containing a display:table. This table calls his data from the list
inside the actionclass.
The table display perfectly well, but only at the
Hello
I'm very new on struts 2 and i'm facing a problem i can't resolv. I think it
will be a formality for real users of struts.
I have two actions class, ProductAction and CliendAction. And i want to have
in a jsp two s:select to print the list of my clients and the list of my
products.
To
20 matches
Mail list logo