Hi,
Do you have a form property in your struts-config. that is a array?, if
there is one you should set the size or initial property.
size
The number of array elements to create if the value of the
type attribute specifies an array, but there is no value
specified for
Hi Nuwan,
I have already set as mentioned below:
form-bean name=selSpecPopupForm
type=org.apache.struts.action.DynaActionForm
form-property name=context
type=java.lang.String initial=0 size=5 /
hello
to develop a page in velocity i am not getting the design as expected ...
so
i started using macros so that i can get the expected design
for example:::
table
tr
td#ssubmit(key=button1 value=Search)/td
td#ssubmit(key=button2 value=Submit)/td
/tr
/table
i have taken the key
The error message is as attached. i hope i will be able to get a solution.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis
Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez
à la mise à jour de votre carnet d'adresses.
here is an example that is working.
s:iterator value=articles status=rowstatus
tr
The error message is attached!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have used http://webfx.eae.net/dhtml/tabpane/tabpane.html in our site
http://site24x7.com
May be u can try that also
--
Yoge,
AdventNet, Inc.
925-965-6528
[EMAIL PROTECTED]
site24x7.com
On 6/27/07, Kavita Mehta [EMAIL PROTECTED] wrote:
I'm using Struts 1.2 ...
wd search more on
Hello,
if you have questions about JSPTabControl don't hesitate to ask me.
Regards Angelo
2007/6/27, Yoge [EMAIL PROTECTED]:
I have used http://webfx.eae.net/dhtml/tabpane/tabpane.html in our site
http://site24x7.com
May be u can try that also
--
Yoge,
AdventNet, Inc.
925-965-6528
[EMAIL
Tony Yawe wrote:
The error message is attached!
No, it isn't. Perhaps the mailing list is stripping the attachment. In
any case, you need to provide more than just an error message.
- What version of Struts are you using?
- What are you trying to do?
- what were you expecting to happen?
-
Hi
I'm having problem to submit Chinese characters from browser to web server.
I have the following settings in struts.properties:
struts.locale=zh_TW
struts.i18n.encoding=UT8
But when I submit Chinese characters to web server.
It gets scrambled characters.
(The wierd thing is that sometimes
By the way the settings in my JSP:
%@ page contentType=text/html; charset=UTF-8 %
meta http-equiv=Content-Type content=text/html; charset=UTF-8
Did I miss anything else?
On 6/27/07, Vincent Lin [EMAIL PROTECTED] wrote:
Hi
I'm having problem to submit Chinese characters from browser to web
Hi, i'm trying to populate a Map with the tag s:textfield, but when i read
the map in my action i find a String array and not a String.
In my JSP i have:
s:textfield key=proprieta['pap']/
where proprieta is my Map. In the action i have:
...
private MapString,String proprieta = new
Vincent,
Your server must have as a Java VM Argument this line:
-Dclient.encoding.override=UTF-8
(search on google client.encoding.override and you will find more)
Emilia
-Original Message-
From: Vincent Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 12:56 PM
To:
Emilia,
I've tried -Dclient.encoding.override=UTF-8, it doesn't seem to change
anything.
It's really wired that when I use IE, the Chinese characters will be
scramble.
But when I use firefox, it works correctly.
The funny thing is that the browser language setting of my IE is zh_TW
while the
There is no interceptor, from what I know.
You should try to found where exactly lies the problem:
- is struts doing something wrong or the request got from the client is
already bad. You can check that by looking in the HttpRequest object, in
the debug mode
Emilia
-Original Message-
it just sets a variable that i need to use in the action.
newton.dave wrote:
What does the upload() method in your
html:submit.../ do?
--- vbharath19 [EMAIL PROTECTED] wrote:
when i get the formfile using getthefile
newton.dave wrote:
--- vbharath19 [EMAIL PROTECTED]
Hello!
Im currently trying out the webflow plugin for S2 and trying out the example
i got an exception.
It happens when i got to step2 i click on backbutton on browser and then on
step1 i try to go to step2.
Then i got a
javax.servlet.ServletException:
Hello Session,
See replies in context below -
-Original Message-
From: Session Mwamufiya [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 11:58 PM
To: 'Struts Users Mailing List'
Subject: Struts 2 Login example using a session
Hi,
I tried to follow the simple login
-Original Message-
From: Jon Wilmoth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 8:24 PM
To: Struts Users Mailing List
Subject: Re: [S2] login action w/FORM authentication?
[snip]
This is a major bummer to say the least. I'm not sure if the tomcat
implementation of
But why does it works in Firefox while it doesn't work in IE?
I think it might be caused by different http request header made by IE and
Firefox.
There might be an Interceptor or servlet filter in struts2 which change the
character encoding according to the header of http request.
On 6/27/07,
Can anybody see if something is wrong with this struts-config.xml. I have just
upgraded struts to 1.2.9.
And a simple .do call does not work. Nothing happends. I get a blank screen and
no errors is reported i the logs
***
!DOCTYPE struts-config PUBLIC
I'm using the JSON plugin in one of my actions with the documentation
that i've found here
(http://cwiki.apache.org/S2PLUGINS/json-plugin.html). My case is a
little different as i am not using SMD. I receive calls to the action
with parameters passed via the query string. Most of these
Good Day,
I am busy in the process of developing a theme that uses the css_xhtml theme
as the base and currently the process is
1. Make a change to the template
2. Deploy and run the application
3. Determine in the HTML why something does not look right
It would be cool if I could make a
Well hi hehe another post on webflow ..
1. Any one tried out the feuture SWF flow execution key can be managed in
the session rather than as a hidden field on the client. dont whant to
havae hidden params in jsp.? The example is only using the hidden param in
jsp.
2. Currently im trying to add
Take a look in the source, I believe there are examples on how the theme
templates are tested.
/Ian
Mark P Ashworth wrote:
Good Day,
I am busy in the process of developing a theme that uses the css_xhtml theme
as the base and currently the process is
1. Make a change to the template
2.
Vincent,
Vincent Lin wrote:
I'm having problem to submit Chinese characters from browser to web server.
GET, POST, or both?
If it's only failing for GET, check to make sure that your app server
knows to expect UTF-8 strings in URLs (in Tomcat, for instance, this is
specified in the Connector
I use POST in my form.
On 6/27/07, Christopher Schultz [EMAIL PROTECTED] wrote:
Vincent,
Vincent Lin wrote:
I'm having problem to submit Chinese characters from browser to web
server.
GET, POST, or both?
If it's only failing for GET, check to make sure that your app server
knows to expect
Nope, the interceptor doesn't have that, but it would be really easy to add,
I will add it on the next few days.
regards
musachy
On 6/27/07, Max Pimm [EMAIL PROTECTED] wrote:
I'm using the JSON plugin in one of my actions with the documentation
that i've found here
As Ian mentioned if you look at the testcases here:
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/
you will get an idea, basically an instance of the tag is created, the
output is written to an StringWriter and at the end the spaces are
Vincent,
Vincent Lin wrote:
I use POST in my form.
:(
You mentioned that MSIE seems to fail, while Mozilla Firefox works. Is
this behavior consistent? Does ff always work? Does MSIE always fail?
Can you check to see what character encoding (in the HTTP headers) is
being sent from the client
Or better yet, create a Login interceptor or Login filter that checks the
session and redirects to login page if the required key is not there. Make
package(s) of the actions you want to expose to authenticated users only and
put the interceptor into that packages interceptor stack.
On 6/27/07,
On 6/27/07 10:24 AM, Toni Lyytikäinen [EMAIL PROTECTED] wrote:
Or better yet, create a Login interceptor or Login filter that checks the
session and redirects to login page if the required key is not there. Make
package(s) of the actions you want to expose to authenticated users only and
put
Thanks a million. At the moment i'm not using the interceptor but am
deserializing my variable to a Map using your JSONUtil.deserialize and
then populating my variable inside my action class (i've copied your
JSONInterceptor.populateObject method).
I look forward to doing this in a cleaner
Chris,
Thank you.
I solved this problem finally.
I use a CharacterEncodingFilter you mentioned to set character encoding to
UTF-8.
Actually I've tried this filter before, but it didn't work.
The reason why it didn't work is the order of fitler mapping is incorrect in
my web.xml.
This filter
Thanks.
This is my web.xml. Which looks alot like your surgestions.
Any idears
servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-nameapplication/param-name
attachment?
M-
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy
I was under the impression that the s:property tag
could access page-scoped variables, but it doesn't
seem to work for me.
I am using the displaytag library for creating tables
as shown here:
display:table id=row name=locations
requestURI=/AdminLocation.action defaultsort=2
display:column
I have a question, is it a good practice to subclass dao? Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am trying to discover a way to inject my Tiles controllers using Spring.
My Struts 2 site is wired using Spring with the exception of the Tiles
objects. Does anyone know if this is supported? I'm not seeing much
traffic on the Tiles forum.
Thanks,
Scott
--
View this message in context:
Hi Stan
Looks as if this is possible if you create your own ControllerSupport
classes (and config the classes as Spring Managed beans)
http://forum.springframework.org/showthread.php?t=17091
Anyone else?
M--
This email message and any files transmitted with it contain confidential
information
Ok, it is done (I was bored today :) ). Make sure that the object returned
from the value stack, from the root expression is not null.
regards
musachy
On 6/27/07, Max Pimm [EMAIL PROTECTED] wrote:
Thanks a million. At the moment i'm not using the interceptor but am
deserializing my variable
Hello. I am in the process of migrating my application from webwork
2.2.x to Struts 2 and have encountered a problem. I have a custom
interceptor which has a member variable injected by Spring. This
object is a request scoped bean which is contructed using a factory
method from another bean
This is a great link, thanks so much Mark.
Session
On 6/27/07 10:24 AM, Toni Lyytikäinen [EMAIL PROTECTED] wrote:
Or better yet, create a Login interceptor or Login filter that checks
the session and redirects to login page if the required key is not
there. Make package(s) of the actions
Try turning on Struts debug logging. Either the request is never getting
to the Struts Action servlet (perhaps due to a configuration error in
your web.xml) or it is failing in a way that's not producing any errors.
Debug logs should help narrow things down.
L.
Søren Blidorf wrote:
Your
mfnospam wrote:
not sure whether this works - I'm new to s2 myself.
However there seems to be a possibility to configure brwoser caching in
struts.properties:
struts.serve.static.browserCache=false
maybe this helps
kind regards
matthias
I believe the OP is using Struts 1, though. The
2007/6/23, Ing. Andrea Vettori [EMAIL PROTECTED]:
yes the templates are into
WEB-INFO/templates
you have to put them in tour WEB-APP root, meaning the directory
directly above WEB-INF
Freemarker won't find the templates in your WEB-INF directory, meaning
freemarker won't cache them
you might
BTW, I did see this:
https://issues.apache.org/struts/browse/WW-1576
but i'm using struts 2.0.8 and the xwork version is 2.0.3. Is this
still an xwork problem that I should ask about on opensymphony?
On 6/27/07, Steve C [EMAIL PROTECTED] wrote:
Hello. I am in the process of migrating my
Thanks
In fact they are already there! I made a mistake writing the email...
Il giorno 27/giu/07, alle ore 22:05, Guillaume Carré ha scritto:
2007/6/23, Ing. Andrea Vettori [EMAIL PROTECTED]:
yes the templates are into
WEB-INFO/templates
you have to put them in tour WEB-APP root, meaning
--- Bill Johnson [EMAIL PROTECTED] wrote:
I was under the impression that the s:property tag
could access page-scoped variables, but it doesn't
seem to work for me.
AFAIK s:property.../ access the OGNL stack, not
scoped variables.
Session and request are put on the stack, but not
page. Bear
You can access variables in the page context using the OGNL expression
#attr.propertyname, although I also prefer JSP EL.
I'm unsure why this was deliberately left out of the duplicate pages of
the S2 wiki, but it's still described at WW:
See #attr at the bottom of this page:
Whoops!
What he said.
--- Jeromy Evans wrote:
I'm unsure why this was deliberately left out of the
duplicate pages of the S2 wiki, but it's still
described at WW:
It's not left out (of the wiki, but I left it out of
my head, I guess :/
http://struts.apache.org/2.x/docs/ognl-basics.html
It's not left out (of the wiki, but I left it out of
my head, I guess :/
I know the feeling!
This page omits attr from the context map diagram:
http://struts.apache.org/2.x/docs/ognl.html
but the equivalent WW page includes it:
http://wiki.opensymphony.com/display/WW/OGNL
--- Jeromy Evans wrote:
This page omits attr from the context map diagram:
http://struts.apache.org/2.x/docs/ognl.html
Not any more (once it propagates :)
d.
Sick sense of humor? Visit Yahoo! TV's
On 6/27/07, Søren Blidorf [EMAIL PROTECTED] wrote:
Can anybody see if something is wrong with this struts-config.xml. I have just
upgraded struts to 1.2.9.
And a simple .do call does not work. Nothing happends. I get a blank screen and
no errors is reported i the logs
Just out of interest
54 matches
Mail list logo