My bad I should have included that first.
Gabriel Belingueres wrote:
Show us your struts.xml file please.
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd;
struts
Good Day,
If I have an action that has completed, say a save action, and I would like
to redirect to the referring action of the original edit how can I structure
my application to do this.
I thought about saving the referrer in the edit page and the redirecting but
then I would need a
Why is it that I need to change the tag-lib URI?
Old way: /WEB-INF/struts-html.tld
New: http://struts.apache.org/tags-html
Both ways seems to work
Soren, DK
-Oprindelig meddelelse-
Fra: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sendt: 23. juli 2007 21:42
Til: 'Struts Users Mailing
I was busy, I will work on this and give you a update
or make a JIRA issue.
BUT for the time being ignore all the issues and
arguments about uPortal and think about the following
scenario.
In our entire application we got portlets (developed
using S2) and other channels developed using
Ken,
Your Tiles definition is fine. Just know that you can't do the URL
rewriting until the JSP renders. So your strategy is to define
context-relative paths in the Tiles definition, but then use
html:rewrite on the JSP to turn them into the correct path.
Paul
Ken Bowen wrote:
Hi,
I'm
Inline error messages would be an ajaxian-like feature. The current
version of the validator does not support this. However, that is a good
enhancement request :-)
Paul
semaj.najraham wrote:
Hi there,
I'm using Validator framework with Struts 1.3.8. I would like to know if
there is a way to
I see it also includes Tiles 2.0.4.. that should also include
the fix for the contentType of the response not set bug present
in version 2.0.3
--
Robi
Ted Husted wrote:
For those of you following this thread, a test build for Struts 2.0.9
is available. Unless a problem is found, we expect to
Mark,
I had this same problem :-) One downside of action-based frameworks is
that there is no sense of a page -- just actions. You need to somehow
mark which actions belong to page views, and then remember the last hit
in your session.
Paul
Mark P Ashworth wrote:
Good Day,
If I have an
Nosinov,
The feature to display the error value in a validation message is part
of the next release of Validator (1.4). At the moment, no current
releases allow this feature. If you want, you can help submit a patch
for that feature:
https://issues.apache.org/jira/browse/VALIDATOR
Paul
Old servlet containers (2.2 and before) did not scan the web module to
find TLD files automatically. If you're using an older container, you
unfortunately have to put a copy of the TLD in your WEB-INF directory.
But this is quite redundant :-) The TLD file contains a url name that is
its
2007/7/24, Roberto Nunnari [EMAIL PROTECTED]:
I see it also includes Tiles 2.0.4.. that should also include
the fix for the contentType of the response not set bug present
in version 2.0.3
Yep! Confirmed :-)
Antonio
I use singleton=false in my spring config file, and then it generates one
action instance for each request. There comes the problem, for example, I
want to edit a user's profile, I get the user's profile in the UserAction's
edit() method, and then forward to the eidt.jsp, then user eidt his
Hi,
in 2.0.8 the ajax template (template/ajax/autocompleter.ftl) is missing
the controlheader and footer. I noticed this when i wanted to generate a
label for my autocompleter text field. The autocompleter tag accepted
the label attribute but did not create the html label element.
I have
OK, thanks.
Maybe I am missing something ;o) but what if the server is not connected to
the internet? Then I will need the copy in my WEB-INF, right?
Soren, DK
-Oprindelig meddelelse-
Fra: Paul Benedict [mailto:[EMAIL PROTECTED] På vegne af Paul
Benedict
Sendt: 24. juli 2007 08:54
Til:
How can i handle a file not found exception in struts 2..for example if the
user type in a url of the server but the jsp file is not found a default jsp
file will appear saying sorry cannot find that file..
How should i handle this? Thanks in advance..
--
View this message in context:
Hello All,
Today is first day when I am going to use struts , I dont know any
thing about this, I have read some docs on strts ,But no implementation idea
...I have downloaded
struts-1.3.8-all.zip and struts-1.3.8-src.zip.
Which is better to use for development own application.
Hi
Just try http://www.roseindia.net/struts
thanks
-Original Message-
From: sharad singh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 24, 2007 1:51 PM
To: user@struts.apache.org
Subject: Struts Help
Hello All,
Today is first day when I am going to use struts , I dont know any
Also try --
http://www.visualbuilder.com/jsp/struts/tutorial/pageorder/1/
-Original Message-
From: Deepak Kumar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 24, 2007 4:46 PM
To: Struts Users Mailing List
Subject: RE: Struts Help
Hi
Just try http://www.roseindia.net/struts
thanks
Hi,
I'm new to the mailling list. My company sold a struts 2 project to one of
its customer. And no I'm lost in struts 2 Dojo wonderland.
It happens that when I create a simple dojo widget (anchor), either my
widget is parsed twice by Dojo or the topic is registered twice, anyway, the
event
No, the TLD file is physically present in the JAR. The fact that it is
identified by a URL does not imply that an HTTP connection needs to be
made; the URL is just an identifier.
L.
Søren Blidorf wrote:
OK, thanks.
Maybe I am missing something ;o) but what if the server is not connected to
Hi Angelo,
Do you have any idea how can I make the tabs scrollable . Actually, the
height of one of the tabs is more which makes the other tabs look empty
OR can the tabs be of different height ?? which I assume not cos height is
the parameter of jsptabcontrol:tabControl and not
Hi,
I think you can do that with CSS with overflow:auto, litke this
http://www.domedia.org/oveklykken/css-div-scroll.php
Before configuring CSS, you must underst and generated
HTML by JSPTabControl
http://jsptabcontrol.sourceforge.net/developer-guide.html
to know the CSS to updating to add
Hi.
When I log on to my struts app, the app redirects to a frontpage.do and
forward to frontpage.jsp.
When I get to the frontpage.jsp the processline/loadLine starts as if the
page is doing something.
I am not sure but I think that it is a session issue
It seems that the error is
It may be worth looking at Spring Web Flow, I think it's design to fit
that kind of needs.
- Pascal
Paul Benedict wrote:
Mark,
I had this same problem :-) One downside of action-based frameworks is
that there is no sense of a page -- just actions. You need to
somehow mark which actions
You can configure the error page section of your web deployment descriptor
to do such things see your servlet specification for exact declaration.
It should be something like :
error-page
error-code404/error-code
location/jsp/exception.jsp/location
/error-page
David
what´s the meaning of struts2-config-browser-plugin ? Where are the docs
about that ?
Thanks
Pedro
--
View this message in context:
http://www.nabble.com/what-is-struts2-config-browser-plugin---tf4135398.html#a11761282
Sent from the Struts - User mailing list archive at Nabble.com.
It allows you to wath your current settings
see
http://struts.apache.org/2.x/docs/config-browser-plugin.html
you can access the setting page using the /config-browser/index.action
action of your app
David
2007/7/24, Pedro Herrera [EMAIL PROTECTED]:
what´s the meaning of
hmm it's hard to tell from this alone. But probably you are calling
/searchResult.action somewhere in your code?
2007/7/24, Freakman [EMAIL PROTECTED]:
My bad I should have included that first.
Gabriel Belingueres wrote:
Show us your struts.xml file please.
?xml version=1.0 encoding=UTF-8
That's a little bit strange, in any case let me start with the obvious, do
you really need to use handler? In that case you will have to make the
request yourself, if you are looking for notification before/after the
request, use the notifyTopics attribute.
musachy
On 7/24/07, David Binder
the handler is indeed needed, i made some test with a topic anyway and it
ended whith two notification (I checked that both were the same going
throught 'before' and 'load').
2007/7/24, Musachy Barroso [EMAIL PROTECTED]:
That's a little bit strange, in any case let me start with the obvious,
When you try the handle example on the Remote Links page on showcase, does
it work? (there should be one popup)
musachy
On 7/24/07, David Binder [EMAIL PROTECTED] wrote:
the handler is indeed needed, i made some test with a topic anyway and it
ended whith two notification (I checked that both
Dear friends,
I have a List consisting of Lists, I should show value of them, for example:
=== in Action Class:
class Boy
{
String name;
int age;
..
..
}
class Friend
{
String category;
ListBoy boys ;
}
damnit, I'm the one to blame :) . The example work.
I'll take a few time to check the differences
thanks,
Dav
2007/7/24, Musachy Barroso [EMAIL PROTECTED]:
When you try the handle example on the Remote Links page on showcase,
does
it work? (there should be one popup)
musachy
On 7/24/07,
Hey Paul,
Thanks for the reply. Displaying inline error messages is one of the user
requirements. I just want to get some thoughts...
1. As I need to display inline error messages, is it ok to use only server
side validation? I just don't want to use server side validation only. Let's
say if
I have created an issue in JIRA.
(https://issues.apache.org/struts/browse/WW-2058)
max
Theo Platt wrote:
Thanks Max, I've just been looking at exactly the same area and I can
replicate the same error. It works fine in IE but fails in firefox.
I think you should enter it in JIRA.
Cheers
I don't think #1 is a big deal. I don't use client side validation often.
Yes, #2 is reinventing the wheel. There's nothing wrong with submitting to
the server.
On 7/24/07, semaj.najraham [EMAIL PROTECTED] wrote:
Hey Paul,
Thanks for the reply. Displaying inline error messages is one of the
More specifically I have:
s:head theme=ajax /
chengas123 wrote:
Yep, I do.
Roberto Nunnari wrote:
Do you have the s:head tag? It won't work without that.
--
View this message in context:
http://www.nabble.com/-S2--Autocompleter-with-JSON-plugin-tf4132448.html#a11764525
Hi
I recently started using Struts 2, and have no prior experience with
Webwork.
We are using Struts 2.0.6 for jdk1.4, and are deploying to WebLogic 8.1.
We are further using the simple UI theme.
The action attribute of the Struts submit tag does not seem to work. I
had to do a
Apache Struts 2.0.9 is now available from
http://struts.apache.org/download.cgi#struts209?update=200707231930.
This release includes an important security fix regarding a remote
code exploit. For more information about the exploit, visit our
security bulletins page at
Hi,
In my jsp I need to use two html:select tags. If I use one tag, its
working fine. But the moment I inserted the code for second tag, all the jsp
code after the first tag is not appearing in the browser. I am using a
proprietary taglibrary. Any light on this ?
Thanks,
Ravikanth
I thought I would add that I put some debug code in my Action and I can see
it being called when I type in the box. Yet there does not appear to be
anything happening on the client side. Is my JSON not formatted properly?
What's the problem here?
Thanks,
Ben
chengas123 wrote:
Hi,
I'm
--- chengas123 [EMAIL PROTECTED] wrote:
Is my JSON not formatted properly?
http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-autocompleterTag
Has the Ajax tag been updated to use JSON from the
JSON result type? If so, the docs should be changed,
otherwise I could see that being an
It looks ok to me, not sure what is going on. Check:
http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Autocompleter
for an example of working with both together.
musachy
On 7/24/07, chengas123 [EMAIL PROTECTED] wrote:
I thought I would add that I
AJAY KUMAR UPPALAPATI wrote:
hi,
Below some part of code of my ActionClass . I am able to set the
values to my html:text. But in one case i need to display as a report
format ie. i will get more than one record.
ie:
034343000 |Mr. abcdefgh | Crd3242345 .
0. Displaying client-side inline error messages should be fairly easy.
Instead of calling alert(message) write your own dhtml function such as
inlineError(message) method for populating the same message into an
object on the page. Note this wouldn't require server communication, so
not AJAX.
1.
newton.dave wrote:
--- chengas123 [EMAIL PROTECTED] wrote:
Is my JSON not formatted properly?
http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-autocompleterTag
Has the Ajax tag been updated to use JSON from the
JSON result type? If so, the docs should be changed,
otherwise
钟原froast wrote:
I use singleton=false in my spring config file, and then it generates one
action instance for each request. There comes the problem, for example, I
want to edit a user's profile, I get the user's profile in the UserAction's
edit() method, and then forward to the eidt.jsp, then
Musachy Barroso wrote:
It looks ok to me, not sure what is going on. Check:
http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Autocompleter
for an example of working with both together.
musachy
The example has a method called getOptions
Hi guys,
Whenever I try to access a struts 2 page, and before the page is fully
rendered, I click on a link to access another page, I get the following
exception in the log. Is there a way to fix this, or hide the exception
if it's not crucial??? I pasted the first part of the exception...In
I'm trying to integrate JSF into a Struts 2 prototype. AFAICT, I need to add
the struts-jsf-plugin to my pom.xml and add FacesServlet to my web.xml. Are
there any other steps needed?
I'm using Sun's RI since it run's on Tomcat 5.x with JSP 2.0. How do I tell
JSF to use Facelets w/o a
Musachy Barroso wrote:
It looks ok to me, not sure what is going on. Check:
http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Autocompleter
for an example of working with both together.
musachy
OK! I'm in action now!
Thanks for pointing
Phillip,
I wonder if you can use the META-INF manifest directory to specify
the load order of required Libs to overcome your shared hosting problem?
I had to do something similar back in WebSphere 4.x with Struts
1.something. ;)
Brian Trzupek
On Jul 16, 2007, at 11:13 AM, Phillip
Hi,
I have a bunch of inputs with tabindex defined on each. Some are regular
HTML inputs and some are struts autocompleters as shown below:
s:autocompleter name=city theme=ajax href=%{jsonList} size=22
tabindex=5 dropdownWidth=200 showDownArrow=false autoComplete=true
Hi,
I had an HTML input I was accessing in script as follows:
document.inputForm.city.value
I replaced it with a Struts autocompleter and cannot access it in that
manner anymore. Can anyone tell me how I can access it?
Thanks,
Ben
http://www.benmccann.com benmccann.com
--
View this
Hi,
Would anyone know how to get struts actions to set the frame in which the
result pages should be displayed? I have a frame of buttons and I want
different pages to be displayed in the other frame when each button is
pressed. Is there a way to set this in the struts.xml file where the
I am using the tre tag to display a tree of items. I got a very basic
tree showing. Is it possible to have the tree node do something when
you click it? I tried onclick but it didnt seem to render that
attribute into the HTML. Is it possible to add some extra html to
each node (for example a
You can use treeSelectedTopic to get notified when a node is clicked.
musachy
On 7/24/07, Richard Sayre [EMAIL PROTECTED] wrote:
I am using the tre tag to display a tree of items. I got a very basic
tree showing. Is it possible to have the tree node do something when
you click it? I tried
Hello David, I already done that and still there is an exception thrown and
caught in our Sun Java System application logs. how can i make that this
exception is caught by struts and this is not log in our server logs..
thanks again.
David Binder [EMAIL PROTECTED] wrote: You can configure the
I want to use s2.1 for a new project. Now I try to figure out how it is
possible to make a realtime validator that is fired when the user switches
fields.
With 2.0.8 there was DWR and the ajax theme. Now I do have the dojo plugin and
the interceptor. sx:submit tag .. but there are no sx:form
It would be easy to implement:
http://struts.apache.org/2.x/docs/ajax-validation.html
musachy
On 7/24/07, Piero Sartini [EMAIL PROTECTED] wrote:
I want to use s2.1 for a new project. Now I try to figure out how it is
possible to make a realtime validator that is fired when the user switches
Hi,
[Using struts 1.2.7 on Tomcat 5.5]
In tiles-defs.xml, I have the following definition:
definition name=numberplay.main extends=baseStandardLayout
put name=page_subheader value=Number Play/
put name=javascript value=/pages/numberplay/include.js /
put
Hi
I need to use the validation framework that comes with Struts 2 to validate
a List that contains objects. I read that there is a collection validator
but I can't find it in Struts 8, Struts 9 or XWork 2.0.4. Any ideas?
Regards,
Néstor Boscán
Hi all, I want to show some message to user. These messages will not be error
messages. These will be something like 'Data has been saved successfully'
type. Have any idea how to do it easily?
--
View this message in context:
To help get the word out, I'd ask that anyone with a blog please post
this announcement (if you haven't already), or link back to my blog on
JRoller.
* http://www.jroller.com/TedHusted/entry/struts_2_0_9
-Ted.
On 7/24/07, Ted Husted [EMAIL PROTECTED] wrote:
Apache Struts 2.0.9 is now
Hey ,
I think it is not text filed it is select box. so try to access using input
type as select
Thanks
Ravi
On 7/25/07, chengas123 [EMAIL PROTECTED] wrote:
Hi,
I had an HTML input I was accessing in script as follows:
document.inputForm.city.value
I replaced it with a Struts
65 matches
Mail list logo