I am having problems with the following code in IE only. The basic premise
for what i am trying to achieve is i would like to use DOJO to call an
action and place the resulting JSP contents into a DIV on my current page.
That all works fine unless the DIV is inside my FORM tags in which case the
Hi, still looking for help.
On 10/31/07, Raghuveer Rawat [EMAIL PROTECTED] wrote:
Hi, I have form which allows user to invite other users. A user can invite
a max of 10 users at a time. A row contain First Name, Last Name, and Email
Address.
How should I name these textfields (OGNL
2007/11/1, Raghuveer Rawat [EMAIL PROTECTED]:
Hi, still looking for help.
Here it is:
http://struts.apache.org/2.x/docs/home.html
In other words, RTFM :-)
Antonio
The simplest way (if I'have understood your problem right) is to create 10
variables in your action class (with getters and setters of course) and on
the form. So it'll be
private String firstName1;
private String firstName2;
private String firstName3;
...
private String firstName10;
in the
i have done what you suggested but got the same errors..thanks again.
strutstwouser wrote:
I guess you need to have reportData as a field in the Action and do
setReportData(reportData) in execute() after populating it.
On 10/26/07, carmi_cd [EMAIL PROTECTED] wrote:
i'm new in
Hello
Has anyone tried to implement a file upload progress bar in s2?
I have seen this technique on
http://www.learntechnology.net/content/ajax/ajax_upload.jsp .
Regards
--
Markus Stauffer
-
To unsubscribe, e-mail: [EMAIL
I have implemented a file upload progress bar in S2. I used the
following as the basis for my work:
http://kencochrane.blogspot.com/2006/03/ajax-struts-file-upload-progress
-meter.html
-Original Message-
From: Markus Stauffer [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01,
I'm new to struts.
Setting request.setAttribute(status) in my Action.java, is there a tag
to get it in the JSP page?
To get around it I've been using %= request.getAttribute(status) %
Status is not a class so I don't think it should be implemented as a
bean.
I've googled without any success
Thanks
which tag are you using?
please display full JSP code so we can further assist you
M--
- Original Message -
From: Peters, John [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, November 01, 2007 7:37 AM
Subject: Request.getAttribute
I'm new to
It's not necessary to do declare 10 variables. Here's an example:
http://struts.apache.org/2.x/docs/tabular-inputs.html
By the way, Struts 2.0.11 is out, so Raguveer, you might want to
upgrade. The answer to your particular question doesn't change, but
there are some bug and security fixes
I found an Article on this in Ian Roughley's book. Posting here if someone
is implementing Tabular Data Entry support in their apps.
*Utilize Tabular Data Entry Support*
Struts2 provides support for using lists to transfer tabulated data
easily between the HTML user interface and actions. Let's
Currently I'm not using any tags for this JSP page
This is the snip of JSP-No problems doing it this way.
But I was wondering if there was a struts tag to do this.
tr style='color: #0090DD class='footer2'
td% if(null!=request.getAttribute(cellStatus)
request.getAttribute(cellStatus)!=) { %
%
--- kingysball [EMAIL PROTECTED] wrote:
I am having problems with the following code in IE
[...]
s:form action=quoteAJAX method=post
div id=ajaxtest/div
s:textfield id=packageCount
[...]
I'd look at the generated HTML and try validating it.
Remember that the S2 form tags create a
--- Peters, John [EMAIL PROTECTED] wrote:
Setting request.setAttribute(status) in my
Action.java, is there a tag to get it in the JSP
page?
Which version of Struts?
If you're using a JSP 2.0 container ${status} should
work, or you can explicitly scope it if you prefer.
d.
Oh, Didn't notice that. Can this message be deleted?
On 11/1/07, Dave Newton [EMAIL PROTECTED] wrote:
--- Raghuveer Rawat wrote:
I found an Article on this in Ian Roughley's book.
Posting here if someone is implementing Tabular Data
Entry support in their apps.
You know it's
Unfortunately struts 1.1...I know I'm behind the times but I just came
into this application
I'll try your suggestion below.
Thank you
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2007 9:44 AM
To: Struts Users Mailing List
Subject: Re:
Not really, and it's probably not a big deal anyway.
In the future it might make more sense to post a link
to the book if you feel compelled to do something like
that or post the code that you used.
Or you could create or add to a page on one of the
struts wikis.
d.
--- Raghuveer Rawat [EMAIL
The solution is :
- to put the sx:div outside the form !!!
Herrera
Pedro Herrera wrote:
I´, using the follow div tag :
sx:div href=%{#url_dominio}
firefox works fine but when I use IE(6 and 7) the error message appers :
Couldn't load content ...
what´s the problem? Is
Why don't you let the a tag do this for you? I think using the ajax
tags and hooking things to onclick at the same time is not a good
idea.
regards
musachy
On 11/1/07, kingysball [EMAIL PROTECTED] wrote:
I am having problems with the following code in IE only. The basic premise
for what i am
yes, IE doesn't like that (isn't it a lovely browser? :) )
musachy
On 11/1/07, Pedro Herrera [EMAIL PROTECTED] wrote:
The solution is :
- to put the sx:div outside the form !!!
Herrera
Pedro Herrera wrote:
I´, using the follow div tag :
sx:div href=%{#url_dominio}
Thankyou very much for the advice.
The problem was indeed that IE was unhappy populating a DIV in a TABLE.
Simply changed my HTML and it worked fine, allowing me to create dynamic
FORMS.
With regards to using the AJAX tags, I started with those but switched to
DOJO code when the I ran into
Thankyou very much for the advice.
The problem was indeed that IE was unhappy populating a DIV in a TABLE.
Simply changed my HTML and it worked fine, allowing me to create dynamic
FORMS.
With regards to using the AJAX tags, I started with those but switched to
DOJO code when the I ran into
Thanks Jim for link. Yeah, I have to upgrade to newer version 2.0.11.
On 11/1/07, Jim Cushing [EMAIL PROTECTED] wrote:
It's not necessary to do declare 10 variables. Here's an example:
http://struts.apache.org/2.x/docs/tabular-inputs.html
By the way, Struts 2.0.11 is out, so Raguveer, you
Hello, I implemented the StrutsTypeConverter, but only
convertFromString() is called, the conversion doesn't happens when an
object is converted to String. Anybody knows why it´s happen?
--
__
Juan Damasceno
__
I was hoping to get help deploying a struts2 portlet. I have been
developing based on the portlet archetype with the embedded jetty/pluto
portlet container as detailed at http://portletwork.blogspot.com/
This archetype is based on struts 2.1.0, and developing with it has been
great. However,
Thanks very much, this is the way!
But I think that the property of submit button should be posted.
Thanks,
Vinicius
Jeromy Evans wrote:
I've read somewhere, but can't find the reference, that you're correct
that dojo doesn't post the value of the submit button with XHR.
Instead, I always
How this uri is resolved in struts2
%@ taglib prefix=s uri=/struts-tags %
Where jsp compiler finds details about /struts-tags. I have not seen any
information about this in web.xml or any other file.
--
View this message in context:
Fixed on 2.1:
https://issues.apache.org/struts/browse/WW-1930
musachy
On 11/1/07, Vinicius Medeiros Peretti [EMAIL PROTECTED] wrote:
Thanks very much, this is the way!
But I think that the property of submit button should be posted.
Thanks,
Vinicius
Jeromy Evans wrote:
I've read
Hi!
In version 2.1, the portlet support was moved into a plugin. It could
be related to that. Can you find any exceptions or traces of error in
the logs somewhere?
Nils-H
On 11/1/07, Brian Relph [EMAIL PROTECTED] wrote:
I was hoping to get help deploying a struts2 portlet. I have been
See chapter 8 of the JSP spec here:
http://jcp.org/aboutJava/communityprocess/final/jsr245/index.html
musachy
On 11/1/07, StrutsDeveloper [EMAIL PROTECTED] wrote:
How this uri is resolved in struts2
%@ taglib prefix=s uri=/struts-tags %
Where jsp compiler finds details about
I downloaded and installed the struts2 portlet application 2.1.1, here are
the logs -
[11/1/07 14:59:22:785 CDT] 0022 ApplicationMg A WSVR0200I: Starting
application: struts2-portlet-2_1_1-SNAPSHOT_war
[11/1/07 14:59:22:801 CDT] 0022 ApplicationMg A WSVR0204I:
Application:
I've used DisplayTag with S1 before, with excellent results. I'm also
using it in S2 in a few cases, and it's working fine.
However, now I want to use it to render a form. Each row in the table
will contain a couple of input tags, and the table as a whole represents
a single List on my action.
You can access the values published by displaytag using #attr, like:
dt:table name=products id=row class=dt
dt:column
s:property value=#attr.row.name /
/dt:column
/dt:table
musachy
On 11/1/07, Jake Robb [EMAIL PROTECTED] wrote:
I've used DisplayTag with S1 before, with excellent
Downloading and installing the struts2 portlet application 2.0.12 works
fine. The differences between 2.0.12 and 2.1.1 are minimal:
web.xml has no difference ( i did not uncomment the dispatcher servlet )
portlet.xml has no difference
struts.xml includes struts-portlet-default.xml in 2.0.12 but
The only real difference I can think of is that portlet support is a
plugin in 2.1. Is the struts2-portlet-plugin jar file in the classpath
of the application?
Nils-H
On 11/1/07, Brian Relph [EMAIL PROTECTED] wrote:
Downloading and installing the struts2 portlet application 2.0.12 works
fine.
this is the sample webapp downloaded from
http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-portlet/2.1.1-SNAPSHOT/
can i assume it was built with that struts2-portlet-plugin.jar on the
classpath?
On 11/1/07, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote:
The
Err, a stupid question... where do I send the CLA? And I have to send it in
PDF format, right?
On 10/31/07, Musachy Barroso [EMAIL PROTECTED] wrote:
it would be great if you write something up :), you can do it on the
GWT plugin page, or setup a new page on the wiki. You would need to
file
We have a pojo with a birthDate property whose setter is going to parse
the String value and throw an exception if it cannot be parsed.
We are not using a date picker, the value must be typed in as a String.
The ParametersInterceptor always picks up the Exception even though I've
tried
We are having two issues with the datetimepicker in struts 2.0.9
The first is when using the datetime picker the calendar displays 1901 when
the date is actually 2001. I'm sure there has to be a simple solution to
this. I tried setting the start date to 1930 but that didn't help.
The second is
39 matches
Mail list logo