Did you put the filter-mapping of the opensessioninviewfilter before the
wicketfilter? The order of filter-mapping definitions in web.xml is the
order in which the filters are executed.
- Lars
On Sun, May 4, 2008 at 7:01 PM, Mathias P.W Nilsson [EMAIL PROTECTED]
wrote:
I have session in view
2008/5/5 宁波新希望信息技术有限公司 -- 俞宏伟 [EMAIL PROTECTED]:
*Can you check which block is executed, the if or the else.
*the else block code will never execute after login in
True, it shouldn't but i am running out of ideas here.
Can you set a breakpoint in Component#render(MarkupStream) and check
what
Hello,
Is there anyone here try or trying to implement comet(server push concept)
on wicket?
Thanks a lot...Cheers
--
View this message in context:
http://www.nabble.com/Comet-and-Wicket-tp17053968p17053968.html
Sent from the Wicket - User mailing list archive at Nabble.com.
take a look at the wicketstuff-push project
freak182 wrote:
Hello,
Is there anyone here try or trying to implement comet(server push concept)
on wicket?
Thanks a lot...Cheers
-
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
We have moved our build server to run on teamcity. Our previous
software was not up to par. I have picked Teamcity because it was the
quickest to setup securely at 1am in the morning (yes I've looked at
hudson), several of the core committers use the product in their
companies and we don't have a
Please do. This would be very helpful.
In my former ( first ) wicket application I used dto's but I would like to
use detached hibernate objects instead for this project.
Your posts has been most helpful.
--
View this message in context:
include/get the context root and create the link with it.
johan
On Sun, May 4, 2008 at 7:59 AM, mfs [EMAIL PROTECTED] wrote:
Guys,
Am trying to create a link to a non-wicket filter in a wicket page, using
ExternalLink as follows but it doesn't work.
Here is what i have tried out..
new
thank you for response, but I need it for Form object - to get all
IFormValidator objects associated with the Form object - through
form.add(IFormValidator)
--
View this message in context:
http://www.nabble.com/way-to-traverse---get-all-form-validators-tp17020385p17054006.html
Sent from the
If I remember correctly, then take a look at AbstractAjaxTimerBehavior
because it has a fix for a IE error. Something with putting the
function in quotes or something.
Frank
On Thu, May 1, 2008 at 3:31 AM, Matthew Young [EMAIL PROTECTED] wrote:
Alright, that worked. Thanks!
On Wed, Apr 30,
Hello,
My testing so far is good, i just implement seriazable to the
PushTimerService so that it will not yell for ObjectSerialization...does
this work in Tomcat server,JBoss or other application server? or jetty only?
Michael Sparer wrote:
take a look at the wicketstuff-push project
What was the resolution? I am facing the same problem in my
application...using wicket 1.3.1.
Is it a problem in Wicket? If so, is there any workaround?
+Leena
Edvin Syse wrote:
The problem is still there and now it is getting serious for my business.
Would any of the core committers be
Martijn Dashorst schrieb:
it was the
quickest to setup securely at 1am in the morning (yes I've looked at
hudson),
damn, i was so gonna wave the hudson flag ;)
cu uwe
--
THOMAS DAILY GmbH
Adlerstraße 19
79098 Freiburg
Deutschland
T + 49 761 3 85 59 0
F + 49 761 3 85 59 550
E [EMAIL
I have tried solving this checking out Wicket in Action and some googling but
can not find where to look.
All components need an id. And the same in markup. My problem is the
following.
I need to add attributes to an item. example size, color.
What kind of attributes that is possible is
I have just started using Wicket, and I use Guice for bindings.
However, I got into a situation where private final fields initialized
directly would be null.
Here is the code in my WebApplication constructor:
addComponentInstantiationListener(new IComponentInstantiationListener() {
AFAIK i know it'll only work on jetty, as jetty is the only servlet container
that uses continuations ... but i might be wrong and the newer versions of
tomcat may support that as well... but i don't think that you can use then
the wicketstuff-push project
freak182 wrote:
Hello,
My testing
Use a ListView to iterate over the attributes, in the onPopulate you
then add your textfield.
If you also want to have the option to make for example a dropdown you
should create a panel for each attribute type and add those instead of
the textfield.
If your textfields require the fixed id of
the only thing we found was the finalize block that could be skipped because
of an exception again in that block
That is fixed in current 1.3.x branch (and 1.4)
On Mon, May 5, 2008 at 12:32 PM, Leena [EMAIL PROTECTED] wrote:
What was the resolution? I am facing the same problem in my
Hi,
I posted my problem in another thread but I manged to find the cause of the
exception.
We have a SecurityFilter that extends OncePerRequestFilter.
In web.xml we have this:
filter
filter-nameSecurityFilter/filter-name
But did it fix Edvin Syse his problem? The last thing he reported was that
his problem still persists.
I see this problem 10-20 times every day still..
-- Edvin
Lars
On Mon, May 5, 2008 at 1:41 PM, Johan Compagner [EMAIL PROTECTED]
wrote:
the only thing we found was the finalize block
I started getting these as soon as I have used latest wicket trunk in my
project:
Caused by: java.lang.IllegalArgumentException: converter can not convert
com.mobilebox.pfs.ranking.model.Sex to a string
at
This is constructor ordering issue. When constructing an object in Java, at
first the superclass constructor is executed and the object's own
constructor. Since the ComponentInstantionListener is executed by the *
superclass* of your Page, which will call your init method (annotated by
@Inject),
Use a ListView to iterate over the attributes, in the onPopulate you
then add your textfield.
Thanks! But the text field need a dynamic id. The name of the id is in
database and
there can be different amount of attribute headers for different sub
categories.
--
View this message in context:
On Mon, May 5, 2008 at 2:12 PM, lars vonk [EMAIL PROTECTED] wrote:
This is constructor ordering issue. When constructing an object in Java, at
first the superclass constructor is executed and the object's own
constructor. Since the ComponentInstantionListener is executed by the *
On Mon, May 5, 2008 at 2:26 PM, Mathias P.W Nilsson
[EMAIL PROTECTED] wrote:
Use a ListView to iterate over the attributes, in the onPopulate you
then add your textfield.
Thanks! But the text field need a dynamic id. The name of the id is in
database and
This is no problem, just use
we (matej) tested there solution locally but couldnt reproduce it at all
johan
On Mon, May 5, 2008 at 1:58 PM, lars vonk [EMAIL PROTECTED] wrote:
But did it fix Edvin Syse his problem? The last thing he reported was that
his problem still persists.
I see this problem 10-20 times every day
Ah, that explains it. I was under the assumption objects where created
using Class.forName().newInstance() or some such, then
instantiationListeners where run on them. Better put @Inject at the
field level for Guice
just curious.. how did you get to that assumption?
If you do in your code:
that is a wrong check yes
its removed.
On Mon, May 5, 2008 at 2:07 PM, Leszek Gawron [EMAIL PROTECTED] wrote:
I started getting these as soon as I have used latest wicket trunk in my
project:
Caused by: java.lang.IllegalArgumentException: converter can not convert
that is spring code not wicket.
and the javadoc of the doFilter methods tells enough
/**
* This codedoFilter/code implementation stores a request attribute
for
* already filtered, proceeding without filtering again if the
* attribute is already there.
* @see
Hi there, I am currently considering using wicket 1.3.3(and newer) with
liferay 5.
The site is going to be used for backend administration, standard CRUD
stuff.
How big a risk is it, using wicket portal and liferay?
Thanks
Thijs wrote:
Hi,
I'm working on getting wicket compatible with
my html code is
PRINT img/print.gif
i did not use any wicket code. i used only html and javascript
thanks-
---
Martin Makundi wrote:
Could you show the markup and the code?
Hi everybody,
I try to add a reset link for the rate to my RatingPanel.
I have done this :
# Reset rating
And in my class :
final RatingPanel rating = new RatingPanel(rating1, new
Model(),5,true){
Isn't this problem serious enough to release 1.3.4?
Regards,
Erik.
Johan Compagner wrote:
the only thing we found was the finalize block that could be skipped because
of an exception again in that block
That is fixed in current 1.3.x branch (and 1.4)
--
Erik van Oosten
Hi,
properties files are ALWAYS encoded with ISO 8859-1 encoding. Check the
javadoc for java.util.Properties for more info
Thomas
On Sun, Apr 27, 2008 at 11:35 AM, greeklinux [EMAIL PROTECTED] wrote:
Hello,
I have problems with german umlauts in a feedback panel.
I define the error
Hi!
I will check out the Object that was posted thanks!
Yes I put the opensessioninview filter before.
I think the problem is this.
Lets say I list all of my items in one page.
Name, Description
TestName, TestDescription
When clicking the name link I do the following
setResponsePage( new
On Mon, May 5, 2008 at 9:58 AM, Mathias P.W Nilsson
[EMAIL PROTECTED] wrote:
Hi!
I will check out the Object that was posted thanks!
Yes I put the opensessioninview filter before.
I think the problem is this.
Lets say I list all of my items in one page.
Name, Description
Eelco,
I am reading the PDF version of the book called Enjoy
Web Development with Wicket. Basically it is a good
one with many interesting examples, but these examples
are simple and keep me wondering whether Wicket can
handle other more complicated situations.
I feel this book does a good
Thanks Maurice! This worked perfect!
--
View this message in context:
http://www.nabble.com/Markup-with-unknown-name-for-TextField-tp17058594p17062769.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
On 5/5/08, Erik van Oosten [EMAIL PROTECTED] wrote:
Isn't this problem serious enough to release 1.3.4?
The core developers have not found any problems with 1.3.1, 1.3.2,
1.3.3 on their production boxes. There is no evidence this solves the
problem, so IMO there is no need to release 1.3.4
Hi!
I'm quite new to Wicket and help with something easy, i guess.
I'm displaying some info on my page:
add(new Label(country, new PropertyModel(this,
ipLocationInfo.country)));
The country information is sometimes null and then i would like to display
unknown instead. Is this easily managed
it was really a pretty rare exception
285154 [btpool0-9] ERROR org.mortbay.log - /undefined
java.lang.IllegalStateException: STREAM
at org.mortbay.jetty.Response.getWriter(Response.java:585)
at
org.apache.wicket.protocol.http.WebResponse.write(WebResponse.java:355)
at
I'm adding Acegi support to a Wicket project, but have been completely
unable to get all the pieces correct. One of the main problems is that
there appears to be no standalone example available. The acegi-
security examples are awful, since all thirty of the samples are mixed
with each
AlexTM wrote:
add(new Label(country, new PropertyModel(this,
ipLocationInfo.country)));
The country information is sometimes null and then i would like to display
unknown instead.
One way of doing this would be to create your own model.
add(new Label(country, new
Hi!
Maybe there is a better way, but I would do:
add(new Label(country, new PropertyModel(this,
ipLocationInfo.country) {
@Override
public Object getObject() {
String country = (String) super.getObject();
country = country
where do you get the Item from when you pass it as constructor arg to
the page? and then in constructor of that page you try to access lazy
collections on item?
maybe if you posted some code we could help you better/faster.
-igor
On Mon, May 5, 2008 at 6:58 AM, Mathias P.W Nilsson
[EMAIL
Thanks!
The problem is that the opLocationInfo has ten (10) different Strings that
may be null so is there a generic solution to it?
/Alex
Vit Rozkovec wrote:
Hi!
Maybe there is a better way, but I would do:
add(new Label(country, new PropertyModel(this,
We use Acegi/Wicket in our current project at work. The main thing
you need to worry about is the session implementation. Here's a
snippet from ours:
private AuthenticationManager getAuthenticationManager()
{
return (( MyWebApplication )
john's example is better because it is refactorable. my 2c.
-igor
On Mon, May 5, 2008 at 7:44 AM, Vit Rozkovec [EMAIL PROTECTED] wrote:
Hi!
Maybe there is a better way, but I would do:
add(new Label(country, new PropertyModel(this,
ipLocationInfo.country) {
Hey guys,
I have a question about the lazyloadpanel. I have a modal window. in that
modal window I have a form with a ListChoice and an ajaxbutton. What I want
to do is have the entire modal window or the entire form lazyload. the
ListChoice can be very large sometime and I want do not want the
write a model decorator that chains another model, checks if it
returns null, and uses another value
class NullSafeModel implements imodel {
private final imodel delegate;
private final String nullvalue;
public nullsafemodel(imodel delegate, string nullvalue) {
this.delegate=delegate; ...}
I would do something like this, because it's very reusable:
Change your model from this:
new PropertyModel(this, ipLocationInfo.country)
to:
new NotNullModel(new PropertyModel(this, ipLocationInfo.country), new
StringResourceModel(nullValue, null))
Then add nullValue=FOO BAR to your properties
Of course, that means your WebSession class must extend AuthenticatedWebSession.
On Mon, May 5, 2008 at 10:49 AM, James Carman
[EMAIL PROTECTED] wrote:
We use Acegi/Wicket in our current project at work. The main thing
you need to worry about is the session implementation. Here's a
snippet
I admit all the swarm examples got a bit intertwined, and i am
planning on fixing this as soon as i can find some time :)
In the mean time you could take a look at
http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html the
swarm example is basically based on that.
Or if you have some
Does anyone have a grid/table component that allows you to have one
cell span multiple rows? Also, I would prefer it to be stateless if
possible. I don't need sorting and paging.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Another question for this. How do I get the detached model to use when
submitting the form?
public class AttributePage extends BaseAdministrationPage {
private se.edgesoft.hairless.entities.item.Item item;
public AttributePage(
I'm also experiencing this with jetty. Is everybody else the same ?
Iman
On Mon, May 5, 2008 at 6:09 PM, Johan Compagner [EMAIL PROTECTED]
wrote:
it was really a pretty rare exception
285154 [btpool0-9] ERROR org.mortbay.log - /undefined
java.lang.IllegalStateException: STREAM
at
I have forgot to do this reset link, I have just done this :
protected void onRated(int rating, AjaxRequestTarget target)
{
if (this.rating == rating)
this.rating = this.rating-1;
Using bits of the examples provided in wicket-security, I have the
following method define in AcegiLoginContext...
private AbstractAuthenticationToken token;
public AcegiLoginContext(AbstractAuthenticationToken token) {
this.token = token;
}
Again, following the
On Mon, Apr 28, 2008 at 10:48 PM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
On 4/28/08, James Carman [EMAIL PROTECTED] wrote:
So, how do you know that everything is good to go in the subclass
then? You really shouldn't be calling a method implemented by the
subclass in the superclass'
Yes, sorry. I have tried removing unessesary code. The dao objects is from
the base class that is sping injected via @SpringBean
This is the class that lists the items. When clicking on a link that edits
or adds an item see ItemPage
public class ItemListPage extends BaseAdministrationPage{
How is your Wicket in Action?
Download the first chapter and see for yourself :-) It's free after
all, and no registration required (I think).
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Good point. Looks to me like it is something we overlooked. We should
probably add a method to get the form validators of a form.
Could you open an RFE for that please?
Eelco
On Mon, May 5, 2008 at 2:31 AM, michalb_cz [EMAIL PROTECTED] wrote:
thank you for response, but I need it for Form
On Mon, May 5, 2008 at 5:56 AM, Johan Compagner [EMAIL PROTECTED] wrote:
that is a wrong check yes
its removed.
JIRA?
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for the followup Eelcobut whats with the behavior i am seeing,
i.e. using ExternalLink to link to LogoutPage (mounted as /logout) versus
Link.onClick{setResponsePage(new LoginPage()}, where the externallink works
fine and the LogoutPage does invalidation and redirection (to external
I've read this on the wicket wiki to add new component via ajax.
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
My problem is that if the user have added some values in the form and the
clicks the
thanks, Maurice
i found the problem, it is not relative to swarm. because my
BaseSecurePage.properties file not define fkey message, but
BasePage.properties defined
*label.page.logoff=退出
label.page.createuseraccount=申请个人帐号*
because wicket can not found the key message define, when render *a
I haven't looked at all of your code, but have you taken a look at
http://wicketframework.org/apidocs/wicket/ajax/form/AjaxFormComponentUpdatingBehavior.html
or
http://wicketframework.org/apidocs/wicket/ajax/form/AjaxFormSubmitBehavior.html
Maybe those will help you out.
Jeremy Thomerson
Hi,
I am trying to manage cookies in Wicket. I can create them and read them no
problem, but forcing expiry by setting maxAge=0 does not seem to be working.
Here is the code:
Set cookie:
public void setRememberMeCookie(String username)
{
Cookie cookie = new
you are not using a detachable model for your items
Listse.edgesoft.hairless.entities.item.Item items = new
ArrayListse.edgesoft.hairless.entities.item.Item();
you are keeping them in that ^ list across requests, which detaches
them from the session, and then you are passing one of those to the
Thank you! I see how this work now.
On Sun, May 4, 2008 at 10:17 PM, Eelco Hillenius [EMAIL PROTECTED]
wrote:
On Fri, May 2, 2008 at 4:59 PM, Matthew Young [EMAIL PROTECTED] wrote:
I only want to find out the user's timezone.
setGatherExtendedBrowserInfo(true) redirect page take too long,
About 2 years ago (yeah, wow!) someone on this list helped me figure out how
to load external images onto my pages and it worked perfectly, until I
upgraded to 1.3.x from 1.2.4. I don't know much about the internals of how
it works, it's a lot of code, and I really didn't care how it worked, it
Hi Johan,
I looked at it, and I found 2 similarly named classes...
Which one did you mean - BufferedWebResponse class, or
BufferedHttpServletResponse class ?
Johan Compagner wrote:
Use a custom BufferdResponse. Thats in my eyes the way to go. If we
need to fix some api for that
Thanks igor!
I think I have missunderstood the whole thing about detachable models. I
must re-read this.
Thanks for your time and effort.
--
View this message in context:
http://www.nabble.com/How-to-avoid-Lazy-loading-exception-tp17040941p17067785.html
Sent from the Wicket - User mailing
Thank you. I look into it.
Sanjeev
cblehman wrote:
Look at the source of DefaultDataTableit's your perfect example.,
just extend it and add another bottom toolbar.
Clay Lehman
Phone: (919) 882-2856
[EMAIL PROTECTED]
-Original Message-
From: standon [mailto:[EMAIL
Hi,
The AutoCompleteTextField doesn't seemed to be fixed for corrupt IE behavior
in wicket 1.4-m1 release; Can someone confirm this ? If so, any ideas as to
when this issue will be addressed or fixed ?
Thanks and appreciate your time.
Rick
On Mon, May 5, 2008 at 3:27 AM, freak182 [EMAIL PROTECTED] wrote:
Hello,
My testing so far is good, i just implement seriazable to the
PushTimerService so that it will not yell for ObjectSerialization...does
this work in Tomcat server,JBoss or other application server? or jetty only?
I'm in
I'm pleased to confirm that our next London Wicket Event will be held on June
4th, again at Google's London offices.
We've been attracting a really nice crowd as well as encouraging and very
positive feedback/reviews. If you' like to come along register (early)
Which jira issue are you talking about?
On 5/5/08, Ricky [EMAIL PROTECTED] wrote:
Hi,
The AutoCompleteTextField doesn't seemed to be fixed for corrupt IE behavior
in wicket 1.4-m1 release; Can someone confirm this ? If so, any ideas as to
when this issue will be addressed or fixed ?
Thanks
Imageid is a array it seems, dont just call to string on it check if
it is an array and get the first element
On 5/5/08, V. Jenks [EMAIL PROTECTED] wrote:
About 2 years ago (yeah, wow!) someone on this list helped me figure out how
to load external images onto my pages and it worked perfectly,
When is that clear cookie called?
Can you follow that call a bit more, is it pushed to the
httpservletresponse object?
On 5/5/08, Andrew Broderick [EMAIL PROTECTED] wrote:
Hi,
I am trying to manage cookies in Wicket. I can create them and read them no
problem, but forcing expiry by setting
Hello,
I deploy the wicket-push example on tomcat latest version and it
worked...and also i will test in JBoss 4.2.x...hoping to work as well bcoz
JBoss use tomcat container...anyway, you can embed jetty container in JBoss
too :)
The only thing problem in my mind is that how to display members
Hello,
I deploy the wicket-push example on tomcat latest version and it
worked...and also i will test in JBoss 4.2.x...hoping to work as well bcoz
JBoss use tomcat container...anyway, you can embed jetty container in JBoss
too :)
Actually, for all I know JBoss doesn't provide it's own
List, in reply to the acegi sample, message was rejected to the list
(possibly due to the attachment with the sample)
Hereby the reply without the sample.
Any ideas how to share the sample ?
Hi David James,
I had the same issue, tried to get an idea on how to use acegi with
wicket.
Hi all,
I've built a DataTable(AjaxFallbackDataTable) to display list of values. My
requirement is that by clicking (Link) one of the coloumns in any given row
should make the row (all the columns) editable.
I've used AjaxEditlabel as cell renderer for all the columns. How to change
the
I'm using iframe, in that i am using panels...
the panel contains list of records..the user can delete the record .. after
click on the record the user get Confirmation box with ok and cancel
button.. if the user pressed ok then that record will be deleted
can any one reply how to do this
84 matches
Mail list logo