Hi,
Works fine! Thank you so much for your help!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Nested-form-model-refresh-tp4649877p4649910.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Hi Martin,
I called the function as u said.
But, still no success.
On session timeout wicket logs following lines:
[ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG
o.a.wicket.session.HttpSessionStore - Session unbound:
831D6D49C220E621761EC98C3B8943B6
[ContainerBackgroundProcessor[
Hi,
When a session times out Wicket clears the associated data as you
noticed from the logs.
PageExpiredException is being thrown only if the user tries to use a
page after the expiration.
For example by clicking on a Link or AjaxLink in such page.
On Wed, Jun 13, 2012 at 10:10 AM, vaibhav2012
Hi Martin,
Yes it's more correct to put this code "page = getExpirationPage()".
But my problem, when my session expire, I never pass in the "onException".
Have you an idea why?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Exception-when-Session-expired-tp4649854
Hi Martin,
Thanks for clearing my doubt.
But after session timeout, when i try to access any mounted page i am not
getting PageExpiredException.
I have bypassed the error page in my authorization strategy, and i dont feel
security settings are blocking this.
Please give some info.
-
Regards
Hi,
Without seeing some code I'm not able to tell you what is going wrong.
On Wed, Jun 13, 2012 at 10:31 AM, vaibhav2012 wrote:
> Hi Martin,
>
> Thanks for clearing my doubt.
> But after session timeout, when i try to access any mounted page i am not
> getting PageExpiredException.
>
> I have by
Read the conversation in thread "PageExpiredErrorPage not working" we
have at the moment.
On Wed, Jun 13, 2012 at 10:28 AM, sylvain
wrote:
> Hi Martin,
>
> Yes it's more correct to put this code "page = getExpirationPage()".
>
> But my problem, when my session expire, I never pass in the "onExcep
Hi,
I wanted to play around with wicket 6.0.0-beta2 and wicket-atmosphere, I
created a quickstart created a simple page which would display a number and
that number would come from a simple bean with a method scheduled to be
executed every X seconds which would push the new value to the EventBus.
Hi,
I will try to create a quick start for this and will post soon.
-
Regards,
Vaibhav Gupta
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PageExpiredErrorPage-not-working-tp4649905p4649918.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Hi,
Check what is different between your web.xml and atmosphere.xml and
the ones in wicket-examples.war.
The NPE is caused by not set org.atmosphere.cpr.BroadcasterFactory but
I'm not sure what exactly setups it.
On Wed, Jun 13, 2012 at 11:29 AM, theAnthony wrote:
> Hi,
>
> I wanted to play aro
Hi Martin,
I am attaching a quick start sample application related to my scenario.
The application is a secured web application.
I have mounted a "SignInPage" and two authenticated pages
"AuthenticatedPage1" and "AuthenticatedPage2".
"AuthenticatedPage1" and "AuthenticatedPage2" can be accessed
Hi,
I have two problems with my progressbar.
1. It does not show up if I use AjaxButton or AjaxSubmitLink. I dig the
archives, set setOutputMarkupPlaceholderTag(true) for progressbar but it did
not help.
If I change it to then it shows up.
2. If I try to upload a file from a shared folder at
Hi,
You may also try
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/progressbar-parent
http://repo1.maven.org/maven2/org/wicketstuff/wicketstuff-progressbar/
On Wed, Jun 13, 2012 at 12:59 PM, Sandor Feher wrote:
> Hi,
>
> I have two problems with my progressbar.
>
> 1. It does no
I think I had the same problem and was able to overcome it by adding
atmosphere.xml file in src/main/webapp/META-INF and changing the web.xml.
Both I took from the wicket examples.
atmosphere.xml looks like this:
web.xml defines atmosphere servlet instead of default wicket filter:
Atmospher
Hi,
I'm using the FileUpload Component. The component creates temporary files
"uploadtmp".
I set some breakpoints to see what happens.
In DiskFileItem i can see that the File is added to the FileCleaner:
FileCleaner.track(tempFile, this);
but the File never gets removed from Disk.
I also a
Hi,
I don't remember how 1.4.x works exactly in this code but for 1.5 we
improved it by creating an interface
org.apache.wicket.util.file.IFileCleaner which is configured in
org.apache.wicket.settings.IResourceSettings#setFileCleaner().
By default it uses Apache-Commons FileCleaningTracker which
You will need the atmosphere.xml, although I don't think you'll get an NPE
when that file is missing. The NPE is probably caused by a misconfiguration in
your web.xml. As suggested, the examples are a good starting point. The
BroadcasterFactory is setup from the init method of the AtmosphereServ
Thanks for your reply Martin!
After i declared the commons FileCleaner interface in my web.xml the file
was removed after my session timed out. Obviously i was just to impatient.
It also went through the breakpoint in the reaper thread.
I thin this functionality is enough for my needs.
Thank you
Hi,
Just replace BookmarkablePageLink with Link:
// add(new BookmarkablePageLink("auth2",
AuthenticatedPage2.class));
add(new Link("auth2" ) {
@Override
public void onClick()
{
Hi,
Looks very nice. But how attach my uploadfield to
// Get current progress from page field
@Override
protected Progression getProgression()
{
return new Progression(progress, "Item " +
ite
I see that this indeed is not something easy to achieve ... :-/
See the code in
org.apache.wicket.extensions.ajax.markup.html.form.upload.UploadStatusResource#getStatus()
It uses:
final HttpServletRequest req =
(HttpServletRequest)attributes.getRequest().getContainerRequest();
UploadInfo info = Mu
Hello,
In case anyone else is encountering this problem when migrating from 1.4 to
1.5, I solved it by overriding delegateSubmit in my form:
public static enum SubmitOrder {
> /** Submit form submitter before forms (1.5 Default) */
> OUTSIDE_IN,
> /** Submit form submitter after forms (1.4 Defaul
Thank you very much, Thomas, I was struggling with exactly this problem
for a couple of hours yesterday... I think this should be changed back
or at least be configurable in the next versions !
Cheers,
Stefan
Am 13.06.2012 17:14, schrieb Thomas Heigl:
Hello,
In case anyone else is encounteri
How can I add a component (submitLink) multiple times?
like this:
List categories = Arrays.asList("English", "Japanese", );
for (String str : language)
{
form.add(new SubmitLink("Name",str)
{
@Override
public void onSubmit() { ...}
}
}
and HTML:
How can I add a component (submitLink) multiple times?
like this:
List categories = Arrays.asList("English", "Japanese", );
for (String str : language)
{
form.add(new SubmitLink("Name",str)
{
@Override
public void onSubmit() { ...}
}
}
and HTML:
#
Any id
How can I add a component (submitLink) multiple times?
like this:
List categories = Arrays.asList("English", "Japanese", );
for (String str : language)
{
form.add(new SubmitLink("Name",str)
{
@Override
public void onSubmit() { ...}
}
}
and HTML:
#
I don't know exactly what you are trying to do, but you could have a look at
RepeatingView.
-Tom
On 13.06.2012 at 19:23 oliver.stef wrote:
> How can I add a component (submitLink) multiple times?
>
> like this:
>
> List categories = Arrays.asList("English", "Japanese", );
>
> for (S
Hello,
No, your code is not correct. You should use some kind of repeaters, like
ListView:
https://cwiki.apache.org/WICKET/listview-and-other-repeaters.html
2012/6/13 oliver.stef
> How can I add a component (submitLink) multiple times?
>
> like this:
>
> List categories = Arrays.asList("Engli
I have an AjaxCheckBox; when selected, several components get hidden,
otherwise the extra components are shown.
It works, but several times, when selecting the AjaxCheckBox, the extra
components go away correctly, but the value of the AjaxCheckBox quickly
changes from selected *back* to non-select
Actually, the solution I found is to do this in the AjaxCheckBox's
onUpdate():
*arg0.addComponent(this);*
This works - the checkbox always returns to the correct value after
switching it. But what could possibly lead to this? Why would there be a
situation where I need to addComponent(this)?
--
Problem resolved - there was another large Ajax update from another component
that was interfering and hadn't finished yet.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxCheckBox-inconsistently-showing-state-value-tp4649941p4649943.html
Sent from the Users forum
Hi,
Use a repeater like ListView or RepeatingView around them.
On Wed, Jun 13, 2012 at 8:23 PM, oliver.stef wrote:
> How can I add a component (submitLink) multiple times?
>
> like this:
>
> List categories = Arrays.asList("English", "Japanese", );
>
> for (String str : language)
> {
> form.
Does anyone know if it's possible to have an error message in a feedback panel
"link" to the error that caused it? Such as the user has filled in a given
number of fields and puts in the wrong data in one field...an error message is
presented in a feedback paneluser clicks on the error me
Hi,
I found this problem in Wicket 1.4.20 if cookies are disabled.
If there is used a stateless resource then no jsessionid is rendered. It
is removed on the line 390 of the class WebRequestCodingStrategy. I hope
this is OK.
Once the browser makes a request to this resource, then there is
The graph database is a kind of NoSQL database that uses graph structures
with nodes, edges, and properties to represent and store information.
General graph databases that can store any graph are distinct from
specialized graph databases such as triplestores and network databases.
Thanks.
Regards,
Hi
What happened to IClusterable interface? It's missing both from jar
and from wiki page on migration :-)
Is it OK to simply replace it with Serializable?
--
Pozdrawiam / Best Regards
Rafal Krupinski
-
To unsubscribe, e-mail:
I've just changed wicket dependency from 1.5.6 to 6.0.0-beta2 and
s/IClusterable/Serializable/
...and this is what I got:
Unexpected RuntimeException
Last cause: Access denied to (static) package resource
com/hashnot/nbp. See IPackageResourceGuard
Root cause:
org.apache.wicket.request.resource.P
Finally I did it!
As jboss module I created 2 modules: wicket and wicketstuff. Configuration:
and
But I found that wickets
java.io.NotSerializableException: singlepagecrudform.index$GirlInfo
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at java.util.ArrayList.writeObject(ArrayList.java:570)
I don't know what java object index is, but it should implement
Serializable.
Hope this help.
William Bacchi.
Il 14/06/2012 0.43, ikharatin ha scritto:
java.io.NotSerializableException: singlepagecrudform.index$GirlInfo
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.j
Hi Martin,
Thanks alot :). That worked.
Just lil bit curious : I didn't see any PageExpiredException in the logs now
also. Why is that?
-
Regards,
Vaibhav Gupta
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PageExpiredErrorPage-not-working-tp4649905p4649955.ht
One of my page is a search page this sometimes gets stuck because the users
search criteria is time consuming and I get page map is still locked error.
To avoid this I want to modify this page to use a job to execute the search
in a thread and a timer to check every 5 second 's if search is complet
Hi,
It is moved from o.a.w.util to o.a.w.core.util package.
This was part of the fix for OSGi-friendliness.
And yes, it is OK to use java.io.Serializable instead.
IClusterable is a special interface for the integration with Terracotta.
On Thu, Jun 14, 2012 at 2:52 AM, Rafał Krupiński wrote:
> H
Hi,
Well done!
Let us know if there are any problems with this shared usage.
On Thu, Jun 14, 2012 at 4:57 AM, Илья Нарыжный wrote:
> Finally I did it!
> As jboss module I created 2 modules: wicket and wicketstuff. Configuration:
>
>
>
>
>
>
>
>
>
>
Hi,
You can extend FeedbackPanel and add a AttributeModifier("onclick",
"...") to the Label that is used for the feedback message.
Use plain JavaScript to focus the form component. This will be easier
and better for the user experience.
On Wed, Jun 13, 2012 at 11:04 PM, Carter, Isaac
wrote:
> Do
Hi,
Please create a quickstart and attach it to Jira.
Both 1.5.7 and 6.0.0-beta2 should behave the same way.
For some reason the mounted page doesn't match and Wicket tries to
serve this url with Resource mapper and thus it makes the security
check ...
On Thu, Jun 14, 2012 at 4:08 AM, Rafał Krupi
Hi,
Wicket creates temporary o.a.w.Session object only if Session.get() is
called during the request lifecycle.
Until you call Session().get().bind() no javax.servlet.HttpSession
will be created and Wicket's Session will be garbage collected at the
end of the request processing.
On Wed, Jun 13, 2
Hi,
You can put the search result (and the start of the search process)
into a Panel and wrap this with a AjaxLazyLoadPanel. Not sure about
the cancel thing.
At least you can have a look at the AjaxLazyLoadPanel for inspiration.
Regards
Bert
On Thu, Jun 14, 2012 at 7:34 AM, fachhoch wrote:
> On
48 matches
Mail list logo