RE: referencing javascript files from (action) jsp file
Thank you, this works. I would like to draw your attention to possible problems with the struts head tag. See below. Domain Security Administrator: Pas gebruiker aan " rel="stylesheet" type="text/css"> " type="text/javascript"> " type="text/javascript"> is converted into: Domain Security A
Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 -Post-Redirect-Get aka Redirect after post
My experience make portlet the ioc inside s2 conflicted with spring inside liferay Perm mem eror show Any idea all? /m/ -Original Message- From: Alberto Gallardo Date: Thu, 14 Oct 2010 19:00:01 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: struts2
Re: referencing javascript files from (action) jsp file
Hi guys: looks like a better choice. I will try it in my project. Thanks~~~ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Encoding in
On Thu, Oct 14, 2010 at 5:40 PM, Antonio Sánchez wrote: > My tag is not encoding Spanish > characters. In this case "myvalue" is a literal string from java source. > > String myValue = "EspaÑa"; > > I have: <%...@page contentType="text/xml; charset=UTF-8" > pageEncoding="UTF-8"%> > > My local htt
Encoding in
Hello. My tag is not encoding Spanish characters. In this case "myvalue" is a literal string from java source. String myValue = "EspaÑa"; I have: <%...@page contentType="text/xml; charset=UTF-8" pageEncoding="UTF-8"%> My local http client outputs: "EspaÑa". And: "Content-Type: text/xml;charse
Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post
> Maybe this is related (although old): > http://issues.liferay.com/browse/LEP-1487 Thanks a lot! This is exactly what I was looking for. Now it works like a charm! :-) By the way, my solution did not work. I was now facing the next problem with the ActionResponse.redirect() in ActionSupport.exe
Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post
Maybe this is related (although old): http://issues.liferay.com/browse/LEP-1487 Nils-H On Thu, Oct 14, 2010 at 6:25 PM, Nils-Helge Garli Hegvik wrote: > I believe it is up to the container how the event -> render transition > is implemented. I don't think there's any guarantee that it's actualy
Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post
I believe it is up to the container how the event -> render transition is implemented. I don't think there's any guarantee that it's actualy a redirect. If you have several portlets on the page, you could check that the transition is ok by clicking on a an action/link in a different portlet, and se
Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post
Hi, > Have you looked at the portlet sample app? It has a few portlet PRG > examples. Try deploying it in Liferay and see if it works as expected. I guess you mean the portlet sample in https://cwiki.apache.org/confluence/display/WW/Struts+2+Portlet+Tutorial Yes, I tried it and tried to debug th
Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post
Hi, Have you looked at the portlet sample app? It has a few portlet PRG examples. Try deploying it in Liferay and see if it works as expected. Nils-H On Thu, Oct 14, 2010 at 5:52 PM, Alberto Gallardo wrote: >>> couldn't get the Post-Redirect-Get (PRG) working. The >> type="redirectAction"> does
Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post
>> couldn't get the Post-Redirect-Get (PRG) working. The > type="redirectAction"> does not translate into a browser redirection. I couldn't make this working, but... > I've tried to debug the code, and only could find following method > implementation, that suggest me that an http redirection > _
Re: referencing javascript files from (action) jsp file
I'd vote for using JSTL: when standard functionality overlaps with something you implement yourself, it's always better to opt for standard functionality. It makes the JSP easier to understand for those unfamiliar with custom functionality implemented at the action level. Dave On Thu, Oct 14, 201
Re: referencing javascript files from (action) jsp file
Or you could simply use JSTL. The following works for me: "> /robert - Original Message - From: "Li Ying" To: "Struts Users Mailing List" Sent: Thursday, October 14, 2010 10:33 AM Subject: Re: referencing javascript files from (action) jsp file I suggest you to reference your r
Re: referencing javascript files from (action) jsp file
I suggest you to reference your resource file(js, image, css and so on) in this way: /path/filename.js"> The [] part will render the contextPath where the web application is deployed. The [contextPath] is a property defined in Action: public String getContextPath() { ret
Re: referencing javascript files from (action) jsp file
That is also a relative path. Non-framework physical files should be served using the context. Dave On Thursday, October 14, 2010, Alex Rodriguez Lopez wrote: > try it without the first / > > like > Guy Thomas, 14-10-2010 14:54: > > changed javascript paths as follows: > > > >
Re: referencing javascript files from (action) jsp file
try it without the first / likechanged javascript paths as follows:Domain Security Administrator: Pas gebruiker aan Re: referencing javascript files from (action) jsp fileWhat happens if you go at http://yourservername//js/util.js (and /js/domainsecurityadmin.js) Can you see those files? If yes, check their syntax. -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.o
RE: referencing javascript files from (action) jsp file
changed javascript paths as follows: Domain Security Administrator: Pas gebruiker aan Still does not work. -Oorspronkelijk bericht- Van: Dave Newton [mailto:davelnew...@gmail.com] Verzonden: donderdag 14 oktober 2010 15:42 Aan: Struts Users Mailing List Onderwerp: Re: referencing
Re: referencing javascript files from (action) jsp file
On Thu, Oct 14, 2010 at 9:36 AM, Guy Thomas wrote: > What am I doing wrong? > Using relative paths. Dave
Re: struts file tag "accept" attribute
Most of the browsers do not support accept attribute correctly. I fixed this in my application using some javascripts triggered on change. From: cellterry To: user@struts.apache.org Date: 14-10-2010 15:48 Subject: struts file tag "accept" attribute Dear all, I find that accept attribute
struts file tag "accept" attribute
Dear all, I find that accept attribute of struts file tag (s:file) seems to be not working. My code is: : : : : A file dialog is prompted, but there is no filter to image types jpeg. My struts core version is 2.1.8.1. Terry. -- View this message in context: http://old.nabble.com/struts-f