nagesh.kumar wrote:
Hi All,
I need to take input from same form ->like user name in English &
Japan ,
How can I support this by using Struts 1.2x.
I don't understand the question... Do you mean you need to have two
input fields, one for the English name and one for the Japanese name?
Kenton wrote:
I have a .jspx file in my Struts 2.0.x app.
This doesn't work:
I get this error (both editor and at runtime): The value of attribute "src"
associated with an element type "null" must not contain the '<' character.
(The above should regular non-escaped HTML, in
Grr. This is a mailing list, not an IRC channel. If you don't get a
response to a query it's probably because either (a) nobody who can help
has checked the mailing list yet or (b) you haven't provided enough
information. Reposting every few hours with "I haven't had a reply yet"
isn't going to
Hi All,
I need to take input from same form ->like user name in English &
Japan ,
How can I support this by using Struts 1.2x.
Thanks & Regards
Nagesh Kumar Reddy.
+
CONFIDENTIALITY NOTICE & DISCLAIMER
The contents of this e-mail are confiden
That just sounds ridiculous. Because of the possibility of end users
injecting malicious OGNL we won't be able to use JSP expression language.
Pardon me for being blunt but isn't the obvious solution to fix the
underlying vulnerability in OGNL rather than crippling JSP and Freemarker
use in struts
My problem now is how to validate the entered date so that it will check if
the EndDate is higher than the
StartDate..
--
View this message in context:
http://www.nabble.com/Date-validation-%28month-and-day%29-tf4376264.html#a12514017
Sent from the Struts - User mailing list archive at Nabble.c
I already solved it, in my form I added another field (maxDay1 and maxDay2)
that will return OK and NG, i used this field in my validation.xml using
validwhen, when the field
is equal to OK, then it is valid, if it is NG, it is invalid..
This is my code, it also checks number of days in february
Tim,
I've always wanted to post information about upgrading from 1.1. to 1.3. If
you have time, please email us the instructions you went through. It sounds
like it's good to share with other people.
Paul
On 9/5/07, Mark McLaren <[EMAIL PROTECTED]> wrote:
>
> I recently upgraded an application S
For a list of issues resolved in Struts 1.3.9:
https://issues.apache.org/struts/secure/ReleaseNote.jspa?version=21800&styleName=Html&projectId=10121&Create=Create
For a list of issues resolved in Struts 1.3.10-SNAPSHOT:
https://issues.apache.org/struts/secure/ReleaseNote.jspa?version=21840&styleNa
And also:
https://issues.apache.org/struts/browse/STR-2598
I'm sorry to be clogging your mailboxes with this, but I still have not
received any responses. Probably those who worked on/with s:tree are not yet
online, but if you are, please respond with an example of how to perform lazy
loading on an s:tree treeViewer, or if you know of any technology ou
Tim,
Please see https://issues.apache.org/struts/browse/STR-1665
Is this what you're looking for?
On 9/5/07, James Holmes <[EMAIL PROTECTED]> wrote:
>
> https://issues.apache.org/struts/browse/STR
>
>
> On Wed Sep 5 14:05 , 'Slattery, Tim - BLS' <[EMAIL PROTECTED]> sent:
>
> >> Please check the
You may be able to do it with a very complex validwhen validation. However,
in these instances, it's best to write your own validator.
Paul
On 9/5/07, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Hiroyuki Suzuki wrote:
> > ello guys!
> >
> > How would I check my date input so that it will validat
Thank you. I've implemented the non IoC version of it, which I found to be
almost the same as in
http://struts.apache.org/2.0.9/docs/non-ioc-version-of-opensessioninviewinterceptor.html
http://struts.apache.org/2.0.9/docs/non-ioc-version-of-opensessioninviewinterceptor.html
Antonio Petrelli-3 w
vamsi wrote:
Hi,
I am using struts validation frame work. if the validation fails I am
returning to the same jsp page.
Here in this page there is some date is which was populated when the
jsp page initially loaded.
when saving the data I am performing the validation i
Hiroyuki Suzuki wrote:
ello guys!
How would I check my date input so that it will validate
the maximum days per month.
For example:
Jan, Mar, May, Aug, Oct, Dec (31 days)
April, June,Sept, Nov (30 days)...
Please share me your ideas..
Addtional: Separate field name for month and day.
There's
Moacir Cardoso wrote:
Hello!,
I´m trying to bind some checkbox values to one parameterized List. Lets
say List.
Is it possible?
in Jsp:
list="#{'1':'Car1','2':'Car2','3':'Car3'}">
in Action:
private List myList;
... gets and sets.
If you already have a list in your action, you don't need/
All of those should have worked. Are you sure your properties files are
getting deployed? They should exist under WEB-INF/classes/... next to
the .class files, not just in your source tree.
Try using to confirm that the
property is actually visible; once that works, the formulation
should w
When the validator framework encounters an error, it forwards the
request to the resource you identify with your 'input' attribute on the
action mapping. I was suggesting making that point to an action, and
using *that* action to load the lists.
L.
Ashish Kulkarni wrote:
Hi
The error is thro
Sergio Stateri Jr wrote:
Hi all,
I?m trying to receive a filled array of objects. In struts-config:
In HTML file:
When I try to submit a form with these configurations, the following
expection
is thrown:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.refle
wild_oscar wrote:
I've created an Interceptor that takes care of creating a SessionFactory and
putting it in the Application Context map.
I have a question, though, about the application context. Does this mean the
Session Factory is shared among every session of the application, regardless
of t
Try replacing the first two lines with
log4j.rootLogger=DEBUG,R
log4j.category.cus.util = DEBUG
That's the way I do it, anyway. If that doesn't do the trick, you
probably should follow up on the Log4J lists, since this isn't a
Struts-specific issue.
L.
johana pin wrote:
Thank you for r
kukreja sanjeev wrote:
Hi ,
I am trying to put validations on indexed collection.
Is there any way I can have that in validation-.xml file.
It would be great if you can pls.throw some light on it.
Which version of Struts are you using? Struts 1 lets you specify
multiple validation fil
I have a .jspx file in my Struts 2.0.x app.
This doesn't work:
I get this error (both editor and at runtime): The value of attribute "src"
associated with an element type "null" must not contain the '<' character.
(The above should regular non-escaped HTML, in case the
Old thread... However, I believe I'm doing exactly what you are saying:
Struts 2.0.x + XHTML + .jspx file with a embedded inside a
element. This is working perfectly. No errors in my editor (NetBeans 5.5.1)
or in the runtime (Glassfish v2). Here is a simple example:
http://ja
I recently upgraded an application Struts 1.2 to 1.3. The actual
changes needed to upgrade are quite easy to implement if you have a
decent search and replace tool (these changes being detailed on the
previously mentioned wiki page).
In addition, if your project makes use of numerous Jar librarie
Hi Musachy,
I just found out why my calendar is that wide. In the style sheet for my
application, I have the following lines
table {
border:1px solid #66;
font-size:10px;
margin:2px 0pt !important;
width:98%;
}
The calendar picked up the table width from there. I can not change the
defau
Please, can someone refer me to the struts developers who've worked on s:tree.
I've been trying to get some answers all day about this matter and have not
received a single reply.
> TreeViewer people, and Dojo fans, please chime in your comments. I
> wanted to switch from struts with s:tree to
I just wanted to clarify that security alerts raised as to Struts 2.x
MAY NOT apply to Struts 1.x.
The versions use entirely different codebases. When we say to
immediately upgrade to Struts 2.0.9, we don't mean people should
upgrade from Struts 1.3.8 just to address the security alert. If there
w
> In general is it hard to migrate an existing application from
> struts 1.2.x to 1.3.x?
I had very little trouble going from 1.1.x directly to 1.3.x, without
stopping at 1.2. The biggest thing in that move was getting rid of the
"application" parameter of the "action" servlet declaration in web.
> More serious is that when I use EL in the
> tag it blows up! The stack trace for that begins with:
>
> java.lang.NullPointerException
This problem disappears in Struts 1.3.9.
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubs
https://issues.apache.org/struts/browse/STR
On Wed Sep 5 14:05 , 'Slattery, Tim - BLS' <[EMAIL PROTECTED]> sent:
>> Please check the ticket list for Struts 1.4. If you find this
>> very issue there (I think it is) and you need it in 1.3, I
>> can back port it for 1.3.10
>
>I don't know how to
> Please check the ticket list for Struts 1.4. If you find this
> very issue there (I think it is) and you need it in 1.3, I
> can back port it for 1.3.10
I don't know how to do that. I see no link on the Struts page to a
ticket list or to Struts 1.4.
--
Tim Slattery
[EMAIL PROTECTED]
---
Not particularly. There is a nice discussion on the struts wiki page:
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13
Ed snooper wrote:
Hello,
In general is it hard to migrate an existing application from struts 1.2.x to
1.3.x?
Ed
-
Choose the
I'm new to Struts 2 so please forgive me if I am asking something stupid.
Is it possible to pass XSLT stylesheet parameters from the action
prior to rendering the XSLT result?
Is it possible to make of use of something like Saxon rather than
Xalan to enable XSLT 2.0 stylesheets? If not, would it
Hello,
In general is it hard to migrate an existing application from struts 1.2.x to
1.3.x?
Ed
-
Choose the right car based on your needs. Check out Yahoo! Autos new Car
Finder tool.
Struts 1.3.8 (and 1.3.5, for that matter) puts the name of the form bean
in the "id" attribute of the tag, instead of the "name"
attribute, like it used to. Since "name" doesn't exist for in
xhtml, this makes the output valid xhtml.
If I use the styleId attribute in the struts tag, it
blows up.
Please check the ticket list for Struts 1.4. If you find this very issue
there (I think it is) and you need it in 1.3, I can back port it for 1.3.10
Paul
Hi Manu,
You seem to have had lots of experience with s:tree; would you please help me
answer the following questions (with example code if you have them):
- how do you go about expanding the tree to the node level it was at before a
refresh?
- can you add icons (not changing the plus/minus ones
Anyone knows whether this feature has been added in yet?
> Session A Mwamufiya wrote:
>> I'm relaunching this thread in case an s:tree expert may have missed it
>> the first time around :).
>>
>>> Is there a way that when a s:tree is reloaded, it expends to a
>>> particular level of expansion? I
I had not released this was the draft documentation. This was the
first page returned resulting from a Google Search for "Struts 2".
Mark
On 9/5/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> 2007/9/5, Mark McLaren <[EMAIL PROTECTED]>:
> >
> > I'm not sure where the appropriate place to repor
TreeViewer people, and Dojo fans, please chime in your comments. I wanted to
switch from struts with s:tree to Dojo, but I can't find any online examples
where Dojo obtains the tree data from a java class. Do you have any examples I
could look at?
Thanks,
Session
> Hi,
>
> Has anyone been
Has any successfully deployed a Struts2 application to JBoss 5.0.0 Beta
2? When I try to do this I get the following stack trace from JBoss:
Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory -
bean -
jar:file:/C:/jboss/jboss-5.0.0.Beta2/serve
You can up until Struts 2.0.9. There is a security flaw related to this though
and you will no longer be able to do it in Struts 2.0.10.
See the following JIRA ticket for more info:
https://issues.apache.org/struts/browse/WW-2107
James
On Wed Sep 5 11:31 , Néstor Boscán <[EMAIL PROTECTED]> s
Hi
Is there a way to use the JSTL Expression Language with Struts 2 tags
instead of OGNL?
Regards,
Néstor Boscán
OK, I removed the attribute in the struts-html-el.tld in Struts
1.3.8, and it runs.
NowI'm trying to use xhtml. I use this:
And it generates this:
http://www.w3.org/1999/xhtml"; lang="en-US"
xml:lang="en-US">
The lang="en-US" is in there whether I specify lang="true", lang="false"
or omi
My bad. I don't use plexus, don't have the jar, and have removed the
plugin. Argh, I hate posting before thinking.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Help. What else can I send? I have also listed my complete WEB-INF/lib
directory below. I know there are some libs I don't need, but I have
them all in there for now. Are some doubling up perhaps?
INFO: XML validation disabled
05 Sep 2007 10:41:43 INFO
com.opensymphony.xwork2.config.provi
Ok, let us know when you have the new .pss version :-)
Best regards,
Hayrol Reyes
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 05 de Septiembre de 2007 01:18 a.m.
Para: user@struts.apache.org
Asunto: New pdf version of Tutorial is accessible
2007/9/5, Mark McLaren <[EMAIL PROTECTED]>:
>
> I'm not sure where the appropriate place to report this is and I'm not
> a pedant but the link to the Struts 2 "Download Now" says "version
> 2.0.6".
>
> http://struts.apache.org/2.x/
>
> and links to:
>
> http://struts.apache.org/download.cgi#struts2
--- Al Sutton wrote:
> Bingo
>
> Now I must write 100 lines of "Action specific
> interceptor declarations overrides the default
> interceptor stack and does not add to it".
You can crib off mine ;)
d.
-
To unsubscribe, e
I'm not sure where the appropriate place to report this is and I'm not
a pedant but the link to the Struts 2 "Download Now" says "version
2.0.6".
http://struts.apache.org/2.x/
and links to:
http://struts.apache.org/download.cgi#struts206
When it should probably say "2.0.9" and link to "#struts2
Bingo
Now I must write 100 lines of "Action specific interceptor declarations
overrides the default interceptor stack and does not add to it".
Thanks Dave :)
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 05 September 2007 13:29
To: Struts Users Mailing List
S
Someone knows how to define a target depends of the result of the
action, for example when the action SUCCESS so go to some target but
when make a ERROR go to another target.
Thanks,
Manuel
> > I'm *not* using the filter attribute! The message is issued and
> > processing is halted as soon as the taglib statement is
> > encountered, regardless of what's being used from it. You cannot
> > use the html-el tags in 1.3.8 at all.
> Now I know how useful is the tag library validati
Hi,
I haven't kept up with progress made in struts 2.0.9, so I was wondering
whether there have been changes made to the s:tree tag that would now allow
nodes to have icons. If so, please refer me to an example.
Thanks,
Session
2007/9/5, Slattery, Tim - BLS <[EMAIL PROTECTED]>:
>
>
> > Anyway that problem is fixed.
> > Tim, you may have two options: use 1.3.9 or wait until
> > 1.3.10 (or 1.4?) is released.
> > Or don't use the "filter" attribute :-)
>
> I'm *not* using the filter attribute! The message is issued and
> pro
> Anyway that problem is fixed.
> Tim, you may have two options: use 1.3.9 or wait until
> 1.3.10 (or 1.4?) is released.
> Or don't use the "filter" attribute :-)
I'm *not* using the filter attribute! The message is issued and
processing is halted as soon as the taglib statement is encountered,
The only reason why 1.3.9 is beta was because of a file upload issue using
Dyna forms. Otherwise, I think it's okay to use. 1.3.10 should hopefully be
GA :)
Paul
On 9/5/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
>
> 2007/9/4, Dave Newton <[EMAIL PROTECTED]>:
> >
> > --- "Slattery, Tim - BLS"
Hi,
Has anyone been able to find a way to lazy-load the s:tree tag. I'm having
some performance issues with a really big tree. Please send me an example.
Thanks,
Session
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
--- Al Sutton <[EMAIL PROTECTED]> wrote:
>
>
> STORE
>
> [...]
Doesn't that mean that you're only using the "store"
interceptor now?
I thought you had to do it like:
myValidationExcludeMethod
myWorkflowExcludeMethod
(Copied from
http://struts.apac
Using the default interceptor stack as the base I have the following action
defined;
STORE
EditProcess
${processId}
true
true
I have the following code as the action;
public class ProcessStepAction extends ActionSupport {
/**
* Serial ID.
*/
Hi,
Is it the right way I can specify the web.xml as below for my Struts2 action
to be called? I am using Rad6 for development and WAS6 as testing server. I
am getting a page cannot be found error:
Do I need to specify the struts.xml as config file in my web.xml???
http://java.sun.com/xml/ns/
Hello there i'm doing some testes with S2.. i already worked with struts 1
and webwork...
i read the documentation and a lot of tutorial about but my problem
presists...
in my folder WEB-INF/lib i have both struts2-sitemesh-plugin-2.0.9.jar and
sitemesh-2.3.jar
and i started my project using the
Ian Roughley's mini-book, "Starting with Struts 2", available in print
and as a free PDF since May, is about to be joined by three new books
about Struts 2.
Coming in October is "Struts 2 Design and Programming: A Tutorial" by
Budi Kurniawan. Budi's Struts 1 book is rated "four stars" based on
rea
Here's it to you:
java.lang.NullPointerException
at
org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:58)
at
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:52)
at
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(Compo
Could you provide the stacktrace?
Don
On 9/5/07, Riccardo Mollame <[EMAIL PROTECTED]> wrote:
> Has anyone ever experienced compatibility issues
> between JSTL xml tags (i.e. and the like)
> and Struts 2?
> I've isolated, with no ambiguity, a weird case in a
> web application where the usual comb
Has anyone ever experienced compatibility issues
between JSTL xml tags (i.e. and the like)
and Struts 2?
I've isolated, with no ambiguity, a weird case in a
web application where the usual combination of
and to load and access an xml
file in the WEB-INF directory, when invoked in a page
whithou
Hi,
thanks Hyrol for your attention.
The pdf version of my Tutorial is accessible via this link:
http://khorshid.ut.ac.ir/~m.s.alavi/Tutorial_pdf.zip
This version does not contain any animation because I couldn't make the
open office version of that. So, I made the pdf version.
abhiram wrote:
hi!! i dont think this is a struts related question.. but.. is there any way to know when
a request dies (apart from our own logical reasoning).. like any method to find out or
can we write api such that a request gives out a System.out.println("i'm
dying") just before it ends a
70 matches
Mail list logo