On 5/6/10 4:15 AM, RogerV wrote:
The documentation says that the checkbox interceptor "Looks for a hidden
identification field that specifies the original value of the checkbox. If
the checkbox isn't submitted, insert it into the parameters as if it was
with the value of 'false'."
So let's thin
I think this did not reflect in the group. Hence sending again.
On Sun, Dec 27, 2009 at 9:19 AM, Sanjay Patel wrote:
> Hi,
>
> In an application, we are storing the timeZone of the users and wish to
> display the dates according to their timeZone. As I saw, that there is on
> timeZone support in
Found it.
In case someone is interested the i18n keys can be found in the javadoc of
org.apache.struts2.components.Date
--
View this message in context:
http://www.nabble.com/%3Cs%3Adate-nice%3D%22true%22-%3E-and-internationalization-tp21932308p21933441.html
Sent from the Struts - User mailing
OK
--
-
Tomas Jurman
Czech Republic
--
View this message in context:
http://www.nabble.com/%3Cs%3Aproperty%3E-and-%
Hi,
I think 'sort' value is available from action class. If yes, when it is
directly available from action, you do not need to use . U can
use the value from action itself.
ManiKanta
Kibo wrote:
Hi ManiKanta G
Thank for you replay. It help me.
But, the problem was in wrong return dateTyp
Hi ManiKanta G
Thank for you replay. It help me.
But, the problem was in wrong return dateType.
The code below work correct.
---
OK
is like out.println(). It is useful for printing
(outputs) some value, but not to store a value.
To store a value in to the value stack (coz this is S2), you may use
where the name attribute indicates the name
of the variable and the value indicates the value to be store. You may
use anothe
umainb wrote:
Hello,
I have a link in my jsp
which deletes a record from the list of numbers.
When the user clicks on the link above, we need a javascript popup "Are you
sure you want to delete the number?" with "OK" and "Cancel"
How I can achieve that?
Use html:link's onclick attribu
2008 5:50 AM
To: Struts Users Mailing List
Subject: RE: and AJAX
--- "Stanley, Eric" <[EMAIL PROTECTED]> wrote:
> Been, there done that. Anything out there with a real example?
What exactly are you asking for? Do you not want to use the built-in
(if you need more than two selec
--- "Stanley, Eric" <[EMAIL PROTECTED]> wrote:
> Been, there done that. Anything out there with a real example?
What exactly are you asking for? Do you not want to use the built-in
(if you need more than two select boxes it's probably
not worth it)? There are a million examples of doing linked se
Been, there done that. Anything out there with a real example?
-Ryan
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 4:23 PM
To: Struts Users Mailing List
Subject: Re: and AJAX
start here
http://struts.apache.org/2.0.11/docs
start here
http://struts.apache.org/2.0.11/docs/select.html
M-
- Original Message -
From: "Stanley, Eric" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, February 14, 2008 6:19 PM
Subject: and AJAX
All,
Need some help and or direction in how to chain together
the
whole dojo plugin) worth it.
-nick
-Original Message-
From: Andre Prasetya [mailto:[EMAIL PROTECTED]
Sent: October 19, 2007 2:39 AM
To: Struts Users Mailing List
Subject: Re: and Hibernate
Where can i get this new dojo plugin ? and is it usable using 2.0.9 ?
-Andre-
Engelking, Nicholas wro
, 2007 11:20 PM
To: Struts Users Mailing List
Subject: Re: and Hibernate
Yes! My Jsp file looks exactly like the one provided into the "Example
Applications" (struts-2.0.9-apps.zip).
function treeNodeSelected(nodeId) {
dojo.io.bind({
url: "<s:url
va
Where can i get this new dojo plugin ? and is it usable using 2.0.9 ?
-Andre-
Engelking, Nicholas wrote:
I just went through the same thing. In struts 2.1 there is a new href attribute
on the tree tag. It points to an action that returns some json using the json
plugin that gives all the info
label: "text of node2",
id: "id2",
hasChildren: false
}
]
See https://issues.apache.org/struts/browse/WW-1910 for more info. Remember to
put the json and dojo plugins in you lib directory.
-Original Message-
From: Cosmin Stanciu [mailto:[EMAIL PROTECTED]
Sent: October 1
- Original Message
From: Dave Newton <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Thursday, October 18, 2007 7:27:32 PM
Subject: Re: and Hibernate
--- Cosmin Stanciu <[EMAIL PROTECTED]> wrote:
> Action tab the funtionality is not shown. :(
Are you filling tree
--- Cosmin Stanciu <[EMAIL PROTECTED]> wrote:
> Action tab the funtionality is not shown. :(
Are you filling tree data via Ajax (which the example
on the wiki isn't)?
d.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
ay, October 18, 2007 6:22:39 PM
Subject: Re: and Hibernate
Is the documentation at
http://struts.apache.org/2.0.9/docs/tree.html out of
date? I haven't looked at it in quite awhile now.
d.
--- Cosmin Stanciu <[EMAIL PROTECTED]> wrote:
> Hi!
> I have been trying for a week now
Is the documentation at
http://struts.apache.org/2.0.9/docs/tree.html out of
date? I haven't looked at it in quite awhile now.
d.
--- Cosmin Stanciu <[EMAIL PROTECTED]> wrote:
> Hi!
> I have been trying for a week now to populate one
> with the data from a database table but
> with no luck . I
JSTL fmt tag library.
On 9/10/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote:
>
> I want to display a number (double) into a jsp using a certain format (2
> decimals). What's the best way to do it?
>
> -
> To unsubscribe, e-mail:
Sorry I just realize I didn't use the tag the right way. I had String
literals in my list instead of the actual primitives/objects...
Now of course it works just fine without any patching!
Slowly, but I am getting there ;-)
Torsten
Torsten Römer schrieb:
> I tried to use primitive types/arrays
Search for:
JSTL and URL generation
http://www.sitepoint.com/article/java-standard-tag-library/3
uses tags nested within
On 7/24/06, David Haynes <[EMAIL PROTECTED]> wrote:
I want to be able to generate a URL with a GET method for a scenario so that the result looks like:
http://my_host.co
shouldn't the logic:empty/notEmpty tag be inside the td? You are
writing the same twice: ..
regards
leon
On 4/18/06, Moreno Herranz, Jose Luis <[EMAIL PROTECTED]> wrote:
> hi. Here´s an example
>
>
>
> B);"> src="docs/img/flecha_on.gif">
>
>
>
>
>
>
>
>
>
>
> This is like
> <%
> if (
hi. Here´s an example
B);">
This is like
<%
if (datosPersona.getReferencia() != null &&
!datosPersona.getReferencia().trim().equals("")){
%>
<%
else{%>
}%>
De: Naveen Sharma [mailto:[EMAIL PROTECTED]
Enviado el: mar 18/04/
Naveen,
http://struts.apache.org/struts-taglib/tagreference-struts-logic.html#logic:empty
--
Ahmed Hashim
www.egjug.org
www.egjug.org\hashimblog
On 4/18/06, Naveen Sharma <[EMAIL PROTECTED]> wrote:
>
> Hi !
>
> Can someone Please help me with the .
> I am not able to implement it
>
>
--
In Li
Hi Naveem,
I normally put the databean on the request if it doesn't find the databean it
will go into the following section. If the bean is on the request it will do
the tag if it is in the code.
Could not find any records for the
specified search criter
Naveen Sharma ha scritto:
Hi !
Can someone Please help me with the .
I am not able to implement it
Be less dumb please... the more you write, the better we can help
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
On 1/12/06, Asad Habib <[EMAIL PROTECTED]> wrote:
> Hello. I am using the select and options tags in one of my JSP pages. My
> first option has the value attribute set to an empty string (i.e.
> value='') and the second option has the value attribute equal to 0 (i.e.
> value="0"). For some reason,
Hi Michael,
Sorry to disturb again, just another question :
If i use scoped variable, than what do I must write in "value" attribute of
a "notEqual" tag?
So what do I have to write instead of
I have tried
But I got a nullPointerExceptionwhat is the right code?
Or in this c
r 21, 2005 8:07
PM
Subject: Re: and its
behaviour
Gaet,This is not a Struts thing, this is a JSP thing.
read documentation [1] and look at the source code
generated by servletcontainer as James suggested. Documentation states
clearly in the veryfirst sentence that
rom your .jsp. For Tomcat, the servlets are in
> the /work directory.
>
>
> -Original Message-
> From: Gaet [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 21, 2005 12:46 PM
> To: Struts Users Mailing List
> Subject: Re: and its behaviour
>
>
> Tha
: Struts Users Mailing List
Subject: Re: and its behaviour
Thanks for reply Michael,
I mean that it's certainly trivial for experimented users with strutsnot
like me :o)
I try to look...but I can't find the solutionwhy this variables are
different...
Cordialement,
v
To: Struts Users Mailing List
Sent: Monday, November 21, 2005 5:54
PM
Subject: Re: and its
behaviour
If it is trivial, why won't you look it up yourself? The key is
tounderstand that myVar objects used here
and here
<% myVar = "content"; %>
If it is trivial, why won't you look it up yourself? The key is to
understand that myVar objects used here
and here
<% myVar = "content"; %>
are different.
Michael.
On 11/21/05, Gaet <[EMAIL PROTECTED]> wrote:
> Nobody knows the answer to this trivial question?
>
> Thanks
>
>
> - O
Nobody knows the answer to this trivial question?
Thanks
- Original Message -
From: Gaet
To: Mailing List Struts
Sent: Monday, November 21, 2005 10:08 AM
Subject: and its behaviour
Hi,
I'm sure this question is easy to answer for much of yours but I cannot
fig
I have the same situation that yours. My solution is to save the static
part of validator in an static .js file
...and replace all ocurrences of
var formName = form.getAttributeNode("name");
with
var formName = form.getAttributeNode("id");
My previous setup was
">
Inside validator.
On 2005-07-01 18:04:41 +0200, Eduardo José Hernández Cisneros
<[EMAIL PROTECTED]> said:
Hi everybody,
I recently upgrade my struts libraries to 1.2.7 from 1.2.4. I am
using the tag with:
In 1.2.4 version the html:form tag renders correctly the form name
attribute, but when a
Its a bug in Version 1.2.7 caused by the changes for Bug 34027. It has been
reported in Bug 35127 and a fix has been applied
I have upated the upgrade notes on the wiki to make a note of this:
http://wiki.apache.org/struts/StrutsUpgradeNotes124to127
Niall
- Original Message -
From: "Ed
There is no name attribute in form tag according to xhtml
specification. So if you use or , name attribute will not be generated.
You can use id attribute to identify your form.
2005/7/2, Eduardo José Hernández Cisneros <[EMAIL PROTECTED]>:
> Hi everybody,
>
> I recently upgrade my st
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Laurent writes:
> Nicolas De Loof wrote:
> > Can someone explain me what's wrong in HTTP / servlet API about char
> > encoding :
> > I'm using to build a link with parameters, whose values
> > use french chars ('é', 'à' ...)
> > I need to set useLocaleEncoding to get values in my servlet (that i
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Nicolas De Loof writes:
> Hi,
>
> Can someone explain me what's wrong in HTTP / servlet API about char
> encoding :
>
> I'm using to build a link with parameters, whose values
> use french chars ('é', 'à' ...)
> I need to set useLocaleEncoding to get values in my servlet (that is
> not a strut
Nicolas De Loof wrote:
Can someone explain me what's wrong in HTTP / servlet API about char
encoding :
I'm using to build a link with parameters, whose values use
french chars ('Ã', 'Ã' ...)
I need to set useLocaleEncoding to get values in my servlet (that is not
a struts action) using getPara
Try "enctype":
http://struts.apache.org/userGuide/struts-html.html#form
On Thu, 14 Oct 2004 13:22:24 -0700 (PDT), Caroline Jen
<[EMAIL PROTECTED]> wrote:
> I have a form with a drop-down menu in it. The
> drop-down menu is created using the tag.
>
> Everything displays well this way:
>
>
use http://google.co.in";>Google
On Tue, 28 Sep 2004 Caroline Jen wrote :
>I am working on one of my Struts JSPs. I am trying to
>put a link (not a link to invoke an action); something
>equivalent to:
>
>http://www.google.com";>Google
>
>I want user to be at the Google's web site when they
Oops, forgot the closing quotation mark...
http://www.google.com";>
Google
TR
Terry Roe wrote:
Caroline,
You should be able to use the href attribute of html:link, like this:
http://www.google.com>
Google
This will render the href unchanged.
TR
Caroline Jen wrote:
I am working on one of my St
Caroline,
You should be able to use the href attribute of html:link, like this:
http://www.google.com>
Google
This will render the href unchanged.
TR
Caroline Jen wrote:
I am working on one of my Struts JSPs. I am trying to
put a link (not a link to invoke an action); something
equivalent to:
h
From: "Caroline Jen" <[EMAIL PROTECTED]>
> I am working on one of my Struts JSPs. I am trying to
> put a link (not a link to invoke an action); something
> equivalent to:
> http://www.google.com";>Google
> I want user to be at the Google's web site when they
> click on 'Google' in my JSP. The abo
ling List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: and pre selecting values
Date: Fri, 24 Sep 2004 15:04:05 -0400
Run your page, and view source, and send that result so we can see it.
--
James Mitchell
Software Engineer / Open
Run your page, and view source, and send that result so we can see it.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Anand M S" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 24, 20
What I usually do is place the login functionality (and all
common/general functionalities for that matter) in the default
struts-config at the root context.
Now if I have a more specific module or section in my app, i create a
sub-context so that all action mappings for that particular submodule
Hi,
Perhaps I'm misunderstandig the use of modules: I have a default module
that handles basic webapp functionality (homepage forwarding, layout,
etc) and other modules handle additional functionality such as user
management (log in/out, registration, details modifications, etc) henc
the need t
I would guess its because its not really standard practice to submit a
form to a handler from another module. It's kind of a weird flow if
you ask me. Usually you'd submit to a handler in your own module and
THEN forward to wherever else using SwitchAction.
Anyway if the SwitchAction does not work
Hi,
Thanks for that, I will try to use the switch action to forward onto the
correct module actions. Just out of interest, why doesn't the html:form
tag have a module attribute?
Yves Sy wrote:
Try using SwitchAction
-Regards-
Yves
On Wed, 15 Sep 2004 23:46:16 +0100, Ricardo Gladwell
<[EMAIL PROT
I don't think submitting a form to a separate module is allowed by the
Struts tags.
Actions are specific to each module. IIRC, You can define the same
path in different modules and they will be treated as different
mappings. You can even define forms with the same form name in
different modules
Try using SwitchAction
-Regards-
Yves
On Wed, 15 Sep 2004 23:46:16 +0100, Ricardo Gladwell
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm experimenting with struts modules, but I've encountered a problem
> whereby I have a struts referencing an action in my
> non-default module. Instead of referenci
The reason you "System.out.print(foo.getBar())" printed "null" is
because that is how the print method is written. If the returned value
of the method is actually null then the "print" method
prints the value "null".
Long story short, what you are seeing is result of calling
"System.out.print"
Thanks Tim, I could solve my issue with the el tags. Now I am using el
tags in other places, Life is easy now.
Sandhya
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 1:25 PM
To: 'Struts Users Mailing List'
Subject: RE:
Thank you Niall.
This has helped me solve my issue. I was not aware of the
mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 1:41 PM
To: Struts Users Mailing List
Subject: Re: and tags
I think you're making this more difficult than it needs to be. You want
to
use a Select to
I think you're making this more difficult than it needs to be. You want to
use a Select to set a property in your ActioForm, so in the ActionForm you
have something like this...
protected String productId;
protected List products;
public void setProductId(String productId) {
this.productId =
> Hello ,
> I have a question on how to use tag as the value
> to the value attribute of tag
>
> On my JSP
>
>
>var="optionList">
>
>
>
That's the problem right there, you *cannot* nest tags. So use the el
version of the tag:
--
Tim Slattery
[EMAIL PROTECT
My Intention was to create a "mulitpurpose"-Collection, that contains
some stuff I need regulary. But maybe it's a better approach to split
them into several collections and then use the -Tag because sometimes I need
an entry in the comboxbox preselected and the struts
-Tags handle this quite well.
meyer" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 12:49 PM
Subject: Re: and co
> Thanks for your response Henrique,
>
> I already tried your solution, but there is a problem with it.
> I don't
Thanks for your response Henrique,
I already tried your solution, but there is a problem with it.
I don't want to get all objects from that collection only those that
have an attribute that matches a certain value.
for example:
in my collection I have three objects with the following attributes:
You cannot use a jsp tag as an attribute of another tag
" >
^^
In general you can use rt to get round this:
However, in you case there is no reason to use the jsp over
simple html tag
Hi Marc,
if you have a collection, it would be nice to use the tag, which
iterates over a collection rendering tags (you shall place inside
or to make sense)
in your case:
i guess it will work!
[]´s
Henrique Viecili
- Original Message -
From: "Marc Tinnemeyer" <[EMAIL PROTECTED]
68 matches
Mail list logo