Mike,
The safari signup requires a credit card which I'm not going to give so
I'm afraid I can't comment after seeing the book.
It has always been my understanding that the /Earth/France/Paris style
of notation is a search engine optimised (SEO) layer which has the
design goal of being desc
list="#{'01': getText('message.key'), ...
Hi,
I have tried the above and it doesn't work:
"the requested key list="#xx" cannot be resolved as a collection/"
so i do the bundle mapping in my Action class before the map is populated.
just FYI.
Eddie Lau
--
View this message in co
I believe it is technically possible to do this, but not at all
intuitive right now. This is probably my number one improvement
request for the REST plugin.
You should be able change the wildcard mapper to one that recognizes
named wildcards then use them in your namespace annotation like this:
@
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 session-per-
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 depe
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 bu
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 t
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 : (also added enctype="multipart/form-data") to my form as
well. All my autocompleter have stopped functioning.
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:
tooltip="%{description}" />
Both code a
--- 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
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
--- 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
Heri
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
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
exampl
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 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
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
5.5/shared/lib/struts2-core-2.0.6.jar!/struts-defa
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
hope
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 http://javaboutique.internet.com/tutorials/Sw
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
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 h
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-
Perfect. Changing my interceptor-ref to the following resolved this:
struts\..*
> -Original Message-
> From: Musachy Barroso [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 16, 2008 8:43 AM
> To: Struts Users Mailing List
> Subject: Re: Some confusion trying to do ajax form submit
>
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
Hy
Given the two pieces of codes can you explain me how can i get same output?
A:
This produces correctly the following
John
Steve
B:
And this produces
[John, [EMAIL PROTECTED],
[EMAIL PROTECTED]
[Steve, [EMAIL PROTECTED],
[EMAIL PROTECTED]
given that myList
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:
dojo\..*
will ignore any parameter th
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, "valida
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:
Both code and description are attrib
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 (
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:
BUT where is the list?!?!?!
The method potentialList is invoked (and I get the user's input, so far so
good), but how does the statement above (
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-n
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
S
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 what s
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.
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 M
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 Lis
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 :
...
When I submit my form I'm get the userName (listValue) but I wa
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
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
com.opensymphony.xwork2.util.DomH
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 Use
--- On Mon, 6/16/08, Bruno Cavestro <[EMAIL PROTECTED]> wrote:
> Onclick is the real problem! Regular ognl " support onclick!!! [...] any idea?
You cold try using JSP EL; if you're creating an OGNL variable with the
you should be able to access it via ${}. S2 uses a custom
request wrapper that
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:
On every change being made in my first autocompleter, the
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 tag, by
default, will generate Dojo includes for the default S2 configuration.
If you're using other
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
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 teste.
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 topi
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.
-
struts
org.apache.struts2.dispatcher.FilterDispatcher
Onclick is the real problem! Regular ognl "mailto:[EMAIL PROTECTED]
Envoye : lundi 16 juin 2008 13:53
A : Struts Users Mailing List
Objet : Re: iterators for input buttons?
Did you try just using regular OGNL in the onclick and value attributes?
It'll obviously work for "value", not sure if oncl
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 ty
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 <
I know that writing html in the Appl
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
newton.
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 <[EMA
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 <
I know that writing html in the ApplicationResources.properties f
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:
>
> staticFilter
> /*
> REQUEST
>
What's that? Why is it listed before th
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 type
Hello,
I want my jsp code to use an iterator. The goal is to get my html page
contains some code like the following:
...
so .. given the basic iteration:
How can I do that? And How can I force each input button to have an Onclick
event as
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.
and am using datepicker tag in it.
My web.xml contains
-
sitemesh
/*
REQUEST
staticFilter
/*
REQUE
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
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 uncom
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,
a
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 r
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 a
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, (¯`
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 PRO
65 matches
Mail list logo