Would you please tell me how did you fix this error. Even i too get this
error, it never considers my method parameter in struts. it tries to call
the index()?
Kindly help
jbogo wrote:
I don't use rest plugin.
In fact, i haven't used the plugin codebehind.
Now, it's working fine.
Tanks
newton.dave wrote:
Timmos wrote:
Hi,
I figured out how to generate a form with dynamic length. The submitting
part remains a bit tricky, but before you redirect me to OGNL / Type
Conversion pages, I have to say I already read those articles.
This is a part of my generated .jsp (the
Hi Satya,
You can read my post about this matter,
also You can download and run my simple app to see how it works, the
link is in the bottom of post.
http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html
Best greetings,
Paweł Wielgus.
2009/3/27 satyanarayana katta
Hi all,
i've been playing with terracota,
but it seems like it's just clustering jvm over many servers,
it works well, but i don't know if that will help You much with Your problem.
You can rethink a little about the problem and restate it here.
I don't know if EJB + temporary database sessions
Timmos wrote:
Hi,
I figured out how to generate a form with dynamic length. The submitting
part remains a bit tricky, but before you redirect me to OGNL / Type
Conversion pages, I have to say I already read those articles.
This is a part of my generated .jsp (the generate part - I
According to the OGNL spec, setting indexed JavaBean properties using
lijst[0], lijst[1] etc should work. And it does; except not through
struts 2's params interceptor. Try it out:
public class ActionTest extends ActionSupport {
private ListString someProperty = new ArrayListString();
Hi,
I changed the dojo.xhrGet call for a dojo.io.bind call as suggested by
Andras and now it works. Please find the corrected code below.
%@ page contentType=text/html; charset=UTF-8 %
%@ taglib prefix=s uri=/struts-tags %
html
head
s:head theme=ajax debug=true/
script
Can someone please provide me with some information about localization
in struts 2.
I am basically trying to have 2 locale : English and German for which I
have created two different properties file. viz : index_en.properties
and index_de.properties. I have put both these file in the same
Hi Manoj,
when You are accesing s:property value=title/ You are asking for
Action.getTitle() method (or any other on the stack by that name).
Simply try s:text or read:
http://struts.apache.org/2.x/docs/text.html
and
http://struts.apache.org/2.x/docs/localization.html
Best greetings,
Paweł
Hi there,
After being able to submit an ajax form request using javascript, I am stuck
in the second (and last) problem. The response contains an inline script
which I wanna execute when the it is rendered. I am using Struts 2.0.11 and
Dojo 0.4. I did some research but everything I found is
Hi,
This is a little bit off-topic because it's related more to Dojo
than Struts.
But anyway: do you get back something in your data object in function
load()?
If you know that you are returning javascript do not send the script
tag (only the javascript)
and use eval(data) instead of
Hi Andras,
Sorry to post here, I understand this is related to Dojo but its
documentation/forum sucks. They haven't replied to this question so far and
I decided to get help here. Also, I saw a lot of doubts about this same
problem but not even one good response and I guess this is not something
I take it what you want to do is insert Content into divId, and then
fire an alert(). The problem you have is that the value of data is
nothing but a simple string. Your callback has to know what to do with
it.
IIRC, Dojo has a function that will execute all script tags within a
string, so you
Hi Poul,
Thanks for your help. It worked fine. The problem was with the properties file
name. The property file name was different from the Action name.
But, I had a quick question here. Does this mean that in real world, I would
have to create the same number of property file as that of the
Hi,
You could try to use the ContentPane Widget and load the response into
it however I did not try this
so I'm not 100% sure if it will work.
See here:
http://dojotoolkit.org/book/dojo-book-0-4/part-4-more-widgets/advanced-contentpane-usage
and notice the executeScripts property.
BR,
Andras.
Tks guys for your help!
Andras, I saw this stuff before and it doesn't work. At least I tried to
use a content pane with *executeScripts* = true and *scriptSeparation* =
false and nothing happened.
In fact, my problem is not with an alert. I just create a simple use case to
illustrate the
Hi,
i use only one package.properties file,
but read again Localization guide.
Best greetings,
Pawel Wielgus.
2009/3/30, Manoj Dhore manoj.dh...@sword-soft.com:
Hi Poul,
Thanks for your help. It worked fine. The problem was with the properties
file name. The property file name was
Hi to all,
How could I find an examples to begin a new application using struts2??
Some help please!
--
... à.c.m ...9
I would recommend that you look at the Bootstrap page and follow this
process:
http://struts.apache.org/2.x/docs/bootstrap.html
Cody Burleson
On Mon, Mar 30, 2009 at 12:40 PM, Àlex Camps Mezquita
camps.a...@gmail.comwrote:
Hi to all,
How could I find an examples to begin a new
Alex,
You can find example applications at:
http://struts.apache.org/download.cgi
Look for file: struts-2.1.6-apps.zip . It has several examples to get you
started.
Hope this helps.
Kumar.
--- On Mon, 3/30/09, Àlex Camps Mezquita camps.a...@gmail.com wrote:
From: Àlex Camps Mezquita
musom...@aol.com wrote:
execAndWait in 2.1.6 gives the following exception when it kicks in: (code
pasted below)
java.lang.UnsupportedOperationException
??? java.util.Collections$UnmodifiableMap.put(Collections.java:1285)
???
Exactly -- used to work in 2.0.x but must have broken in the transition.
Chris
-Original Message-
From: Dale Newfield d...@newfield.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Mon, 30 Mar 2009 3:51 pm
Subject: Re: ExecuteAndWaitInterceptor not working
Can someone throw me a clue as to why s:param name=chd value=chd/ is
converting the String returned from getChd()
from this === t:60,40
to this === t%3A60%2C40
I have funked around with encode on the enclosing s:url .../ and cannot
get the literal data inserted into the URL!
P.S. I'm freak'n
From section 4.1 of RFC3696
The following characters are reserved in many URIs -- they must be
used for either their URI-intended purpose or must be encoded. Some
particular schemes may either broaden or relax these restrictions
(see the following sections for URLs applicable to web
Musachy,
This works great as long as default Struts Object Factory is used but get the
exception the following exception If I try to use StrutsSpringObjectFactory
com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No
mapping found for dependency
Any thoughts?
You can get an instance of the internal container like:
Dispatcher.getInstance().getContainer()
then use it to inject some object. Be warned that this can change
without warning any time.
musachy
On Mon, Mar 30, 2009 at 5:06 PM, Kumar Mettu mksre...@yahoo.com wrote:
Musachy,
This works
Hi Shekher,
i just added a small app, that work for me, on my blog post,
if You are still interested, it's been a while - sorry for the lag,
You can download it from there.
http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html
Best greetings,
Pawel Wielgus.
2009/1/26,
Hi there,
I am trying to build a dynamic tree in my application. I used to do it with
struts1, nested tags and making it recurse by including a JSP file
recursively. I don't find the nested: tags in struts2 and after searching
nabble it seems that s:tree tag is not finished to be able to obtain a
delete struts2-rest-plugin-2.1.6.jar from your lib.
在2009-03-30,strangerinu samar...@gmail.com 写道:
Would you please tell me how did you fix this error. Even i too get this
error, it never considers my method parameter in struts. it tries to call
the index()?
Kindly help
jbogo wrote:
I
agree!
I like rest, the great url patern. but,too many problems now.
I can browse http://localhost:8080/test/data.xml,but when call it in a jsp file
dhtmlxtree.loadFrom(http://localhost:8080/test/data.xml;), it says there is no
action or result named 'test'!
seems the server treat all .xml url
I think the properties files are sequenced like:
1,ActionName.properties;
2,PackageName.properties;
3,Default.paroperties(you can tell struts2 in config file);
在2009-03-30,Manoj Dhore manoj.dh...@sword-soft.com 写道:
Hi Poul,
Thanks for your help. It worked fine. The problem was with the
struts2 + rest plugin is a good idea.
anybody have materials or experience on this?
thank you
I think this is likely to be nothing to do with struts but rather with firefox,
however trawling the net for firefox info on the subject hasn't yielded anything
interesting.
I noticed a while back that my redirects are not replacing the history in the
browser - firefox in particular, but
If you're using spring, why don't you use spring to inject your property?
Kumar Mettu wrote:
Musachy,
This works great as long as default Struts Object Factory is used but
get the exception the following exception If I try to use
StrutsSpringObjectFactory
I'm looking for a way using the convention plugin to support custom
themes/skins for a web page. Right now I can't really see a good way to
implement this using struts2.
--
View this message in context:
Thanks a lot. It is working fine now. Looks like I had couple of issues.
1. I had specified more values to the response headers than required.
2. Use one get in the work flow.
Rgds,
Satya
2009/3/30 Paweł Wielgus poulw...@gmail.com
Hi Satya,
You can read my post about this matter,
also
In Firefox
so if I am on Investran and am redirected to cyberspaceroad
I then (login) to welcome-file on cyberspaceroad
on refresh I am redirected to original Investran
Can you see which redirect code is returned (301,307) and which method(POST/GET)
?
Martin
37 matches
Mail list logo