2010/1/20 Fernandes Celinio :
> Hi,
> I am trying to run the debug console that is available in a popup when you
> append the URL with ?debug=console
> It is described here :
> http://struts.apache.org/2.0.14/docs/debugging.html
>
> Here is the URL i used :
> http://localhost:8085/myWebApp/doLogin
I have done that of course, else i would not see the console in the popup.
The problem is elsewhere.
Does anyone have an idea ?
Thanks.
--- On Wed, 1/20/10, Raghuveer wrote:
From: Raghuveer
Subject: RE: [Struts 2] OGNL debug console not working
To: "'Celinio Fernandes'" , "'Struts Users Mailin
HI,
Thanks to all for your valuable sugestions
Actually i want to hide all parameters form the Url
actual Url's are like this :
http://localhost:8280/mspui/custumerAuthrtn.do?dispmethd=custumerAuthorize&accountNumber=12345
but I should get
http://localhost:8280/mspui/
by hiding paramete
Dear all,
This thread was really helpful to me. i could accomplish it using
interceptors as you guys mentioned. Thanks for the solution and the links.
Lots of thanks
Emil
On Wed, Jan 20, 2010 at 9:47 PM, Dale Newfield wrote:
> emil thushanga wrote:
>
>> Thanks for the solutions. i prefer to d
Could you elaborate your requirement?
URL will be changed when you use
showHome
-Original Message-
From: Brian Thompson [mailto:elephant...@gmail.com]
Sent: Wednesday, January 20, 2010 9:13 PM
To: Struts Users Mailing List
Subject: Re: Hiding URL in
Your XML file needs to be renamed as,LoginAction-validation.xml
-Original Message-
From: Gabriel Belingueres [mailto:belingue...@gmail.com]
Sent: Wednesday, January 20, 2010 8:43 PM
To: Struts Users Mailing List
Subject: Re: validation in struts2
the form tag is wrong?
try:
2010/1/19
That would work only when you enable it in configuration
Either in struts.properties or struts.xml
Example: in struts.properties set devmode to true..
struts.devMode=true
-Original Message-
From: Celinio Fernandes [mailto:cel...@yahoo.com]
Sent: Wednesday, January 20, 2010 7:41 PM
To: St
Try as below.
Regards,
Raghuveer Vellanki
-Original Message-
From: Mittal, Nitin (US - Mumbai) [mailto:nimit...@deloitte.com]
Sent: Wednesday, January 20, 2010 10:54 PM
To: Struts Users Mailing List
Subject: RE: How to convert request parameters into Collection type
Hi,
I am trying to run the debug console that is available in a popup when you
append the URL with ?debug=console
It is described here :
http://struts.apache.org/2.0.14/docs/debugging.html
Here is the URL i used :
http://localhost:8085/myWebApp/doLogin.action?debug.console
It complains that it
I am using this approach to load properties
http://struts.apache.org/2.0.14/docs/how-do-i-set-a-global-resource-bundle.html
I want to load the properties on each request (without turning the devmode =
true).
How should I go about this?
Should I turn ActionGlobalMessagesListener into an intercep
login.properties has to be mentioned in you struts.properties file as
struts.custom.i18n.resources=login
Above means that login.properties resides in WEB-INF/classes
On Wed, Jan 20, 2010 at 1:47 PM, Emi Lu wrote:
> Lukasz Lenart wrote:
>
>> Please read documentation, everything is explained th
Lukasz Lenart wrote:
Please read documentation, everything is explained there.
http://struts.apache.org/2.1.8.1/docs/localization.html
http://struts.apache.org/2.1.8.1/docs/strutsproperties.html
This did not answer my question :(
Using package.properties works fine for me. The problem is how
Ok, so I want to understand how that would work if Set contains elements of a
complex type,like Address as follows:
setAddresses(Set adresses)
Inthis case, Jsp should define text fields as follows:
addresses.city
addresses.state
adresses.city
addresses.state
How would struts arrange the fields
I am not sure whether it is directly a Struts problem but I'm hoping someone
will be able to suggest a way around.
I have the following in my struts.properties file:
struts.custom.i18n.resources=MyResource
MyResource.properties resides in WEB-INF/classes of my application.
In my JSP I simply do
Please read documentation, everything is explained there.
http://struts.apache.org/2.1.8.1/docs/localization.html
http://struts.apache.org/2.1.8.1/docs/strutsproperties.html
Regards
--
Lukasz
Kapituła Javarsovia 2010
http://javarsovia.pl
That might work for Set's where order isn't important, but how would you
populate a Liist? I've never had good luck there.
(*Chris*)
On Wed, Jan 20, 2010 at 5:18 AM, Steven Yang wrote:
> simply loose the "[n]" just have all fields with name "middleNames"
>
> On Wed, Jan 20, 2010 at 8:34 PM, M
emil thushanga wrote:
Thanks for the solutions. i prefer to do it in interceptors way. if
any resources available for me to grab the thing please let me know. any
way thanks a lot.
A good place to start:
http://struts.apache.org/2.1.8.1/docs/interceptors.html
and
http://struts.apache.org/2.1.8.
I would look into using URLRewrite [1]. It would be easy to go from showing
this in the browser:
http://localhost:8180/webproject/showHome
to the application processing this:
http://localhost:8180/webproject/loginv.do?dispmethd=showHome
[1] - http://tuckey.org/urlrewrite/
On Wed, Jan 20, 2
I've read the entire thread, and I'm still a bit confused. Are you just
trying to copy 'barbados' (or whatever is in the path) from the URL into a
session variable?
That sounds pretty easy to do. I would probably use a Filter, but there
would really only be one extra step if you do it in an inte
Also, the file should be LoginAction-validation.xml . Use the config-browser
to see that you have the validators in place.
Chris
-Original Message-
From: Gabriel Belingueres
To: Struts Users Mailing List
Sent: Wed, Jan 20, 2010 10:12 am
Subject: Re: validation in struts2
t
nani2ratna wrote:
I have 2 select boxes. If user changes one select box, then data in second
one should be changed and reload from database.
I believe http://struts.apache.org/2.1.8.1/docs/doubleselect.html sends
it all in the original page rather than using subsequent asynchronous
requests..
Good morning,
I created login.properties that contains "username.required=Username
cannot be empty."
If I rename this file to packages.properties, the system always return
the text message, but if the name is not that, the message never returned.
May I know if I want struts2 read login.prop
the form tag is wrong?
try:
2010/1/19 Shasha :
>
> Hi All,
>
> I am not able to get the validation errors from Login-validation.xml when i
> am using Modeldriven .
>
> Login-validation.xml
> 1. 2. "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
> 3. "http://www.opensym
Hi,
I am trying to run the debug console that is available in a popup when you
append the URL with ?debug=console It is described here :
http://struts.apache.org/2.0.14/docs/debugging.html
Here is the URL i used :
http://localhost:8085/myWebApp/doLogin.action?debug.console
It complains that it
Hi,
I need help in mapping JSP text fields to a setter in action class which have
parameter as Set
I know Struts 2 supports automatically converting sets of request parameters
into properties of various Collection type Lists
This can be done by having a setter in the action class as -
setMiddl
Maybe this helps you.
http://code.google.com/p/struts2-jquery/wiki/SelectTag#A_simple_Doubleselect_with_Topics
Best Regards
Johannes Geppert
nani2ratna wrote:
>
> Hi Guys,
>
> I have 2 select boxes. If user changes one select box, then data in second
> one should be changed and reload from
simply loose the "[n]" just have all fields with name "middleNames"
On Wed, Jan 20, 2010 at 8:34 PM, Mittal, Nitin (US - Mumbai) <
nimit...@deloitte.com> wrote:
> Hi,
> I need help in mapping JSP text fields to a setter in action class which
> have parameter as Set
>
> I know Struts 2 supports a
Hi Friends,
Convert it into HTML.
How to convert ?
Thank you,
Srikanth V
srikan...@kensium.com
Main: 877 KENSIUM (536.7486)
India Main: +91 9949495511
India Fax: +91 4023704282
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
Confidentiality Note:
-
Hi,
I need help in mapping JSP text fields to a setter in action class which have
parameter as Set
I know Struts 2 supports automatically converting sets of request parameters
into properties of various Collection type Lists
This can be done by having a setter in the action class as -
setMiddl
Maybe you could use ajax technology to do that .
There're some ajax frameworks , such as jQuery , which
could help you !
Maybe you could use post method of Form to do this
Hi All,
Hi i am working on Struts1.2 Project.
Can Anyone help me in hiding parameters in Url without using
Frameset In struts1.2.
Example : http://localhost:8180/webproject/loginv.do?dispmethd=showHome
I want to get like this
http://localhost:8180/webpr
Hi Raghu,
i think You can do it with ServletContextListener,
register it in web.xml like this:
< web-app >
...
< listener >
< listener-class >
com.package.MyListener
< /listener-class >
< /listener >
< /web-app >
and overwrite
Hi Guys,
I have 2 select boxes. If user changes one select box, then data in second
one should be changed and reload from database.
So when user changes first select box, asynchronous action should be called
and should get the data from data base
and upload that data to select box.
Sorry for my
34 matches
Mail list logo