An Error Occurred:

/WEB-INF/templates/default.jspx: Problems calling function 'fb:tinyLink'

+ Stack Trace

javax.el.ELException: /WEB-INF/templates/default.jspx: Problems calling function 'fb:tinyLink'
	at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
	at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
	at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:298)
	at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
	at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300)
	at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query
	at ru.freebrothers.site.dao.TinyLinkDao.getAlwaysByUrl(TinyLinkDao.java:49)
	at ru.freebrothers.site.jsf.Functions.tinyLink(Functions.java:86)
	at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:110)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
	at com.sun.facelets.el.ELText$ELTextVariable.toString(ELText.java:174)
	at com.sun.facelets.el.ELText$ELTextComposite.toString(ELText.java:115)
	at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:49)
	... 36 more
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query
	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1235)
	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1168)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:250)
	at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getResultList(CriteriaQueryCompiler.java:260)
	at ru.freebrothers.site.dao.PersistenceUtil.getSafeSingleResult(PersistenceUtil.java:74)
	at ru.freebrothers.site.dao.TinyLinkDao.getByUrl(TinyLinkDao.java:21)
	at ru.freebrothers.site.dao.TinyLinkDao.getAlwaysByUrl(TinyLinkDao.java:35)
	... 45 more
Caused by: org.hibernate.exception.JDBCConnectionException: could not execute query
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:99)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.doList(Loader.java:2452)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192)
	at org.hibernate.loader.Loader.list(Loader.java:2187)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:241)
	... 49 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 639,853,148 milliseconds ago.  The last packet sent successfully to the server was 605,825,563 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
	at sun.reflect.GeneratedConstructorAccessor87.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1118)
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3321)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1940)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2275)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1869)
	at org.hibernate.loader.Loader.doQuery(Loader.java:718)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
	at org.hibernate.loader.Loader.doList(Loader.java:2449)
	... 57 more
Caused by: java.net.SocketException: Broken pipe (Write failed)
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3300)
	... 68 more

+ Component Tree

