Then I probably have misunderstood your question. Could you explain
your problem in a little more detail?
Nils-H
On Thu, Jan 8, 2009 at 7:53 PM, Jaarthy wrote:
>
> But how can I implement Ajax in that?
>
>
> Nils-Helge Garli wrote:
>>
>> You can combine and to create your links.
>>
>> http:/
I need to fetch a locale specific string for an evaluation and cannot get
the syntax worked out:
!title.toUpperCase().equals( getText("titleMatch") )
Should this work? I also tried:
!title.toUpperCase().eq
Hi all,
I have an Action class which has basic CRUD methods in it. I'm using
convention plugin. I want to ajax-call list, save, and delete methods using
dojo rpc. (I included my UsersAction class below).
I did these kind of things in php, but it is, at least for now, very
difficult for me to unders
The OgnlValueStack swallows the exceptions. Always rethrowing the
exception is not an option, as that it not wanted in many places. The
challenge is to do some refactoring, so the exceptions are thrown only
when OgnlValueStack:find(...) is called from the view. I will play
around with it, see if I
Hello all:
When I include this tag in the head tag of
my layout:
My webapp seems to take about a second per page
load.
If I remove that tag, things are lightning fast.
I only need the datetimepicker struts tag, nothing
else.
Is there a way to make this faster?
Thanks,
Neil
--
Neil
Did you fix it? Do I need to upgrade my IE version from 6 to 7? Does that
helps to fix this issue?
Also I read (some where) that in Struts 2.1.x they have some fixes for IE
when using Ajax. was it true? But migrating from 2.0.11 to 2.1.x is simpler
and im end of my project completion.
Any help
Thank you for your good explanation. Nevertheless I'll prefer to do it the
Java way 'cos the validation is more complicated than just do some tests for
required string properties.
Dirk Forchel
Greg Lindholm wrote:
>
> I see what you are asking for, but sorry I'm sure it doesn't exist, there
>
>
> I agree, Struts2 sucks big time in
> this regard while being an excellent framework otherwise.
>
> Robert
Judging from my (not very long) experience with Struts2, I agree wholeheartedly
with that.
It really seems badly broken that the framework (OGNL, in this case)
swallows exceptions (even i
On Thursday 08 January 2009 18:12:48 John Cartwright wrote:
> No, in this case the mime type is not application/x-www-form-urlencoded
> and not sent w/ KVP from a form. The body of the POST is all content.
>
Hmm, then I'm sorry I'm probably not going to be much help. Although I've done
quite a bi
I see what you are asking for, but sorry I'm sure it doesn't exist, there is
no annotation combining logic, each validation annotation has to
stand-on-its-own.
So to do what you are asking, you couldn't use the @RequiredStringValidator,
you would need to use a Expression Validator and combine the
Hello,
can anybody give me some hints on the configuration of validators to avoid
redundant configuration.
Lets say, you have 3 actions, all off them have a username field. To validate
the username three build-in validators are used (with annotation or via xml).
If the validation rule changes,
Dirk Forchel wrote:
I could not resolve my problem yet. How can I use the "dispatch" result type
to forward to actions (or maybe tiles definitions) rather than to JSPs?
You can't, AFAIK. You use "redirectAction" to go to actions, and "tiles"
to go to Tiles. IIRC "tiles" aren't redirects, so yo
Hi Himanshu,
i don't know it for sure but try:
Best greetings,
Paweł Wielgus.
2009/1/9 Himanshu Rathore :
> Hi,
>
> I'm trying to display data in a drop-down but no success till now. I checked
> online documents and other examples but somehow they are not working for me.
>
> Here is how I have i
I had the same problem with FF3 and IE7..
- Message d'origine
De : Sashik
À : user@struts.apache.org
Envoyé le : Jeudi, 8 Janvier 2009, 22h27mn 48s
Objet : Struts2 ajaxified autocompleter is sh
Hi,
I'm trying to display data in a drop-down but no success till now. I checked
online documents and other examples but somehow they are not working for me.
Here is how I have implemented the code:
*Action class*
private String countryId;
private List countryList = new ArrayList(0);
publi
Ah...of course. I should have double checked the portlet api docs.
Thanks for the feedback. Good idea for a future improvement.
Nils-H
On Fri, Jan 9, 2009 at 7:41 AM, Daoyue Ming wrote:
> servlet-config is used for getting parameter, session objects, etc.
>
> however I found the solution for my
If you're running with log4j in your app, set the logging priority on
the root logger to debug. It spews a lot of messages, and the type
converter messages are there - I was using this facility the other day
when trying to upgrade an existing app from 2.0.x to 2.1.2.
Andy.
On 9 Jan 2009, a
Hi!
To my knowledge, you have to enable devMode. This gives you a lot of
debugging output and exception stack traces on the console. The drawback
is that it makes your application rather sluggish.
Yes, the article you quote is well known. I agree, Struts2 sucks big
time in this regard while
It's really an annoying issue of struts2.
It took me long time to troubleshoot this kind of problem.
One time I came across "NoClassDefFoundError".
It was swallowed by xwork.
I wouldn't know it if I'd not used eclipse debbuger to step in the code.
I wonder why this simple issue is not fixed in st
Hi,
Is there anyway to get better error message there's an error occurring in
ognl?
Everytime there's an exception in ognl it's swallowed.
And I ran into some "No Result Found for XxxAction" error.
It's extremely hard to debug, because there's no any useful information in
it.
All of them seem
I could not resolve my problem yet. How can I use the "dispatch" result type
to forward to actions (or maybe tiles definitions) rather than to JSPs?
In my application are some situations where I have to forward the error
messages or the field validation errors to to a different action. I can not
u
21 matches
Mail list logo