I've added the following issue,
https://issues.apache.org/jira/browse/WICKET-707
Thanks, Paolo
On 6/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
yeah, dont think we ever thought about doing that...please open a jira
issue. it is probably something we should support.
-igor
Guys,
I have a page with an AjaxTabbedPanel component. When the user change the
tab selection and then click on the browser back button it come back to the
previous page.
I would like instead to come back to the previous selected tab (when has
been changed obviously).
This is the default
* Watter:
With that, I can get past the error I reported
earlier. Unfortunately, I'm seeing something else now. If I go
to a page, then use my browser back button to go back a page,
and then click on any other link, I get a ClassCastException for
i dont think this is really possible in 1.2. Because ajax and versioning is
not really implemented
in 1.3 we have IPageVersionManager.rollbackPage() where you can rollback a
page version.
But to support or catch the backbutton in the browser you need to write the
javascript yourself that
then
Umh .. it is a pity ..
Is there any example to start from ?
Thanks a lot
- Paolo
On 6/28/07, Johan Compagner [EMAIL PROTECTED] wrote:
i dont think this is really possible in 1.2. Because ajax and versioning
is not really implemented
in 1.3 we have IPageVersionManager.rollbackPage() where
Hi Igor,
Thank you for a quick response.
I get your point. My main page should have client object and model that
is referring this object and I should use the same model in
DropDownChoice, Form and Panels for TabbedPanel.
The problem is I have too many clients in my DB to pull them out at the
I have created one custom Exception class which will be thrown from pages or
panel when particular entity say ABC is deleted from DB. That means,
before performing any operation related to that entity; first it will check
if that entity exists or not. If that entity no longer exist then it will
Thanks Igor for your time and guidance.
I will try this and let you know
Regards,
Javed
igor.vaynberg wrote:
On 6/26/07, Javed [EMAIL PROTECTED] wrote:
I have come across such scenario where I need to have radio buttons
across
the mutliple pages.
Say there are 25 records laid among 5
Hi Matej
I've tried adding this:
public void doFilter(ServletRequest servletRequest,
ServletResponse servletResponse, FilterChain filterChain)
throws IOException, ServletException {
if (servletRequest instanceof HttpServletRequest) {
Thank you for the various responses regarding this issue. Pleased to tell
you that testing results indicate the Wicket 1.2.4 patch has fixed our
problems with concurrency without introducing any other known bugs! Big
relief so thank you for this.
Regarding ongoing support for Wicket 1.3 and JDK
I' m trying to do something very simple. When I click a link, I change the
Model of a panel, but the Panel doesn't show the content of the new Model. I
tried to do this with a simple Label and that works. It has got to be
something very stupid, but I've been looking at it all morning and I just
when I have wicket component tags inside a wicket:remove tag, the wicket
complains as error:
Markup remove regions must not contain Wicket component tags
e.g.
wicket:remove
test
/wicket:remove
is there any configuration that allows the wicket to just accept any kind of
content in the
I've put this method in my SectionPanel
@Override
public Component setModel(IModel arg0) {
SectionModel s = (SectionModel) arg0.getObject(this);
System.out.println(s.getResource().getText().get(language.toString
()).get(InstrumentContentType.PHRASE_TYPE));
Component
It seems that the error is in the Panel. Can you post that code too?
Martijn
--
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org
On 6/28/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
public class SectionPanel extends Panel {
public SectionPanel(String id, IModel model) throws ApplicationException
{
super(id,model);
//title
this.title = new Label(title, new PropertyModel(model.getObject
On 6/28/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
new PropertyModel(model, foo)
erhm...
not quite there yet... You should also notify the property model in
the setModel of your panel.
In this case you have a push type of model binding. It usually is a
better model to adopt a pull type
it could be that we set the headers again after that in the chain.doFiltercall.
On 6/28/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
wrote:
Hi Matej
I've tried adding this:
public void doFilter(ServletRequest servletRequest,
ServletResponse servletResponse,
Martijn Dashorst wrote:
Working on the release beta 2 as we speak.
Martijn
Hi Martijn
Is it possible to have a gross idea of when it will be released ? Does the
delay look like a week, a month, some months ?
Thanks in advance
ZedroS
--
View this message in context:
HI,
i am newer to wicket.
i would like to know simple application using wicket.
tell me url or give example code.
Thanks Regards,
kumar
--
View this message in context:
http://www.nabble.com/wicket-with-database-tf3993913.html#a11341474
Sent from the Wicket - User mailing list archive at
you could take a look at databinder.net
hth,
gerolf
On 6/28/07, tnjtn1 [EMAIL PROTECTED] wrote:
HI,
i am newer to wicket.
i would like to know simple application using wicket.
tell me url or give example code.
Thanks Regards,
kumar
--
View this message in context:
You can try subclassing HttpServletRequest and filter the headers.
-Matej
On 6/28/07, Johan Compagner [EMAIL PROTECTED] wrote:
it could be that we set the headers again after that in the chain.doFilter
call.
On 6/28/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
wrote:
Hi
When go through that site , it goes the below site.
http://wicket.sourceforge.net/.
My doubt is i would like to use wicket with database .
give me the solution.
Regards,
kumar
Gerolf Seitz wrote:
you could take a look at databinder.net
hth,
gerolf
On 6/28/07, tnjtn1 [EMAIL
Thanks, that works. I really didn't know what I did wrong, nut I understand
the reasoning behind it.
2007/6/28, Martijn Dashorst [EMAIL PROTECTED]:
On 6/28/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
new PropertyModel(model, foo)
erhm...
not quite there yet... You should also notify the
Matej Knopp wrote:
You can try subclassing HttpServletRequest and filter the headers.
I'd try to add my headers after (not before) the following code.
filterChain.doFilter(servletRequest, servletResponse);
--
Andrew Klochkov
not really, that part (the client part) is not really implemented yet.
waiting for someone to do it :)
johan
On 6/28/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote:
Umh .. it is a pity ..
Is there any example to start from ?
Thanks a lot
- Paolo
On 6/28/07, Johan Compagner [EMAIL
Hi,
I am Newbie of Wicket. I have downloaded sample example to read XLS file
using Wicket with JExcel.
It's working fine.
My doubt is 1.How can I retrieve the datatype of each cell? and 2. How to
validate the each cell values?
Please give me some Suggestions.
Thanking You.
Regards,
Edi
--
The problem lies in the references. In your first version, you kept a
direct reference to the model object passed in at construction time.
At that moment, the property model keeps a reference to that object.
When you changed the Model of the panel, the property model was not
notified: there is no
Hi All,
I am using Wicket with Spring's OpenSessionInViewFilter for Hibernate.
The filter is mapped to Wicket servlet. The problem with this setup is
that the OpenSessionInView filter gets invoked on *all* requests to
Wicket including requests for static resources (such as CSS files and
I think that is within the scope of the JExcel API and not a wicket thing.
Refer to the JExcel API doc first
On 6/28/07, Edi [EMAIL PROTECTED] wrote:
Hi,
I am Newbie of Wicket. I have downloaded sample example to read XLS file
using Wicket with JExcel.
It's working fine.
My doubt is 1.How
meanwhile,
if yu look at this code in the Wicket - JExcel example
Cell cell = sheet.getCell(col, row);
values[row][col] = new XCell(row,
col,cell.getContents());
return values[row][col].getData();
The Cell object is from
I thought this important enough to cross-post to user and dev, sorry for
the duplication if you read both.
As noted in the 1.2 - 1.3 migration notes, EmailAddressPatternValidator
has been renamed to EmailAddressValidator to better fit in with the
naming conventions used elsewhere.
I've just
ywtsang wrote:
when I have wicket component tags inside a wicket:remove tag, the wicket
complains as error:
Markup remove regions must not contain Wicket component tags
e.g.
wicket:remove
test
/wicket:remove
is there any configuration that allows the wicket to just accept any kind of
Jean-Baptiste Quenot-3 wrote:
* Watter:
With that, I can get past the error I reported
earlier. Unfortunately, I'm seeing something else now. If I go
to a page, then use my browser back button to go back a page,
and then click on any other link, I get a
Okay, now I understand it. I'd better replace the ModelObject than the
Model.
thanks a lot,
Pieter
2007/6/28, Martijn Dashorst [EMAIL PROTECTED]:
The problem lies in the references. In your first version, you kept a
direct reference to the model object passed in at construction time.
At that
On 6/28/07, Al Maw [EMAIL PROTECTED] wrote:
I've just removed the old deprecated class as I see no reason this
should be hanging around in the 1.3 release.
IMHO we should keep the old with a description on how to update. Yes it's
fine we have the migration doc, but this morning I was
Hi
I am encountering a behaviour on 1.3 trunk forminput on wicket-examples
which I think wasn't the same before.(been away from wicket for a while)
When I clear the String TextField (which is a requiredTextField) to force
an error , my values on the
Radio/Check/Group seems to be cleared as
It is a matter of convenience.
Let me explain a little more.
Our designers are working on the html template and wicket:remove is useful
for preview purpose.
Ocassionally they may copy the html with the wicket:id inside the
wicket:remove block.
As a result, when we (IT dev team) run the html
On 6/28/07, Watter [EMAIL PROTECTED] wrote:
Jean-Baptiste Quenot-3 wrote:
* Watter:
With that, I can get past the error I reported
earlier. Unfortunately, I'm seeing something else now. If I go
to a page, then use my browser back button to go back a page,
and then
Another method to do this would be to Override the configureResponse method
for the page, at least this is how I am doing it. This is where the
cache-control header is being generated. If no change needed then call
super.configureResponse() else add your header at this point. Seems like
there
* Watter:
Jean-Baptiste Quenot-3 wrote:
* Watter:
With that, I can get past the error I reported
earlier. Unfortunately, I'm seeing something else now. If I go
to a page, then use my browser back button to go back a page,
and then click on any other
I'm on the latest snapshot and am having a problem using replaceWith().
When I have wicket logging turned on I can see all sorts of activity, but my
page doesn't get updated. Below is the code I'm using. I ripped this code
off from eelco's blog at
ptrthomas wrote:
On 6/28/07, Watter [EMAIL PROTECTED] wrote:
A couple of observations. Looks like you are using Acegi as well. I have
the same problem when I don't exclude my Session and Application classes.
Actually, we aren't using Acegi. That class you're looking it is named
similar
On 6/28/07, Holda, Dariusz [EMAIL PROTECTED] wrote:
Hi Igor,
Thank you for a quick response.
I get your point. My main page should have client object and model that is
referring this object and I should use the same model in DropDownChoice,
Form and Panels for TabbedPanel.
The problem is I
It seems that there is no way to remove an IFormValidator from a Form.
Because the fields in my Form are inside Panels (only one of which is
present at any given time), the Form fields are not necessarily children of
the Form.
When one of the Form's IFormValidators receives a
On 6/28/07, Javed [EMAIL PROTECTED] wrote:
I have created one custom Exception class which will be thrown from pages
or
panel when particular entity say ABC is deleted from DB. That means,
before performing any operation related to that entity; first it will
check
if that entity exists or not.
One of our partners will not allow us to use Wicket because a piece of it is
GPL-licensed. From what I can tell, they must be referring to
ClientProperties.java. Can this be removed from the distribution? It looks
like it's been rewritten in 1.3?
Thanks,
Julian
--
View this message in context:
On 6/28/07, Seldon, Richard [EMAIL PROTECTED] wrote:
Regarding ongoing support for Wicket 1.3 and JDK 1.4, I've shared this
information internally. It was helpful to get clarification and we can
understand the stance taken to press ahead with Java 1.5. Change is
inevitable, however
On 6/28/07, Huergo Perez [EMAIL PROTECTED] wrote:
Hi All,
I am using Wicket with Spring's OpenSessionInViewFilter for Hibernate.
The filter is mapped to Wicket servlet. The problem with this setup is
that the OpenSessionInView filter gets invoked on *all* requests to
Wicket including requests
On 6/28/07, Joshua Lim [EMAIL PROTECTED] wrote:
Hi
I am encountering a behaviour on 1.3 trunk forminput on wicket-examples
which I think wasn't the same before.(been away from wicket for a while)
When I clear the String TextField (which is a requiredTextField) to
force an error , my
You are right. The link is broken:
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-extensions-menubar/
It appears that the code is now located here:
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/branches/wicket-2-DISCONTINUED/wicket-extensions-menubar/
One of our partners will not allow us to use Wicket because a piece of it is
GPL-licensed. From what I can tell, they must be referring to
ClientProperties.java. Can this be removed from the distribution?
It looks
like it's been rewritten in 1.3?
That code is (adapted) from Echo 2, which is
Hi all,
I am hoping there is a work around or at least a known issue by now.
Basically I am making a AJAX request (via AjaxSubmitButton in 1.3 beta).
The first requests works fine...but if i click on AjaxSubmitButton a 2nd
time, I get a Page Expired.
I found this related issue in the Jira but
One of our partners will not allow us to use Wicket because a piece of it is
GPL-licensed. From what I can tell, they must be referring to
ClientProperties.java. Can this be removed from the distribution?
It looks
like it's been rewritten in 1.3?
Yes, it has been rewritten in 1.3 to get
On 6/28/07, landtuna [EMAIL PROTECTED] wrote:
It seems that there is no way to remove an IFormValidator from a Form.
Because the fields in my Form are inside Panels (only one of which is
present at any given time), the Form fields are not necessarily children
of
the Form.
When one of the
Therefore if wicket itself can simply allow me to configure to ignore
anthing inside wicket:remove, it would be a great convenience. Otherwise, I
also want to know the reason behind why wicket prohibit wicket:id insder
wicket:remove and try to make my designers follow the necessary practice.
On 6/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Therefore if wicket itself can simply allow me to configure to ignore
anthing inside wicket:remove, it would be a great convenience.
Otherwise, I
also want to know the reason behind why wicket prohibit wicket:id insder
wicket:remove and
not really, that part (the client part) is not really implemented yet.
waiting for someone to do it :)
FYI Paolo, we've been chatting about this before and had some ideas,
but it's a hard problem to solve. Unlike GWT (who does a good job
supporting the back button with Ajax), Wicket doesn't
isnt it as easy as?
wicket:remove!--
whatever
--wicket:remove
Haven't tried that. If that works that would be great.
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of
When go through that site , it goes the below site.
http://wicket.sourceforge.net/.
Please read http://incubator.apache.org/wicket/examples.html and click
around in the left menu bar to find out how to download etc.
Eelco
public void onClick() {
DeleteLink.this.replaceWith(new
ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) {
@Override
protected void onCancel() {
replaceWith(DeleteLink.this);
}
On Thu, Jun 28, 2007 at 09:16:13AM -0700, Igor Vaynberg wrote:
On 6/28/07, Huergo Perez [EMAIL PROTECTED] wrote:
One possible solution would be to move the static resources away from my
JAR file directly into the WAR (as most Java web MVC apps usually have),
however I would
On 6/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
public void onClick() {
DeleteLink.this.replaceWith(new
ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) {
@Override
protected void onCancel() {
huh, if you have a in your markup, then i wouldn't be surprised if
things didn't work as expected. You should try to replace a panel with
panel, possible attached to div
-Matej
On 6/28/07, Evan Chooly [EMAIL PROTECTED] wrote:
On 6/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I started off with a panel but i moved it down one to the link itself
thinking there might be some oddities with the panel being part of a column
blah blah blah. I'll rework it and try again.
On 6/28/07, Matej Knopp [EMAIL PROTECTED] wrote:
huh, if you have a in your markup, then i wouldn't
On 6/28/07, Evan Chooly [EMAIL PROTECTED] wrote:
I started off with a panel but i moved it down one to the link itself
thinking there might be some oddities with the panel being part of a column
blah blah blah. I'll rework it and try again.
So bumping it back up to the whole panel didn't
2007/6/28, Igor Vaynberg [EMAIL PROTECTED]:
isnt it as easy as?
wicket:remove!--
whatever
--wicket:remove
But then whatever will be invisible in preview as well, won't it?
--
greetings from Berlin,
RĂ¼diger Schulz
www.2rue.de
Doing conversations spanning requests is somewhat straightforward in a
Spring MVC setting as the request lifecycle is easy to understand, but I'm
quite at a loss as to how I'm going to go about this with Wicket.
Essentially we need to go into some Spring transaction method at some point
in
But then whatever will be invisible in preview as well, won't it?
Details, details :)
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your
Hi, there was a significant change to ajax requests after beta1, so
please test this when beta 2 is out. If the problem persists, we will
certainly look into it.
-Matej
On 6/28/07, Chris Lintz [EMAIL PROTECTED] wrote:
Hi all,
I am hoping there is a work around or at least a known issue by
Tried this. It still gives the warning. :(
James McLaughlin-3 wrote:
Its a shameless hack, but you could try it in a setTimeout. Or possibly,
target.appendJavascript(Wicket.Window.unloadConfirmation=false;window.location.reload())
Otherwise, I believe the semantics of onClose make it
hi,
i've come across the problem that many components add special css-files and
that those headercontributions cummulate to a certain amount of lines with link
rel=stylesheet... - in my case up to 12.
so, the idea comes, having only one link line within the html-response and
within that all
Then you might need to update wicket.
-Matej
On 6/28/07, dukejansen [EMAIL PROTECTED] wrote:
Tried this. It still gives the warning. :(
James McLaughlin-3 wrote:
Its a shameless hack, but you could try it in a setTimeout. Or possibly,
That wouldn't work, it would break Ajax header contribution filtering.
-Matej
On 6/28/07, Jan Kriesten [EMAIL PROTECTED] wrote:
hi,
i've come across the problem that many components add special css-files and
that those headercontributions cummulate to a certain amount of lines with
link
Figured this out.
Setting the unloadConfirmation to false here is useless, because Wicket only
examines that boolean in its show() method for the modal, at which point it
sets up unload event handlers based on true/false.
That event handler is already set by this point, so changing the boolean
I've had a pretty good look at wicket security but the conclusion that I've
come to with that is it only supports the fact that you have pre defined
roles within your application.
I'm currently working on a multi tenant web application where the
application provided a set of permission, such and
Hi
Well after some debugging, searching nabble.com etc.. I finally
found out what the problem was.
After printing out the classloaders of the MySession.class.getClassloader()
and the GetSesion().getClass().getCla... I found out it was 2
differentclassloaders.
Reading at some Jetty forums
getting this exception. seems like a request thread might be hanging with
the page map locked? anyone have any ideas? thanks!
[11:19:44] ERROR - RequestCycle - After 1 minute the Pagemap
null is still locked by: Thread[ajp-8009-1,5,main], giving up trying to get
the page for
Yep, long running request blocks incoming request.
Martijn
On 6/28/07, Jonathan Locke [EMAIL PROTECTED] wrote:
getting this exception. seems like a request thread might be hanging with
the page map locked? anyone have any ideas? thanks!
[11:19:44] ERROR - RequestCycle -
Heh... nice discovered one!
This one goes into the books of nasty things not to do.
Martijn
--
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
By the way, I'm not saying wicket security is bad, other than my example I
think it is a well put together framework that beats the hell out of using
JAAS.
Thanks, i appreciate that :)
I've had a pretty good look at wicket security but the conclusion that I've
come to with that is it only
makes sense all right. is there any way we could print out a stack trace of
the thread that's holding the monitor we're trying to grab? maybe via JMX?
this would be extremely useful when this exception is thrown!
Martijn Dashorst wrote:
Yep, long running request blocks incoming request.
makes sense all right. is there any way we could print out a stack trace of
the thread that's holding the monitor we're trying to grab? maybe via JMX?
this would be extremely useful when this exception is thrown!
We've had a thread about that, and the conclusion was that this is
possible (I
yeah, i just figured that out. i'll just patch our wicket for now. but we
should add this for wicket 1.4 (in a nicer way than this (generic utility
method), of course):
final StringBuilder builder =
new StringBuilder();
Hi,
I am in the process of making wasp and swarm play nicer within a
clustered environment.
Johan suggested calling dirty() whenever i make a change in the
session (which is where i store everything indirectly). But because i
have login method on my authorization strategy (which should call
dirty
I understand what you are saying and I see how you have accomplished
something similar to what I'm trying to do, however it seems to me that you
are miss using the concept of a Principal. I'm not a security expert but a
principal seems to point to an individual and not with something called
Sorry for hanging on this for a couple of days...
using the wicket 1.3 beta 2 release and
mvn install on wicket quickstart project and the deploying on tomcat 6,
with the war from target folder yields this on my laptop:
jun 29, 2007 12:57:44 AM org.apache.catalina.core.StandardContext
add this into your pom:
dependency
groupIdorg.slf4j/groupId
artifactIdslf4j-log4j12/artifactId
version1.0.1/version
/dependency
dependency
groupIdlog4j/groupId
artifactIdlog4j/artifactId
version1.2.14/version
Here it is : https://issues.apache.org/jira/browse/WICKET-710
On 6/29/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 6/28/07, Joshua Lim [EMAIL PROTECTED] wrote:
Hi
I am encountering a behaviour on 1.3 trunk forminput on wicket-examples
which I think wasn't the same before.(been away from
Say I have 2 frames
-
F(a) | F(b)
---
F(b) has a button and onpressed, it will update/refresh F(b), but I also
want to trigger an update to F(a) too. Any ideas of how to update F(a) also
?
thx
On 6/28/07, Ken Leung [EMAIL PROTECTED] wrote:
Say I have 2 frames
-
F(a) | F(b)
---
F(b) has a button and onpressed, it will update/refresh F(b), but I also
want to trigger an update to F(a) too. Any ideas of how to update
90 matches
Mail list logo