=app.username size=15
labelposition=top /
In other jsp, I just copied the same code s:textfield
name=username key=app.username size=15 labelposition=top / , not
getting the actual result.
Can you provide some suggestion.
Muthu Velappan wrote:
I agree with Vishnu if the project
Hi,
I got a weird issue in my test environment today. So far, we have been using
Tomcat 6.0.14 as our web server and everything works fine. Today, I moved
that to JBOSS 5.1.0 GA for testing purpose and I got an exception trace as
pasted below. It says that exception in registering
Yes, what Robert said is perfect, you can't get the remote host name.
If you so critical about that client information then you can some
Geographic location software's like this to find that out
http://www.ip2location.com/. In one of our POC, we used this to identify the
country where our user
I think you are right. Let me try that and get back to you. All I need is to
add a new attribute to take the second label name...
Thanks,
Muthu
-Original Message-
From: Dale Newfield [mailto:d...@newfield.org]
Sent: Friday, November 06, 2009 3:19 AM
To: Struts Users Mailing List
Newfield [mailto:d...@newfield.org]
Sent: Thursday, November 05, 2009 10:09 PM
To: Struts Users Mailing List
Subject: Re: Is there any way to apply break from a s:iterator tag.
Muthu Velappan wrote:
I have a 1000 items in a collection and iterating it through s:iterator
tag. At certain point
Wes,
I tried to get access to the MEAP Version lately but publisher site has
mentioned that it has been taken out of print. Can we know the status of
this book now, will it be published by some other vendor?
Regards,
Muthu
-Original Message-
From: Yanto [mailto:yantob...@gmail.com]
Hi,
I'm not sure whether it reached the group... Can any one please give your
thoughts at least to the 1'st point.
I'm stuck with this for about a week and yet to identify a good solution for
that
Thanks,
Muthu
Muthu Velappan wrote:
Hi,
I have used a Double Select control display
Hi,
I have used a Double Select control display Division Sub-Divisions in my
project. Everything works fine except two UI Issues.
1. I’m unable to get separate labels for 2 Select box controls. It uses
only
single label. Is that a limitation, if so how to work-around it?
2. I want
Try this one..
You can load the properties file in servlet using this line
URL url = servletContext.getResource(/WEB-INF/option.properties);
Properties props = new Properties().load(url.openStream());
Now you have all the key value pair from properties files into your
Hi,
I have 3 different modules in my project and added that into struts.xml like
this
!-- Membership module actions --
include file=membership.xml /
include file=home.xml /
include file=admin.xml /
I got a feedback.jsp page in admin module. When user hit the
Hi,
I have 3 different modules in my project and added that into struts.xml like
this
!-- Membership module actions --
include file=membership.xml /
include file=home.xml /
include file=admin.xml /
I got a feedback.jsp page in admin module. When user hit the cancel
to check that the configuration is what you
intended.
Chris
-Original Message-
From: Muthu Velappan muthu.velap...@aspiresys.com
To: user@struts.apache.org
Sent: Wed, Sep 23, 2009 3:10 am
Subject: Switching Action between different modules...
Hi,
I have 3 different
, If user select hindi
index.action?request_locale=hi Hindi
i need to change all hindi text in throughout my application all the jsp
pages.
Can you give me suggestion
Muthu Velappan wrote:
I think if an app has to support internationalization then all text should
be written from
Try this...
Take a copy of ur current properties file and name it as hinditext.txt(save
it in UTF-8 format)
Now open command prompt and go to your JAVA_HOME/bin folder and run this
command
native2ascii -encoding UTF-8 full path of hinditext.txt file
app_hi.properties
Now rename this
, i can display the text from properties file only. in
my application
i have some dynamic data to add some data..for that i need to display in
hindi only..
Can you me a suggestions it will be helpful for further work. I 'm using
struts 2 framework.
Muthu Velappan wrote:
Try this...
Take
We just now completed working on SWING project which supports 5 Indian
Languages along with English (Indic Scripts like Tamil, Malayalam, Telugu,
Hindi, Bengali etc..). So, I don't see any problem in getting that to work
in Java with any framework. As Dave said, it was a confusion b/w I18N O/P
I don't think there is any way to get both label and text from select box in
request option. You will get only the value specified in option tag. I
believe in ur case, ID is the value in option tag and that's the reason u
get Id back in action during postback...
There is couple of workaround's to
Out of curiosity, I gave the same value in my application and tested, I got
the exact junk back in my action not even a truncated one. So, please check
whether ur action bypasses only this kind of string or even valid string
like test or sample. If it doesn't show valid string then there is
Struts 2's default markup language is Freemarker and all themes are written
in this language only. Your view is using this tag s:select
name=permissionlevel list=%{permissionlevel} theme=simple/ right, in
that look at the theme=simple attribute, these are written in freemarker
only. Its shipped
Have u checked this http://struts.apache.org/2.0.14/docs/iterator.html
~Muthu
-Original Message-
From: john lee [mailto:sh_thorn_b...@yahoo.com]
Sent: Thursday, April 09, 2009 1:37 AM
To: user@struts.apache.org
Subject: what is the equivalent of method in struts 2 for retrieve data?
Christian,
You can create a properties file with display text in required language
itself like
Newkey.label1 = Gracias
...
...
Save it to somefile.txt and then call native2ascii program in
JAVA_HOME/bin folder to convert the contents to appropriate Unicode
characters and save the file with
I believe the question is more about whether any tool available to split his
current bulk properties into a small package/action specific properties. I
think there is no tool to do that, It has to be manually split into
different properties file based on either package or action class as
Hi,
html:base tag will always be rendered with href attribute. This will by
default add href attribute pointing to the absolute location of the
enclosing JSP page. I believe list.jsp is the enclosing page in ur case.
If you want to change that then u should use optional ref attribute with
How to send data to action without displaying it in form? Is that your
question?If yes, then u can use s:hidden field to hold the data and post
it back to the action, right?
If this is not what you intent, please explain ur issue a bit detail..
~Muthu
PEGASUS84 wrote:
good moorning;
i've
s:checkboxlist required=true key=permissions list=activePermissions
value=permissions name=permissions
s:param name=rowstyle value=%{'row31'} /
/s:checkboxlist
list=activePermissions hold the entire collection holding MapPermission
Id, Perimssion Name.
value=permissions holds the
I'm not sure on the reason for deprecation. From the recent post, I
understand that JQuery has replaced DOJO...
~Muthu
-Original Message-
From: cel...@yahoo.com [mailto:cel...@yahoo.com]
Sent: Tuesday, March 24, 2009 9:42 AM
To: user@struts.apache.org
Subject: Dojo plugin deprecated on
Greg Lindholm wrote:
Have you looked at this?
http://struts.apache.org/2.1.6/docs/how-do-we-repopulate-controls-when-validation-fails.html
Muthu Velappan wrote:
Thanks for the reply, Chris..
My problem is that in there is no two separate actions for loading and
submitting
the select.
Cheers
Chris aka musomesa
-Original Message-
From: Muthu Velappan muthu.velap...@aspiresys.com
To: user@struts.apache.org
Sent: Fri, 13 Mar 2009 2:12 pm
Subject: org.apache.jasper.JasperException: tag 'select', field 'list',
name 'fieldTypeID'
Hi,
I have
Hi,
I have a JSP page containing data like this...
s:form name=form1 theme=qxhtml
s:bean name=java.util.HashMap id=qTableLayout
s:param name=tablecolspan value=%{2} /
/s:bean
s:textfield name=fieldName required=true key=fieldmgmt.fieldname
29 matches
Mail list logo