Yeah... basically conversion isn't needed in that case ;-)
2014-11-20 15:32 GMT+01:00 JOSE L MARTINEZ-AVIAL :
> I jsut used the annotation:
> private String parameterArray[] = null;
> @TypeConversion(rule= ConversionRule.COLLECTION, type =
> ConversionType.CLASS, converter = "com.xxx.y
I jsut used the annotation:
private String parameterArray[] = null;
@TypeConversion(rule= ConversionRule.COLLECTION, type =
ConversionType.CLASS, converter = "com.xxx.yyy.util.conversion.
struts2.JSoupConversor")
public void setParameterArray(String parameterArray[]) {
this.
How did you register it?
2014-11-19 12:55 GMT+01:00 JOSE L MARTINEZ-AVIAL :
> Quick question here. I'm working on the approach to use a custom conversor.
> It works fine for standard parameters (Just a String), but I'm having
> issues when the getter receives a String[] parameters
>
> private
Quick question here. I'm working on the approach to use a custom conversor.
It works fine for standard parameters (Just a String), but I'm having
issues when the getter receives a String[] parameters
private String parameter = null;
@TypeConversion(type = ConversionType.CLASS, converter =
Thanks for the ideas. Overwriting retrieveParameters(ActionContext ac)
method seems a good solution, although that would imply doing it to all
parameters. While that could be ok, I would like to take a less aggressive
approach.One option I'm considering is to user a custom Converter that
could take
2014-11-19 4:57 GMT+01:00 JOSE L MARTINEZ-AVIAL :
> Hello,
> We are using Struts 2.3.16.3 for our application. Due to security
> reasons, we need to "clean" the user's input in order to avoid XSS. We are
> using JSoup for that, with success(
> http://jsoup.org/cookbook/cleaning-html/whitelist-san
> Hello,
> We are using Struts 2.3.16.3 for our application. Due to security
> reasons, we need to "clean" the user's input in order to avoid XSS. We
are
> using JSoup for that, with success(
> http://jsoup.org/cookbook/cleaning-html/whitelist-sanitizer).
>
> The issues is that we haven't fin
Hello,
We are using Struts 2.3.16.3 for our application. Due to security
reasons, we need to "clean" the user's input in order to avoid XSS. We are
using JSoup for that, with success(
http://jsoup.org/cookbook/cleaning-html/whitelist-sanitizer).
The issues is that we haven't find a really good
Well the problem is if I make a change to first jsp, then I need to
make the same change on the second JSP like adding fields etc. This
really becomes a pain when I have to change the page layout. If it is
just one jsp, I can get away with changing just one page instead of
two. This jsp is huge wit
Lukasz Lenart wrote:
2009/4/21 Suneel :
I've a JSP where the user views a set of html input fields. The user
enters the values and submits the page and he is taken to another page
where he gets a chance to review his inputs before final submission.
All this JSP does is, it displays the inputs as
2009/4/21 Security Management :
> Yes, create a theme based on simple that sets the disabled=true for the
> fields, and render with that theme.
Some browses don't send to a server disabled fields, so you will have
to duplicate them in to the hidden inputs. You can use readonly=true
but it can be c
2009/4/21 Suneel :
> I've a JSP where the user views a set of html input fields. The user
> enters the values and submits the page and he is taken to another page
> where he gets a chance to review his inputs before final submission.
> All this JSP does is, it displays the inputs as plain text inst
AM
To: Struts Users Mailing List
Subject: Non editable jsp with struts 2 templates - whats the best approach?
Hi,
I've a JSP where the user views a set of html input fields. The user
enters the values and submits the page and he is taken to another page
where he gets a chance to review his inp
Hi,
I've a JSP where the user views a set of html input fields. The user
enters the values and submits the page and he is taken to another page
where he gets a chance to review his inputs before final submission.
All this JSP does is, it displays the inputs as plain text instead of
html inputs usi
lbastil wrote:
Please give me advices what would be the best approach in the struts 2 world
to realize a limited view (authorization).
In struts 1 I would have created a simple tag which is able to render it
childs dependent on
authorization of user, something like:
... some content
Please give me advices what would be the best approach in the struts 2 world
to realize a limited view (authorization).
In struts 1 I would have created a simple tag which is able to render it
childs dependent on
authorization of user, something like:
... some content ...
Is there a better
laim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, January 14, 2008 6:21 AM
To: Struts Users Mailing List
Subject: Re: [S2] Best approach to separate look & feel with
same backend
your inbox.
Visit http://www.spammilter.com for details.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 6:21 AM
> To: Struts Users Mailing List
> Subject: Re: [S2] Best approach to separate look & feel with
d Bollinger [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, January 13, 2008 3:38 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [S2] Best approach to separate look & feel with
> > same backend code
> >
> > Hi Neil,
> >
> > When yo
for details.
> -Original Message-
> From: Rod Bollinger [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 13, 2008 3:38 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [S2] Best approach to separate look & feel with
> same backend code
>
> Hi Nei
2008/1/13, Rod Bollinger <[EMAIL PROTECTED]>:
> Additionally, if your current site is not already using Tiles, you should
> consider refactoring to add this flexibility. With a Tiles and CSS-based
> approach you can completely re-use your current middle and back-end tiers
> with little or no modifi
best approach will be
to use CSS to make one site look and feel different than the other site.
Additionally, if your current site is not already using Tiles, you should
consider refactoring to add this flexibility. With a Tiles and CSS-based
approach you can completely re-use your current middle and
Hello:
I am trying to figure out the best way to do this:
I have two domains.
I am going to develop two different web sites
which will use the same backend database and have
the same functionality, just a different look and
feel.
Should I:
1. Create two separate webapps? That seems poor
e it helps...
"Paul Saumets" <[EMAIL PROTECTED]>
27/02/2007 18:29
Please respond to
"Struts Users Mailing List"
To
user@struts.apache.org
cc
Subject
[S2] LoginAction - Best approach feedback?
AcceptTentativeDeclineCalenda
AcceptTentativeDeclineCalendar
AcceptTentativeDeclineCalendar
Hey,
Looking for feedback on best way to implement a login action mechanism using
Struts2/Spring/JPA
Initially I had declared u
form and you can use that to determine
which button was pressed in your action class.
--Ron
-Original Message-
From: Maya menon [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 8:56 AM
To: user@struts.apache.org
Subject: Best approach
All,
I have 4 buttons in a jsp.
The
All,
I have 4 buttons in a jsp.
The four should do four different things, with 2 being Submit and Cancel. Is
it a good way to write 3 different action classes or just one action class ?
Which is a good approach ?
Thanks
__
Do You
gt; Regards,
>
> Carlos
>
>
>
> - Original Message -
> From: "Ben" <[EMAIL PROTECTED]>
> To: "Struts" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 07, 2004 5:17 AM
> Subject: Best approach to implement date dropdown
>
&g
If your users are happy with the separate drop-downs for month, date,
and year than this approach allows the greatest control. However, since
the data is spread between multiple input fields, I think you will find
that it is easier to implement validate() yourself instead of trying to
use the V
the form of a
DynaValidatorForm, maybe you could comment more on your intended solution...
Regards,
Carlos
- Original Message -
From: "Ben" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 2004 5:17 AM
Subject: Best approa
Hi
I am using Struts with Velocity as a replacement to JSP. I would like
to implement a date drop down list and love to hear your opinions on
the best way to implement it.
I like to have something like these on my ActionForms and use
ValidatorPlugin to validate the data:
[MM] [DD] []
Or
>F
31 matches
Mail list logo