Guys,
someone has soem experience with the nice JmxPanel describe here?
http://chillenious.wordpress.com/2007/08/29/jmx-wicket-panel/
Adding a JmxPanel instance to my page I always get the following EMPTY panel
..
Any ideas ?
Thanks.
// Paolo
but if that was indeed what was happening to him wouldnt there be
stack traces in the log?
-igor
On Wed, Apr 16, 2008 at 11:55 PM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> 1 of our finally blocks calls first a response.close() without
> try/catch around that and then unset the threadlocals,
in some i seen parts of it in one or 2 mails
But maybe those are not logged somehow or looked over i dont know
johan
On Thu, Apr 17, 2008 at 9:18 AM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> but if that was indeed what was happening to him wouldnt there be
> stack traces in the log?
>
> -igo
yes, well. hopefully for 1.5 we consolidate all these into just one
threadlocal, and one try/finally in filter should take care of this
mess for good.
-igor
On Thu, Apr 17, 2008 at 12:28 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> in some i seen parts of it in one or 2 mails
> But maybe tho
On Wed, 16 Apr 2008 16:16:36 +0200
"Frank Bille" <[EMAIL PROTECTED]> wrote:
> tester.createRequestCycle() (or something). Though I thought it was
> called for you in startPage. It's good that we will take a look at it
> for WNG.
Thanks for your answer!
I'm sorry, but I can't figure out how to use
Johan Compagner wrote:
be aware that keeping references to http session attributes is not always a
good thing
especially in clustering or restarts of a server (with a nice shutdown, so
sessions are saved to disk, then you loose your map)
Great points, I guess there are no good way. Especia
Hi!
I need to log every request (session id, ip address, user id, url, response
time etc) into db.
The code is simply:
RequestCycle requestCycle = RequestCycle.get();
HttpServletRequest servletRequest =
((WebRequest)requestCycle.getRequest()).getHttpServletRequest();
Adm
you could do that in your own WebRequestCycle subclass in the
onBeginRequest method.
Gerolf
On Thu, Apr 17, 2008 at 10:12 AM, Artur W. <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I need to log every request (session id, ip address, user id, url,
> response
> time etc) into db.
>
> The code is simpl
Hi,
I am extending the PagingNavigatation and need to access some member
variables to create my page links. Because these links are created in
PagingNavigatation's constructor me subclasses newPagingNavigationLink()
method is called before my subclasses member variables are initialised. I
reali
Which version of oc4j are you using ?
I (am forced to run :-) ) run a 1.3.2 on a oc4j 10.1.2.2.0 without any
problems.
It's rather small, just a viewer and no editing, but it's working with
WicketFilter.
regards,
tom
Igor Vaynberg schrieb:
from what i remember, filter support is broken
Hi,
I have made a toolbar for a DataTable that let's the user select how many
records will be in a page.
Usage:
addBottomToolbar(new NumRecordsToolbar(this, rowsPerPage));
Enjoy :)
--
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
--
Gerolf Seitz wrote:
>
> you could do that in your own WebRequestCycle subclass in the
> onBeginRequest method.
>
Thanks, This was exactly what I was looking for!
Artur
--
View this message in context:
http://www.nabble.com/Logging-every-request-into-db-tp16740900p16743061.html
Sent from th
John Patterson wrote:
>
> Hi,
>
> I am extending the PagingNavigatation and need to access some member
> variables to create my page links. Because these links are created in
> PagingNavigatation's constructor me subclasses newPagingNavigationLink()
> method is called before my subclasses mem
PaginNavigation is not setup properly for extending, we are aware of
this and probably will fix it in wicket 1.5. in the meantime you could
try and copy paste the classes into your own project and then modify
them.
Maurice
On Thu, Apr 17, 2008 at 12:14 PM, John Patterson <[EMAIL PROTECTED]> wrote
Ehm, Attachments are filtered from the list :)
Maurice
On Thu, Apr 17, 2008 at 12:23 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> Hi,
> I have made a toolbar for a DataTable that let's the user select how many
> records will be in a page.
>
> Usage:
> addBottomToolbar(new NumRecordsToolbar(this, r
we want to handle session expiration exception triggered by an ajax request
since the session is expired, the ajax request can't be forwarded to the
corresponding ajax behavior, instead, the server throw session expiration
exception
(we have configured the handling by
getApplicationSettings().se
I have done this, and it works quite nicely.
Be warned though, the biggest bottle neck in this, is the loading of the
data from database.
So for best performance, you should read only one page's worth data at a
time from your DB
(in your case 500).
If you load the whole data, and use some thing
Hi,
I've also read about plans to use wicket integration in Hippo Cms and I will
keep an eye on it. I've also managed to access OpenCms content with wicket but
because we have a lot of JSP that we would like to reuse and we contemporary
need a solid frontend framework integration we will - as a
Download the jmx panel source code and add an empty DIV element before the
the JmxPanel.html
here's patch, (you need stuff between --START and -- END )
svn diff src/main/java/org/wicketstuff/jmx/markup/html/JmxPanel.html
-- START
Index: src/main/java/org/wicketstuff/jmx/markup/html/JmxPanel
Hello ev'ry body,
First, I apologize for my poor English.
I want to know how to perform a link test in JUnit. This is my code :
Final List values = ;
Link myButton = new Link ( "back") (
Private static final long serialVersionUID = 1L;
@ Override
Public void onClick () (
SetResponsePage (New
igor.vaynberg wrote:
>
> you can replace any panel with any other panel. so maybe instead of
> modeling your app as pages you can model it as panels
>
> -igor
>
Yeah, but how do I then change a panel referenced in the HomePage class
markup from another XXXPage class markup?
John
--
View thi
Ok.
Here is the code:
package com.eurekify.web.components.table;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.form.AjaxFormComponentU
Using jpa you can do it this way:
private BaseEntity findById(String table, Long id) {
Query query = entityManager.createQuery("select p from " + table
+ " p where p.id=" + id);
return (BaseEntity) query.getSingleResult();
}
private List findBaseEntity(int
Has anybody done this? OR perhaps written a forum app in wicket?:))
I've been looking a bit around, but only thing which seems okay are
jforum...
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---
In Hibernate, couldn't you just use get(Class entityClass,
Serializable id) rather than doing the whole uniqueResult() stuff?
On Thu, Apr 17, 2008 at 9:09 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> Using jpa you can do it this way:
>
>private BaseEntity findById(Str
Oracle IAS 10.1.3.1.0. We had a product in spring hibernate JPA and wicket (+
ext-js). We deployed in many web/app server but this was the first time we
deploy to oc4j (due to client's requirements hooking up to oc4j sso).
WicketFilter doesnot work so we switched to WicketServlet and everything
Right after I got onto my bike to ride home I realized the same thing
you did: it sounds like there's no need for the request cycle -- just
look for the token upon session creation (and maybe again if there's a
subsequent request for a not-yet-validated session).
But then there's the logout
Nino Saturnino Martinez Vazquez Wael schrieb:
Has anybody done this? OR perhaps written a forum app in wicket?:))
I've been looking a bit around, but only thing which seems okay are
jforum...
i have a problem, and jforum is what i´ve found. not sure yet, if it
could be reasonably pimped to w
i believe this is fixed in svn. you can either install a snapshot or
wait for 1.3.4
-igor
On Thu, Apr 17, 2008 at 3:17 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> Hi,
> I recently got a few times a StackOverFlow exception when refreshing.
> I have an iframe (don't ask why, this is how they chose
fixed in trunk for 1.4, i will fix in 1.3.x later today when i can get
to my desktop.
https://issues.apache.org/jira/browse/WICKET-1548
-igor
On Thu, Apr 17, 2008 at 3:54 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> PaginNavigation is not setup properly for extending, we are aware of
> thi
dont get you, maybe you can show a more concrete usecase
-igor
On Thu, Apr 17, 2008 at 5:43 AM, byhisdeeds <[EMAIL PROTECTED]> wrote:
>
>
>
> igor.vaynberg wrote:
> >
> > you can replace any panel with any other panel. so maybe instead of
> > modeling your app as pages you can model it as pa
Hello,
I'm trying to get tomcat and wicket to pick up changes to html files
and reload them. I thought this was the default behavior of wicket.
I'm wondering if it's not working because I'm keeping my html files in
a separate location than beside my java classes:
public class MyApp extends WebApp
This was taken from an example I don't remember where from.
Probably Java thoughts ... but I'm not sure.
package com.eurekify.web.components.dropdown;
import java.io.Serializable;
import java.util.List;
import org.apache.wicket.MarkupContainer;
import org.apache.wicket.ajax.IAjaxIndicatorAware;
Thank you Ryan and Gerolf.
I also came across this useful post for anyone reading this thread ...
http://www.jroller.com/wireframe/entry/wicket_autocomplete_text_field
-Andy
--
View this message in context:
http://www.nabble.com/Override-IE-AutoComplete-with-Wicket%27s-AutoCompleteTextField-t
Is you application running in development mode?
This feature is turned off by default in deployment mode.
Maurice
On Thu, Apr 17, 2008 at 5:14 PM, Geoffrey Gallaway <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to get tomcat and wicket to pick up changes to html files
> and reload them. I
Hi,
I have to show a table where the number of columns and
their titles are Dynamic. And since there could be hundreds of columns,
how can I do paging by columns and/or paging by rows.
Thanks,
Liza
--
View this message in context:
http://www.nabble.com/Dynamic-DataTable-columns%2C--paging-
Yes, the application is in development mode (as evidenced by the
"WARNING: Wicket is running in DEVELOPMENT mode.").
On Thu, Apr 17, 2008 at 11:32 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> Is you application running in development mode?
> This feature is turned off by default in deployment
And the address for Jayway dk are:
jakob danefærdsvej 6b
Frederikssberg
You can still sign up btw:)
http://cwiki.apache.org/confluence/display/WICKET/Community+meetups
Guðmundur Bjarni wrote:
Hey Nino,
I just saw this message now. I signed up myself and a friend of mine who is
quite intere
you will have to roll your own component. i would take a look at how
datatable works: it is basically a repeater (for columns) inside
another repeater(for rows)
-igor
On Thu, Apr 17, 2008 at 9:36 AM, liza6218 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have to show a table where the number of col
Thanks for all the quick help!
I am communicating with a back-end RESTful web service that I've designed
myself, so paginating the data from the repository is actually no problem.
But it's cool to see the sample DB code, and I'm sure others will find it
useful when they search the mailing list
Do i need to retain this in the RequestCycle at the first place ? I mean i
can just fetch the token from the request object itself..in my CustomSession
constructor as follows :
public MyCustomSession(Request request)
{
super(request);
String authToken = request.getParameter("authT
Hello Ritesh.
You were correct, it was in a method called that returned a model
incorrectly.
Thanks very much for your input.
Bruce McGuire
-Original Message-
From: Ritz123 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 16 April, 2008 03:46 PM
To: users@wicket.apache.org
Subject: Re: No
It seems that the problem is that the ComponentStringResourceLoader
does not handle the MyApplication.properties (never mind what its
javadoc says). Instead the ClassStringResourceLoader does. It is
registered in the Settings constructor.
The ClassSRL ultimately delegates to super
return sup
Would a patch be useful for evaluating this? Essentially I'm talking about
1) adding get/setResourceNameIterator to IResourceSettings & Settings
2) calling Application.get().getResourceSettings().getResourceNameIterator()
from ResourceStreamLocator and ComponentStringResourceLocator
- Scott
On
it definitely works. don't know if it works with your own resource locator.
my suggestion: extract a quickstart app that demos the problem and attach it
to a jira bug.
Geoffrey Gallaway wrote:
>
> Hello,
>
> I'm trying to get tomcat and wicket to pick up changes to html files
> and reload th
my personal advice is to stick with wicket's default markup location. we
designed it this way for a lot of reasons you will eventually discover. the
old world way of placing resources is simply not a good idea.
Geoffrey Gallaway wrote:
>
> Hello,
>
> I'm trying to get tomcat and wicket to p
*https://issues.apache.org/jira/browse/WICKET-1550*
On Thu, Apr 17, 2008 at 7:48 AM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> file a bug in jira please
>
> -igor
>
> On Wed, Apr 16, 2008 at 6:52 PM, atul singh <[EMAIL PROTECTED]> wrote:
> > AbstractDefaultAjaxBehavior shows the ajax indicator e
Glad you liked it...That's actually my blog. =)
you may want to check out the updated version of the autocomplete wicket
components...
http://jroller.com/wireframe/entry/from_components_to_behaviors
On Thu, Apr 17, 2008 at 10:59 AM, ak <[EMAIL PROTECTED]> wrote:
>
> Thank you Ryan and Gerolf.
hi,
jforum is actually not so bad - rafael does a great job on it and it took some
inspiration out of his work. i think there is a complete rewrite undergoing for
v3.x (with some bigger sponsors as far as i have read).
if i'd had more time i would love to implement my own...
best regards, -
PhilipJohnson wrote:
>
> If anyone happens to have a link to sample code illustrating how these
> three classes work together, and could easily point me to it, I would be
> very appreciative!
>
I'm going to answer my own question to save current and future readers the
trouble:
http://wicketst
Hi,
I have a DropDownChoice in a form, with markup:
In my Form class, I add it like this:
add(new DropDownChoice("authors", new
PropertyModel(this.article, "articleAuthorId"),
acService.getAuthors(), new
ChoiceRenderer("authorDisplayName", "art
Use Long instead of long
On Thu, Apr 17, 2008 at 5:05 PM, Andrew Broderick
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a DropDownChoice in a form, with markup:
>
>
>
> In my Form class, I add it like this:
>
> add(new DropDownChoice("authors", new
> PropertyModel(this.articl
Gerolf,
thanks for the info..
Vatroslav
Gerolf Seitz wrote:
>
> it's fixed in trunk for 1.3.4 and 1.4M1
>
> Gerolf
>
> On Tue, Apr 15, 2008 at 12:25 PM, Vatroslav <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>> I've problem with AutoCompleteTextField with IE6 and Wicket
>> 1.3.3.installed
>> o
Yes, I remembered that - my problem was not drilling down into my model
properly to get the Boolean. Works now - thanks anyway for your input.
Michael
-Original Message-
From: Nick Heudecker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 16, 2008 7:11 PM
To: users@wicket.apache.org
Sub
I tried changing both the property being set by the DropDownChoice and the
property used in the Author class to Long, and it didn't make any
difference any help appreciated!
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gravener
Sent:
Hi!
I need to add Checkboxes to a listview and a way to check, uncheck all
checkboxes using a Link.
any pointers would be appreciated.
--
View this message in context:
http://www.nabble.com/checkboxes-and-Link-tp16757399p16757399.html
Sent from the Wicket - User mailing list archive at Nabbl
We use acegi for one purpose, and that is to authenticate and
authorize (AA) against our corporate SiteMinder server. We have
existing Spring-based applications that successfully auth against
SiteMinder via acegi.
We're starting a new project and are planning to use Wicket. It looks
as t
Hi!
Is there any way that I can get the the current URL from my wicket
application.
the getServletContext() let me get the real path but I want the url.
like http://localhost/myapplication/...
--
View this message in context:
http://www.nabble.com/Get-working-URL-tp16758219p16758219.html
S
This has to qualify as one of the most common questions on the list!
Hopefully, generics in 1.4 will make it more clear.
The items in your list have to be the same type as the value model (the
PropertyModel in your case). In your case, Wicket is complaining because
the PropertyModel returns a long
I'd like to get a custom look and feel just for the exception page, and
perhaps some behaviour too.
Unfortunately, instantiation of this class appears concreted into the
AbstractRequestCycleProcessor.respond(RuntimeException, RequestCycle).
There doesn't appear to be an elegant extension point f
you can reconstruct the url from the bits in httpservletrequest
((webrequest)getrequest()).gethttpservletrequest()
-igor
On Thu, Apr 17, 2008 at 5:12 PM, Mathias P.W Nilsson
<[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> Is there any way that I can get the the current URL from my wicket
> applicatio
I have found
https://issues.apache.org/jira/browse/WICKET-1357
And it's marked as invalid which is a bit annoying. Seems like a pretty
easy thing to expose.
I'm not sure why you would not allow override of this page.
Not all of us want to see an orange exception stack :) - we want corporate
blu
whats wrong with just subclassing requestcycle, overriding
onruntimeexception, and returning any kind of error page you want?
-igor
On Thu, Apr 17, 2008 at 5:40 PM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> I'd like to get a custom look and feel just for the exception page, and
> perhaps some
Thanks Igor
((WebRequest)
getRequest()).getHttpServletRequest().getRequestURL().toString() did the
trick!
--
View this message in context:
http://www.nabble.com/Get-working-URL-tp16758219p16758760.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
igor.vaynberg wrote:
>
> whats wrong with just subclassing requestcycle, overriding
> onruntimeexception, and returning any kind of error page you want?
>
> -igor
>
The app elegantly exposes other settings like pages for handling
AuthorizationException, PageExpiredException.
Both of these ext
because one page is meant for production use and another for
development. you dont want your end customers seeing your stacktrace
do you?
-igor
On Thu, Apr 17, 2008 at 6:26 PM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
>
> igor.vaynberg wrote:
> >
> > whats wrong with just subclassing requestc
Hi Wicket Community:
I'm new to Wicket - I'm using it to rebuild and enhance my www.ddpoker.com
website. So far I am very impressed with Wicket. I have two books - the
Wicket in Action MEAP early access edition and "enjoy web development with
wicket".
I'm looking for a complete list of all w
I'm creating my own DropDownChoice:
private class WeekdayChoice extends DropDownChoice {
public WeekdayChoice(String id,
IModel model) {
super(id, model, new
Model(new DateFormatSymbols().getWeekdays()));
On Thu, Apr 17, 2008 at 6:48 PM, Doug Donohoe <[EMAIL PROTECTED]> wrote:
>
> I'm looking for a complete list of all wicket markup (e.g., wicket-panel,
> wicket-child, wicket-exclude etc). I didn't find anything obvious via
> Google or the wiki. Am I missing something? As a newcomer, it would
Ok, what I have is...
protected IRequestCycleProcessor newRequestCycleProcessor() {
return new WebRequestCycleProcessor() {
@Override
public void respond(RuntimeException e, RequestCycle requestCycle) {
//get the original response page before calling the super method.
final
all,
i'm trying to move from wicket-1.3.0-rc2 to wicket-1.3.3. for some reason i
started having problems with DateTextField. it's displaying an error in java
script:
Line: 2072Error: Object doesn't support this property or method
it looks like the error comes from file: yuiloader-beta.js
l
ok...but you can just as simply do
class myrequestcycle extends webrequestcycle {
protected Page onRuntimeException(RuntimeExcepton e, Page cause) {
return new MyExceptionPage(e);
}
}
-igor
On Thu, Apr 17, 2008 at 7:03 PM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> Ok, what I have i
As far as I can see - this means double handling of some exceptions.
Ie, PageExpiredException and AuthirzationException which are handled in the
AbstractRequestCycleProcessor AFTER the override section.
I would have to explicitly exclude these types when i check the
RuntimeException - otherwise
My customers can be a middle man developer - consuming my product as
developers - these guys should see the strack trace - but it should be nice
and blue, have my headers, and some of my behaviour in it :)
I'd like to be able to style and customise exceptions on a page that has
scope to the excep
It looks like your model object is returning a String[], while the class is
expecting a List.
On Thu, Apr 17, 2008 at 8:51 PM, Michael Mehrle <[EMAIL PROTECTED]>
wrote:
> I'm creating my own DropDownChoice:
>
>
>
> private class WeekdayChoice extends DropDownChoice {
>
>
>
>
sounds to me like what you should do is simply subclass
webrequestcycleprocessor and override the entire
respondonruntimeexception() and ignore whatever is in the app
settings. simply return your own page that would inspect the user and
based on that display the general message and maybe the stackt
Guys,
I need some suggestions as to which of the above would be the right
framework for the the application i am currently working on..Some important
fact which would help are as follows :
1) All the pages in the application would be secure and hence would require
authentication.
2) There woul
Ok ill stay with what I have then because it will work when you enhance your
respond method :)
I do not think being able to skin or extend the ExceptionErrorPage is "so
custom" as to be unsupported, but I do have an ugly solution that works
around this shortcoming.
Rgds
Ned
igor.vaynberg wrot
the unusual part here is that you want a stacktrace page to be
outwards facing. 99% usecase is that it is reserved for development
mode only. that is why we have settings for this. we cant possibly
accomodate every possible usecase, add every possible option, it would
bloat the framework.
-igor
Hi Ywtsang,
Not an answer to your question, but you can also consider using a ajax
timer to keep the session alive.
For example as outlined in
http://chillenious.wordpress.com/2007/06/19/how-to-create-a-text-area-with-a-heart-beat-with-wicket/.
Regards,
Erik.
ywtsang wrote
> we want to han
Guys,
I need some suggestions as to which of the above would be the right
framework for the the application i am currently working on..Some important
fact which would help are as follows :
1) All the pages in the application would be secure and hence would require
authentication.
2) There w
Hi!
I have an user Form that is posted with AjaxFallbackButton. When the forms
gets submitted without error
I want to clear the form. How can I reset the form?
--
View this message in context:
http://www.nabble.com/Form-clear-tp16760778p16760778.html
Sent from the Wicket - User mailing list ar
82 matches
Mail list logo