Looks like you're missing a getter for dadosPessoais in your action class...
L.
Felipe Lorenz wrote:
Ok.. i did it... its all right.. but i dont know...
i will print my code:
JSP:
<[EMAIL PROTECTED] contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
htt
I have had the same problem.
I assume you are not using an US locale in your client browser.
We use Norwegian and German and it does not work.
Regards
Ian
CSC Solutions Norge AS
Registered Office: Sandsliåsen 57, 5254 Sandsli, Norway
Registered in Norway No: 958 958 455
I cld nt still fix it..
Let me no if u cld proceed.
Regards,
Sindhu C.R
Please don't print this Email unless you really need to - this will preserve
trees on planet earth.
===
-Original Message-
I have the same problem, Please tell me how to fix it if you know how.
thank you very much
Mahawilai
Benz wrote:
>
> this is my part of jsp:
>
>
>
>
> ...
>
> ...
>
> ...
>
> I get the html result:
> ...
>
> ...
>
> The '<%=idx%>' text in jsp should be rendered as the
UPDATE:
i've did try with Tomcat 5.5 and 6, but still not working.
On Mon, May 19, 2008 at 8:25 PM, Felipe Lorenz <[EMAIL PROTECTED]>
wrote:
> Hi dudes.
>
> I have a problem.
>
> Ive try to acess a Web Service, created with Axis 1.4, with my struts
> aplication. But it throw a java.net.ConnectEx
Hi dudes.
I have a problem.
Ive try to acess a Web Service, created with Axis 1.4, with my struts
aplication. But it throw a java.net.ConnectException: Connection timed out:
connect.
but, when i execute my class to test the acess of WS without tomcat, etc...,
its works.
What can be?
My librari
Hello Cheng,
I am trying to make Struts 2 work with RAD 7.0. It is not working I mean
the very first page is fine but after that when it tries to look for the
action, it is giving error and in the url it is ending .action. It is not
able to find the jsp page. I can send the directory structure
I tried everything with tag!
It seems that Struts 2 in 2.0.11.1 version have a bug with type conversion from
jsp tag (that is actually a String) to corresponding
java.util.Date field in action class. Could someone confirm this ?
--
Thx, Milan
Milan Milanovic <[EMAIL PROTECTED]> wrote: By usi
I have a web application using struts and it works fine with IE 7, however in
IE 6 I am getting null for all of the form values. Do I need to use a older
version of struts or am I doing something in my JSP that is clearing the
table?
Here is my JSP:
<%@ page contentType="text/html; charset=iso-
Hi ,
Hi,
I got
???en_US.errors.required??en_US.errors.required??? this error on my
entry form before submit any button andd I used
at end of form
i want to show my message on message or dialog box I donot know where it
goes wrong
my code is as follows
struts-config.xml
h
You can define a taglib-location in web.xml, but I am not sure if that
overwrites the one from the jar file.
musachy
On Mon, May 19, 2008 at 3:14 PM, Oleg Mikheev <[EMAIL PROTECTED]> wrote:
> Dave Newton wrote:
>>
>> Change the TLD?
>>
>> The combination of the two levels of EL is a security risk
Dave Newton wrote:
Change the TLD?
The combination of the two levels of EL is a security risk in some
applications. If you're not worried about it or not affected by it then
it's an easy, if annoying, workaround.
Thanks
Is repackaging struts jar the only way of doing that?
--
Change the TLD?
The combination of the two levels of EL is a security risk in some
applications. If you're not worried about it or not affected by it then
it's an easy, if annoying, workaround.
Dave
--- Oleg Mikheev <[EMAIL PROTECTED]> wrote:
> I was trying to upgrade from 2.0.9 to the latest S
Ok.. i did it... its all right.. but i dont know...
i will print my code:
JSP:
<[EMAIL PROTECTED] contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
http://www.w3.org/TR/html4/loose.dtd";>
JSP Page
Check the names of the fields, they must mach with attributes names in action
class, and also check that you have correct get/set methods for them in your
action class.
--
Milan
Jim Kiley <[EMAIL PROTECTED]> wrote: Felipe,
It would be much easier for others to help you if you would include rel
To the best of my knowledge S2 uses OGNL extensively so not using it is
probably not an option. Anyone please feel free to correct me if I¹m wrong
about this. I have never used commons-el personally so I couldn¹t tell you,
sometimes the commons stuff like that extends and enhances some framework or
Hoying, Ken wrote:
Editorial: I cannot help but wonder if these consecutive painful
upgrades are going to have an adverse affect on Struts2 adoption, future
user base and perception. I have been a big proponent of Struts2 up
till now, but must admit that I am finding myself questioning if there
Felipe,
It would be much easier for others to help you if you would include relevant
parts of your code, as well as let us know what version of Struts you are
using.
jk
On Mon, May 19, 2008 at 2:15 PM, Felipe Lorenz <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> i did work with struts, and im work with i
I was trying to upgrade from 2.0.9 to the latest Struts 2 and
encountered this issue:
http://issues.apache.org/struts/browse/WW-2107
If I have a lot of code like this:
fieldValue="${requestScope[tmpVar]}" value="${not empty renewaledId ?
false : requestScope[tmpVar]}"
sol myr wrote:
What's the Strut2 recommendation for Table Pagination (AKA Paging)?
We're showing a large table (say, 500 records) and need to break it down to
25 pages (20 records per page).
http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html
-
Hi,
i did work with struts, and im work with it. But, i dont how, the value of
field are not send to Action class.. for example:
My forms have 3 fields.. text.. normal.. simple..
so, when i submit this the form only the last filed are set.
I put a System.out in my action class, and i see only t
By using this name="delivery.date" attribute it reads the date good, but it
can't store it back! It generates this error below 'ParametersInterceptor' ?
--
Thx, Milan
Milan Milanovic <[EMAIL PROTECTED]> wrote:
And when I add "value" attribute to this tag like this:
format="#-#MM-#d
I'm reading that OGNL is not only very slow, but also that development on it has basically halted.How can I ensure that I'm not using OGNL in my view?Is the Apache commons-el different than the EL that comes w/the standard J2EE stack? If so, how can I use that? Should I?Wes
-
The value stack should be available in a 'ed tag, and
you should be able to reference your action's properties in any of the
supported ways.
Also note that S2 uses a request wrapper so that you may access value
stack variables via JSP EL (e.g. ${anActionProperty}). Note that the
normal scopes are
Yes, outside of Struts tags. No that is JSP EL (Expression Language), which
is different from OGNL, however you can get values from the OGNL stack using
EL like in my example. There are at least a couple of links in the
documentation to OGNL. I would check that first, as to EL there are tons of
lin
Randy,Thanks! So, in general, is this an alternative way to reference these properties? Where can I find out more about the ${...} syntax?You said "EL" in your reply. So, is this standard JSP EL or is it OGNL? Are they different, or is "EL" in Struts actually OGNL?Thanks,Wes
---
You can use EL outside of Struts tags.
Try .
Properties in an action will be at the top of the stack.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
From: Wes Gamble <[EMAIL PROTECTED]>
Reply-To: Struts Users Mailing List
Date: Mon, 19 May 2008 16:25:26 +
T
hi all
is it possible that S2 posted to JCP so we can have action framework
standard?
F
Sapan wrote:
Hi,
I got
???en_US.errors.required??en_US.errors.required???
this error on my entry form before submit any button andd I used
at end of form
i want to show my message on message or dialog box I donot know where it
goes wrong
Difficult to say, since you didn't include any o
All,It's been a while since I've done any Struts (JSP for that matter) development, and I'm trying to get started with Struts 2.Here's a very simple template that pulls in an include that provides the ... content for the page.<%@ taglib prefix="s" uri="/struts-tags" %> " /> " />I have an act
And when I add "value" attribute to this tag like this:
it generates and exception:
18:24:22,531 ERROR org.apache.struts2.components.DateTimePicker:316 - Could
not parse date
java.text.ParseException: Unparseable date: "pregled.odPeriod"
at java.text.DateFormat.parse(Unknown
The name attribute can reference an object-typed property, but Struts
needs to know how to convert a string (which is all that HTTP can
transmit) into that type. That's where type conversion comes in:
http://struts.apache.org/2.0.11.1/docs/type-conversion.html
L.
Milan Milanovic wrote:
No on
A multiple select seems to be the 'simplest thing that could possibly
work' for this, but there are other options. For example, something like
s:optiontransferselect [1] gives a slightly fancier way of providing the
same thing. Another alternative would be to have an Ajax-y 'combo box'
to selec
It seems that there is a bug with tag. I defined it as in
documentation:
I have delivery object in my action class with date field (of type
java.util.Date) and all necessary get/set methods. But when I submit the form I
get this error:
17:55:47,968 ERROR
com.opensymphony.xwo
OK, I now get content. I specified the wrong value in the
tag's namespace attribute.
-Original Message-
From: Asleson, Ryan [mailto:[EMAIL PROTECTED]
Sent: Friday, May 16, 2008 2:27 PM
To: Struts Users Mailing List
Subject: RE: Struts 2 and Sitemesh
OK, doing that made the error go
--- Ian Meikle <[EMAIL PROTECTED]> wrote:
> I have already read this page, the possible values are given as:
>
> name, type, auto or constructor.
>
> There is no NONE, or OFF value, and looking at the source code there
> does not seem to be support for it either.
> Hence why I am asking if there
Hi,
I got
???en_US.errors.required??en_US.errors.required???
this error on my entry form before submit any button andd I used
at end of form
i want to show my message on message or dialog box I donot know where it
goes wrong
Please help me out.
Waiting for warm and urgent reply
Thankx
No one can help ?!
It seems for me that wrote:
I hope that someone can answer this simple question.
If I have object Person buyer; in my Fruit class (with
get/set methods), and I have fruit object in my action class,
where I also have List
allBuyers in my action class. How can I
define c
Hi Dave,
I have already read this page, the possible values are given as:
name, type, auto or constructor.
There is no NONE, or OFF value, and looking at the source code there does
not seem to be support for it either.
Hence why I am asking if there is another way of turning this off.
Regards
--- Ian Meikle <[EMAIL PROTECTED]> wrote:
> We would like to turn off the autowiring completly.
> I understand that this is not really anything to do with STRUTS2, but
>
> since it seems to be set via the STRUTS Spring plugin
> I thought you guys would know.
It can be set either in the Spring con
AFAIK Struts2 tries to set a new value to an object if it's currently null.
E.g. a new value for "person.address.street" should be set in a request.
If "person" is created in the prepare() method and if the action uses an
paramsPrepareParams stack then Struts2 tries to create the person object
Hi,
We would like to turn off the autowiring completly.
I understand that this is not really anything to do with STRUTS2, but
since it seems to be set via the STRUTS Spring plugin
I thought you guys would know.
Regards
Ian
CSC Solutions Norge AS
Registered Office: Sandsliåsen 57, 5254 Sandsli,
Spring autowiring (is autowiring by name the default?) isn't related to
XWork at all AFAIK.
Can you be a bit more specific about what behavior you're seeing
contrasted against what you'd prefer?
I mean, you can set Spring's default wiring to something else or turn
it off altogether.
Dave
--- Ia
Is this an opportunity to write annotation-driven validation instead?
On Mon, May 19, 2008 at 7:26 AM, Arpan Debroy <[EMAIL PROTECTED]>
wrote:
> As I have 4 buttons in each page, I dont want to write xml files for each
> button. There will be so many xml files.
> And all my requests come in one e
As I have 4 buttons in each page, I dont want to write xml files for each
button. There will be so many xml files.
And all my requests come in one execute method in Action class and from
there depending on the request I m calling different methods..
On Mon, May 19, 2008 at 4:45 PM, Lukasz Lenart <
>
> I have 4 buttons in one page and I have written one validaton xml file like
> this :-
>
> action_class - validation.xml
>
> But for one specific button I want to skip validation process.
>
> Is there anybody know how to do that.
>
Do you have different methods for each button? If so prepare se
Hi All,
I have 4 buttons in one page and I have written one validaton xml file like
this :-
action_class - validation.xml
But for one specific button I want to skip validation process.
Is there anybody know how to do that.
Thanks
Arpan
Hi,
Is there a way of stopping Spring from autowiring values ?
Especially null values ?
We use Spring to set up our actions to ease the integration of hibernate,
but we do not want Spring to set default values when property is null.
Can this be turned off ?
I have tried
but this does not seem
I'm able to reproduce the behavior you are describing, when
executeScripts="false" and separateScripts="false" is set. By inspecting the
html using Firebug, I can see that the javascripts are included, but unable to
run. But when the attributes are set to executeScripts="true" and
separateScrip
Sorry Laurie.
I will try to make me clarify
I just want to build a form field that
* in a Author profile will let me select the books that a author have.
* in a Book profile will let me select the authors of the book.
It could be possible by a multiple select but I really dont like this
solution
First of all, thanks to all who answered to my previous posting!
I did not want one of this big "use another framework
[Spring/AppFuse/Hibernate/...] in addition to Struts2" things. While this is
surely the right way to go for a lot of heavy weight systems there are also
smaller lightweight app
51 matches
Mail list logo