If you have not heard about the recent launch of Google App Engine, I
blogged about it here with links to more information and video
recorded at the official launch event on April 7th:
http://weblogs.java.net/blog/van_riper/archive/2008/04/google_app_engi_1.html
It is a free (up to a fair amount
Thanks for the response. The issue I'm seeing isn't with overriding parameters
all parameters available, but rather just one or two out of all the interceptor
params
Doesn't work:
actionSpecificValue
Works:
defaultValueA
defaultValueB
actionSpecificV
I am trying to use s:datetimepicker.
I have the in my section.
I have like this:
to
The html renders like this:
// Dojo configuration
djConfig = {
baseRelativePath: "/struts/dojo",
isDebug: false,
bindEncoding: "UTF-8",
debugAtAllCosts: true // no
Dear Randy,
Thank you very much for your kind reply..your method is very good. I will
note your reply. =)
Is it possible to transfer query string using this method? although i am not
quite sure yet that this will work.
I will get parameter in my action class using *
request.getParameter("orderNum
Seems OK to me (according to the current documentation.)
I've only overriden interceptor parameters in the declaration of a new
stack, and it is working OK:
true
ERROR
my.package.here
Try to create a new stack for your action
I'm having lots of problems with components inside tabbedPanels...
For example:
This example from show case works outside a tabbed panel:
2. Attach to "onmouseover", and "onclick" event on Area below and update
content of Div1, highlight targets with green color
Mouse Over or
You can of course set up instance variables in your action class with
identical names as the parameters you intend to use.
2008/4/16, Dustin S. <[EMAIL PROTECTED]>:
> I noticed the the map for setParameters is . If I
> intend to always only use [0], is there any easy way to accomplish
> this witho
Thanks for your help I had an "ah ha" moment. I know I read that the stack
gets passed through twice, once down the stack and then back up but I had
forgotten that. That was my problem. The exception was being thrown on the
way back up the stack and being caught by the default
ExceptionMappingInter
The default ExceptionMappingInterceptor is "closer" to the error (as
it is configured by default), so it will intercept it first (on the
way out... [1]). If you already have configured exception mappings for
that interceptor, it will never reach your interceptor. It might be
better for you to repla
You can pass a query string to the popup window. Here is an example.
And then in the popup window to get the orderNumber param passed in above:
Reference Number: ${param.orderNumber}
You might want to change the href to # and put the window.open code in the
onclick event but other than that
My interceptor is being called, but it appears that
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor is still
being called before my interceptor, despite having my interceptor declared
first in the stack. As you can tell my interceptor is handed the "error"
result rather than catchin
I'm trying to override one of three interceptor parameters in an action
specific config using method #2 described in
http://struts.apache.org/2.0.11.1/docs/interceptors.html#Interceptors-InterceptorParameterOverriding.
Unfortunately the other two parameters that I'm not overriding are not being
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Adam Gordon <[EMAIL PROTECTED]> wrote:
> > I'm sure this was totally unintentional and you did it to simply get the
> > email address of the mailing list, but thread hijacking is generally
> > frowned upon in support mailing lists.
>
> He started
--- Adam Gordon <[EMAIL PROTECTED]> wrote:
> I'm sure this was totally unintentional and you did it to simply get the
> email address of the mailing list, but thread hijacking is generally
> frowned upon in support mailing lists.
He started the thread, and it's about formatting (via the tag).
Is there any plugin support for eclipse that can help validate struts2
configuration?
So if I have a struts.xml mapping like:
...
Then some build-time plugin might check and see the
userAccounts.action.LoginUserAction class does not exist
Or perhaps a struts tag in a JSP might look like:
...
James-
I'm sure this was totally unintentional and you did it to simply get the
email address of the mailing list, but thread hijacking is generally
frowned upon in support mailing lists.
--adam
Hartrich, James CTR USTRANSCOM J6 wrote:
Struts2.0.9
Has anyone successfully formatted a number
Well, the DTD files are identical, only the URLs are different so I
don't expect the outcome to be any different
And it turns out it's not. Changing the URL does not prevent Tomcat
from going out and trying to retrieve the DTD even though I've added it
to the JAR file.
Any other ideas?
I noticed the the map for setParameters is . If I
intend to always only use [0], is there any easy way to accomplish
this without having to do [0] everytime I get() a parameter from the
map? I noticed there is SingleValueMap in webwork for this purpose.
Does something exist like this in Struts 2 or
--- D�cio Heinzelmann Luckow <[EMAIL PROTECTED]> wrote:
> The ajax tags was moved to another package or plugin?
Plugin.
> Is there an release notes to 2.1.1?
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
http://struts.apache.org/2.0.11.1/docs/versio
I did some testing locally, and it looks to me like exceptions should
be propagated properly. Are you sure that the exception is not handled
somewhere else? From your logs, it appears that "error" is returned
somewhere along the chain.
Nils-H
On Wed, Apr 16, 2008 at 12:46 AM, Parker Grimes <[EMAI
--- "Hartrich, James CTR USTRANSCOM J6" wrote:
> Has anyone successfully formatted a number 555 into 555-.
>
> MyAction.properties: format.telephone={0,number,###-}
>
> My.jsp:
>
>
>
>
> The only output render
Does it work if you use the DTD it says to use?
http://struts.apache.org/dtds/struts-config_1_3.dtd";>
Dave
--- Adam Gordon <[EMAIL PROTECTED]> wrote:
> Last night, our company had a maintenance window whereby Internet access
> was shut off from our office to the outside world. During that ti
Hi all,
I was testing an master-detail screen with
When I update the struts version to 2.1.1 a give this message:
java.lang.NoClassDefFoundError:
org/apache/struts2/views/jsp/ui/DateTimePickerTag
at org.apache.jsp.cre_jsp._jspx_meth_s_005fdatetimepicker_005f0(*
cre_jsp.java:466*)
at org.apache.
Struts2.0.9
Has anyone successfully formatted a number 555 into 555-.
MyAction.properties: format.telephone={0,number,###-}
My.jsp:
The only output rendered to the jsp page after numerous attempts is the
st
Last night, our company had a maintenance window whereby Internet access
was shut off from our office to the outside world. During that time I
was doing development and attempted to start up our web app in a
development environment.
I've not seen this error in almost 2 years but it's apparent
Please write in English. This is an English speaking mailing list.
Antonio
2008/4/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Sto facendo un motore di ricerca di news.
> Inizialmente ho una pagina html che mostra le news piu aggiornate e fino
> qui nessun problema.
> Il fatto è che per ogni ne
Sto facendo un motore di ricerca di news.
Inizialmente ho una pagina html che mostra le news piu aggiornate e fino qui
nessun problema.
Il fatto è che per ogni news mostrata ho un link del tipo "altre n news simili"
dove si accede alle notizie simili per quella particolare news.
Visto che io ho
2008/4/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> I have an Object List of objects News and when a user click on a link of the
> interfece i have to pass this parameter to the correspondent action.
> But this parameter is setted only at run time, so i have to pass it
> dinamically.
>
> Can I
I can't use ${x} because I am not always looking for x.
The basics of what I am doing is building a tile that will print out any
property in my action/form.
So I have some JSP #1 that says
...
And for each definition it inserts JSP #2 that looks like...
I just can't figure ou
Yes, I understand. But if you read my post, EVERYTHING works fine, but when I
add namespace to package
in struts.xml (and in
/pages/administration/list.jsp
/pages/administration/list.jsp
...
UserAction.java:
--
public class UserAction exte
> I need to tag along a request paramter. So my annotation looks
> like this:
>
> @Result(name="enterNewContactInfo",value="enterNewContactInfo",
> type=ServletActionRedirectResult.class,params={"country","AUT"})
>
> I get a nasty NPE if I add the params. If I remove it everything
works fine.
I have an Object List of objects News and when a user click on a link of the
interfece i have to pass this parameter to the correspondent action.
But this parameter is setted only at run time, so i have to pass it dinamically.
Can I pass an Object list to an other action???
How I can do It???
I'
--- Michael Gagnon <[EMAIL PROTECTED]> wrote:
> I've been working with struts2 for about 2 months and so far I've been
> using the preparable interface to populate any data the resulting page
> wants to display. I've used the execute method to do non-visible work
> and determine a result (which c
With preparable, you can load the objects you need in prepare() method, and
do whatever specific you want in the actual called method. In CRUD actions,
it is very handy to use prepare and paramsPrepareParams to first load the
stuff you want, and after prepare all the parameters are inserted
automat
Can you show your struts xml, calling java action, and resulting jsp code?
I've noticed error messages like that whenever ANYTHING was wrong on a page
with a select box -- completely independent of anything to do with the
select box. So I think whatever you changed MAY have broken something else
an
Nobody has an answer to this simple question ?
As I asked, there is with select's tag "list" attribute, when namespace is
added to the package and to the form tag. It doesn't recognize given array from
the action class anymore. Do I miss something or this is a serious error in
Struts 2 ?
--
T
I've been working with struts2 for about 2 months and so far I've been using
the preparable interface to populate any data the resulting page wants to
display. I've used the execute method to do non-visible work and determine a
result (which controls flow).
I'm wondering if this is the intended
2008/4/16, Chris Pat <[EMAIL PROTECTED]>:
>
> In 5.0.28 it says the action is not available and the only difference is
> that it is not loading that Factory. It must something subtle but
> deterministic. Any ideas what could be different? I have looked and they
> seem identical in server.xml and
Hi Antonio
Thanks, however it is very consistent. In 5.0.28 it says the action is not
available and the only difference is that it is not loading that Factory. It
must something subtle but deterministic. Any ideas what could be different? I
have looked and they seem identical in server.x
2008/4/16, Chris Pat <[EMAIL PROTECTED]>:
>
> I two different deployment of Tomcat with an app that work fine in 5.0.27
> but fails in 5.0.28. Looking at the startup the only difference I can see
> this time is that the 5.0.27 loads this:
> org.apache.struts.tiles.TilesPlugin initDefinitionsFactor
Hello
I two different deployment of Tomcat with an app that work fine in 5.0.27 but
fails in 5.0.28. Looking at the startup the only difference I can see this
time is that the 5.0.27 loads this:
org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
and the 5.0.28 does not. Is there a way
implement ParameterAware and then call getParameters method to obtain the
map e.g.
Map parameters = this.getParameters();
http://struts.apache.org/2.0.11.1/docs/how-can-we-access-request-parameters-
passed-into-an-action.html
Martin- Original Message -
From: <[EMAIL PROTECTED]>
To: "struts
Hi,
when a link i clicked I would pass a parameter to an Action.This parameter is
an object list, but i can't to define the action with tag
Hi,
After some experiments, I found the solution:
N
Just look into riadiomap.ftl template and everything will be clear
(especially for Freemarker developers ;-)
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
--
2008/4/16, ryan webb <[EMAIL PROTECTED]>:
>
> I am having trouble with it..I created a pop up window using javascript
> and
> i cant pass query string on new window.
> when i clicked a I pass a paramId and paramProperty and I cant
> make it appear to new window.
>
> I have an action class that has
Hello,
In this list, how do I preselect "No"?
--
Thanks
Ram
Antonio,
>1) What Struts? Struts 1.2.9 (Netbeans bundle)
>2) You can still do it in Javascript. I see.. I just want to know if you do
it with struts.
I am having trouble with it..I created a pop up window using javascript and
i cant pass query string on new window.
when i clicked a I pass a para
2008/4/16, ryan webb <[EMAIL PROTECTED]>:
> Is it possible to make a window pop up using struts?
> usually this can be done in Javascript..
1) What Struts?
2) You can still do it in Javascript
Antonio
-
To unsubscribe, e-mail:
Hi everyone,
I'm using Struts 2.1's ajax tags to replace content in a section of my page.
I have this section enclosed in sx:div tags, like so:
..
I change the div content by editing its href with javascript and then
publishing the topic it's listening to:
function reloadContentSection(url)
Hi,
Is it possible to make a window pop up using struts?
usually this can be done in Javascript..
God bless,
Ryan Webb
Hmm, it appears that disabling zero config and codebehind and
supplying the struts.xml of the equvalent config works just fine.
I am having way too many problems with this zero config/codebehind.
Nice idea crappy implementation :-(
Alex.
On Wed, Apr 16, 2008 at 8:33 AM, Alex Shneyderman
<[EMAIL P
Hi,
many thanks to you! I was really making things more complicated
then it was neccessary: Adding the quartz.jar to the runtime classpath
was enough to fix the problem.
Have a nice day
Peter
Hi Peter,
Please try adding the quartz.jar or spring-quartz.jar to your classpath. You
can check ou
52 matches
Mail list logo