Mike,
Rest URLs doesn't work that way, so the plugin is correct and your needs
are not in sync with REST standards (see
http://en.wikipedia.org/wiki/Representational_State_Transfer for a more
details on REST).
If you want to do something with multiple IDs my suggestion would be
URLs along
I dont know whether is it possible or not. But the question is interesting to
me. If possible, please someone answer.
Ehteshamul Haque
'A great man is not the one who never falls, but the one who rises every time
he falls'
--- On Sat, 6/14/08, (¯`·.k ! k !.·´¯) [EMAIL
Ehteshamul Haque wrote:
I dont know whether is it possible or not. But the question is interesting to
me. If possible, please someone answer.
Ehteshamul Haque
'A great man is not the one who never falls, but the one who rises every time he falls'
--- On Sat, 6/14/08,
Hi all,
we're using struts 1.2.4 in our project and we have 3 types of messages
to show the user:
1) Confirmational, with say a green tick mark,
2) Informational, with a classic i in a bubble
3) Error messages, with the classes red rectangle.
Currently I use saveErrors and saveMessages in my
2008/6/16 Dimitris Mouchritsas [EMAIL PROTECTED]:
Hi all,
we're using struts 1.2.4 in our project and we have 3 types of messages to
show the user:
1) Confirmational, with say a green tick mark,
2) Informational, with a classic i in a bubble
3) Error messages, with the classes red
Hi
I have werid problem, I have downloaded a sample application of struts 2 from
net and when i try to run it it gives me 404 error ,I have chked all the jars
ever thing is fine and
when I comment filter part in web.xml
I am able to dispay welcome page ,and if i uncomment it same 404 error,
Hi
I have werid problem, I have downloaded a sample application of struts 2 from
net and when i try to run it it gives me 404 error ,I have chked all the jars
ever thing is fine and
when I comment filter part in web.xml
I am able to dispay welcome page ,and if i uncomment it same 404 error,
srinivasa varanasi wrote:
Hi
I have werid problem, I have downloaded a sample application of struts 2 from net and when i try to run it it gives me 404 error ,I have chked all the jars ever thing is fine and
when I comment filter part in web.xml
I am able to dispay welcome page ,and if i
Antonio Petrelli wrote:
2008/6/16 Dimitris Mouchritsas [EMAIL PROTECTED]:
Hi all,
we're using struts 1.2.4 in our project and we have 3 types of messages to
show the user:
1) Confirmational, with say a green tick mark,
2) Informational, with a classic i in a bubble
3) Error messages, with
Hi,
I am using maven 2.0.8 with struts2. I need to use Ajax (DOJO) tags in my
application.
In my JSP I have specified as.
s:head theme=ajax /
and am using datepicker tag in it.
My web.xml contains
-
filter-mapping
filter-namesitemesh/filter-name
Hello,
I want my jsp code to use an iterator. The goal is to get my html page
contains some code like the following:
FORM NAME=form_name METHOD=POST
INPUT TYPE=BUTTON VALUE=value1_fromIterator
ONCLICK=button1('value1_fromIterator')
INPUT TYPE=BUTTON
i have used annotation validation in my code.
There are two methods login and logout in the same class. I have done
mapping of both the methods in struts.xml.
Now when i run my application the login method runs fine but when i try to
run the logout method i get error that mapping for result
Please consider not posting the same question under different subjects. I'm
entirely unsure how this issue relates to Maven, too.
--- On Mon, 6/16/08, StrutsUser [EMAIL PROTECTED] wrote:
filter-mapping
filter-namestaticFilter/filter-name
url-pattern/*/url-pattern
Hi again,
If you've been following my threads a bit you'll see that we're
developing an app using struts 1.2.4.
I have another question, we'd like to provide a link in some of the
error messages. But struts seems
to change to lt;
I know that writing html in the ApplicationResources.properties
Did you try just using regular OGNL in the onclick and value attributes? It'll
obviously work for value, not sure if onclick is evaluated.
It seems like it wouldn't take much time to just try it.
Dave
--- On Mon, 6/16/08, Bruno Cavestro [EMAIL PROTECTED] wrote:
From: Bruno Cavestro [EMAIL
Hi,
I mentioned Maven because, there is a discussion about this in Appfuse
forum. It seems that the issue
is due to the default extension (.html) added by Appfuse.
I am trying to use S2 Dojo files (datepicker, tabbedpanel).
Will try specifying staticFilter after the struts filter.
Thanks
Dimitris Mouchritsas wrote:
Hi again,
If you've been following my threads a bit you'll see that we're
developing an app using struts 1.2.4.
I have another question, we'd like to provide a link in some of the
error messages. But struts seems
to change to lt;
I know that writing html in the
Hi once more,
seems like a struts day to me :)
Anyway, using struts 1.2.4 and XDoclet 1.2.3 is there a way to define an
error message for a form which includes an argument or something?
For example:
/**
* Set name.
*
* @param name the value to set.
*
* @struts.validator
Onclick is the real problem! Regular ognl s:submit does not support
onclick!!!
and the onclick event run a function which will fill some textfield with the
proper value so ...
any idea?
-Message d'origine-
De : Dave Newton [mailto:[EMAIL PROTECTED]
Envoye : lundi 16 juin 2008 13:53
A :
I tried specifying staticFilter at the end. The same error still crops up.
The problem seems to be in the configuration of web.xml only. Any idea would
be helpful. I have defined the filters as given below.
-
filter
filter-namestruts/filter-name
Hi all,
I'm trying to use struts 2 autocompleter tag, and having trouble doing so.
My first problem is that valueNotifyTopics attribute works only
incompletely.
When I've written something in the text field, even one letter is
sufficient, and pick the first option from the filtered list, the
yes, you can... but you'll need a HTTPClient from apache.. or do your http
connection by yourself. And determine de communication, cause normally, the
response from Struts is a JSP file.. or html..., otherwise, you can change
the response to XML.. almost a WebServices.. EHHEHEHE
Do a simple
there is a project called pendulum, using swing as V, but the project never
grow up
i think that will be cool if struts2 have a View in Swing
F
If it's an AppFuse issue then perhaps they'll be more familiar with your
environment--you might have better luck in the AppFuse forums/lists.
S2 expects to serve Dojo files from /struts and the s:head... tag, by
default, will generate Dojo includes for the default S2 configuration.
If you're
Where and how do you listen for the topics. I have currently 4 autocompleter
boxes hooked together using notify and listen attributes [though I am using
2.0.11.1, and it seems you are using 2.1.x]. If it is of any help here is my
code:
s:autocompleter dropdownHeight=100 name=customer.site
--- On Mon, 6/16/08, Bruno Cavestro [EMAIL PROTECTED] wrote:
Onclick is the real problem! Regular ognl s:submit does not
support onclick!!! [...] any idea?
You cold try using JSP EL; if you're creating an OGNL variable with the
s:iterator... you should be able to access it via ${}. S2 uses a
Hello,
in fact even the name event gives some problems. it seems that the TLD does
not support variables for name
I have a french error message so I don't think it may help
-Message d'origine-
De : Bruno Cavestro [mailto:[EMAIL PROTECTED]
Envoye : lundi 16 juin 2008 14:41
A : Struts
need xalan 2.6 jar file
SEVERE: Exception starting filter struts2
java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformerHandler(TransformerFactoryImpl.java:753)
at
Oh, I forgot; after S2.0.mumble EL is turned off in the tags because of the
potential security issue. Some of us have been fixing the TLD to allow this
if the app takes into account the risks.
Sorry, slipped my mind.
Dave
--- On Mon, 6/16/08, Bruno Cavestro [EMAIL PROTECTED] wrote:
From:
I have also a problem with the onchange attribute :
http://www.mail-archive.com/user@struts.apache.org/msg76830.html
May new but more important problem is to save the idvalue after the submit.
Indeed i'm just get the value :
s:form id=searchForm theme=simple
s:autocompleter autoComplete=true
I think I know what the problem is here. I think I'm mis-sending the
extra validation parameters on the POST. I haven't fixed it yet, but I
know it's not a problem with Struts.
-Original Message-
From: Karr, David
Sent: Sunday, June 15, 2008 9:29 PM
To: Struts Users Mailing List
Whenever you see a 'java.lang.NoClassDefFoundError,' that means you are
missing the jar file containing the indicated class (in this case,
org.apache.xml.serializer.TreeWalker). You'll want to look out on the web
to find out what jar file contains that class, and download it from Apache.
jk
On
I was thinking about this myself the other day. One of the interesting
things that the ruby/rails community has (perhaps others, but ruby/rails
seems to push it more) is the idea of a hackfest - a night(usually a few
hours) or a weekend, where people get together to get something useful
done.
Thanks a lot
Could you tell me what's the TLD file that should be modified? and if I am
not asking to much could You send the diff between new and old TLD file
to get name and onclick accepting variables ...
Another question about jsp, easier one: if each 4 iterations I would
introduce a/br what
Dave is correct, you can configure your interceptors with XML and then
define @ParentPackage in your annotations to point to the name of your
Struts package.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2008 1:23 PM
To: Struts Users Mailing List
Your id will be saved in selectedUserKey. Add this property in ur action
and you will have the id for the username selected.
__
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot
with the All-new
In my actioncompleter tag I'm trying to give the end user a list based on
his/her input (the list is returned from a db in the invoked method)
JSP:
s:url id=json value=/groupManagement_potentialList.do /
s:autocompleter href=%{json} loadOnTextChange=true
loadMinimumCount=1 showDownArrow=true
For sure, but since we are Java developers with a captial J, then we can call
it something other than hackfest which suits the script kitties well. ;-)
Ian Roughley wrote:
I was thinking about this myself the other day. One of the interesting
things that the ruby/rails community has
I'm trying to get an s:label tag to also have a tool-tip but it doesn't
seem to be working.
Here is the documentation I am trying to follow:
http://struts.apache.org/2.0.11.1/docs/label.html
Here is my code:
s:iterator value=codes
s:label
So far I think the client side is getting the correct response, both
with and without field errors (although I haven't plugged in the
automated processing of the field errors on the client side yet).
However, on the server side I'm seeing two exceptions (the other is for
the other property,
Don't worry about those exceptions. The params interceptor is trying
to bind those parameters to your action and it is failing. If you want
to silence the param interceptor, it has a excludeParams property
that takes a list of regular expressions:
interceptor-ref name=params
param
Hy
Given the two pieces of codes can you explain me how can i get same output?
A:
s:iterator value=myList
s:property /br
/s:iterator
This produces correctly the following
Johnbr
Stevebr
B:
s:iterator value=myList
s:property value=#this/br
/s:iterator
And this
Thanks a lot, i'm just regret we can find easily this information in the
documentation.
I hope to find a solution to my last problem with s:autocopleter onUpdate
statuts and my demo will be good :)
2008/6/16 Struts Two [EMAIL PROTECTED]:
Your id will be saved in selectedUserKey. Add this
Perfect. Changing my interceptor-ref to the following resolved this:
interceptor-ref name=jsonValidationWorkflowStack
param name=params.excludeParamsstruts\..*/param
/interceptor-ref
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008
Thanks for the idea, I'm going to try it now ;)
2008/6/16 Gamble, Wesley (WG10) [EMAIL PROTECTED]:
Dave is correct, you can configure your interceptors with XML and then
define @ParentPackage in your annotations to point to the name of your
Struts package.
-Original Message-
From:
Hello. What I want to do is a very simple thing, but I can't find a solution.
I call an action from a jsp page, and I want to display the resulting jsp
page in a new browser window.
I've already read about target=_blank, target=_new etc... but I can't
use them because I can't use the simple html
It may be the case that the REST plugin can't support this (I don't know
if that's true) but I don't see anything in the cited reference that
says such URLs are un-RESTful. And a Struts apps should certainly be
able to support them, even if it requires writing a little more code
(e.g. a custom
Hi
the topic is very interesting.
For me the View can be :
* HTML description of the view where the browser interpret HTML to displauy
UI.
* XML content, JSON content...and with Ajax we can update the UI or do
another thing.
I have read the tutorial
i designed my cimande project (http://www.blueoxygen.org)
and this is several idea
i wish there is a desktop version for Struts2, so my Cimande DX can be one
kernel
but we are using JSON now to work with S2, and the problem with JSON RPC, i
still cannot solve it
take a look of the idea
Jun 15, 2008 10:32:46 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean -
jar:file:/C:/Apache Software Foundation/Tomcat
It's possible that just dumping a 150-line stack trace to a mailing list,
without so much as a please help me, isn't the most effective way to
request help.
Anyway, your problem is actually quite clear if you read the stack trace:
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory
I am sorry for this I was little furstrated with this error since morning ..
even I did the same but still same error
[EMAIL PROTECTED]:
It's possible that just dumping a 150-line stack trace to a mailing list,
without so much as a please help me, isn't the most effective way to
request
It's true that it takes a bit of reading between the lines, but
basically REST relies on unique identifiers for resources, which for
HTTP is commonly taken to mean a URLs of the form;
http://server/resource_noun/id
(to confirm this have a spin through the google results showing various
Thanks for the feedback.
I actually disagree regarding whether my url syntax is restful.
Have you read the O'Reilly book: RESTful Web Services by Leonard
Richardson; Sam Ruby?
If not please take a look (you can probably see sample chapters on
Safari if you don't have an account).
Specifically
--- On Mon, 6/16/08, dusty [EMAIL PROTECTED] wrote:
For sure, but since we are Java developers with a captial J,
then we can call it something other than hackfest which suits
the script kitties well. ;-)
No thanks; as a founding member of The Society for Preserving the True Hacking
Heritage
Because #this is mapped to the top of the stack? (It's marginally more
complicated than that; #this means the current object, which depends on
context. It pops up in projections as well.)
Could be wrong, though.
Dave
--- On Mon, 6/16/08, Bruno Cavestro [EMAIL PROTECTED] wrote:
From: Bruno
--- On Mon, 6/16/08, Mike Watson [EMAIL PROTECTED] wrote:
Can anybody suggest where I would start in an attempt to
implement this hierarchical model?
The existing REST plugin?
Just an idea.
Dave
-
To unsubscribe, e-mail:
I'm trying to get an s:label tag to also have a tool-tip but it doesn't
seem to be working.
Here is the documentation I am trying to follow:
http://struts.apache.org/2.0.11.1/docs/label.html
Here is my code:
s:iterator value=codes
s:label value=%{code}
I have a page with a few autocompleter inputs as well as some textfield and
text area input fields. Everything upto this point was working fine till I
added an extra file input field : s:file theme=simple name=attachment
id=attachment/ (also added enctype=multipart/form-data) to my form as
Well that'd be nice but I'm really struggling to get it to behave the
way I want. Any thoughts on how I might do this?
2008/6/17 Dave Newton [EMAIL PROTECTED]:
--- On Mon, 6/16/08, Mike Watson [EMAIL PROTECTED] wrote:
Can anybody suggest where I would start in an attempt to
implement this
Dimitris Mouchritsas wrote:
Antonio Petrelli wrote:
2008/6/16 Dimitris Mouchritsas [EMAIL PROTECTED]:
Hi all,
we're using struts 1.2.4 in our project and we have 3 types of
messages to
show the user:
1) Confirmational, with say a green tick mark,
2) Informational, with a classic i in a
is there a #this? top does map to the object on top of the stack.
musachy
On Mon, Jun 16, 2008 at 4:54 PM, Dave Newton [EMAIL PROTECTED] wrote:
Because #this is mapped to the top of the stack? (It's marginally more
complicated than that; #this means the current object, which depends on
Hi Everyone,
Some time ago I asked you about a problem with old objects in session.
I noted that my application is using diferent sessions to recovery a data
from db.
Some times the application shows the corect result, other shows old results
(with old session).
I guess that if I use
63 matches
Mail list logo