hi,
I am using wicket1.3 with Tomcat 5.0 and am using IDE tool Eclipse 3.2. I am
suffering from a problem that i have to restart the tomcat after every
change made in the file.
Is their any solution for this please replay.
Thanks in advance.
--
View this message in context:
Hmm, i'm not sure this will work at all with the restartresponse but i
have 2 alternatives that do not require changes to wicket
-append some javascript to the ajaxrequesttarget that will trigger the
browser to request your login page (you can get the wicket url for the
loginpage using urlFor)
Are you using this plugin http://www.eclipsetotale.com/tomcatPlugin.html ?
It allows tomcat to load the application directly from your eclipse
project, thus any change to a resource file is automatically detected.
also changes to java files are automatically picked up (sometimes the
new class is
Hi,
I'm currently trying to use RestartResponseAtInterceptPageException with
Ajax. More precisely, I show a component that refreshes itself after
executing an authorized action. It the user is not authorized to execute
this action, I'd like to redirect him to the Login-Page. After proper login,
okrohne schrieb:
Hi,
if I use a textarea like this:
textarea name=test id=test_textarea rows=8 cols=30
class=input_text title=test /
all subsequent html markup is shown in the textarea.
If I use the textarea in this way everything is okay.
textarea name=test id=test_textarea rows=8 cols=30
I am now passing the search form model to the new page in the constructor,
setResponsePage(new SearchResults(search));
Works OK - I assume this is better than going through the session.
But I have no idea (yet) how to reinitialise the search panel Ajax widgets.
wicket user-2 wrote:
As already written a couple of weeks ago, we regularly get OutOfMemoryErrors
with our Wicket-based website. I've finally got a heapdump.hprof and no
entry above 3kByte size is from our code. If someone from the Wicket team is
interested, I can send the html-instance information sorted by size
Answering my own questions.
I can also pass the search panel to the results page from my form onSubmit:
setResponsePage(new SearchResults(((PanelSearch)this.getParent()),
search));
Then, in the results page:
public SearchResults(PanelSearch searchPanel, Search
Be sure to checkout the wiki for gotchas and tips:
http://cwiki.apache.org/WICKET/wicket-and-jmeter.html
http://cwiki.apache.org/WICKET/wicket-and-jmeter-with-regular-expressions.html
Eelco Hillenius wrote:
Another option is to use a profiler in your dev environment, or a
production-similar
I would not recommend what you are doing here.
What happens is that wicket removes the panel from the original page
and attaches it to the new page, making it impossible to use the
backbutton (because wicket will complain about a missing component).
Also this only works if the html of the new page
Hi all,
The solution for the bug WICKET-1265 (Close ModalWindow in IE with scrollbars scrolls to bottom) is not added in last
version 1.3.1.
I try to make the change in my jars without success. With the original, on close of the ModalWindow, the page scrolls
to bottom . With the recommended
My wicket program also have the same question. Could anyone kindly help us?
Thanks
Edvin Syse wrote:
Hi,
I have a Link with PopupSettings to open another window, and then there is
a PopupCloseLink on the new page which closes the popupwindow
again. Is there a way to make the parent
Hi,
I have created a dropDownChoice component where the last option is
browse == opens new page where user can make queries. (Similar to
look in field in search panel of Windows XP, where user can select
some default folders or can choose browse to give an exact folder)
Because there is
Are you running in development mode?
Maurice,
Thanks for your suggestions. However, these suggestions are yet 2 other
workarounds for this problem.
imho, using RestartResponseAtInterceptPageException and
continueToOriginalDestination() should work out of the box, regardless of
the type of request (Ajax and non-Ajax). Therefore I
Thanks.
I have already moved to using the session for storage. I've tried just
adding the complete search panel object to the session in the search
onsubmit() and fetching it again to add to the results page - this works and
avoids some of my page reload and history issues (but adds a few
Can't you use an AjaxSubmitLink?
Maurice
On Thu, Feb 21, 2008 at 12:57 PM, Juha Alatalo
[EMAIL PROTECTED] wrote:
Hi,
I have created a dropDownChoice component where the last option is
browse == opens new page where user can make queries. (Similar to
look in field in search panel of
Hi all,
The solution for the bug WICKET-1265 (Close ModalWindow in IE with
scrollbars scrolls to bottom) is not added in last version 1.3.1.
I try to make the change in my jars without success. With the original, on
close of the ModalWindow, the page scrolls to bottom . With the recommended
Use a windowclosedcallback.
Something like this should do the trick
modalwindow.setWindowClosedCallback(new WindowClosedCallback()
{
private static final long serialVersionUID = 1L;
@Override
public void
I found the problem.
My HTML head had
script src=myFile.js language=javascript type=text/javascript /
And the problem is the way i close the tag. If i put
script src=myFile.js language=javascript
type=text/javascript/script
It works ok.
Don't add wicket components to the session, use models.
for example
class MySession extends WebSession
{
private IModel dropdown1=new WhateverModel(null); //etc for the others
// add getters() for models
}
class PanelSearch extends Panel
{
public PanelSearch(String id)
{
super(id);
add(new
ups, sorry... never had a problem using textarea without closing tag
Thomas Gier-2 wrote:
okrohne schrieb:
Hi,
if I use a textarea like this:
textarea name=test id=test_textarea rows=8 cols=30
class=input_text title=test /
all subsequent html markup is shown in the textarea.
If I
Thanks! That was the first thing I did, before I saw
Files.filename(). I figured the latter would save me unnecessary
object creation, though admittedly the java.io.File solution is
probably more robust (I haven't looked at the source for File yet to
compare the two).
On Feb 20, 2008,
Thanks ! But the modalwindow can't be used in this case. Could anyone know
how to use Popup window rather than modal window ? Thanks~
modal window?
Mr Mean wrote:
Use a windowclosedcallback.
Something like this should do the trick
modalwindow.setWindowClosedCallback(new
Be sure to checkout the wiki for gotchas and tips:
http://cwiki.apache.org/WICKET/wicket-and-jmeter.html
http://cwiki.apache.org/WICKET/wicket-and-jmeter-with-regular-expressions.html
Already done, but what we can get? An OOME in our application with the
heapdump. Well, we already have one
BaseWicketTester.isVisible() only checks Component.isVisible(), not
Component.isRenderAllowed(). So for a component whose RENDER action is
disabled through role based authorization strategy,
BaseWicketTester.isVisible() still returns true.
BaseWicketTester.isInvisible() works correctly by using
You are missing some asm libraries as well. You should indeed rely
on Maven for your dependencies. But we've had the same problem, and
we excluded cglib, and included cglib-nodep.
dependency
groupIdorg.hibernate/groupId
artifactIdhibernate/artifactId
Ahah - I think I'm starting to see the light...
Thanks for the hints.
Mr Mean wrote:
Don't add wicket components to the session, use models.
for example
class MySession extends WebSession
{
private IModel dropdown1=new WhateverModel(null); //etc for the others
// add getters() for
Thomas,
the memory footprint per class usually doesn't really allow to pinpoint
the reference that causes a memory leak (usually the top entries are
char[], String, etc.). For that, you need to trace back to the reference
that should not be there. We use YourKit to great benefit (do I get
You can try to see if its any page in particular that causes this. Or of
its something general... Also you need to watch out for objects that
just keep growing in number..
It's a little abstract to use a profiler as it will not give you a clear
idea as everything originates in class[] int[]
That would work, except the search results do contain some AJAX
functionality, which of course result in a stateful page.
Mr Mean wrote:
how about using a stateless searchpage?
that way you should not get a page expired.
Maurice
On Thu, Feb 21, 2008 at 1:14 AM, Chris Lintz
[EMAIL
It's not that I necessary want to see the page refreshed with updated form
values. In fact, I would prefer that the user not leave the page at all.
All the form contains is a checkgroup of things to include in the PDF.
All I want to do when the button is pressed is view/download the PDF but
Hi all,
i have a simple question.
How can i access a database from wicket?
I don't want to use any object-relational mapper like hibernate or ibatis.
I wanna use plain old sql/jdbc.
thanks in advance.
--
View this message in context:
You would access it like you would it any other web application. I
would suggest using the Spring JDBC support stuff, though.
On 2/21/08, wjser [EMAIL PROTECTED] wrote:
Hi all,
i have a simple question.
How can i access a database from wicket?
I don't want to use any object-relational
ok I am wanting to have a custom feedback message for a testfield that is
created in a panel. I know how to do this for a simple textfield in a form
but I am createing these textfields on the fly using nested panels so I
wanted to know how to do this. Right now I am only adding one panel but I
I'm new to this whole thing and I've just done this using the book Enjoying
development with Wicket. It is $20 and worth the money to get your feet
wet. It has a good example of JDBC only access and what you gain by using
Spring and then Hibernate.
Hope this helps. Considering I only have 3
Hello,
I 'm getting an InstanceAlreadyExistsException (exception trace below) when
redeploying a Wicket app (1.3.1) in Websphere test environment. I didn't
have this problem when running Wicket 1.2-rc1. When doing a regular stopping
and starting of the App server the application starts up fine.
feel free to add a jira request for this
-igor
On Thu, Feb 21, 2008 at 4:44 AM, Stefan Fußenegger
[EMAIL PROTECTED] wrote:
Maurice,
Thanks for your suggestions. However, these suggestions are yet 2 other
workarounds for this problem.
imho, using
class mypopupcloselink extends popupcloselink {
oncomponenttag(tag) {
super.oncomponenttag(tag);
tag.put(onclick,window.parent.refresh(););
}
}
-igor
On Tue, Feb 19, 2008 at 11:24 AM, Edvin Syse [EMAIL PROTECTED] wrote:
Hi,
I have a Link with PopupSettings to open another
yes, add to jira please
-igor
On Thu, Feb 21, 2008 at 5:57 AM, Wang, Yuesong [EMAIL PROTECTED] wrote:
BaseWicketTester.isVisible() only checks Component.isVisible(), not
Component.isRenderAllowed(). So for a component whose RENDER action is
disabled through role based authorization
if you are opening everything via ajax why do you need to submit the
entire form? the values are all still there in the browser window...
so dont use ajaxformsubmitbehavor but a regular ajax behavior
-igor
On Thu, Feb 21, 2008 at 3:57 AM, Juha Alatalo
[EMAIL PROTECTED] wrote:
Hi,
I have
textfield1.setlabel(new model(name1));
-igor
On Thu, Feb 21, 2008 at 8:21 AM, taygolf [EMAIL PROTECTED] wrote:
ok I am wanting to have a custom feedback message for a testfield that is
created in a panel. I know how to do this for a simple textfield in a form
but I am createing these
once a page has expired there is really no way to know what it
was..thats kinda the point of stateful components
eg if you have created your page like this:
setresponsepage(new userdetailspage(user, org));
and you get a page expired error, even if you somehow kept track of
the fact that it was
Hi *,
i would like to present a bit longer text in a tree node. One condition is
that the tree can't have the vertical scrollbar. Thus if i a my text FF and
IE are presenting empty notes, because text doesnt fit into visible area. My
i add a break or something so that the link will be
I was just waiting for green lights ;)
https://issues.apache.org/jira/browse/WICKET-1363
igor.vaynberg wrote:
feel free to add a jira request for this
-igor
On Thu, Feb 21, 2008 at 4:44 AM, Stefan Fußenegger
[EMAIL PROTECTED] wrote:
Maurice,
Thanks for your suggestions.
Is it available somewhere? I need it for validation in the Eclipse Amsteras
HTML editor and to get rid of all its warning about wicket tags in html
file.
--
View this message in context:
http://www.nabble.com/Where-to-find-the-Wicket-DTD-file--tp15618525p15618525.html
Sent from the Wicket -
there is a wiki page that lists them...
-igor
On Thu, Feb 21, 2008 at 11:09 AM, MYoung [EMAIL PROTECTED] wrote:
Are they documented?
--
View this message in context:
http://www.nabble.com/Where-to-find-documentation-for-Wicket-tags--tp15618680p15618680.html
Sent from the Wicket - User
On the wiki
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
On Thu, Feb 21, 2008 at 11:09 AM, MYoung [EMAIL PROTECTED] wrote:
Are they documented?
--
View this message in context:
http://www.nabble.com/Where-to-find-documentation-for-Wicket-tags--tp15618680p15618680.html
Sent
Are they documented?
--
View this message in context:
http://www.nabble.com/Where-to-find-documentation-for-Wicket-tags--tp15618680p15618680.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To
Now getting
RequestCycle.logRuntimeException(1399) | Attempt to set model object on null
model of component: panelSearch:form:parentAreas
java.lang.IllegalStateException: Attempt to set model object on null model
of component: panelSearch:form:parentAreas
at
Or you did not set the model on the dropdown.
Maurice
On Thu, Feb 21, 2008 at 8:44 PM, Maurice Marrink [EMAIL PROTECTED] wrote:
Looks like at least one of the models in the session is not properly
initialized.
You have to do something like
private IModel model=new WhateverModel(null);
Looks like at least one of the models in the session is not properly
initialized.
You have to do something like
private IModel model=new WhateverModel(null);
in your session.
Maurice
On Thu, Feb 21, 2008 at 8:41 PM, steviezz [EMAIL PROTECTED] wrote:
Now getting
1. http://www.manning.com/dashorst/
2. http://cwiki.apache.org/WICKET/newuserguide.html
3. http://cwiki.apache.org/WICKET/documentation-index.html --
particularly the tutorials
4. http://cwiki.apache.org/WICKET/reference-library.html --
particularly Working with Wicket models
And along the way,
Resurrecting this thread from the dead :D
disclaimer: I am very new to wicket and its philosophy, so I am making
some points related to secure pages.
I read about securing pages though ssl and made a comment there
I am a fairly new developer and I'm going to be using Wicket on and upcoming
project. Are there any materials for beginners out there covering Wicket?
Tony
--
View this message in context:
http://www.nabble.com/Wicket-for-beginners--tp15618724p15618724.html
Sent from the Wicket - User
Hello,
This error happens because the intermediary panel between the form and
the drop down choice does not have a model.
Changing the PanelSearch constructor to call super (id, new Model())
should fix the problem.
You might also want your form panel to extend FormComponentPanel instead
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
MYoung wrote:
Are they documented?
-
Claudio Miranda
http://weblogs.java.net/blog/claudio
http://www.claudius.com.br/blog
--
View this message in context:
tdope21 wrote:
I am a fairly new developer and I'm going to be using Wicket on and
upcoming project. Are there any materials for beginners out there covering
Wicket?
Tony
http://www.manning.com/dashorst/ Wicket in Action - Excellent Book. Also,
download the examples of the
Hi,
I read about Wicket-spring integration at
http://cwiki.apache.org/WICKET/spring.html and now I wonder what's the
difference between
- extending SpringWebApplication combined with doing
addComponentInstantiationListener(new SpringComponentInjector(this))
in init(), and
- just
Thanks for the info!
Tony
robert.mcguinness wrote:
tdope21 wrote:
I am a fairly new developer and I'm going to be using Wicket on and
upcoming project. Are there any materials for beginners out there
covering Wicket?
Tony
http://www.manning.com/dashorst/ Wicket in
ok, thanx
2008/2/21, Igor Vaynberg [EMAIL PROTECTED]:
SpringWebApplication only helps if you are on jdk1.4 or cannot use
@SpringBean annotation.
-igor
On Thu, Feb 21, 2008 at 1:17 PM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
Hi,
I read about Wicket-spring integration at
try this:
http://www.theserverside.com/tt/articles/article.tss?l=IntroducingApacheWicket
It explains the basic very well.
tdope21 wrote:
I am a fairly new developer and I'm going to be using Wicket on and
upcoming project. Are there any materials for beginners out there covering
Wicket?
MYoung wrote:
Is it available somewhere? I need it for validation in the Eclipse
Amsteras HTML editor and to get rid of all its warning about wicket tags
in html file.
...place the following in your HTML template...
html xmlns:wicket=http://wicket.sourceforge.net/;
SpringWebApplication only helps if you are on jdk1.4 or cannot use
@SpringBean annotation.
-igor
On Thu, Feb 21, 2008 at 1:17 PM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
Hi,
I read about Wicket-spring integration at
http://cwiki.apache.org/WICKET/spring.html and now I wonder what's the
I think it should be wicket.apache.org instead, does not seem to matter
in myEclipse, WTP etc...
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:wicket=http://wicket.apache.org/; xml:lang=da lang=da
But for the jira on this look here:
Some additional info:
During redeploy when the web app is being shutdown, I'm seeing this
exception in the Websphere FFDC log...
Exception = com.ibm.websphere.management.exception.AdminException
Source = com.ibm.ws.management.PlatformMBeanServer.unregisterMbean
probeid = 562
Stack Dump =
...place the following in your HTML template...
html xmlns:wicket=http://wicket.sourceforge.net/;
xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
That doesn't seem to make it stop the warnings. Seems Amsteras actually
validates and it wants to have the DTD. Is there a Wicket DTD
Workaround...
If I remove wicket-jmx-1.3.1.jar from the classpath I no longer get the
exception and the app works normally.
nmarchalleck wrote:
Some additional info:
During redeploy when the web app is being shutdown, I'm seeing this
exception in the Websphere FFDC log...
Exception =
thats pretty weird, please open a jira issue for it
-igor
On Thu, Feb 21, 2008 at 3:28 PM, nmarchalleck [EMAIL PROTECTED] wrote:
Workaround...
If I remove wicket-jmx-1.3.1.jar from the classpath I no longer get the
exception and the app works normally.
nmarchalleck wrote:
Hello,
I've made an upload form and wanted to add a cancel button to it. The
cancel button is clicked if the user decides he doesn't want to upload
(before he uploads) and should redirect back to another page. This works
pretty well except I noticed that if the user chooses a file then
its happening because you are using input type=submit for the cancel
button, which of course submits the form. you should instead use a
link for cancel buttons. you can attach a link to a input
type=button if you want cancel to still be a button btw...
-igor
On Thu, Feb 21, 2008 at 5:56 PM, Dan
yes I am running it development mode.
--
View this message in context:
http://www.nabble.com/Tomcat-Problem-tp15607207p15627355.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
Take a look at JPersist (http://www.jpersist.org/). You can do plain JDBC
and/or POJO oriented data access, and it's more code oriented that framework
oriented, if this makes sense. I think it's easier to understand for people
coming from years of desktop database development and when you
Hi,
First of all let me apologise for the length of this post, I thought I
should include too much info rather than too little.
I'm using wicket-1.3.1, Spring 2.5.1 on JDK1.5 and Jetty6.1.6. My goal is
to define 1..n Panels in my Spring application context then access them from
within a test
I have the Ajax stuff working in my form. I want to use the same form
(placed on a WebPage) to handle when JS is off, I override the onSubmit()
for when JS is off. But this must be wrong because the
AjaxFormSubmitBehavior no longer gets call, only the onSubmit is called.
Form f = new
I'm frustrated, because i didn't any answer to my question. I searched the
wicket documentation and the web, but found no information.
Nowadays no serios web application can be developed without database access
and a no developer should be forced to use an object-relational mapper.
I wann
76 matches
Mail list logo