I haven't tried including the sx:head tag within a sitemesh template
myself, but a stack overflow implies there's probably a circular
reference. Did you get a stack trace anywhere?
I can't think of any reason it shouldn't work because sx:head it's just
rending a template the same as the
Thank you very much for the response!
I studied docs and noticed the drawbacks.
I could put aside a chaining approach if the following is possible:
can I use in struts.xml complex ognl statements?
action name=*_*_* method={3} class={2}Action
...
result name=back
Hi,
Thanks for all of your support.
Here is my requirement,
I have to add the students information ( studentname collegename) in
jsp pages. Say I want to add 5 students information (5 studentnames and
5 collegenames).
I have a StudentVO, how can I get all this info to my action as a
Use Struts-Layout tag library for this fucntionality and use DATAGRIG
component in this
Thanks Regards
NAGESH Reddy
-Original Message-
From: Rajagopal_Yendluri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 30, 2007 2:43 PM
To: Struts Users Mailing List
Subject: RE: Multiple
Hi All,
I have implemented already Struts DATAGRID iam fasing a prob , I need to
support multi language fileds in this datagrid layout .
How can I show a filed in english another field in japan in the same
datagrid .
Any body has any idea please mail me
Thanks Regards
Nagesh Kumar
I am using struts2, Struts-Layout will not support.
-Original Message-
From: nagesh.kumar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 30, 2007 3:04 PM
To: 'Struts Users Mailing List'
Subject: RE: Multiple Textboxes with same name.
Use Struts-Layout tag library for this
For news on the 2.1 front, drop by the dev list.
* http://www.nabble.com/-S2--2.1.0-Test-Build-Available-p13471367.html
-Ted.
On Oct 29, 2007 10:43 PM, Jeromy Evans [EMAIL PROTECTED] wrote:
No, that improvement is included in the struts-dojo-plugin used by only
2.1.x.
But you can do it
I've solved the problem. The only way to validate properly is to add an
error to the errors variable. Without this validator will think that
everything is OK even if you returned false in validate method.
On 10/29/07, John Doe [EMAIL PROTECTED] wrote:
No, there is no exception.
On 10/28/07,
hi,
While building Struts 2.1.x trunk branch test cases I get tons of this
kind of warnings:
WARNING: [57:14.332] Could not find property [#attr.theme]
WARNING: [57:14.364] Could not find property [#attr.templateDir]
WARNING: [57:14.365] Could not find property [#attr.theme]
The same
Hi, i'm developping a blog using Struts 2 (2.0.11), I have a strange
error in a 404 error page.
This error page is defined in my web.xml:
error-page
error-code404/error-code
location/pages/errors/page404.jsp/location
/error-page
Struts 2 is configured with those lines :
!--
--- Troy S [EMAIL PROTECTED] wrote:
No, but now I have struts.xml in the correct
directory and I am getting the same error.
It's being deployed to /WEB-INF/classes?
(Also, where should the jsp file go?)
result/menu/Menu.jsp/result
In /menu/Menu.jsp.
You may want to turn up the log level to
--- lbastil [EMAIL PROTECTED] wrote:
can I use in struts.xml complex ognl statements?
Well... yes, but there's no reason to in this usecase.
action name=*_*_* method={3} class={2}Action
result name=back type=redirect-action
{1}_target_show.action
/result
Expose a target property in
Please look at the documentation at
http://struts.apache.org/2.x/docs/type-conversion.html
All you have to do is expose a collection of your
student value object in the action; you might not even
need to set up the conversion properties file (I can
never remember) and reference the appropriate
Didn't work: s:property
value=%{#request['javax.servlet.forward.context_path']/
I think that the best solution is rewrite the tld. Is painful.
Manuel Correa.
-Original Message-
From: Desbois Arnaud [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 30, 2007 3:55 AM
To: Struts Users
Hi all,
I am quite new to s2 but like the framework but can not find the right way
how ActionTag may cooperate with surrounding Action. Well more exactly I
want Interceptors mapped to ActionTag use some objects prepared by
Interceptors of the Action. May be example would be best.
I have
Thank you very much for this hint,
it is exactly what I meanwhile have implemented as fallback.
Only disadvantage in comparison to an ognl expression is that in case of
change I have
to change action (code) and recompile ...
What do you mean with overly-complex in detail?
the approach trying
Can you post the full stack trace, so we can figure out where this is
happening?
Looking that the example code, it all looks good, so I'm not sure why the
myList is null.
carmi_cd wrote:
hi i followed this tutorial.. in JasperReports/Struts 2 Integration
So this is a pretty simple question (I'm new to view technology)
How do I control the target of a struts s:a tag? I want to open the
link in a new window or a new tab.
I've tried:
s:a href=%{surl} targets=_blank theme=ajaxtext/s:a
without having used ajax anywhere else in my app but this
Use the simple theme.
-Mensagem original-
De: Jason Deffenbaugh [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 30 de outubro de 2007 07:55
Para: Struts Users
Assunto: Link: new window or new tab
So this is a pretty simple question (I'm new to view technology)
How do I control
--- Jason Deffenbaugh [EMAIL PROTECTED]
wrote:
So this is a pretty simple question (I'm new to view
technology)
How do I control the target of a struts s:a tag? I
want to open the
link in a new window or a new tab.
I've tried:
s:a href=%{surl} targets=_blank
Hi all,
I have an intention to enabel debug mode in my application and one of the
features should be that it shows resource name in front of every localized
text in jsp retrieved by s:text
For example s:text name=RESOURCE_1This is resource /s:text would
render in html page as: [RESOURCE_1]This is
Keep in mind however in POHTML the target attribute is deprecated unless
you are doing frames development (which I hope you are not ;-)).
The proper way to get a new window is to use the window.open() call from
your a tag.
HTH,
-Rod
-Original Message-
From: Dave Newton [mailto:[EMAIL
On 10/30/07, Manuel Correa [EMAIL PROTECTED] wrote:
Didn't work: s:property
value=%{#request['javax.servlet.forward.context_path']/
I think that the best solution is rewrite the tld. Is painful.
Manuel Correa.
If you're looking for the simplest solution, you should be able to
define a
The s:text tag is considered a data tag, not a UI tag, so there is no ftl
template backing that take. Your only option is to extend the tag to add
the functionality that you describe. The functionality you describe sounds
like it might be useful to others. Have you considered creating a patch
That is not possible, because in Struts 2.0.11 you can't use EL in any
Struts tag, including s:set ...
Manuel Correa.
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 30, 2007 12:11 PM
To: Struts Users Mailing List
Subject: Re: S2: EL in tags
On 10/30/07, Manuel Correa [EMAIL PROTECTED] wrote:
That is not possible, because in Struts 2.0.11 you can't use EL in any
Struts tag, including s:set ...
That's why I recommended using the JSTL c:set instead.
(*Chris*)
-
Hi, I was with the same problem (validation for only 1 method), here is the
solution:
I have this:
action name=pruebaValid_* method={1} class=actions.MyAction
result name=input/pages/input.jsp/result
result/pages/inputOk.jsp/result
/action
So, if
Hi,
I'm trying to use de tag tabbedPanel where each tab with remote content.
my code is:
s:tabbedPanel id=user_tab theme=simple
s:url id=urlRemote value=/myAction.do/
s:div id=tab_remote label=remote tab theme=ajax href=%{urlRemote}
executeScripts=true
but it give me this
Hi Tom,
not yet... but I have no experience contributing to project like this, so I
am afraid that my bothering this mail group would overweight the benefit...
Also there is one big ? what is the best way how to share debug flag
across the all session/page or any scope... also since I am quite
I made a mistake, the correct xml name is
MyAction-pruebaValid_save-validation.xml instead of
MyAction-pruebaValid_login-validation.xml ;-)
AlfonsoQuiroga wrote:
Hi, I was with the same problem (validation for only 1 method), here is
the solution:
I have this:
action
I´m having the same problem to building struts 2.1.x trunk ... 'Could not
find property [#attr.theme]'
Herrera
Giovanni Azua-3 wrote:
hi,
While building Struts 2.1.x trunk branch test cases I get tons of this
kind of warnings:
WARNING: [57:14.332] Could not find property
A better long-term solution might be to create a standard JSP 2.0
taglib for Struts 2 that follows the same external API as the Struts 1
EL tags, and didn't use OGNL at all.
* http://struts.apache.org/1.3.8/struts-el/index.html
This would mean doing without templates, but I think many people
Just in case these this didn't work messages were copy-pasted, I'll
point out the typos:
Chris Pratt wrote:
On 10/30/07, Manuel Correa [EMAIL PROTECTED] wrote:
Didn't work: s:property
value=%{#request['javax.servlet.forward.context_path']/
s:property
This is somehow connected to my question before on a migration guide, is
it needed?
There's no migration guide from 2.0.x to 2.1.x. I agree one will be needed
because you can't simply change jars over, but I don't think users should be
switching over on-mass anyway yet.
If you want to
Hi All,
I have implemented already Struts DATAGRID now fasing a prob , I need to
support multi language fileds in this datagrid layout .
How can I show a filed in english and another field in japan in the same
datagrid .
Any solution please mail me
Thanks Regards
Nagesh Kumar Reddy
Hi,
I'm having a hard time trying to implement this - I want to have a select
box containing options for the user to select the update frequency of my div
tag. So my select box has no refresh, 30 seconds, 60 seconds, 120
seconds and depending on what the user selects the frequency will change.
36 matches
Mail list logo