2008/5/13 Darren James <[EMAIL PROTECTED]>:
> i downloaded the 2.0.5 version of tiles, and i see the same issue
> seems to be a pretty severe limitation of tiles
It's not a limitation, it's a bug :-)
https://issues.apache.org/struts/browse/TILES-232
Try using the SVN version of Tiles (br
i downloaded the 2.0.5 version of tiles, and i see the same issue
seems to be a pretty severe limitation of tiles
- darren.
Antonio Petrelli wrote:
2008/5/12 Darren James <[EMAIL PROTECTED]>:
struts 2.0.11, and the tiles bundled with that version, which is tiles 2.0.4
Please
Team,
any help??? now i configured the validation, workflow interceptors in my xml
file. I see an error for this field variable.
I tried configuring the converter... but as always its also failing...
< actionclass>-conversion.properties:
mapOfList=com.company.CustomMapConverter
Element_mapOfL
hi,
we have multiple classes (C1,C2,C3) each as java beans. now i have a form
as:
is it possible for me to populate the individual classes? The problem is
that we need to build a framework in struts2 and it requires the above to
happen.
After googling a lot... i found that that the current
shrimpywu wrote:
hi, what is the difference between specify time out and do not specify the
timeout value in the web.xml file
30
According to the Servlet specification, if you don't specify this
session timeout will be set to the container's default (which will be
server de
Hi,
I have a problem where the ajax div (see source code) will initialize once when
I load the page.What I wanted to do is to make it run only when i publish the
topic. Am I missing something here. I'm using v2.0.11. Thanks.
Regards,
Simon
hi, what is the difference between specify time out and do not specify the
timeout value in the web.xml file
30
before, i do not specify this in the web.xml file
when the session has been timeout, i sometime got some exception
but after i did that..no exception any more..
Hi,
I am having trouble with unit testing my validation logic in Struts2.
here's the code.
1) In UserLookupAction-validation.xml I have
You must enter a value for
${getText("memberId.label")}.
2) In UserLookupActionTest.java I have the following method
public voi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
for myself, I solved the problem by a little routine in my (base) action
class.
I don't know if this is the recommended way to to it, but it works for me.
~@SuppressWarnings("unchecked")
~protected String getActionName() {
~Enu
Oh, ok. I was just in the middle of poking around the debug info to see
why that wasn't working.
Thanks,
~DVA
-Original Message-
From: Allen, Daniel
Sent: Monday, May 12, 2008 3:11 PM
To: Struts Users Mailing List
Subject: RE: [s2] Getting the current Action name in a JSP?
Ok, thanks
My bad on that one, "#struts.actionMapping" won't return anything (no
#struts object, 'struts.actionMapping' is an string)
You need to use:
#context['struts.actionMapping']
musachy
//these values are for internal struts use, so use at your own risk :)
On Mon, May 12, 2008 at 3:10 PM, Allen, Da
I think I've followed the instructions at [1] closely, and ended up with
this in my struts.xml:
I have no s defined in struts.xml because I'm using annotations for
action configuration. Is this setup incompatible with globa
Ok, thanks for the clarification.
What is the Java type of #struts? I'd like to take a look at the docs to
see what else I can get out of that.
~DVA
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Monday, May 12, 2008 3:07 PM
To: Struts Users Mailing List
Subjec
%{#struts.actionMapping} ->Action Mapping
%{#action} -> Last executed action
musachy
On Mon, May 12, 2008 at 3:05 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- "Allen, Daniel" <[EMAIL PROTECTED]> wrote:
> > So that's what #action gets? That's really useful, thanks!
>
> Wait, what? I'm not su
--- "Allen, Daniel" <[EMAIL PROTECTED]> wrote:
> So that's what #action gets? That's really useful, thanks!
Wait, what? I'm not sure that #action is mapped to anything, and if it
was, it'd be the action itself, not its configuration.
Dave
> -Original Message-
> From: Musachy Barroso [mai
So that's what #action gets? That's really useful, thanks!
~DVA
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Monday, May 12, 2008 1:52 PM
To: Struts Users Mailing List
Subject: Re: [s2] Getting the current Action name in a JSP?
Under "struts.actionMapping" th
Hello,
I have an Action class that backs a page. The page has two submit
buttons it: one that should call methodOne on the Action, and another
that should call methodTwo.
Each method has a Validation annotation that validates different fields,
that look something like this:
@Validatio
Under "struts.actionMapping" there will be an object of type
"org.apache.struts2.dispatcher.mapper.ActionMapping" with fields:
extension, name, namespace, params and method. Another tip, if you
have the "debug" interceptor applied to your action you can add
debug=browser to the url and you will be
Thanks for the tip, but to clarify, what I want to know is whether that
action reference has an easy, built-in way to get its name and
namespace, as configured in struts.xml.
For example, I have in struts.xml
sample.jsp
Can I put into sample.jsp a reference to something built-in like
? O
Actually, Struts 2 checks the whole class hierarchy when an action is
to be validated, so it will find the annotation on the parent class.
musachy
2008/5/12 Musachy Barroso <[EMAIL PROTECTED]>:
> That's the way we roll in Struts 2, it works even when it is not
> supposed to :). Do you have any x
That's the way we roll in Struts 2, it works even when it is not
supposed to :). Do you have any xml validation set up as well?
musachy
On Mon, May 12, 2008 at 12:00 PM, Anna Skawińska <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'll start my posting here with a fairly basic Java issue - hope I won
"#action" will give you a reference to the last executed action.
musachy
On Mon, May 12, 2008 at 12:10 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote:
> Hi, all.
>
> I'm using Sitemesh decorators on my Struts2 project to create a generic
> header menu. However, I'd like to use a CSS class to highl
Hi,
>I'm not a Struts 1 guy, so this advice might not be useful to you (because
>you didn't say whether this was a Struts 1 or 2 situation). But in my Struts
>2 app I have plenty of places where I have multiple buttons each
>triggering different action methods on the same action class.
I'm actual
Hi,
>It can be List. Use the listKey/listValue attributes of s:select
>to control which properties of Fruit are used in populating the select
>options.
O.K. Thanks. One more question, is there possibility to show in a combo box
two values, for example I want to show id and name of the every frui
Milan,
I'm not a Struts 1 guy, so this advice might not be useful to you (because
you didn't say whether this was a Struts 1 or 2 situation). But in my Struts
2 app I have plenty of places where I have multiple buttons each
triggering different action methods on the same action class.
jk
On Mo
Milan Milanovic wrote:
Hi,
I have a simple action class, for example like this:
public class comboboxTag extends ActionSupport{
private List fruits;
private FruitService service;
public String execute()throws Exception{
fruits = service.getFruits();
return SUCCESS;
}
}
fruits
Or maybe I should define two submit buttons for the same form and action class ?
--
Regards, Milan
- Original Message
From: Milan Milanovic <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Monday, May 12, 2008 5:57:50 PM
Subject: [struts 2] Two forms for one action
Hi,
I need to
Hi, all.
I'm using Sitemesh decorators on my Struts2 project to create a generic
header menu. However, I'd like to use a CSS class to highlight the menu
item for where the user currently is. Is there a good way to get the
current action name and namespace just with JSP code? I know I can get
it us
Hi all,
I'll start my posting here with a fairly basic Java issue - hope I won't
get banned ;)
I've just realized that I'm using the @Validation annotation on a base
class for my validated actions. As far as I know, Java5 annotations
don't get inherited unless the annotation type has the @In
Hi,
I need to have classic master/detail jsp page, so I need actually two forms in
a jsp page to works with one action class,
one main form that works with main elements of my object (e.g. User name,
surname,...) for header and another one which works
with some list that belongs to my main obje
Is there anybody can tell me where it's wrong in my code..
Anybody knows how to show the result list, coming from database operation,
in the drop down box of JSP directly.
Any example will be better.
On Fri, May 9, 2008 at 6:02 PM, Arpan Debroy <[EMAIL PROTECTED]> wrote:
> Hi Laurie,
>
> My JPA q
Add a "-e" (or it might be a capital "-E") to the command, and Maven
will print out the stack trace and a little more information about the
problem. That might give you something to work with.
-Original Message-
From: maestro [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 10, 2008 8:42 PM
One more thing, I'm creating my action classes by using Spring 2, in this
way:
--
Thx, Milan Milanovic
- Original Message
From: Milan Milanovic <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Monday, May 12, 2008 4:34:09 PM
Subject: [Struts 2] Combo box question
Hi,
I have a s
Hi,
I have a simple action class, for example like this:
public class comboboxTag extends ActionSupport{
private List fruits;
private FruitService service;
public String execute()throws Exception{
fruits = service.getFruits();
return SUCCESS;
}
}
fruits field should be connected
Hello,
We're transitioning from a Struts 1.x and Tiles development environment
to Struts 2 and Sitemesh, and I need some help getting around some of
the differences.
Here's what I'm planning so far. I want to have an abstract BaseAction
that extends ActionSupport. Since we are no longer usi
Thanks Jeromy Evans. It worked well.
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Monday, May 12, 2008 6:11 PM
To: Struts Users Mailing List
Subject: Re: WARNING: Parameters: Invalid chunk ignored
Ram Prasad wrote:
> Hi All,
>
>
>
> I am using struts 2.0.11.1
Ram Prasad wrote:
Hi All,
I am using struts 2.0.11.1 form with "Ajax" theme, getting error
"Parameters: Invalid chunk ignored" WARNING message when submitted the form
and the form fields have not been populated. I have configured the targets
as the form parent DIV.
May 8, 2008 5:50:30 P
Frans Thamura wrote:
hi there
JSFgoes to 2.0
will Struts goes to 2.0?
JSF and Struts are unrelated, so a bump in version for JSF doesn't imply
any change in Struts. There are no particular plans for a Struts 3
AFAIK. As usual, the best thing to do if you're interested in the future
plannin
Anet wrote:
Hi everybody;
I have some tables on my page. each of them contains some of properties. for
the first time, tables are hidden and will be displayed by this javascript code:
function toggle(id){
var id = id;
var table = document.getElementById(id);
if(table.style.display=="none"
What do you mean by 'I uuse struts 2 package...'? The Struts1 tags don't
work in Struts2 directly, so you may need to explain your setup in more
detail to resolve specific issues.
That said, to answer the original question: have you tried using the
same technique you did with the html:text tag
Acegi / Spring Security can certainly get this done, but may be overkill
if the authentication and authorization requirements are simple.
Container Managed Security is probably the quickest and easiest way to
get the described behaviour, but that also doesn't always fit. For a
home-brewed custo
Hi All,
I am using struts 2.0.11.1 form with "Ajax" theme, getting error
"Parameters: Invalid chunk ignored" WARNING message when submitted the form
and the form fields have not been populated. I have configured the targets
as the form parent DIV.
May 8, 2008 5:50:30 PM org.apache.tomcat.ut
i ran the command on WinXP_sp2, and it came to "BUILD SUCCESSFUL", with some
errs and warnings.
Maven version: 2.0.9
Java version: 1.6.0_02
--
E:\struts2>mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial
-DarchetypeGroupId=or
Yayo wrote:
I don't have scripts in my results but that don't changes the fact that the
action configured in the cancel button never gets executed...
I thought you meant you had an button in your
result, which implies the result needs to be parsed by dojo so it can
attach listeners to
I don't have scripts in my results but that don't changes the fact that the
action configured in the cancel button never gets executed...
On Mon, May 12, 2008 at 4:57 AM, Jeromy Evans <
[EMAIL PROTECTED]> wrote:
> Yayo wrote:
>
>> Hi,
>>
>> i'd like to discuss with you for in case you've found it
2008/5/12 Darren James <[EMAIL PROTECTED]>:
> struts 2.0.11, and the tiles bundled with that version, which is tiles 2.0.4
Please try updating to Tiles 2.0.5:
http://tiles.apache.org/download.html
Antonio
-
To unsubscribe, e-mai
sorry
struts 2.0.11, and the tiles bundled with that version, which is tiles 2.0.4
thx,
- darren
Antonio Petrelli wrote:
Version of Struts and Tiles?
Antonio
2008/5/9 Darren James <[EMAIL PROTECTED]>:
Hello All,
I have a flow that is basically a toplevel struts2 action having a res
47 matches
Mail list logo