Looks like your JSP pulls the data from one action, which I will call A, and
posts to another action, EditField.
When there is an error you are bounced back to the JSP (assuming 'input' leads
back to this JSP but
now the JSP is trying to populate the select from a property called
fieldTypeMap
Hi,
I need to use localization in ajax tab, but it is not rendered.
When I use:
%@ page contentType=text/html; charset=UTF-8 %
%@ taglib prefix=s uri=/struts-tags %
%@ taglib prefix=ajax uri=/tags/ajax %
div id=tabPanelWrapper
ajax:tabPanel id=tabPanel${now}
ajax:tab
Question on design intent: I noticed that the @Action annotation does not have
attributes for a parent namespace so if you have multiple actions in the same
class you only have the @ParentPackage class level annotation to indicate the
location of definitions for custom inteceptors, results
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }...
as you can see, I tried to use some of styles how to render, including
%{}, ${} etc...
Jiri
On Fri 13/03/09 09:51 , Jiří Chaloupka k...@chalu.cz sent:
Hi,
I need to use localization in ajax tab, but it is not rendered.
Thanks for the reply, Chris..
My problem is that in there is no two separate actions for loading and
submitting the data back from this JSP.. To be precise, while loading the
page it will use the input() method where as while submitting it will use
the execute() method in my Action class
Am i right in saying that if you use struts 2 as the server backend of gwt,
you can't use the hosted mode browser!?
Ok, i was wrong. The trick is to use the hosted mode browser without the
embedded tomcat server. Take a look here:
Have you looked at this?
http://struts.apache.org/2.1.6/docs/how-do-we-repopulate-controls-when-validation-fails.html
Muthu Velappan wrote:
Thanks for the reply, Chris..
My problem is that in there is no two separate actions for loading and
submitting the data back from this JSP.. To
Hi All,
I'm in a real truble, please help!
I chose YUI (Yahoo UI) to use it's Layout, Menu, Tree, Tabs.
But I get problems when using Struts2's ajax tags from dojo plugin.
The first problem was that I cannot create ajax link in YUI Tree node.
The second problem was that when I put something
sajidbigler wrote:
Hi Friends,
How can we show ActionErrors,ActionMessages,FieldErrors in Ajax call using
struts2.1.6.i tried to do the following
http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/
you can see my comments on this too
you are trying to mix YUI and Dojo?
musachy
On Fri, Mar 13, 2009 at 8:46 AM, Aram Mkhitaryan
aram.mkhitar...@googlemail.com wrote:
Hi All,
I'm in a real truble, please help!
I chose YUI (Yahoo UI) to use it's Layout, Menu, Tree, Tabs.
But I get problems when using Struts2's ajax tags from
Yes,
I want to have YUI rich components that are built from markup and dojo
from struts for ajaxifying the application
i hope there is a solution for this, I really hope
On Fri, Mar 13, 2009 at 5:07 PM, Musachy Barroso musa...@gmail.com wrote:
you are trying to mix YUI and Dojo?
musachy
On
Aram Mkhitaryan wrote:
I want to have YUI rich components that are built from markup and dojo
from struts for ajaxifying the application
If you're already using YUI why not just use YUI all the way?
I'd be wary of mixing two completely different, comprehensive JavaScript
frameworks, although
This is probably going to be a really simple solution, but after searching I
still haven't quite found an answer so I appreciate any help with this. I'm
using 2.0.14 and trying to do type conversion on a custom collection (called
settings in this case, it is just an extended ArrayList). I'm
Hi Wes,
Thanks for taking time to answer my question. Guess I was not clear with
the the examples I gave. Yes, I am using all Struts actions, s:url, s:a
tags, and everything. The thing is the Struts tags:
s:url var=theLink action=world namespace=/whatever *encode=true*
s:param name=country
good evening;
does someone know how can I send data from a jsp page to an Action?
--
View this message in context:
http://www.nabble.com/send-data-tp22498337p22498337.html
Sent from the Struts - User mailing list archive at Nabble.com.
Hello,
you can send them by the actionForm that u define
2009/3/13 PEGASUS84 pegasu...@hotmail.it
good evening;
does someone know how can I send data from a jsp page to an Action?
--
View this message in context:
http://www.nabble.com/send-data-tp22498337p22498337.html
Sent from the
What is url for download tablib the ajax?
-Mensaje original-
De: Jirí Chaloupka [mailto:k...@chalu.cz]
Enviado el: Viernes, 13 de Marzo de 2009 02:51 a.m.
Para: Struts Users Mailing List
Asunto: ajax:tabPanel and localization
Hi,
I need to use localization in ajax tab, but it is not
thanks but the data object isn't an input tag as s:text or s:password
but a tag s:url;
Can I get url in an action?
--
View this message in context:
http://www.nabble.com/send-data-tp22498337p22498771.html
Sent from the Struts - User mailing list archive at Nabble.com.
i don't use struts 2.0 (i use struts 1.2)
so with this version, u can get a text value or a password through the
actionform
u define a class which extends from actionform
and u add the property u want (u generate for this properties a getter and
setter method)
and u get them whith a cast of the
thanks but i don't be able to realize this thing;
laes1 wrote:
i don't use struts 2.0 (i use struts 1.2)
so with this version, u can get a text value or a password through the
actionform
u define a class which extends from actionform
and u add the property u want (u generate for this
I have been playing with the s:action tag and have found it impossible to
reference any property of the action in a struts2 like way. If I call an
action, ActionOne.java and return success then I am redirected to a page
called one-success.jsp which has the following:
lt;s:action
Hi all,
i'm looking a method to use EJB3.0 inside struts2. There's a guide or a
tutorial?
i've some question: usually a Stateful session bean is used to store and
share information, right? ActionForm (bean of struts) does the same thing.
using EJB and Struts we are in conflict? we loose the
Hello all,
Is it possible to check a field value against a list using the
@ConditionalVisitorFieldValidator annotation?
I'm thinking of something like this:
@Column(name=VENDOR_TYPE, nullable=false)
@ConditionalVisitorFieldValidator (expression=vendorType == 'COTS'
vendorType == 'GOTS'
By name means by the id in the action tag, like:
s:action var=myaction ..
/s:action
s:property value=#myaction.someProperty /
musachy
On Fri, Mar 13, 2009 at 11:49 AM, doahh ga...@prodia.co.uk wrote:
I have been playing with the s:action tag and have found it impossible to
reference any
Looking again at the post from:
http://www.nabble.com/-S2--s:action-in-value-stack--td21551483.html
I see that the answer is
lt;s:action namespace=/mynamespace name=actionTwo id=myActionTwo
/gt;
lt;s:property value=#myActionTwo.myActionTwoProperty /gt;
I didn't understand the significance
I am not sure what do you mean. tablib is used from stadard ajaxtags
distribution
Jiri
Alvaro Gomez napsal(a):
What is url for download tablib the ajax?
-Mensaje original-
De: Jirí Chaloupka [mailto:k...@chalu.cz]
Enviado el: Viernes, 13 de Marzo de 2009 02:51 a.m.
Para: Struts
In your action class, define the variable with the same name you are
defining your element in jsp page, and put setter-getter for the same, you
should be able to use the data.
Actually in struts 2, they have eliminated action forms and combined it with
action class.
On Fri, Mar 13, 2009 at 8:34
We recently discovered, quite by accident, that we can cause our app
built on struts2 to NOT display .action on any of the URL's. I'd
simply like to find out if this is an intended feature or a possible
defect? The difference is in how we start off our interaction in the
browser. If we use
Are you using the Convention plugin?
musachy
On Fri, Mar 13, 2009 at 3:57 PM, David C. Hicks dhi...@i-hicks.org wrote:
We recently discovered, quite by accident, that we can cause our app built
on struts2 to NOT display .action on any of the URL's. I'd simply like to
find out if this is an
I believe it's now the default behavior of struts 2.1.
We recently discovered, quite by accident, that we can cause our app
built on struts2 to NOT display .action on any of the URL's. I'd
simply like to find out if this is an intended feature or a possible
defect? The difference is in how
I missed that memo :)
musachy
On Fri, Mar 13, 2009 at 4:24 PM, d...@holstein.com wrote:
I believe it's now the default behavior of struts 2.1.
We recently discovered, quite by accident, that we can cause our app
built on struts2 to NOT display .action on any of the URL's. I'd
simply
We've been posting our URLs that way (sans .action) for a while now and we
love it. Please don't make it go away. :)
-B
d...@holstein.com
Becky.L.O'sulli...@healthnet.com wrote:
We've been posting our URLs that way (sans .action)
I've been sans action for months now.
Oh, URL mapping; I knew that.
Dave
-
To unsubscribe, e-mail:
I didn't see your post before I posted again - thanks for the answer.
Musachy Barroso wrote:
By name means by the id in the action tag, like:
s:action var=myaction ..
/s:action
s:property value=#myaction.someProperty /
musachy
On Fri, Mar 13, 2009 at 11:49 AM, doahh
Hi all,
I just noticed that the only required field validations that seem to be
working in my form are text field validations.
Any HTML tag that renders a list, check box or radio button doesn't
validate, even though the template shows the field as required.
In other words, this tag:
We don't really care whether Struts wants a .action, or not. However,
it's confusing when it seems to pick up the behavior based on the URL
you used to enter into the system in the first place. Both URL's that I
posted in the original note work, but the resulting behavior after the
fact is
Hi Greg,
its like there are two scenarios
1.When i do Ajax call if there is no user available i will allow him to
register if not i will need to show an error.i in action add action errors
which wont me shown to user instead they will be as part of output response
to Ajax call
2.Here we are
sajidbigler wrote:
Hi Greg,
its like there are two scenarios
1.When i do Ajax call if there is no user available i will allow him to
register if not i will need to show an error.i in action add action errors
which wont me shown to user instead they will be as part of output
so you're saying that once .action is appended onto a URL its always in the URL
sounds like a caching problem
can you include a small jsp with relevant tags so we can reproduce the error?
thanks,
Martin
__
Disclaimer and confidentiality note
dchicks wrote:
We recently discovered, quite by accident, that we can cause our app
built on struts2 to NOT display .action on any of the URL's. I'd
simply like to find out if this is an intended feature or a possible
defect? The difference is in how we start off our interaction in
good evenig
i would ask if i can get the value of variable x s: set name=x in an
action
--
View this message in context:
http://www.nabble.com/tag-set-tp22506157p22506157.html
Sent from the Struts - User mailing list archive at Nabble.com.
Greg Lindholm wrote:
There was a change sometime between Struts 2.0.11 and Struts 2.1.6 where the
default list of action extensions (struts.action.extension) changed from
just 'action' to 'action' plus (no extension). This will cause requests
with no extension to be treated as an action.
I think Greg answered my question sufficiently - at least, enough for my
needs. If you're still interested, I'll try to find a JSP over the
weekend. We're not really doing anything strange, though. It's just
s:url tags, much like the one I posted earlier.
Martin Gainty wrote:
so you're
Maybe you could try explaining what you're trying to achieve? Usually,
input is passed to the action through a form or request parameters.
Nils-H
On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 pegasu...@hotmail.it wrote:
good evenig
i would ask if i can get the value of variable x s: set name=x
It is not a bug, it is a feature! /friday
musachy
On Fri, Mar 13, 2009 at 5:56 PM, Greg Lindholm glindh...@yahoo.com wrote:
dchicks wrote:
We recently discovered, quite by accident, that we can cause our app
built on struts2 to NOT display .action on any of the URL's. I'd
simply like to
The required attribute only paints the asterisk -- it has nothing to do with
actually requiring input. Nice huh?
Peace,
Scott
On Fri, Mar 13, 2009 at 4:14 PM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
Hi all,
I just noticed that the only required field validations that seem
certainly;
but how do i achieve this thing?
s:set name=x value=user
% reqest.setAttribute(key,user)%
can i achieve this thing? in this way?
Nils-Helge Garli wrote:
Maybe you could try explaining what you're trying to achieve? Usually,
input is passed to the action through a form or
Is there a way to change the required attribute value in textfield,
textarea, etc. from asterisk (*) to some other value like (required)?
I'm using Struts 2.1.6
-Hien
Notice: This e-mail message, together with any attachments, contains
information of Merck Co., Inc. (One Merck Drive,
this is my last question pleas help me;
i want realize an action which map on the jsp page which has invoked the
action (as a back button);
excuse me for my english but i'm an italian user
--
View this message in context:
http://www.nabble.com/action-tp22507466p22507466.html
Sent from the
On Friday 13 March 2009 20:11:27 Phan, Hienthuc T wrote:
Is there a way to change the required attribute value in textfield,
textarea, etc. from asterisk (*) to some other value like (required)?
I'm using Struts 2.1.6
You can change the labelSeparator, but the asterisk is hardcoded. It'd
Phan, Hienthuc T wrote:
Is there a way to change the required attribute value in textfield,
textarea, etc. from asterisk (*) to some other value like (required)?
I'm using Struts 2.1.6
IIRC the * comes from the template file; it should probably be
definable. Check controlheader-core.ftl.
Maybe u means the AjaxTags...
http://ajaxtags.sourceforge.net/
TextField.java contents:
/*
* $Id: TextField.java 651946 2008-04-27 13:41:38Z apetrelli $
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright
On Friday 13 March 2009 20:49:34 Martin Gainty wrote:
as I dont see required attribute (but I do see dynamic attributes=true)
do you want a required attribute in TextField
?
Martin
Martin, it's there, likely via inheritance. I'm pretty sure it's available on
all UIBeans. As Dave and I
jsp:
c:url var=exeurl value=/viewJobDetail.action
c:param name=fname value=${row.fname}/
c:param name=lName value=${row.lname}/
/c:url
once inside the action class *mapped for viewJobDetail* you can pull each of
the
Thank you Dave.
That is the file I was looking for. Initially I looked in the
common-attributes.ftl and couldn't find it.
-Hien
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Friday, March 13, 2009 5:26 PM
To: Struts Users Mailing List
Subject: Re:
Sorry it took me a while. Damn flu season...
Anyways, its not really complicated but I have found it to be useful. It
was inspired from some RoR projects I worked on and is a poor mans routing
table.
You create a JSP that you will include at the top of all your JSP views. In
this JSP you add
Seems to me that there's a lot of variable creation at the beginning of each
page that is never going to be used. I know it gets compiled into Java, but
it still takes time. I'd be afraid that if there were more than about 20
links you could be seriously slowing things down for a bit of
58 matches
Mail list logo