Thanks a lot. This is working.
mccorby wrote:
>
> Remove ".action" from action="SubmitSearchText.action"
>
> That should make it
>
> On Fri, Mar 5, 2010 at 2:44 PM, sgupta4686
> wrote:
>
>>
>> Hi ,
>> I am getting the following log in geronimo for few action classes only :
>> Geronimo log s
Hi ,
> I am getting the following log in geronimo for few action classes only :
> Geronimo log shows:
> 2010-03-01 2:01:53,582 WARN [Form] No configuration found for the
> specified action: 'SubmitSearchText.action' in namespace: '/text'.
> Form action defaulting to 'action' attribute's litera
Remove ".action" from wrote:
>
> Hi ,
> I am getting the following log in geronimo for few action classes only :
> Geronimo log shows:
> 2010-03-01 2:01:53,582 WARN [Form] No configuration found for the
> specified
> action: 'SubmitSearchText.action' in namespace: '/text'. Form action
> defaulti
sgupta4686 wrote:
>
> Hi ,
> I am getting the following log in geronimo for few action classes only :
> Geronimo log shows:
> 2010-03-01 2:01:53,582 WARN [Form] No configuration found for the
> specified action: 'SubmitSearchText.action' in namespace: '/text'. Form
> action defaulting to 'ac
i think you must use
instead of
Best Regards
Johannes Geppert
mccorby wrote:
>
> Hi all,
> All the forms in my application redirect to the the action associated
> instead of the target div.
>
> I'm using Struts 2.1.6
>
> Here is the code:
>
>
>
>
>
>
> I also try with
Hi ,
I am getting the following log in geronimo for few action classes only :
Geronimo log shows:
2010-03-01 2:01:53,582 WARN [Form] No configuration found for the specified
action: 'SubmitSearchText.action' in namespace: '/text'. Form action
defaulting to 'action' attribute's literal value.
F
On Fri, Mar 5, 2010 at 11:05 AM, Dale Newfield wrote:
> abhishek jain wrote:
>
>> I am not sure if it a direct struts question, if it is not pl pardon me
>> and
>> let me know,
>>
>
> Maybe a filter in your web.xml?
>
> How are your pages put together? tiles? sitemesh?
> Since those are already
Hi all,
All the forms in my application redirect to the the action associated
instead of the target div.
I'm using Struts 2.1.6
Here is the code:
I also try with
having
Doing it using works but it's not what I'm looking for.
is defined in the pages
Thanks
abhishek jain wrote:
I am not sure if it a direct struts question, if it is not pl pardon me and
let me know,
Maybe a filter in your web.xml?
How are your pages put together? tiles? sitemesh?
Since those are already filters, you might see if those can do what you
want...
-Dale
---
Hi guys,
I am not sure if it a direct struts question, if it is not pl pardon me and
let me know,
Is there a method in jsp / struts in which the output of a jsp page is
1. send to a file(saved in a file) , instead of going into browser response,
2. send to an email library,
the 1 is more important
just pass an alias to the locale in the parameter
and let the getName class handle the actual locale.
adam
> Date: Thu, 4 Mar 2010 18:20:19 +0100
> Subject: Re: Passing parameters to
> From: lukasz.len...@googlemail.com
> To: user@struts.apache.org
>
> 2010/3/4 Ricardo Jorge :
use an alias in the getName call like so
this will still call getName but pass the string "US" then make the class
method getName do the locale related work.
you can't pass an object in a property call as far as i know only a
primitive/string.
i still think you should be look
2010/3/4 Ricardo Jorge :
> PS: I've just tried the following but it did not work
>
Take a look on some examples here [1] and try
[1] http://struts.apache.org/2.x/docs/ognl-basics.html
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
-
Thank you for your reply.
I don't have a getName in my action class if that's what you mean.
I'm using an iterator so the getName is a method from the class's object
defined in the iterator's value option. That class also makes available a
getName(Locale locale).
Locale is a class (java.util.Loc
2010/3/4 Ricardo Jorge :
>
Did you define method name(Locale locale) in your class? Or just
getName(Locale locale)? For second case use
or
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
---
Hello.
I need to access a property the includes a parameter but I cannot find a way
to do it.
I want to list all page names in selectedPages but I also need to specify
the locale (language) the should appear because a page may have many names
in different languages:
This works fine. It's a norma
i think comma seperated, but i'am not sure.
so your select box runs now??
Best Regards
Johannes Geppert
nani2ratna wrote:
>
> Hi Johannes,
> I saw that one earlier.
> I found the bug.
> I have another property in my action class which is service class.
>
> So i excluded that service class fr
Hi Johannes,
I saw that one earlier.
I found the bug.
I have another property in my action class which is service class.
So i excluded that service class from json.
Now its working fine.
I did this one,
@Actions( {
@Action(value = "/JsonAction", results = {
@Result(name
did you work with hibernate?
I found this post that maybe helps you out.
http://www.codeweblog.com/solution-struts2-hibernate-integration-with-jsonpulugin-an-exception-when/
Best Regards
Johannes Geppert.
nani2ratna wrote:
>
> HI,
>
> I am trying to get this object
> List prodcatList = n
HI,
I am trying to get this object
List prodcatList = new ArrayList();
ProdmProdcat is a java bean which got two properties.
they are String prodcat_code;
and String prodcat_desc;
Is this object fine.
Thanks and Regards
RS
nani2ratna wrote:
>
> HI,
>
> Thank you.
> I executed the action.
>
looks like the json plugin has a problem while accessing a member.
you can try to exclude it, when you know which it is.
Best Regards
Johannes Geppert
nani2ratna wrote:
>
> HI,
>
> Thank you.
> I executed the action.
> It gave me the following exception
>
> java.lang.IllegalAccessException:
HI,
Thank you.
I executed the action.
It gave me the following exception
java.lang.IllegalAccessException: Class org.apache.struts2.json.JSONWriter
can not access a member of class
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper with
modifiers "public"
sun.reflect.Re
you can just execute your action like a normal action.
http://localhost:8080/app/json.action
The result should be a normal textfile which you can open
with notepad or whatever you want.
Also you can use Firebug "Network/XHR" to see your action response
Best Regards
Johannes Geppert
nani2r
Hi Johanes,
Thanks for reply.
Actually I am very new to JSON.
Action is working fine.
I went through your code and redid the same type stuff in my app.
I don't know about JSON reponse.
Since in your action class there no result(jsp) mapped.
So I too did the same. I am just executing the action m
Hello,
did your JSON Actions works fine?
Check if you really get an JSON response and the
variables inside the result have the same name.
Can you please POST your result with sample data?
Best Regards
Johannes Geppert
nani2ratna wrote:
>
> Hi,
>
> I am trying to use http://code.google.c
Em 04-03-2010 14:15, abhishek jain escreveu:
On Thu, Mar 4, 2010 at 7:30 PM, Alex Rodriguez Lopez
wrote:
Em 04-03-2010 05:49, abhishek jain escreveu:
Hi friends,
I have a few variables who have diff values depending on the locale /
country.
I do want to use a message-resources for storing t
On Thu, Mar 4, 2010 at 7:30 PM, Alex Rodriguez Lopez wrote:
> Em 04-03-2010 05:49, abhishek jain escreveu:
>
> Hi friends,
>>
>> I have a few variables who have diff values depending on the locale /
>> country.
>> I do want to use a message-resources for storing the values of those
>> varaibles,
I can do that very easily.
I already got experience doing that stuff.
But I am the only one person in this project.
It is growing day by day.
If i get jquery up and running then code will look neat and for future i can
use the same.
Thanks and regards
RS
adam pinder wrote:
>
>
>
>
> can y
can you not call javascript with an onchange and do ajax call in javascript to
action class ... i guess it depends on what ajax stuff you're doing but i have
done it that way.
good luck
adam
> Date: Thu, 4 Mar 2010 05:18:09 -0800
> From: nani2ra...@gmail.com
> To: user@struts.apac
So I'm trying to save tables in struts.
I'm hitting a strange error when setting values of Lists of Lists, which
causes any value saved to be contained in brackets. The params interceptor
doesn't log these brackets so its probably an error in the setting function
(OGNL?). I couldn't find this be
Em 04-03-2010 05:49, abhishek jain escreveu:
Hi friends,
I have a few variables who have diff values depending on the locale /
country.
I do want to use a message-resources for storing the values of those
varaibles,
I do not know how to get these variables in my Action (I want them in action
and
I was using normal select only.
But now i need to do ajax stuff when user change the select box.
So jquery is doing this stuff.First i tried with two select boxes.
Then i tried to do atleast on select box.
Even one select box also not working.
Now I have to use this jquery select box to complete t
why did you choose to use jquery rather than just normal struts select and let
the action class create an array of objects (i use an object that has a
key/value pair)
i haven't used jquery but not sure what extra it adds.
adam
> Date: Thu, 4 Mar 2
Hi,
I am trying to use http://code.google.com/p/struts2-jquery/ for loading
select box.
I just followed this link
http://www.weinfreund.de/struts2-jquery-showcase/index.action#.
Every thing is executing fine.
But the list not loading properly.
I am new to JSON.
I changed below jsp page which wa
i think you can name the resource bundle files appropriately for the locale and
put them in the same package as the action classes.
look at the I18n Interceptor
adam
> Date: Thu, 4 Mar 2010 11:19:53 +0530
> Subject: Locale and custom variables
> From
35 matches
Mail list logo