Yes. You're right. Thank you very much.
Paranoid_Fabio wrote:
Hello. I've a very strange problem using content disposition in stream
result:
result name=success type=stream
param name=contentType${contentType} /param
param name=inputNamedownloadStream /param
param name
Hello. I've a very strange problem using content disposition in stream
result:
result name=success type=stream
${contentType}
downloadStream
filename=${fileName}
1024
/result
fileName is a field of my action
Thank you for the reply.
I tried your solution and the action is invoked..the problem is that,using
the standard html anchor, the parameters are not passed to my action.
Paranoid_Fabio wrote:
Hello. What I want to do is a very simple thing, but I can't find a
solution.
I call an action
wrong applying the parameters when the request was made.
Determine where it failed, and that will tell you where to focus on
debugging further.
L.
Paranoid_Fabio wrote:
Thank you for the reply.
I tried your solution and the action is invoked..the problem is
that,using
the standard html
Hello. What I want to do is a very simple thing, but I can't find a solution.
I call an action from a jsp page, and I want to display the resulting jsp
page in a new browser window.
I've already read about target=_blank, target=_new etc... but I can't
use them because I can't use the simple html
Hello. I'm using Struts2 with Ajax support and I'm able to refresh the
content of a div with remote content via Ajax calls.
Anyway I've a problem: when the div is refreshed, the page is scrolled up to
the top, like if the entire page is refreshed.That's it, if I scroll down
the page and then i
Paranoid_Fabio wrote:
Hello. I've a problem with i18n resource bundles.
I've a page home.jsp that uses a resoruce bundle res1 for
internationalization.
home.jsp, like all the pages of my web app, includes bar.jsp which is a
bar with some links. The links are also internationalized
Hello. I've a problem with i18n resource bundles.
I've a page home.jsp that uses a resoruce bundle res1 for
internationalization.
home.jsp, like all the pages of my web app, includes bar.jsp which is a
bar with some links. The links are also internationalized and this bar uses
the resource
Hello. I'm trying to implement an help page consisting of and index (on the
left) and a content part(on the right) that is refreshed when the user click
on an index entry, like a common help.
I'm having trouble to do this.. I'm trying using two iframes but I can't
manage to get the second frame
Thank you for the reply. I haven't tried with frame, but only with iframe..i
thought that target work.
I'm testing with Firefox 2.0.0.12.
I will try with frame.
Paranoid_Fabio wrote:
Hello. I'm trying to implement an help page consisting of and index (on
the left) and a content part
Ok. I tried also with frame but no way. When I click on the index entry,
the corrisponding help page is showed in a new browser window... :(
Paranoid_Fabio wrote:
Hello. I'm trying to implement an help page consisting of and index (on
the left) and a content part(on the right
Hello. I've a problem.
Apostrophe in resource files of my application does not appear.
example:
Property1=L'ID è sbagliato
is showed (using text tag in the jsp page) as : LID è sbagliato
I'm using ISO-8859-1 in Eclipse editor and I include this on top of every
jsp page:
%@ page language=java
Solved! Thank you :)
Paranoid_Fabio wrote:
Hello. I've a problem.
Apostrophe in resource files of my application does not appear.
example:
Property1=L'ID è sbagliato
is showed (using text tag in the jsp page) as : LID è sbagliato
I'm using ISO-8859-1 in Eclipse editor and I
Hello. I've an action that populates a table with some info. In each row,
there's a button to delete the entry and the associated object from the DB.
In my action class I've a list (something like a queue) of the ID that will
be removed after the user clicks on the apply button.
So, all I want to
Ok. Thank you. I will try this way.
Paranoid_Fabio wrote:
Hello. I've an action that populates a table with some info. In each row,
there's a button to delete the entry and the associated object from the
DB.
In my action class I've a list (something like a queue) of the ID
on.
In this case I could use s:div with target to refresh only the table.
Paranoid_Fabio wrote:
Hello. I've an action that populates a table with some info. In each row,
there's a button to delete the entry and the associated object from the
DB.
In my action class I've a list (something like
Hello. I know it's really simple but I cannot make it works.
What I want to do is to put a radio button with two options, in a form. The
attribute that will be set by selecting one of the two options is a boolean.
That's it, simpy a true/false choice.
1) Is it possible to declare a static list
?
s:radio list=#{true:'True', false:'False'} name=c_sub/
(the part in Bold is what the editor highlight as syntax error...)
Thank you
Paranoid_Fabio wrote:
Hello. I know it's really simple but I cannot make it works.
What I want to do is to put a radio button with two options
ok.No matter. Thank you
Paranoid_Fabio wrote:
Hello. I know it's really simple but I cannot make it works.
What I want to do is to put a radio button with two options, in a form.
The attribute that will be set by selecting one of the two options is a
boolean. That's it, simpy a true/false
is added and
Action2 returns error. JSP1.jsp (as result of error result type) should be
displayed again, inside the tab, with error messages.
The problem is that JSP1 is now displayed like a standalone page.
Paranoid_Fabio wrote:
Hello. I try to explain the problem as cleary as possible:
I want
Thank you for the reply.
But I can't understand how I could set this div as target of the form if the
form is in other JSP, shown as result of the invoking of an action from
inside the tab. ??
Paranoid_Fabio wrote:
Hello. I try to explain the problem as cleary as possible:
I want
fragments into your tabs asynchronously, but;
- you also want to use the notifyTopics and listenTopics features of
these tags to trigger refreshing/reloads
See the topics section of
:http://struts.apache.org/2.0.11/docs/ajax-tags.html
Paranoid_Fabio wrote:
Hello. I try to explain
Hi everyone. My problem is that I have a jsp page with a tabbed panel
consisting of two tabs.
The main action is showUpload that shows upload.jsp.
In one of the tab, I've a form that the user should fill and send to the
manualUpload action. If some required fields are not filled, I should show
Hello. I try to explain the problem as cleary as possible:
I want to manage a jsp with two views: mainPage.jsp is a jsp with a tabbed
panel. In the tabbed panel I've two tabs. In each tab calls an action and
shows the resulting jsp correctly. Here's the code of mainPage.jsp tabbed
panel:
Hello. I have to implement a file upload. Togheter with it, the user have to
fill a form.
The form is like:
title
price
image
The user should fill the title and price field, upload an image and
then, clicking a submit button, send the form parameters to the action.
, in the end, all the data (image,
files, paramaters) available in the same action.. so what I thought to do is
to call different methods of the same action class via different action
names in struts.xml, each declaring a different method parameter..but I
guess I'm doing something wrong.
Paranoid_Fabio
ok. I've understood. Thank you very much
Paranoid_Fabio wrote:
Hello. I have to implement a file upload. Togheter with it, the user have
to fill a form.
The form is like:
title
price
image
The user should fill the title and price field, upload an image
/s:url
s:a href=%{en}
Paranoid_Fabio wrote:
Hi, i'm new to struts. I'm developing a web application and I can't
understand why parameters still in the url beetwen actions calls. I try to
explain it better (sorry for my poor english):
I call myAction?paramx=valuex and the url
if I used includeParams=none
Paranoid_Fabio wrote:
Hi, i'm new to struts. I'm developing a web application and I can't
understand why parameters still in the url beetwen actions calls. I try to
explain it better (sorry for my poor english):
I call myAction?paramx=valuex and the url becomes
Hello. I've the following problem I'm stuck with:
A tabbed panel with some divs:
s:tabbedPanel id=upload_options
s:url id=mu action=ManualContentUpload/
s:div id=one
key=ContentUploadMain.Option.1 theme=ajax
Hi, i'm new to struts. I'm developing a web application and I can't
understand why parameters still in the url beetwen actions calls. I try to
explain it better (sorry for my poor english):
I call myAction?paramx=valuex and the url becomes
.../myAction?paramx=valuex correctly.
Then, my new
?
Paranoid_Fabio wrote:
Hi, i'm new to struts. I'm developing a web application and I can't
understand why parameters still in the url beetwen actions calls. I try to
explain it better (sorry for my poor english):
I call myAction?paramx=valuex and the url becomes
.../myAction?paramx=valuex correctly
Yes. The first time i saw the errore message I thought the same. It was like
the content of the variable was the page itself, rather then the url. But I
checked it and I can assure you that the content of the variable is actually
the url, not the page itself.
Nils-Helge Garli wrote:
The
Hello. I've a problem whit redirect and i'm really going mad.
All i want to do is very simple.
I've an action that sends a post to a server. The server answer with a page
to
which i've to redirect the client.
When the server answer, i read the page in a buffer and i extract the url to
which i've
I solved the problem.. It was just a stupid error in a xml file :(
Thank you anyway for the advice.
Paranoid_Fabio wrote:
Yes. The first time i saw the errore message I thought the same. It was
like the content of the variable was the page itself, rather then the url.
But I checked
Hello. I'm a problem and i'm really going mad with redirect...
All i want to do is very simple.
I've an action that sends a post to a server. The server answer with a page to
which i've to redirect the client.
When the server answer, i read the page in a buffer and i extract the url to
which i've
Dave Newton newton.dave at yahoo.com writes:
See if s:url ... includeParams=none .../ helps.
You can also set that as a default.
I do agree with the other response that using the s:param.../ tag makes
things a little cleaner.
d.
Thank you. The problem of the growing parametes is
Hi everyone. I'm new to Struts and i'm developing a web application.
I've a page with 3 links. Every link call the doPurchase action, but each passes
a different amount.Here's the snippet of the jsp that calls doPurchase action
pspan style=font-size:8pt;a href=s:url
38 matches
Mail list logo