Re: Exception thrown when refreshing the page.

2014-04-02 Thread Sven Meier
(HibernateFilter.java:24)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: An error occurred while getting the
model object for Component: [Component id = firstName.feedback, page =
com.fanminder.merchant.app.fans.signup.FanSignUpPage, path =
26:webSignUpForm:firstNamePnl:firstName.feedback.Label, isVisible = true,
isVersioned = true, markup = [markup =
file:/home/Projects/project/source/rebrand_new/new-project/merchant-frontend/target/project-frontend-2.0-SNAPSHOT/WEB-INF/classes/com/merchant/app/fans/signup/FanSignUpPage.html
, index = 0, current =  '' (line 0, column 0)]]
at 
org.apache.wicket.Component.getDefaultModelObject(Component.java:1632)
at
org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1655)
at
org.apache.wicket.markup.html.basic.Label.onComponentTagBody(Label.java:131)
at
org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)
at 
org.apache.wicket.Component.internalRenderComponent(Component.java:2551)
... 59 more
Caused by: org.apache.wicket.WicketRuntimeException: No get method defined
for class: class java.lang.String expression: feedback
at
org.apache.wicket.core.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:502)
at
org.apache.wicket.core.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:344)
at
org.apache.wicket.core.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:247)
at
org.apache.wicket.core.util.lang.PropertyResolver.getValue(PropertyResolver.java:97)
at
org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:86)
at 
org.apache.wicket.Component.getDefaultModelObject(Component.java:1627)
... 63 more

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Exception-thrown-when-refreshing-the-page-tp4665212.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Exception thrown when refreshing the page.

2014-04-02 Thread chathuraka.waas
Hi,

i got it fixed by using the following code.

fragment.add(new FormComponentFeedbackLabel(firstName.feedback,
firstName));

but now when i refresh the page instead of clearing the text field values
they are retained. and any error message i've appended is also retained. 

how can i  fix this issue now?


Best Regards, 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Exception-thrown-when-refreshing-the-page-tp4665212p4665218.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Exception thrown when refreshing the page.

2014-04-01 Thread chathuraka.waas
)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: An error occurred while getting the
model object for Component: [Component id = firstName.feedback, page =
com.fanminder.merchant.app.fans.signup.FanSignUpPage, path =
26:webSignUpForm:firstNamePnl:firstName.feedback.Label, isVisible = true,
isVersioned = true, markup = [markup =
file:/home/Projects/project/source/rebrand_new/new-project/merchant-frontend/target/project-frontend-2.0-SNAPSHOT/WEB-INF/classes/com/merchant/app/fans/signup/FanSignUpPage.html
, index = 0, current =  '' (line 0, column 0)]]
at 
org.apache.wicket.Component.getDefaultModelObject(Component.java:1632)
at
org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1655)
at
org.apache.wicket.markup.html.basic.Label.onComponentTagBody(Label.java:131)
at
org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)
at 
org.apache.wicket.Component.internalRenderComponent(Component.java:2551)
... 59 more
Caused by: org.apache.wicket.WicketRuntimeException: No get method defined
for class: class java.lang.String expression: feedback
at
org.apache.wicket.core.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:502)
at
org.apache.wicket.core.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:344)
at
org.apache.wicket.core.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:247)
at
org.apache.wicket.core.util.lang.PropertyResolver.getValue(PropertyResolver.java:97)
at
org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:86)
at 
org.apache.wicket.Component.getDefaultModelObject(Component.java:1627)
... 63 more

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Exception-thrown-when-refreshing-the-page-tp4665212.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org