<UIViewRoot id="j_id1" inView="true" locale="en_US" renderKitId="HTML_BASIC" rendered="true" transient="false" viewId="/faces/passwordrestore.jspx">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/jsf/facelets /WEB-INF/schemas/facelets-ui-2.0.xsd"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="keywords" content="байкеры саратов, freebrothers, free brothers, freebrothers саратов, free brothers саратов"/>
<meta name="description" content="${title}"/> <meta name="abstract" content="${title}"/>
<meta name="google-site-verification" content="1s91IUM7cPtmqSNvuKI5G6eQrMNiHw8ma5CaYQ5IqhA"/> <meta name="yandex-verification" content="71a672c68067d860"/> <meta name="application-name" content="Мотоклуб Free Brothers MC Russia"/> <meta name="msapplication-starturl" content="http://www.fb64.ru/"/> <meta name="msapplication-tooltip" content="Официальный сайт Мотоклуба Free Brothers MC Russia"/> <meta name="msapplication-task" content="name=Главная страница; action-uri=http://www.fb64.ru;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Новости; action-uri=http://www.fb64.ru/page/novosti/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Фото; action-uri=http://www.fb64.ru/page/photo/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Форум; action-uri=http://www.fb64.ru/forum/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Гостевая книга; action-uri=http://www.fb64.ru/guestbook/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <link rel="shortcut icon" type="image/x-icon" href="/images/freebrothers.ico"/> <link rel="icon" type="image/ico" href="/images/freebrothers.ico"/> <title>${title}</title> <script type="text/javascript"> var contextPath = '${request.contextPath}'; </script> <script type="text/javascript" src="${fb:aCP('/js/common.min.js')}"/> <script type="text/javascript"> $(document).ready(function() { $.ajaxSetup({ url: "${request.contextPath}/logic/", global: true, type: "POST", contentType: "application/x-www-form-urlencoded; charset=utf-8" }); }); </script> <link rel="stylesheet" type="text/css" href="${fb:aCP('/css/common.min.css')}" media="screen"/> <link rel="alternate" type="application/rss+xml" href="${fb:aCP('/rss')}" title=""/>
<link rel="canonical" href="${canonical}"/>
<style type="text/css"> .cmenu { width: ${noMenu == null ? 25 : 100}%; text-align: left; vertical-align: top; padding-right: 8px; } .cpage { width: 75%; text-align: left; vertical-align: top; } </style> <script type="text/javascript"> function iLikeIt() { var myuri = encodeURIComponent(location.href); var cnt = $('#iLikeItWindow').html().replace(/###URI###/g, myuri); jQuery.fancybox(cnt, { 'overlayColor': "#000", 'opacity': 0.5, 'showCloseButton' : true, 'enableEscapeButton' : true }); } </script> </head> <body> <div class="road"> <a href="${fb:aCP('/')}"> <img src="${fb:aCP('/images/design/titleimage.jpg')}" width="960" height="130" alt="Free Brothers MC"/> </a>
<HtmlPanelGroup id="iLikeItWindow" inView="true" rendered="true" style="display: none;" transient="false">
<div style="width:400px; padding:8px; overflow:hidden;" class="popupWindow"> <h3>Поделись ссылкой с друзьями</h3> <p>Нажми на значки сайтов, на которых ты зарегистрирован. При этом откроется новое окно, в котором можно будет разместить у себя на стене, в избранном или еще где-нибудь (в зависимости от сайта) ссылку на эту страницу.</p>
<HtmlPanelGroup id="j_id10" inView="true" rendered="true" style="display:block; text-align:center; width:100%" transient="false">
<a href="http://vkontakte.ru/share.php?url=###URI###" target="_blank"> <img src="/images/social/vkontakte.gif" width="88" height="21" alt="ВКонтакте"/></a> <a href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=0&st._surl=###URI###" target="_blank"> <img src="/images/social/odnoklassniki.gif" width="130" height="21" alt="Одноклассники"/></a> <a href="http://connect.mail.ru/share?share_url=###URI###" target="_blank"> <img src="/images/social/moymir.gif" width="155" height="21" alt="Мой Мир@Mail.ru"/></a> <a href="http://www.livejournal.com/update.bml?event=###URI###&subject=${fb:encodeUrl(title)}${fb:encodeUrl(' : Мотоклуб Free Brothers MC Russia')}" target="_blank"> <img src="/images/social/livejournal.gif" width="79" height="21" alt="Живой Журнал"/></a> <a href="http://twitter.com/home?status=http://fb64.ru/t/${fb:tinyLink(pageContext.request.requestURI)}${fb:encodeUrl(fb:concat(' - ', fb:concat(title, ' : Мотоклуб Free Brothers MC Russia')))}" target="_blank"> <img src="/images/social/twitter.gif" width="83" height="21" alt="Twitter"/></a> <a href="http://www.facebook.com/sharer.php?u=###URI###" target="_blank"> <img src="/images/social/facebook.gif" width="78" height="21" alt="Facebook"/></a> <a href="http://www.google.com/buzz/post?url=###URI###&title=${fb:encodeUrl(title)}${fb:encodeUrl(' : Мотоклуб Free Brothers MC Russia')}&srcURL=http://www.fb64.ru/" target="_blank"> <img src="/images/social/buzz.gif" width="138" height="21" alt="Google Buzz"/></a>
<HtmlOutputText escape="false" id="j_id12" inView="true" rendered="true" transient="false" value="<g:plusone></g:plusone>"/>
</HtmlPanelGroup>
</div>
</HtmlPanelGroup>
<HtmlPanelGroup id="j_id14" inView="true" rendered="true" style="display:block; width: 900px; margin: 0 auto; text-align:right" transient="false">
<HtmlOutputText escape="true" id="j_id15" inView="true" rendered="true" transient="false" value="Приветствуем тебя, гость!"/>
<HtmlOutputText escape="true" id="j_id16" inView="true" rendered="true" transient="false" value=" "/>
<HtmlOutputLink disabled="false" id="j_id17" inView="true" rendered="true" transient="false" value="/register">
<HtmlOutputText escape="true" id="j_id18" inView="true" rendered="true" transient="false" value="Регистрация"/>
</HtmlOutputLink>
<HtmlOutputText escape="true" id="j_id19" inView="true" rendered="true" transient="false" value=" "/>
<HtmlOutputLink disabled="false" id="login" inView="true" rendered="true" title="Вход на сайт" transient="false" value="#loginform">
<HtmlOutputText escape="true" id="j_id20" inView="true" rendered="true" transient="false" value="Вход"/>
</HtmlOutputLink>
<HtmlPanelGroup id="j_id21" inView="true" rendered="true" style="display: none;" transient="false">
<HtmlPanelGroup id="loginform" inView="true" rendered="true" styleClass="popupWindow" transient="false">
<HtmlPanelGrid border="-2147483648" columnClasses="cellLeft,cellRight" columns="2" id="j_id22" inView="true" rendered="true" transient="false">
<HtmlOutputText escape="true" id="j_id23" inView="true" rendered="true" transient="false" value="E-mail"/>
<input type="text" name="email" id="email"/>
<HtmlOutputText escape="true" id="j_id25" inView="true" rendered="true" transient="false" value="Пароль"/>
<input type="password" name="password" id="password"/>
<HtmlOutputText escape="true" id="j_id27" inView="true" rendered="true" transient="false" value=""/>
<HtmlPanelGroup id="j_id28" inView="true" rendered="true" transient="false">
<input type="checkbox" name="donotremember" id="donotremember"/>
<HtmlOutputText escape="true" id="donotrememberlabel" inView="true" rendered="true" style="cursor:pointer" transient="false" value="Чужой компьютер"/>
</HtmlPanelGroup>
<HtmlOutputLink disabled="false" id="j_id30" inView="true" rendered="true" transient="false" value="/passwordrestore/">
<HtmlOutputText escape="true" id="j_id31" inView="true" rendered="true" style="white-space: nowrap;" transient="false" value="Я не помню пароль"/>
</HtmlOutputLink>
<HtmlPanelGroup id="j_id32" inView="true" rendered="true" style="display:block; vertical-align:middle; " transient="false">
<HtmlGraphicImage alt=" " height="16" id="j_id33" inView="true" ismap="false" rendered="true" transient="false" url="/images/blank.gif" value="/images/blank.gif" width="1"/>
<HtmlGraphicImage alt="loading..." height="16" id="loginLoader" inView="true" ismap="false" rendered="true" style="display: none;" transient="false" url="/images/ajax-loader-point.gif" value="/images/ajax-loader-point.gif" width="16"/>
<input type="button" value="Войти" id="loginButton"/>
</HtmlPanelGroup>
</HtmlPanelGrid>
</HtmlPanelGroup>
</HtmlPanelGroup>
<script type="text/javascript"> kpf = function(e) { if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { $('#loginButton').click(); return false; } else { return true; } }; $(document).ready(function() { $("#email").keydown(kpf); $("#password").keydown(kpf); $("#donotremember").keydown(kpf); $("#donotrememberlabel").click(function() { alert(1); if ($("#donotremember").is(':checked')) { $("#donotremember").attr("checked", false); } else { $("#donotremember").attr("checked", true); } }); $("a#login").fancybox({ overlayColor: "#000", titleShow: false, opacity: 0.5, onComplete: function() { $("#loginLoader").hide(); $("#password").val(""); if ($("#email").val() == "") { $("#email").focus(); } else { $("#password").focus(); } } }); }); $("#loginButton").click(function() { $("#loginButton").removeAttr("disabled") $("#loginLoader").fadeIn() $("#loginButton").attr("disabled", "true"); $.ajax({ type: "POST", url: "${fb:aCP('/logic/login')}", data: { email: $("#email").val(), password: $("#password").val(), donotremember: $("#donotremember").is(':checked') ? '1' : '0' }, success: function(data) { $("#loginLoader").hide(); $("#loginButton").removeAttr("disabled") processGenericResponse(data); }, error: function(xhr, textStatus, errorThrown) { $("#loginLoader").hide(); $("#loginButton").removeAttr("disabled") fancyAlert(textStatus + " " + errorThrown); }}); }); </script>
<HtmlOutputText escape="true" id="j_id36" inView="true" rendered="true" transient="false" value=" "/>
<HtmlOutputLink disabled="false" id="j_id37" inView="true" rendered="true" transient="false" value="javascript:iLikeIt()">
<HtmlOutputText escape="true" id="j_id38" inView="true" rendered="true" transient="false" value="Мне нравится!"/>
</HtmlOutputLink>
<HtmlOutputText escape="true" id="j_id39" inView="true" rendered="true" transient="false" value=" "/>
<HtmlOutputLink disabled="false" id="j_id40" inView="true" rendered="true" transient="false" value="/rss">
<HtmlGraphicImage alt="Лента RSS" height="16" id="j_id41" inView="true" ismap="false" rendered="true" style="vertical-align:top" transient="false" url="/images/design/rss.gif" value="/images/design/rss.gif" width="16"/>
</HtmlOutputLink>
</HtmlPanelGroup>
<HtmlPanelGroup id="j_id42" inView="true" rendered="true" style="display:block; width: 900px; margin: 0 auto; text-align:center" transient="false">
<HtmlPanelGrid border="-2147483648" columnClasses="cmenu,cpage" columns="2" id="j_id43" inView="true" rendered="true" transient="false">
<HtmlPanelGroup id="j_id44" inView="true" rendered="true" transient="false">
<HtmlOutputText escape="false" id="j_id45" inView="true" rendered="true" style="display:block" transient="false" value="Gadget Articlet crashed"/>
<HtmlOutputText escape="false" id="j_id46" inView="true" rendered="true" style="display:block" transient="false" value="Gadget Articlet crashed"/>
</HtmlPanelGroup>
<HtmlPanelGroup id="j_id47" inView="true" rendered="true" transient="false">
<HtmlPanelGroup id="j_id48" inView="true" rendered="true" style="display:block; width:100%; padding: 2ex 0 2ex 0;" transient="false">
<div id="restoreForm">
<HtmlPanelGrid border="-2147483648" columnClasses="cellLeft, cellRight" columns="2" id="j_id50" inView="true" rendered="true" transient="false">
<HtmlOutputText escape="true" id="j_id51" inView="true" rendered="true" style="white-space: nowrap;" transient="false" value="E-mail"/>
<input type="text" id="rstEmail"/>
<HtmlPanelGroup id="j_id53" inView="true" rendered="true" transient="false">
<HtmlPanelGrid border="-2147483648" columns="1" id="j_id54" inView="true" rendered="true" transient="false">
<img src="${fb:aCP('/captcha/')}${loginBean.captchaId}" alt="captcha" id="captcha" width="${globals.captchaWidth}" height="${globals.captchaHeight}"/>
<HtmlPanelGroup id="j_id56" inView="true" rendered="true" transient="false">
<a href="#" onclick="$('#captcha').attr('src', '${request.contextPath}/captcha/${loginBean.captchaId}?'+(new Date().getTime()))">
<HtmlOutputText escape="true" id="j_id58" inView="true" rendered="true" transient="false" value="другая картинка"/>
</a>
</HtmlPanelGroup>
</HtmlPanelGrid>
</HtmlPanelGroup>
<input type="text" id="rstCaptchaAnswer"/>
<HtmlOutputText escape="true" id="j_id61" inView="true" rendered="true" transient="false" value=" "/>
<HtmlPanelGroup id="j_id62" inView="true" rendered="true" style="display:block; vertical-align:middle; " transient="false">
<HtmlGraphicImage alt=" " height="16" id="j_id63" inView="true" ismap="false" rendered="true" transient="false" url="/images/blank.gif" value="/images/blank.gif" width="1"/>
<HtmlGraphicImage alt="loading..." height="16" id="rstLoader" inView="true" ismap="false" rendered="true" style="display: none;" transient="false" url="/images/ajax-loader-point.gif" value="/images/ajax-loader-point.gif" width="16"/>
<input type="button" id="rstSubmit" value="Напомнить пароль"/>
</HtmlPanelGroup>
</HtmlPanelGrid>
</div> <script type="text/javascript"> rstkpf = function(e) { if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { $('#rstSubmit').click(); return false; } else { return true; } }; $("document").ready(function() { $("#rstCaptchaAnswer").keydown(rstkpf); $("#rstEmail").keydown(rstkpf); $("#rstLogin").keydown(rstkpf); }); $("#rstSubmit").click(function() { $("#rstLoader").fadeIn() $("#rstButton").attr("disabled", "true"); $.ajax({ type: "POST", url: "${fb:aCP('/logic/passwordrestore')}", data: {email: $("#rstEmail").val(), captchaId: "${loginBean.captchaId}", captchaAnswer: $("#rstCaptchaAnswer").val()}, success: function(data) { $("#rstSubmit").removeAttr("disabled"); $("#rstLoader").hide(); if (data.result == "success") { fancyAlert2("Письмо с инструкциями по восстановлению пароля выслано на адрес " + $("#rstEmail").val(), function() { location.href = "${fb:aCP('/')}"; }); } else { if (data.result == "failure") { fancyAlert2("Неправильный логин, email или число с картинки", function() { window.location.reload(); }); } else { fancyAlert("Произошла внутренняя ошибка. Попробуй позже."); } } }, error: function(xhr, textStatus, errorThrown) { $("#rstLoader").hide(); fancyAlert(textStatus + " " + errorThrown); }}); }); </script>
</HtmlPanelGroup>
</HtmlPanelGroup>
</HtmlPanelGrid>
</HtmlPanelGroup>
</div> <p align="center">Copyright © Free Brothers MC Russia 2004 - ${globals.year}</p> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-11928008-5']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-11928008-7']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"> {lang: 'ru'} </script> </body> </html>
</UIViewRoot>

+ Scoped Variables

Request Parameters
NameValue
None
Request Attributes
NameValue
loginBeanru.freebrothers.site.beans.LoginBean@2218d6aa
prettyContextcom.ocpsoft.pretty.PrettyContext@1bc4858d
sessionBeanru.freebrothers.site.beans.SessionBean@35fbc6e
Session Attributes
NameValue
None
Application Attributes
NameValue
csfcffcom.sun.faces.context.flash.ELFlash@1a42533a
globalsru.freebrothers.site.beans.GlobalsBean@1b594584
proxyru.freebrothers.site.beans.PrettyFacesProxyBean@6301d9c7
Feb 24, 2018 9:20:14 AM - Generated by Facelets