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
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
"org.apache.s
de , not
getting the actual result.
Can you provide some suggestion.
Muthu Velappan wrote:
>
>
> I agree with Vishnu if the project is small, say 20-25 Actions spread
> around
> 3-5 packages for the entire project. If it goes beyond that I would
> include
>
How to send data to action without displaying it in form? Is that your
question?If yes, then u can use 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 a que
Hi,
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
either "pag
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
specified
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
pro
Struts 2's default markup language is Freemarker and all themes are written
in this language only. Your view is using this tag "" right, in
that look at the theme="simple" attribute, these are written in freemarker
only. Its shipped as part ur jar.
Now, coming to ur error. I think ur "permission
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?
in
Christian,
You can create a properties file with display text in required language
itself like
Newkey.label1 = Gracias
...
...
Save it to and then call native2ascii program in
/bin folder to convert the contents to appropriate Unicode
characters and save the file with appropriate properties fi
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 tag. I
believe in ur case, ID is the value in tag and that's the reason u
get Id back in action during postback...
There is couple of workaround's to overcome thi
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 /bin folder and run this
command
native2ascii -encoding UTF-8
Now rename this app_hi.properties file with respect to ur application
properties fi
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 a copy of ur current prope
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
and
And one more thing,for ex, 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
Hi,
I have 3 different modules in my project and added that into struts.xml like
this
I got a feedback.jsp page in admin module. When user hit the cancel button
from this form, I want that to submit to home.action available in home
module. Since I don't h
Hi,
I have 3 different modules in my project and added that into struts.xml like
this
I got a feedback.jsp page in admin module. When user hit the cancel button
from this form, I want that to submit to home.action available in home
module. Since I don’t have the name
he namespace attribute
on the package you defined inside of home.xml?
I would use the config-browser to check that the configuration is what you
intended.
Chris
-Original Message-
From: Muthu Velappan
To: user@struts.apache.org
Sent: Wed, Sep 23, 2009 3:10 am
Subject: Switching
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 t
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
propert
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 u
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]
Sent
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
Subjec
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 tag.
Muthu Velappan wrote:
> I have a 1000 items in a collection and iterating it through
> tag. At certain point of time, I would l
Hi,
I have a JSP page containing data like this...
this page works fine in first load.. However, I end up getti
small action that gives you the Map and use the tag as
> you populate the select.
>
> Cheers
> Chris aka musomesa
>
>
>
>
> -Original Message-
> From: Muthu Velappan
> To: user@struts.apache.org
> Sent: Fri, 13 Mar 2009 2:12 pm
> Subject: org.ap
s
~Muthu
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
Hi,
I have a jsp with a custom theme set on my form tag like this . "myxhtml" is our custom theme extends
xhtml theme.
I extended the Struts2 basic TextFieldTag to toggle it based on the custom
visible property. Everything is working fine but I end up getting a empty
row b/w two controls if th
I believe it depends on the nature of the project whether to use custom
javascript validations or not. There is no hard and fast rule to avoid
javascripts completely. As a standard, most of the struts2 project uses the
in-built validation even if some cases are missing in the in-built
validations w
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
list="activePermissions" hold the entire collection holding Map.
value="permissions" holds the Set that are applicable for
this user.
So, you can assume it like this.. The set you provide in "list" will get
rendered as checkboxes and set in "value" will be used to check the rendere
31 matches
Mail list logo