Hi,
since your customer's data are in session, i think you can use the
session scope to display these data for the warehouses. Otherwise, you
can also use hidden fields for warehouses data to simulate an input but
don't use these data in your action if your use case is not meant to
update
Hi,
the label attribute is only used to render the label of the group of
checkboxes. It is not used in an iterative way. In order to access to
your .properties file, you have to build your list in your action then
give it in list attribute.
Regards
Sébastien
Le 05/05/2010 10:56, Upasana
i think this information may be found if you are in a redirect result
(and i'm not sure of that). Struts won't save the last action per
session because anything will say that it is an action that renders a
complete page or just a piece of page using ajax. Another exemple is
that your action is
Hi,
in an iterator, the object can be accessed by [0]. After that, it is as
in Java. So, with something like that it should work :
s:iterator value=getDTl
s:prpoerty value=[0].{1}/
/s:iterator
Regards
Sébastien
Hardik Shah a écrit :
hi
i am using struts 2.0.11.2
i m filling vector
/docs/iterator.html
Hardik Shah a écrit :
Thnaks
but when i print like
s:property value=[0].{1}/
it shows value in all same like [1,1]
i could not understand properly
what it do
please help more and be more descriptive
Sébastien Domergue wrote:
Hi,
in an iterator, the object can
Hi,
We had the same problem with a checkboxlist. Actually, a html checkbox
does not send a data if it's unchecked. In a simple form, no data means
false so we don't see anything. In a list, that means there are only the
number of true which correspond to the number of checkbox checked.
In
Hi,
this kind of dependency is declared in your pom.xml file. This file is
needed when your project is compiled with Maven.
Regards
Sébastien
juergen.l...@bmw.de a écrit :
Hello,
i want to update to 2.1.6. I use Dojo. In the migration guide is written that
you should Add the Dojo plugin
Hi,
we had nearly the same problem in a project and we had to build our own
stack (which contained both action and jsp names) and when we wanted to
go back we used the stack. Nevertheless, i don't think you need to keep
the whole stack and you could give the jsp name as a parameter of your
Hi,
actually, the styleId allow you to define your own id but i think that
struts generate an id if you don't force one. At least, it's the default
behaviour for a field into a form in Struts 2 (but i'm not sure in
struts 1).
Regards
Sébastien
Kawczynski, David a écrit :
styleId=blah
You
Hi,
in fact, in a property file you just have to double your apostrophe. For
example :
general.VettingNextUpdate=You won''t be able to bid
Regards
Sébastien
Nick Maunder | Oathouse a écrit :
Hey guys
can someone tell me quickly how to get an apostrophe to appear when using
s:text?
hi,
the optiontransfertselect tag is build to display two select box where
you can move items from one to other. In your example, your left box
does not contain the data to add in your right box (am i right?). So i
think that you can't use a tag out of the box.
In my mind, you could use a
Hi,
on your production environment, how do you balance your request between
your tomcat servers? Do you use apache with mod_proxy, or mod_jk maybe
or anything else?
I had problems while using such architecture because of the way that
tomcat build url from values present in the http header.
Hi,
reading your mail, it seems to me that you want te redevelop what Struts
2 can already do. When you put a getter in your action, you can access
to your attribute in the jsp like you seems to want to. I can't
understand why you want to put another Interceptor. If it is to set
always the
have to create 5 different action aliases just to make the
validation framework happy, makes no sense to me.
Regards,
Néstor Boscán
-Mensaje original-
De: Sébastien Domergue [mailto:[EMAIL PROTECTED]
Enviado el: Tuesday, October 14, 2008 10:29 AM
Para: Struts Users Mailing List
Asunto
hi,
actually, you can name your validation file with the following pattern :
actionClass-actionAlias-validation.xml
where actionAlias is the name of the action used to call the actionClass.
regards
Sébastien
Néstor Boscán a écrit :
Hi
Is there a way I can create action-method-validate.xml
Hi,
I think that it is because your div is not reload but the contents in
your div. So, from the browser point of view, there is no event for the div.
Maybe i'm wrong and in this case i don't see anything else, sorry...
Regards
Sébastien
Pro1712 a écrit :
Hi!
Im using Struts 2.1.2.
Here
Hi,
you're right, simple theme don't allow you to use validation. In order
to use validation with the simple theme you have to extend it or to
modify xhtml theme in order not to build the table layout.
The templates sources are in struts jar and you can define others by
adding them to
=iterator
gives as it has no such thing like var(using struts 2.0.11.2)
Sébastien Domergue wrote:
Hi,
in your test condition, struts doesn't understand that attrMatrixValue
is a property, you should write something like :
s:if test=%{attrMatrixValue != null}
Using '%{' means
Hi,
in your test condition, struts doesn't understand that attrMatrixValue
is a property, you should write something like :
s:if test=%{attrMatrixValue != null}
Using '%{' means that the expression have to be evaluated.
Regards
Sébastien
Hardik Shah a écrit :
hi
i have vector of vector
Hello,
i think that you could modify your web.xml instead. In struts filter,
you may have a wildcard to take all in struts2 filter. By modifying
web.xml, you should be able to redirect url with .html or .jsp
immediatly without using struts.
I don't have any exemple, sorry.
Regards
Hello,
We are using Struts 2 + Dojo too and it seems that datetimepicker
separate informations into a list with two elements. The first one is
the date and the second one is the time.
Nevertheless, we still have problems to repopulate our inputs after an
action. So we rebuild Strings to
, they are different.)
Sébastien Domergue escribió:
Hello,
We are using Struts 2 + Dojo too and it seems that datetimepicker
separate informations into a list with two elements. The first one is
the date and the second one is the time.
Nevertheless, we still have problems to repopulate our inputs after
where struts call dojo via javascript to parse the form...
Thank you very much.
Sébastien Domergue escribió:
Sorry for the misunderstanding.
The difference that you see between the form while loading and the
form loaded comes from dojo widget only. Struts rewrites the tag
s:datetimepicker
of changing it. Do you know how struts invokes this template?
Thank you.
Sébastien Domergue escribió:
I finally found where struts call dojo. In struts' jar, check the
package template.simple. You'll find datetimepicker.ftl. This is the
base used by struts to generate HTML. The syntax is not very
Hi,
if you use xml validation, you should use a validator like this one :
validator type=int
param name=fieldNamemySelectBox/param
param name=min0/param
messagePlease select a value/message
/validator
As your default value is -1, the validator will only check if the value
is not
25 matches
Mail list logo