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 ch
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
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 star
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:
scope="request"/>
-Dale
-
To unsubscr
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 are
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 [#
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:
> class="a
Hi, I was with the same problem (validation for only 1 method), here is the
solution:
I have this:
/pages/input.jsp
/pages/inputOk.jsp
So, if I want a validation for the method "save", I need to put (in actions
package) a file called:
"MyAction-
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 quit
Hi,
I'm trying to use de tag tabbedPanel where each tab with remote content.
my code is:
but it give me this error: "Error Loading '../myAction.do' (200OK) "
Someone can help me to solve this problem ?
Struts 2.0.9
thanks.
Veronica
_
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
That's why I recommended using the JSTL instead.
(*Chris*)
-
To unsubscrib
That is not possible, because in Struts 2.0.11 you can't use EL in any
Struts tag, including mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 30, 2007 12:11 PM
To: Struts Users Mailing List
Subject: Re: S2: EL in tags 2.0.11
On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote:
> Didn't work:
>
>
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 t
On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote:
> Didn't work: 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 reque
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 tag.
HTH,
-Rod
-Original Message-
From: Dave Newton [mailto:[EMAIL PR
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
For example This is resource would
render in html page as: [RESOURCE_1]This is resource.
I thought of making my cus
--- 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:
>
> theme="ajax">text
>
> without having
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 t
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:
text
without having used ajax anywhere else in my app but this just opens in
the current window.
Help?
-Jas
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
> http://cwiki.apache.org/WW/jasper
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 to
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 Interceptor
Didn't work:
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 Mailing List
Subject: RE: S2: EL in tags 2.0.11
Try this: %{#request['
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 fi
--- lbastil <[EMAIL PROTECTED]> wrote:
> can I use in struts.xml complex ognl statements?
Well... yes, but there's no reason to in this usecase.
>
>
> {1}__show.action
>
Expose a "target" property in your action and do the
lookup there; the destination of your redirect-action
would th
--- 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?)
> /menu/Menu.jsp
In /menu/Menu.jsp.
You may want to turn up the log level to see wha
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:
404
/pages/errors/page404.jsp
Struts 2 is configured with those lines :
struts2
org.apache.struts2.d
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 happe
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/
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 i
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 fucntionali
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 Redd
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 Textbo
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
colle
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?
...
{1}__show.action
...
now problem is that depending on {
35 matches
Mail list logo