Re: NoSuchMethodException: does not contain handler
Hi Li, We are submitting the http request through java script. Below is the code. function submitNewJournalAction(operation) { var url; if(operation==journalInformation) { url = '/finance/glui/dolphin.wss/newJournal?operation=loadPageDatalink_id=new-journal'; } if(operation==accountInformation) { url = '/finance/glui/dolphin.wss/newJournal?operation=loadAccountInfolink_id=new-journal'; } if(operation==supportDocumentation) { url = '/finance/glui/dolphin.wss/newJournal?operation=loadSupportingDocumentInfolink_id=new-journal'; } document.newJournal.action = url; document.newJournal.submit(); } And the server side code is an Action classes extnded by DispatchAction from Struts framework public ActionForward loadPageData(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse reponse) { log.debug(in Action); final String STRING_METHOD = loadPageData; NewJournalForm newJournalForm = (NewJournalForm) form; /* some bussines logic processing */ log.debug(end of Action); return mapping.findForward(Constants.STRUTS_FORWARD_FAIL_STRING); } Let us know if you need anything else. Thanks in advance. -- View this message in context: http://struts.1045723.n5.nabble.com/NoSuchMethodException-does-not-contain-handler-tp5061500p5079345.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
htmlEncode
Hi, Could someone explain to me what that means $!... ? input type=checkbox name=$!struts.htmlEncode($parameters.name) value=$!struts.htmlEncode($itemKey) and where can I find struts.htmlEncode ? StrutsUtil doesn't contain such method :/ Thanks in advance -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: htmlEncode
2011/12/16 Konstantin Priblouda kpriblo...@yahoo.com: In velocity it means silent referencing- write nothing in case it evaluates to null. Otherwise reference name is writen Ok, thanks! It's from FreeMarker Struts 2 tag so maybe it's the same. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: htmlEncode
http://freemarker.sourceforge.net/docs/dgui_quickstart_template.html#autoid_12 That was the only reference I found to it in the FM docs, although it's not quite the same. Where do you see that code? I couldn't find it in 2.3.1. 2011/12/16 Łukasz Lenart lukasz.len...@googlemail.com 2011/12/16 Konstantin Priblouda kpriblo...@yahoo.com: In velocity it means silent referencing- write nothing in case it evaluates to null. Otherwise reference name is writen Ok, thanks! It's from FreeMarker Struts 2 tag so maybe it's the same. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: htmlEncode
2011/12/16 Dave Newton davelnew...@gmail.com: http://freemarker.sourceforge.net/docs/dgui_quickstart_template.html#autoid_12 That was the only reference I found to it in the FM docs, although it's not quite the same. Where do you see that code? I couldn't find it in 2.3.1. My fault :D I was looking into checkboxlist.vm in core/src/main/resources/template/archive/simple :P Can we throw them away ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: htmlEncode
+1 from me; I'd like the next version (or the one after) to dump some cruft, reorganize some stuff to reflect current S2 best practices, etc. On Friday, December 16, 2011, Łukasz Lenart lukasz.len...@googlemail.com wrote: 2011/12/16 Dave Newton davelnew...@gmail.com: http://freemarker.sourceforge.net/docs/dgui_quickstart_template.html#autoid_12 That was the only reference I found to it in the FM docs, although it's not quite the same. Where do you see that code? I couldn't find it in 2.3.1. My fault :D I was looking into checkboxlist.vm in core/src/main/resources/template/archive/simple :P Can we throw them away ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: htmlEncode
W dniu 16 grudnia 2011 16:27 użytkownik Dave Newton davelnew...@gmail.com napisał: +1 from me; I'd like the next version (or the one after) to dump some cruft, reorganize some stuff to reflect current S2 best practices, etc. https://issues.apache.org/jira/browse/WW-3725 Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: [VOTE] Struts 2.3.1 Vote
2011/12/12 Łukasz Lenart lukasz.len...@googlemail.com: 2011/12/9 Martin Cooper mart...@apache.org: We used to post the test build, announce it, wait for a week to give people some time to try it out, and then call the vote, since the vote is time-limited. Did we stop doing that at some point, and only give people 3 days (i.e. the duration of the vote) to test now? As a follow up, I've added one more point to the Release guide [1], is it enough ? That looks fine, as long as everyone is in agreement. The question in my earlier message was just that - a question. The answer, after digging around in the archives, appears to be yes, we did stop doing that, quite some time ago, and somehow I never noticed until now. As far as I can tell, we didn't make a conscious decision to change; it just happened one time when somebody took on the release task. Nobody noticed, and we've kept doing it that way ever since. As for which way we do it going forward, it really depends on how quickly people - PMC members especially, but not only PMC members - feel they can test a new build. It is *very* important that people vote, and test prior to it, based on the actual bits posted by the RM; not their own build, or a recent snapshot they may have downloaded. If enough people believe they can pick up a new build immediately, incorporate it into their own environment, test it thoroughly, and then vote, all within 72 hours, then there shouldn't be a problem with continuing the way we have been. If that seems a bit tight, then we should leave some time for testing before calling the vote. -- Martin Cooper [1] https://cwiki.apache.org/confluence/display/WW/Building+Struts+2+-+Normal+release#BuildingStruts2-Normalrelease-Announceavailability Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org