Hi Richard,
I am also trying to integrate FCKEditor in Struts2.
Did you make any plugin for it?
I was going through Struts2 Mailing Lists and found that some people were
making a plugin for the same a few months back.
-Shantur
On Jan 29, 2008 2:10 PM, Julien RICHARD [EMAIL PROTECTED] wrote:
Hi All,
I am trying to get FCKEditor work with Struts2. I have read that some poeple
on list were making a Struts2 plugin for the same.
Does the plugin exist?
Thanks,
Shantur
hi,
where do you have these messages? is it in the .properties file? if its
in a property file i think it should be in UTF-8 and your jsp page
charset also should be in UTF8
Thanks,
Nuwan
(http://code.google.com/p/struts2-ssl-plugin/)
Raghuveer wrote:
I have an application that needs
Hi,
Why dont you check for a particular attribute you have added to the
session in your interceptor.
eg:- when a user login you add the attribute logedin to true.
session.setAttribute(logedin,true);
and in the incerceptor you check if its there or null, if its not
there or null
Please give me advices what would be the best approach in the struts 2 world
to realize a limited view (authorization).
In struts 1 I would have created a simple tag which is able to render it
childs dependent on
authorization of user, something like:
mytags:guard permission=write
... some
Hi,
I recommend to you should see *SessionInactivityFilter *on* *
http://javawebparts.sourceforge.net/ page for page rejection and forwarding
for session inactivity. However you must see to
*HttpSessionListener *for created and destroyed sessions.
Sample SessionCaptor:
/*
*
*/
public class
Hi there !
I have just visited this page :
http://www.easyuktest.co.uk/Yagoogle.html
Is it OK to use a company name this way ?
*
Working Together for a Better Tower Hamlets
Web site :
Hello
I have a following problem
I have an action defined, let's say:
public class SomeAction extends ActionSupport implements SessionAware{
private Map sessionMap;
@Override
public String execute() throws Exception {
return SUCCESS;
}
public
What You need to do, is to set correct page coding. It can be ISO-8859-2 or
UTF-8
Best regards
Piotr Falenczyk
raghuveerv wrote:
I have an application that needs to show messages coming from SAP in
polish
language.
What would be the changes in need to do for my web.xml,struts
Hi Martin,
Thanks for the reply. I didnt quite get what you are trying to say. My code is
exactly similar to the example you given except the implementation for method
public File getUpload(). In your example it return SUCCESS and ERROR which
are strings but it should return File. I have only
I miss the killer scam letter :-)
Antonio
2008/2/7, Jose Cardoso [EMAIL PROTECTED]:
Hi there !
I have just visited this page :
http://www.easyuktest.co.uk/Yagoogle.html
Is it OK to use a company name this way ?
--- [EMAIL PROTECTED] wrote:
private String fileName;//this is the FULL pathname with filename
Depending on the browser this may or may not have the full pathname.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
I just wanted to know if it is possible to have multiple s:form in one
jsp. Each of the forms submit to a diffrent action.
The problem I faced is that. If I place multiple forms in one jsp. The
initials forms closing tags are commented out when the tag is rendered.
Is this expected
Hi,
I just wanted to know if it is possible to have multiple s:form in one
jsp. Each of the forms submit to a diffrent action.
The problem I faced is that. If I place multiple forms in one jsp. The
initials forms closing tags are commented out when the tag is rendered.
Is this expected
Piotr Falenczyk [EMAIL PROTECTED] wrote:
I need to display all the names of Imports, and allow to edit every one of
them in one page. What I do now is somethin like that ion JSP. Displaying
values work just fine, but I canno't change them (not stored back in the
session)
s:iterator
--- Thomas Ramapuram [EMAIL PROTECTED] wrote:
I just wanted to know if it is possible to have multiple s:form in one
jsp. Each of the forms submit to a diffrent action.
The problem I faced is that. If I place multiple forms in one jsp. The
initials forms closing tags are commented out
In addition to the other suggestions posted you can also call the request's
isValidSessionId() method (or something like that).
Dave
--- jignesh.patel [EMAIL PROTECTED] wrote:
Hi,
I am having struts2 application with hibernate + mysql.I want to create
web app session Expired page,but i
Hi all,
In my JSP, i have three submit buttons, i want to know which button
user has clicked.
I tried from this site,
http://struts.apache.org/2.x/docs/html-form-buttons-howto.html
http://struts.apache.org/2.x/docs/html-form-buttons-howto.html
It's not working.
Give me
newton.dave wrote:
Piotr Falenczyk [EMAIL PROTECTED] wrote:
I need to display all the names of Imports, and allow to edit every one
of
them in one page. What I do now is somethin like that ion JSP. Displaying
values work just fine, but I canno't change them (not stored back in the
Hello
I have a S2 action working perfectly fine. But on one page of my web
App I would like the user to be able to download report in Excel. We
have this functionality in other pages as well but they arent using S2
and are doing this via a custom servlet which has doGet doPost and
I use wildcard mappings and Spring integration.
When a bad url is entered, no Spring bean is mapped and it results in an
exception page. I would like to swap this to a nice Sorry, this page does
not exist message.
However, the Exception Interceptor does not catch this, probably because it
Thomas Ramapuram wrote:
I just wanted to know if it is possible to have multiple s:form in one
jsp. Each of the forms submit to a diffrent action.
Just make sure they're not nested inside one another, and that no two
elements on the rendered page have the same id attribute.
-Dale
Hi,
You can use
s:submit value=Save method=save/
s:submit value=Update method=update/
s:submit value=Show method=show/
and Action class with three methods, the same like execute()
http://struts.apache.org/2.x/docs/submit.html
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
bhaarat Sharma wrote:
I think its better if i post some code.
This is the action mapping for
action name=\accessRequestReportResult\
class=\action.reports.AccessRequestReportResult\
result name=\showReport\/useradmin/AccessRequestReport.jsp/result
result
I think its better if i post some code.
This is the action mapping for
action name=\accessRequestReportResult\
class=\action.reports.AccessRequestReportResult\
result name=\showReport\/useradmin/AccessRequestReport.jsp/result
result name=\failure\login.jsp/result
result/result!--i
bhaarat Sharma wrote:
..what should my execute method be returning?
As always, it should return the name of the appropriate result (in this
case, the name of the result of type stream).
-Dale
-
To unsubscribe, e-mail:
just read the link you sent.
I cant make my execute method void because it is being used for
another page which requires it to send something back. :(
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Mike Jennings wrote:
You can do this by creating a custom result type.
Or you can use a result type that's already provided that does exactly
what you need.
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/StreamResult.html
How can i do the same in my
I was trying stuff out and i hve got it working perfectly.
Only thing is my that my execute is returning a SUCCESS when
everything is done. However I do not have any result in my
struts.xml for this action. since the user shouldnt be moved to
another page.
Now I am able to see open /save dialog
Thanks for that. that gives me a better idea to go about things + i
didnt know we can call methods from struts.xml
i implemented this but am getting this error
java.lang.ClassCastException: org.apache.coyote.tomcat5.CoyoteOutputStream
You can do this by creating a custom result type.
A example of a custom result type for streaming images from a action to
a img tag is here.
http://struts.apache.org/2.x/docs/how-can-we-display-dynamic-or-static-images-that-can-be-provided-as-an-array-of-bytes.html
You can use this as a
bhaarat Sharma wrote:
Thanks for that. that gives me a better idea to go about things + i
didnt know we can call methods from struts.xml
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/StreamResult.html
describes how that result works, stating taht the
We're using Struts 1.2.9 and the problem we're seeing is that if a user
tries to upload a file that does not exist or upload a file that exceeds
the maxFileSize attribute the FormFile object on the ActionForm is null
and so we cannot distinguish between the two.
We thought about removing the
What you need to do is provide the result with a source of the data
to be sent to the client.
and that data has to be in java.io.InputStream??
even if my getExcelStream method returns java.io.OutputStream...I
still get an exception
so what TYPE of data should getExcelStream be returning :(
Adam-
take a look at implementing FileUploadAction
http://jsourcery.com/api/apache/struts/2.0.6/org/apache/struts2/showcase/fil
eupload/FileUploadAction.html
M--
- Original Message -
From: Adam Gordon [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday,
bhaarat Sharma wrote:
What you need to do is provide the result with a source of the data
to be sent to the client.
and that data has to be in java.io.InputStream??
An InputStream is a source of data.
An OutputStream is a destination for data.
even if my getExcelStream method returns
--- Martin Gainty [EMAIL PROTECTED] wrote:
take a look at implementing FileUploadAction
http://jsourcery.com/api/apache/struts/2.0.6/org/apache/struts2/showcase/fil
eupload/FileUploadAction.html
Adam Gordon [EMAIL PROTECTED] wrote:
We're using Struts 1.2.9
Dave
I have a dynamic multi line collection of dates with a date converter doing its
job perfectly - populating dates or reporting conversion errors by field as it
should.
What I'm wondering is if it's possible to dynamically reference these fields
without providing individually fixed definitions
Hi I'm using Struts 1.2.9,
what i want is,
if it's failed on validation then the error message display on the same
page, but if the validation success then I want the result display in new
window.
Question:
how can I trigger open new window using Struts (I don't want to open new
window using
Dave Newton wrote:
--- Thomas Ramapuram [EMAIL PROTECTED] wrote:
I just wanted to know if it is possible to have multiple s:form in one
jsp. Each of the forms submit to a diffrent action.
The problem I faced is that. If I place multiple forms in one jsp. The
initials forms closing tags
--- Jeromy Evans [EMAIL PROTECTED] wrote:
The commenting effect is something one of the browsers does when viewing
invalid html (forget which browser). It comments out the html for nodes
that were impossible to include in the DOM. I've seen it when forms are
accidentally nested as the OP
http://wiki.apache.org/struts/OpenWindowFromAction
--
Frank W. Zammetti
Author of Practical Ajax Projects With Java Technology
(2006, Apress, ISBN 1-59059-695-1)
and JavaScript, DOM Scripting and Ajax Projects
(2007, Apress, ISBN 1-59059-816-4)
and Practical DWR 2 Projects
(2008, Apress, ISBN
Dave Newton wrote:
--- Jeromy Evans [EMAIL PROTECTED] wrote:
The commenting effect is something one of the browsers does when viewing
invalid html (forget which browser). It comments out the html for nodes
that were impossible to include in the DOM. I've seen it when forms are
43 matches
Mail list logo