You might be right but the code that is rendered is
not in my control. Is it??? There seems to be problem
with the inputtransferselect component renderer or
something.
Still waiting for the solution.
Thanks for the reply
Shoaib
--- Adam Ruggles <[EMAIL PROTECTED]> wrote:
> Well I don't know ab
Well I don't know about the javascript piece but the id on your input is
invalid. Your input should look something like this:
Shoaib Gauhar wrote:
Thanks for the reply. Actually the code which i have
posted is valid for any other component than
inputtransferselect and maybe other transfer sel
Thanks for the reply. Actually the code which i have
posted is valid for any other component than
inputtransferselect and maybe other transfer select
components. When the page is rendered it generates the
following code:
ID
It gives a synt
I have a table that has :
caseId
Title
priority
I want to populate a form with rows from that table like this :
caseId and Title are comming from the table and I add for each row a dropdown
:
caseId Title -- dropdown[1,2,3,4,5]
..
.
caseId -
Here is another approach suggested by Peter Hilton.
On 20 Sep 2007, at 06:37, Vo Van Thuong wrote:
I've just read your article at
http://www.lunatech-research.com/archives/2005/07/29/struts-urls,
and i find it very useful for me.
I'm glad if it helps you.
would you pls give me some idea ab
Laurie Harper <[EMAIL PROTECTED]> wrote:
> billgloff wrote:
>>
> If you want a button element, set 's
'type'
> attribute to 'button', as listed in the tag docs
Er...
d.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
billgloff wrote:
Using the button element in normal HTML you can do the following:
Save
which gives you an icon along with the label on the button itself.
When I attempt to try the same thing using S2 tags e.g.
Tehmina Beg wrote:
Hi,
in the older versions 1.0 - 1.2.8 (i think), there was a security
issue with the cancel key request parameter being able to be spoofed.
You're correct, the fix for this went into 1.2.9 [1]. For details of the
problem and its impact, see the original bug report [2] and th
Patrick Hesse wrote:
is the following correct?
if i add a actionErrorMessage in one Action and call in the jsp-File
another action, that the execute-method of the second Action is not
executed?
You might need to explain what you're doing in more detail. For example,
what does 'call in the jsp
[EMAIL PROTECTED] wrote:
OK, I've extended my action class with ActionSupport...still does not
work. Does that mean I can't have my action class be a simple POJO wired
using Spring and use Struts2 i18n features?
I'm also curious as to why the addition of
in the action mapping would cause the
I am having trouble outputting my validation error messages. I know that
the validation is being fired off, but the actionmessages/errors aren't
being displayed.
Validator File:
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";>
This is my message
Hi I like how with DMI you can have one action mapping but call different
methods in Action class thats great. However what are the down sides to the
DMI. What is the validation issue there? Or what other issues are there. Any
help would be appreciated.
--
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROT
Ok that clears things up. I'll sit down and try to write this down now.
Thanks for all the help guys!
GB
cilquirm wrote:
>
> Doesn't seem that way.
> One converts a single string value to an enum, and the other converts a
> String[] to a List
>
> I just checked it over and it's not directly
Doesn't seem that way.
One converts a single string value to an enum, and the other converts a
String[] to a List
I just checked it over and it's not directly useable because it's a type
converter for a specific enum ( OperationsEnum ), but the principles apply.
The long and the short of is that
Is your currentProject in session? If so, try
list="${#session.currentProject.projects}"
-Original Message-
From: Pablo Vázquez Blázquez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 25, 2007 6:53 AM
To: Struts Users Mailing List
Subject: s:select problem
Hi!
How can I retrieve
--- Henry Park <[EMAIL PROTECTED]> wrote:
> How can I modify the following select list to
> display '1 of 10, 2 of 10, etc' instead of just the
> page numbers?
Change the list you pass to it.
Or use OGNL to project across a list and create a new
list with the number plus the additional info[1] i
Using the button element in normal HTML you can do the following:
Save
which gives you an icon along with the label on the button itself.
When I attempt to try the same thing using S2 tags e.g.
Using the button element in normal HTML you can do the following:
Save
which gives you an icon along with the label on the button itself.
When I attempt to try the same thing using S2 tags e.g.
--- Guillaume Bilodeau <[EMAIL PROTECTED]> wrote:
> So you're saying that the showcase EnumTypeConverter
> isn't the same as the one provided in XWork2?
The showcase converter specifically handles
conversions to/from Lists; the XWork converter
converts to/from Strings. It is poorly named, perhaps,
So you're saying that the showcase EnumTypeConverter isn't the same as the
one provided in XWork2?
cilquirm wrote:
>
> Indeed, the problem is that EnumTypeConverter, as provided by Struts2
> only works for single values.
>
> Can you make selectedNutrients a List?
>
> If so, you might be able
Indeed, the problem is that EnumTypeConverter, as provided by Struts2 only
works for single values.
Can you make selectedNutrients a List?
If so, you might be able to use the EnumTypeConverter from the showcase app,
or roll your own based off it, which isn't that hard at all.
org.apache.struts
Yes I tried that, with no success unfortunately.
Somehow we need to specify that:
1- selectedNutrients[] will need to be mapped to an array of Nutrients
2- each element of selectedNutrients[] must be mapped using
EnumTypeConverter
cilquirm wrote:
>
> Are enums type-converted automatically now?
How can I modify the following select list to display '1 of 10, 2 of 10,
etc' instead of just the page numbers?
The list is populated with an Integer array list.
List pageList new ArrayList();
Thanks in advance,
Henry
-
To u
Are enums type-converted automatically now?
I recall early on I had to specify
http://struts.apache.org/2.0.9/struts2-core/apidocs/com/opensymphony/xwork2/util/EnumTypeConverter.html
Have you tried specifying that?
with
Element_selectedNutrients = com.opensymphony.xwork2.util.EnumTypeConvert
I've done some further debugging and here's what I now know:
1. I was able to bind TypeConverters to the model.group and
model.selectedNutrients properties by creating a
SimpleFoodCreationRequest-conversion.properties with the following lines:
group=com.opensymphony.xwork2.util.EnumTypeConverter
Martin,
Regarding the WebFlow plugin: I haven't used it in production, but
I've been looking at it. It seems that it does not put the results of
a flow into somewhere that is available via the stack. This, at least
in the examples, requires that you use the interceptor to insert those
values
Nope, since IAs and sitemaps are very site specific.
Java does, tho. It's called java.util.Stack ( or at your leisure,
commons-collections has ArrayStack )
:-)
-a
stanlick wrote:
>
> Can you tell me if Struts 2 has a facility for breadcrumbs?
>
> On 9/25/07, Antonio Petrelli <[EMAIL PROT
Hi all,
Would it be ok to discuss here about tabletags? I can't find any
dedicated mailing lists for it.
Please forgive the OT otherwise ...
I just proposed a componentized AbstractPagerAction implementation under:
http://code.google.com/p/tabletags/issues/detail?id=10
where basically the user
Thanks. Worked like a charm.
-Nick
-Original Message-
From: Wesley Wannemacher [mailto:[EMAIL PROTECTED]
Sent: September 25, 2007 10:28 AM
To: Struts Users Mailing List
Subject: RE: struts 2.1 beta
Stupid line breaks!
svn co http://svn.opensymphony.com/svn/xwork/trunk xwork ;
cd xwork
Stupid line breaks!
svn co http://svn.opensymphony.com/svn/xwork/trunk xwork ;
cd xwork ;
mvn -Dmaven.test.skip=true -Pall ;
cd .. ;
svn co https://svn.apache.org/repos/asf/struts/current/ struts ;
cd struts/struts2 ;
mvn -Dmaven.test.skip=true -Pall
(in case things get re-wrapped again,
Apparently cache is another attribute placed into djConfig array?
if we take a look at latest 0.9.0 release of
dojo-release-0.9.0/dojo/tests/back.html which contains sample djConfig
// Dojo configuration
djConfig = {
//debugAtAllCosts: true, //Don't normally need this in applications.
I was having the same problem last week.
To fix it, what I did was pull xwork2 from SVN and build with maven (although
in some cases, I had to disable the unit tests because one failed sometimes
[probably my fault]). Then once it is built, maven will use it.
After that, make sure you have the l
I am trying to build from the head but I am getting build errors. I have
changed my pom.xml in core to point to the new xwork id as mentioned in the
mailing list archives:
com.opensymphony.xwork
to
opensymphony
However I am getting build errors when I run maven due to what appears to be
2007/9/25, [EMAIL PROTECTED] <
[EMAIL PROTECTED]>:
>
> I hope that we'll get it before the end of the century.
Fee foo fud, I smell troll blood :-)
Antonio
Similar question as above, I'm extending a theme. Only problem is
that the classloader can't seem to find the existing themes for
inheritance. For the simple reason that my code works when I leave
the theme to xhtml, I know that the jar's in the classpath.
My theme extends xhtml, which extends s
That's exactly what I wanted. I new complete un-released version.
But at this time, I'm giving up. To tired.
I'll restart using struts when a version without the dreadfull performance
impact will be around.
I hope that we'll get it before the end of the century.
Meissa
Dave Newton <[EMAIL
I have a form , in which the text fields are generated dynamically (same
property name ), I am unable to develop some client side validation for
these dynamically generated fields ... I also want to compare the value of
one fields with another.
code below :
-
On 9/24/07, A. Lotfi <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using struts1.3.8
>
> I just want when the user click in a link (SurveyAction.do) , he will be
> presented with a form :
>
> ID Title -- O smal O medium O hight
>
> ID Title -- O smal O
--- Giovanni Azua <[EMAIL PROTECTED]> wrote:
> I would like to pass a different request parameter
> to the same JSP depending on the Action
>
> I would like to pass a "frequency" parameter to a
> jsp that looks like:
>
> <%@ page contentType="text/html; charset=UTF-8"%>
> <%@ taglib prefix="s" ur
Hi all,
I would like to pass a different request parameter to the same JSP
depending on the Action e.g.
Schedule PERMANENT job => set request parameter to 'permanent' =>
Display ScheduleJobForm JSP
Schedule ONE-TIME job => set request parameter to 'onetime' => Display
ScheduleJobForm JSP
If you want a complete build of an un-released version
then AFAIK you need to build it from source. The
repository contains the dependent libraries.
The nightly builds are just that, builds, not
distributions (again, AFAIK).
--- [EMAIL PROTECTED] wrote:
> I just need to grab the nightly version W
I use the displayFormat attribute with the datetimepicker tag to render my
dates.
I need to apply the displayFormat only when date are non null.
Is it possible to do that.
Meissa
L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut
etre tenu responsable de son contenu. T
I just need to grab the nightly version WITH DEPENDANTS LIBRAIRIES if it
exist.
the link below
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html
drive me to that one
http://people.apache.org/builds/struts/nightlies/2.x/
No librairies.
Meissa
Dave Newton <[EMAIL PROTECT
I think I have it...and I wanted to make sure I got this archived
somewhere in case I or anyone else was ever looking for an example.
The first list is a list of Course objects, made up of an id, name and
Foods (a Set of Food objects)
Food has an id and a name field.
List listCourse = new Arr
--- Oleg Mikheev <[EMAIL PROTECTED]> wrote:
> Dave Newton wrote:
> >> I have just renamed it to struts2-core.jar and
> >> replaced in my application that was working with
> >> 2.0.9 version.
> >
> > You can't just randomly replace libraries.
>
> You can replace 2.0.8 with 2.0.9, but you can't
>
Dave Newton wrote:
I have just renamed it to struts2-core.jar and
replaced in my application that was working with
2.0.9 version.
You can't just randomly replace libraries.
You can replace 2.0.8 with 2.0.9, but you can't
replace 2.0.9 with 2.1.0
This is what they call a rule of thumb 8-)
ht
--- [EMAIL PROTECTED] wrote:
> I have picked the latest struts2-core version from
> here :
>
http://people.apache.org/builds/struts/nightlies/2.x/
>
> I have just renamed it to struts2-core.jar and
> replaced in my application that was working with
> 2.0.9 version.
You can't just randomly replac
I have the console popup, however, it is readonly and I'm not actually clear
on the command structure I would use if I *could* enter commands!
On 9/24/07, Wesley Wannemacher <[EMAIL PROTECTED]> wrote:
>
> Scott,
>
> Are you looking for the debug console?
>
> Try adding ?debug=console to your reque
Can you tell me if Struts 2 has a facility for breadcrumbs?
On 9/25/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
>
> 2007/9/24, stanlick <[EMAIL PROTECTED]>:
> >
> >
> > I am writing a Breadcrumbs utility and have a question about how to
> easily
> > get the current request in a format that cou
Hi!
How can I retrieve the collection to put in "list" attribute if this
collection is in the sessionScope??
I´m trying:
where "currentProject" has a List of projects.
I´m getting the following exception:
tag 'select', field 'list', name 'projectId': The
I have picked the latest struts2-core version from here :
http://people.apache.org/builds/struts/nightlies/2.x/
I have just renamed it to struts2-core.jar and replaced in my application
that was
working with 2.0.9 version.
I wanted to test the new head tag. The 2.0.9 version is killing my
appl
--- [EMAIL PROTECTED] wrote:
> I have replaced the nightly build version with the
> 2.0.9 one. I'm getting the errors below at startup.
What do you mean, "replaced the nightly build
version"? In a 2.0.9 app? Are you using the correct
versions of the support libraries for a 2.0.9 app?
d.
---
--- Shoaib Gauhar <[EMAIL PROTECTED]> wrote:
>
http://www.nabble.com/file/p12876594/Source%2BCode.zip
> Source+Code.zip
>
> I am attaching my struts.xml, TestAction.java and
> test.jsp, in which i have implemented
> InputTransferSelect. It generates a java script
error
> when the page is rendere
a:203)
Dave Newton <[EMAIL PROTECTED]>
25/09/2007 11:50
Veuillez répondre à
"Struts Users Mailing List"
A
Struts Users Mailing List
cc
Objet
Re: struts 2.1 beta
--- [EMAIL PROTECTED] wrote:
> when I download the
> struts2-core-2.1.0-SNAPSHOT-20070925.jar, it'
http://www.nabble.com/file/p12876594/Source%2BCode.zip Source+Code.zip
I am attaching my struts.xml, TestAction.java and test.jsp, in which i have
implemented InputTransferSelect. It generates a java script error when the
page is rendered. I am posting this mail for the second time because the
f
Ohh just found it ... it is using listKey and listValue
**
example.jsp
**
listValue="name" />
regards,
Giovanni
Giovanni Azua wrote:
hi all,
I would like to displ
hi all,
I would like to display an autocompleter associated with a
application-defined Javabean and have it picking up the right key and
value out of the bean properties (getters). I have hard time following
the examples as I cant find any that provides the code required on the
Action side. I
--- [EMAIL PROTECTED] wrote:
> when I download the
> struts2-core-2.1.0-SNAPSHOT-20070925.jar, it's about
>
> 630 ko size.
> The 2.0.9 struts-core version is about 2500 ko size.
> Why are those files sizes so differents ?
Pseudo-shell:
jar tf 2.0.8-core | sort > 2
Well, I googled, didn't get much help,
Batteries may crush out, so do we, man, and sometime you're just in a
rush like situation and don't have the mood to read through the docs.
Hindsights are always correct, you know.
Ah yes, a happy ending, now someone googling for the same question will just
when I download the struts2-core-2.1.0-SNAPSHOT-20070925.jar, it's about
630 ko size.
The 2.0.9 struts-core version is about 2500 ko size.
Why are those files sizes so differents ?
Meissa
Dave Newton <[EMAIL PROTECTED]>
24/09/2007 17:53
Veuillez répondre à
"Struts Users Ma
Hello. Please, i need help with struts2.
I have a page with a form, that have several text fields and a checkboxlist
that retrieves the options from a database. The first time i call the page i
show all the fields ok and it works fine. Even if i send the page with
javascript enabled, if there occur
I'm using the datetimepicker displayFormat attribute to render my dates as
I want them to be displayed.
I case of null dates values I would like the datetimepicker tag to display
nothing.
I'm having a parseException instead.
Is it possible to handle this (no exception, simply displaying nothing
> thanks for nobody's reply,
It was a pleasure.
> I read the dos and then got the answer.
Didn't think of doing this first?
> problem solved by overriding the built-in template head.ftl. just to make
it a compete story.
And it's always nice to see a happy ending :).
--
thanks for nobody's reply, I read the dos and then got the answer.
problem solved by overriding the built-in template head.ftl.
just to make it a compete story.
On 9/14/07, Roger Ye <[EMAIL PROTECTED]> wrote:
>
> Question: how to change the default baseRelativePath?
>
> using struts 2.0.9 and t
64 matches
Mail list logo