Thank for your help, it's was I was searching for
Kind regards
Simone Buzzi
2013/6/26 Maurizio Cucchiara
> Out of there, there are a lot of WYSWYG editors (like CKEditor) which allow
> to define the list of the supported tags.
>
> For what concerns the server side aspect, I'd suggest you JSOUP
Hi, I have some doubt about how to use validation annotation.
I'm changing my code to make it more readable and maintainable.
I started from an action where I had all setters with annotation and i put
data in a private local variable
ex.
private String email;
@RequiredStringValidator(key="fieldE
Good discussion. Thanks guys. Some replies:
Chris: No joy on using the second form on all.
Dave:
> How would you propose to make them the same but end up with different
results?
I understand what you're saying and get it. You're clear depiction of the
separation of tasks is helpful. Maybe I'm jus
How can i redefine the completeStack without the token interceptor ? My
intention was NOT to use token. I guess my option here is to turn off this
message.
Sent from my iPad
On Jun 27, 2013, at 5:19 PM, Felipe Lorenz
wrote:
> As far as I can see, you are using the completeStack which use tok
I agree, you should be using indexed tags, and they are two different things as
Dave has stated.
>>> Dave Newton 6/27/2013 5:19 PM >>>
On Thu, Jun 27, 2013 at 4:38 PM, Eric Lentz
wrote:
> value="%{foos[#stat.index].aString}" />
>
Here you're doing to explicitly different things:
1. Pr
As far as I can see, you are using the completeStack which use token
interceptor.
If you intend to use token, you can turn off this message by configuring the
log properly.
If not, you should redifine the completeStack without the token interceptor.
Felipe Lorenz
Em 27/06/2013, às 17:35, Omar
On Thu, Jun 27, 2013 at 4:38 PM, Eric Lentz
wrote:
> value="%{foos[#stat.index].aString}" />
>
Here you're doing to explicitly different things:
1. Provide a name (a string) with an embedded expression evaluation.
2. Execute an OGNL expression to retrieve a value.
Normalizing these thing
Try using the second form in all three spots. I believe it should work.
(*Chris*)
On Thu, Jun 27, 2013 at 1:38 PM, Eric Lentz wrote:
> My questions are: Is there a better place to discuss this? Could this ever
> be enhanced?
>
> The issue:
> I'd love to see more consistency in the way we must
My questions are: Is there a better place to discuss this? Could this ever
be enhanced?
The issue:
I'd love to see more consistency in the way we must access indexed values
when iterating. Consider the example below and note that there are 3
distinct ways in which I must access the index value. I
1. Yes struts.dev is setted to false.
2. This is how I am using the interceptor:
1000
1000
/pages/wait.jsp
3. I am using struts2.3.1.2
Thanks,
From: Felipe Lorenz
To: Struts Use
Hello Omar,
Is needed more information, but I can guess some things:
1 - struts.dev is setted to false?
2 - are you using token interceptor?
3 - if yes, there is a token value in the submitted form?
4 - what version of struts are the project using? there is a resolved issue
about it: https://is
Issue created!
Felipe Lorenz
Em 27/06/2013, às 16:46, Lukasz Lenart escreveu:
> 2013/6/27 Felipe Lorenz :
>> felipe.lorenz
>
> You should have "Create Issue" on the top right?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> --
Hello,
Is anybody knows why I am getting the following warning message while waiting
page is displaying. (execAndWait)?
WARN [org.apache.struts2.util.TokenHelper] Could not find token mapped to
token name struts.token
Thanks,
2013/6/27 Felipe Lorenz :
> felipe.lorenz
You should have "Create Issue" on the top right?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additiona
Hello Martin,
I'm not sure. Actually my experience with Spring is almost, but very close to
0. I know what spring does and I know there is a lot of modules in Spring, but
I never try it in my projects.
Maybe Lukasz can help you with it.
Att,
Felipe Lorenz
Em 27/06/2013, às 12:11, Martin Gaint
felipe.lorenz
Felipe Lorenz
Gerente de Projetos
Idealogic Software
Fone: (51) 3715 5523 - (51) 3715 5548
www.idealogic.com.br
Em 27/06/2013, às 09:17, Lukasz Lenart escreveu:
> Username?
>
> 2013/6/27 Felipe Lorenz :
>> Sure!
>>
>> I have created an user at jira, but I think I dont have permis
Felipe and Lukasz
Spring 3.1 supports "injectable namespaces" to constructor of Spring Object
would something like this work for proxyFactory?
http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/htmlsingle/spring-framework-reference.html#beans-c-namespace
Obrigado,
Marti
> Date: Thu, 27 Jun 2013 13:21:35 +0200
> From: frich...@mtg.de
> To: user@struts.apache.org
> Subject: Re: if/elseif tag syntax
>
> Am 27.06.2013 12:59, schrieb Antonios Gkogkakis:
> > But how would the framework know with what to populate it?
> >
> > You either do it manually in the body of the
Username?
2013/6/27 Felipe Lorenz :
> Sure!
>
> I have created an user at jira, but I think I dont have permissions to open a
> new issue. Or am I in the wrong place? :)
>
>
> Felipe Lorenz
>
> Em 27/06/2013, às 03:11, Lukasz Lenart escreveu:
>
>> Thanks Felipe!
>>
>> I think we must extend RestA
Sure!
I have created an user at jira, but I think I dont have permissions to open a
new issue. Or am I in the wrong place? :)
Felipe Lorenz
Em 27/06/2013, às 03:11, Lukasz Lenart escreveu:
> Thanks Felipe!
>
> I think we must extend RestActionProxyFactory to also add exclude list
> of namesp
Am 27.06.2013 12:59, schrieb Antonios Gkogkakis:
But how would the framework know with what to populate it?
You either do it manually in the body of the action that you execute to
reach the view ,e.g.,
certificate = //logic to get the certificate
or you can implement the ModelDriven interface
But how would the framework know with what to populate it?
You either do it manually in the body of the action that you execute to
reach the view ,e.g.,
certificate = //logic to get the certificate
or you can implement the ModelDriven interface which has a method (prepare
I think) that gets call
Am 27.06.2013 12:43, schrieb Antonios Gkogkakis:
I assume you are on Struts2.
Yes, I am, more precisely I am migrating an application from Webwork to
Struts2.
I'm not familiar with the ${} expression, but you are right, there is an
OGNL null handler that will instantiate objects for you if
I assume you are on Struts2.
I'm not familiar with the ${} expression, but you are right, there is an
OGNL null handler that will instantiate objects for you if they are null,
so the behaviour we see makes sense, which means that you don't have a
certificate in the value stack.
How do you access y
I have an update: I enabled the ${certificate.status} in the else branch
again and checked the tomcat logs:
getStatus called: 0
getStatus called: 0
getStatus called: 0
getStatus called: 0
getStatus called: 1
That would mean that for each if/elseif he doesnt actually call
getStatus on the actua
if it's called then there is something wrong with the comparison, are you
sure that you don't have a String getStatus somewhere?
What I would do is instead of checking the == 1 in the jsp create a method
on the certificate boolean isValid() { return status==1} and so on.
I know it doesn't answer y
Am 27.06.2013 11:20, schrieb Antonios Gkogkakis:
I would temporarily remove ${certificate.status} from the else and I would
check if the getStatus is called for the conditionals
Yes, it is called.
I was hoping it wasn't :( What now?
smime.p7s
Description: S/MIME Kryptografische Unterschrif
I would temporarily remove ${certificate.status} from the else and I would
check if the getStatus is called for the conditionals
Antonios
On 27 June 2013 09:56, Fabian Richter wrote:
> All objects have getters/setters set, this is the except of the jsp code
> with the problem (trying to write
All objects have getters/setters set, this is the except of the jsp code
with the problem (trying to write a text that depends on the value of
certificate.status into a table cell):
${certificate.status}
The result is that in every of these table cells o
Long would be fine as well,
I tested option 2 and 3 and it works, the important thing is to have
gettersfor certificate and status. and an object that has a
certificate field in
your value stack,
Your last option is probably not valid unless you have used s:set to push a
bean in the value stack wi
Stupid me, getStatus was what I was reading and that one returns an int.
Am 27.06.2013 10:33, schrieb Fabian Richter:
Hi Antonios,
you mean the java source Code or something I can extract from the jsp?
The source code is confidential.
I checked the get/set methods and getId on certificate ret
Hi Antonios,
you mean the java source Code or something I can extract from the jsp?
The source code is confidential.
I checked the get/set methods and getId on certificate returns a Long if
thats what you wanted to know...
Best
Fabian
Am 27.06.2013 10:24, schrieb Antonios Gkogkakis:
Hi Fab
Hi Fabian,
Can you give as the code of the Action that is in the Value Stack?
Antonios
On 27 June 2013 09:16, Fabian Richter wrote:
> Hey,
>
> so I tried to use the tag in one of my jsps and couldnt get
> neither working:
>
> isTrue
> isTrue
> isTrue
> isTrue
>
> but
>
> ${certificate.status
Hi John,
If you copy pasted your code from your IDE, there is a typoit should be status,
so that won't work,
On 27 June 2013 06:54, wrote:
> Did you get an exception in the logs?
> Sent via BlackBerry from T-Mobile
>
> -Original Message-
> From: john lee
> Date: Wed, 26 Jun 2013 2
Hey,
so I tried to use the tag in one of my jsps and couldnt
get neither working:
isTrue
isTrue
isTrue
isTrue
but
${certificate.status}
outputs a 1. Using ${certificate.status} within test="" throws a JSP
exception that "attribute test does not accept any expressions"
The only thing th
Am 27.06.2013 09:05, schrieb Lukasz Lenart:
Hmm... so why do you map it to *.html? And not to /* or *.action?
It was like that in the original web.xml when the application ran with
Webwork. I also tried /* without changes.
But I had some progress in my "Dispatcher not started" problem:
2013/6/27 Fabian Richter :
> Am 27.06.2013 08:59, schrieb Lukasz Lenart:
>>
>> 2013/6/27 Fabian Richter :
>>>
>>> I meant when I call https://localhost/app/ the url is rewritten by the
>>> app
>>> to https://localhost/app/index.html
>>
>>
>> Looks like one of your filters messing things up. Try to
Am 27.06.2013 08:59, schrieb Lukasz Lenart:
2013/6/27 Fabian Richter :
I meant when I call https://localhost/app/ the url is rewritten by the app
to https://localhost/app/index.html
Looks like one of your filters messing things up. Try to comment out this
appFilter
*.html
2013/6/27 Fabian Richter :
> I meant when I call https://localhost/app/ the url is rewritten by the app
> to https://localhost/app/index.html
Looks like one of your filters messing things up. Try to comment out this
appFilter
*.html
Regards
--
Łukasz
+ 48 606 323 122 http
39 matches
Mail list logo