Hi I am using Struts2.1.6 and trying to use DOJO inorder to use tabbed panel
using this
http://struts.apache.org/2.0.9/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Reloadtabscontentwhenselected
link . I no able to see the tabs at all
This is my jsp page:
<%@ taglib prefix="s"
We use the tomcat method and have found there are no issues:
What you do is that in either your tomcat web.xml or your app xml specify :
jsp
*.css
Which will treat the css files as jsps and parse any el expressions they
contain and in your css place the following at the top so the
Hello everyone!
I am having the same problem with Struts2.1.6.
The jars being used are:
struts2-core-2.1.6.jar
struts2-dojo-plugin-2.1.6.jar
Here is my jsp page:
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
" rel="stylesheet"
type="te
That's because that document applies to the 2.1.x version of Struts 2, if
${} was working inside of the struts tags you're at least back before 2.0.9
and the var tag didn't exist (so the id tag was not yet deprecated).
(*Chris*)
On Wed, Aug 5, 2009 at 9:53 AM, wrote:
> but in this document
> h
questionId is just a string. so dont think its equals or hash problem.
wes, what you suggested I've put that in place and testing to see if error
comes again.
On Wed, Aug 5, 2009 at 1:35 PM, wrote:
>
> what type is questionId? You might have a problem with the
> equals() in it.
> Chris
>
>
>
>
what type is questionId? You might have a problem with the
equals() in it.
Chris
-Original Message-
From: Wes Wannemacher
To: Struts Users Mailing List
Sent: Wed, Aug 5, 2009 1:09 pm
Subject: Re: struts2 ognl confusion
I would try to fiddle around with incorrectQs to
I would try to fiddle around with incorrectQs to see why .contains
isn't working... I'm guessing that if you iterate both lists, although
not efficient, you might get better results -
Print Something
On Wed, Aug 5, 2009 at 12:22 PM, Bhaarat Sharma wrote:
> looks like it is not wor
but my version < 2.1.6
On Wed, Aug 5, 2009 at 12:53 PM, wrote:
> but in this document
> http://struts.apache.org/2.1.6/docs/iterator.html
> id attribute is deprecated.
>
> Louis
>
>
>
> From: Chris Pratt
> To: Struts Users Mailing List
> Sent: Wednesday, August
but in this document
http://struts.apache.org/2.1.6/docs/iterator.html
id attribute is deprecated.
Louis
From: Chris Pratt
To: Struts Users Mailing List
Sent: Wednesday, August 5, 2009 4:54:31 PM
Subject: Re: struts2 ognl confusion
You must be using a fairly o
looks like it is not working only in contains.I tried the following:
Print
Something
Line 6 prints fine and prints questionId...:(
On Wed, Aug 5, 2009 at 12:09 PM, Bhaarat Sharma wrote:
> thanks for the explanation chris. but usi
In my webProject, its not possible to set the locale by the browser. This is
special, I know.
If anybody finds a solution to my validationproblem, please tell me.
EmiliyD wrote:
>
> Hi,
> I am trying to develop a localized validation for my struts2 project.
> Dynamically the locale-specific va
thanks for the explanation chris. but using what you suggested is not making
Print Something appear even once. so the test statement is never evaluated
to true. ...leading me to suspect that ognl expression is not working.
I am not sure whether the random error that is happening for us is being
cau
yes, it is intentionally not documented as we don't want people to
experiment with it much, but xwork will sort the plugins according to
the "order" attribute, the default is Integer.MAX_VALUE.
musachy
On Wed, Aug 5, 2009 at 8:28 AM, Wes Wannemacher wrote:
> Yeah, I can't remember when it was add
You must be using a fairly old version of Struts 2. The difference between
the ${} and the # versions is that the ${} is a JSTL EL expression that is
no longer allowed inside struts (s:) tags for security reasons. The #
version is OGNL and references the variable that Wes tried to define. Try
us
from the download section of the json plugin project, make sure you
download the one that is for struts 2.1.x.
musachy
On Wed, Aug 5, 2009 at 3:43 AM, Alfredo
Brizzi wrote:
> I have upgrade to struts 2.1.8 and xwork 2.1.5 and when i select items in my
> autocompleter i receive this error:
>
> ..
Hi Martin,
I have just included the following elements in my struts-config file:
and it works without absorbing all the memory I expected - or at least I was
told from the Apache common upload API web site.
Does anybody have any hint about the memory usage?
Thanks,
Dan
On Wed, Aug 5, 2009 a
Out of curiosity, what validations are different based on the users country
setting?
Of course the user can change the country/language/locale setting in there
browser so you can not rely on it being accurate.
On Wed, Aug 5, 2009 at 11:40 AM, EmiliyD wrote:
>
> Hi,
> I am trying to develop a lo
oh and attribute 'var' seems to be invalid according to the TLD
On Wed, Aug 5, 2009 at 11:42 AM, Bhaarat Sharma wrote:
> ok thanks Wes. yeah that is def. more readable.
> could you please tell me what the difference is in doing
>
> VS.
>
>
> beside the question.questionId part. I am mo
ok thanks Wes. yeah that is def. more readable.
could you please tell me what the difference is in doing
VS.
beside the question.questionId part. I am more concerned about difference in
'$' vs. '#'
On Wed, Aug 5, 2009 at 11:39 AM, Wes Wannemacher wrote:
> I think this would be more re
Dan-
Struts 1.x has a hard ceiling of 4MB for max file size of uploaded files
have you tried the new Struts-2.1.7 upload plugin?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Ez az
üzenet bizalmas. Ha nem
Hi,
I am trying to develop a localized validation for my struts2 project.
Dynamically the locale-specific validation.xml should be used.
My project holds different validationfiles for each country:
actionClass1_ie.validation
actionClass1_de.validation
is there a way to make struts load the
I think this would be more readable -
Print Something
-Wes
On Wed, Aug 5, 2009 at 11:35 AM, Bhaarat Sharma wrote:
> I have the following code in a jsp
> Line1:
> Line2:
> Line3: Print
> Something
> Line4:
> Line5:
>
> On Line1 questions is a list. This list c
I have the following code in a jsp
Line1:
Line2:
Line3:Print
Something
Line4:
Line5:
On Line1 questions is a list. This list contains object of class Exam.
Class Exam has a getter/setter questionId
On Line2 incorrectQs is a list. This list contains strings.
I am checking to see
Yeah, I can't remember when it was added, but the 'struts' element in
struts-plugin.xml can take an attribute called 'order'
Take a look at the osgi and convention plugin, they are the only two
using it... But, I think they were the problem before, OSGi needed to
be loaded before convention for th
Musachy Barroso wrote:
You might want to take a look at this:
http://cwiki.apache.org/confluence/display/S2PLUGINS/Embedded+JSP+Plugin
fresh from the oven, early adopters wanted ;)
Did we ever come up with a way to order the loading of plugins so that
interdependencies can be properly resolv
Not sure if it's related, but did you try using Long for your setter, or
Object - and then see what it is an instance of?
It may be useful to post the setter, since that is what the issue is with.
Misspelled, etc?
-Original Message-
From: sha...@mobily [mailto:shahid@gmail.com]
Sent:
Hi All,
I posted an email concerning the uploading of large files and on the
streaming of them into the local HD or database - this email should fall in
the same thread.
Now, always using Struts 1.3 with the Common File API, I'm uploading and
downloading a 1.5 Gb through the web interface and I'm
I just started on strut2, I am facing a very basic problem.
for the int field it should convert the type and only shd give error if
provided an invalid integer value such as 123abc.
I have an Action Class
public class PolicyAction extends ActionSupport {
private java.sql.Date passwordExpiry;
i have xwork-2.1.1.jar in WEB-INF\lib folder
ciao
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine
have you tried to upgrade the json plugin jar to version 2.1.8 as well?
it sound a missing jar file.
2009/8/5 Alfredo Brizzi
> I have upgrade to struts 2.1.8 and xwork 2.1.5 and when i select items in
> my autocompleter i receive this error:
>
> ...
> GRAVE: Servlet.service() for servlet default threw exception
> java.lang.NoClassDefFoundError: com/opensymphony/xwo
I have upgrade to struts 2.1.8 and xwork 2.1.5 and when i select items in my
autocompleter i receive this error:
...
GRAVE: Servlet.service() for servlet default threw exception
java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils
at
com.googlecode.jsonplugin.SerializationP
struts2.1.8 has not been released!!
2009/8/5 Alfredo Brizzi
> I have upgrade to struts 2.1.8 and xwork 2.1.5 and i receive this error:
>
> GRAVE: Servlet.service() for servlet default threw exception
> java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils
> at
> com.googlecod
I have upgrade to struts 2.1.8 and xwork 2.1.5 and i receive this error:
GRAVE: Servlet.service() for servlet default threw exception
java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils
at
com.googlecode.jsonplugin.SerializationParams.(SerializationParams.java:38)
at
co
Try to make round after 2 decimal point..
Like 1.21
-Original Message-
From: srinivas [mailto:srinivas.r...@sifycorp.com]
Sent: Wednesday, August 05, 2009 3:14 PM
To: Struts Users Mailing List
Subject: Currency formate
Hi,
When i provide a large double value in the text feild i am gett
Hi,
When i provide a large double value in the text feild i am getting the
value in exponential formate
Ex: if i provide value : 121222 in the text field.
and if the page render again due to the validation errors
i am getting the value 1.2123E25.
If any one
Haroon Rafique wrote:
>
> If your file structure is somewhat like:
>
> styles/base.css
> images/image.gif
>
> then you can simply change your background-image directive to say:
> background-image: url('../images/image.gif');
>
>
and
Musachy Barroso wrote:
>
> assuming your dir structur
37 matches
Mail list logo