I tried to use Jazzy with TinyMCE on Wicket and also couldn't get it to
work. If it helps, i got a different error when I put the english.0
dictionary file in the same package as the JazzySpellChecker class, so I
think that signifies a step in the right direction. You can see what I did
by
A while back I added basic WicketTester rendering tests for each of my
pages. They have been great for discovering problems, but not so great for
telling me what those problems are. My tests are of the most basic kind:
tester.startPage(MyPage.*class*);
I believe you can do this if you change the Wicket filter mapping in your
web.xml to something other than /*. Then Tomcat will serve the page and
bypass Wicket entirely.
Dane
On Fri, Nov 13, 2009 at 8:36 AM, fachhoch fachh...@gmail.com wrote:
Ok I have to tell that page to my
Yeah, now that I look at it again, that would throw an error. Instead of
showAllLink.setOutputMarkupId(true), it needs
showAllSpan.setOutputMarkupId(true) and
showMineSpan.setOutputMarkupId(true).
When you make display changes in an Ajax method, Wicket updates the Java
objects' attributes, but
You need to add the spans to the target in onClick, and the links need to
have their outputMarkupId set to true, as follows (I've added the ***
lines):
final Link showMineLink =new AjaxFallbackLink(trafficreportlistmine) {
public void onClick(AjaxRequestTarget target) {
I've built several Wicket apps for the college where I work. 95% of the time
they work great, but I get frequent complaints about form submits not
functioning correctly. In those cases the form processing code in onSubmit
doesn't appear to be running.
I can't reproduce the error, but the reports
has an form without an
feedback panel, and some form component don't pass by validations. On that
case the onSubmit method don't get called, for example.
On Wed, Oct 14, 2009 at 3:34 PM, Dane Laverty danelave...@gmail.com
wrote:
I've built several Wicket apps for the college where I work. 95
Did you get the
response.renderJavascriptReference(TinyMCESettings.javaScriptReference()); ?
In my code it goes like this (as per
http://wicketbyexample.com/wicket-tinymce-some-advanced-tips/):
add(new HeaderContributor(new IHeaderContributor() {
public void
like I must be making this more difficult than it should be. Nothing
I've seen anywhere mentions setting the spellchecker_rpc_url. Is there an
easier way to do this?
thanks,
Dane
On Thu, Oct 8, 2009 at 6:24 PM, Dane Laverty danelave...@gmail.com wrote:
I've added TinyMCE to my application
I've added TinyMCE to my application, but I can't get the spellchecker to
work. When I click the button, I get a JavaScript alert that says, Please
specify: spellchecker_rpc_url. I checked it out in the example application,
but I get the same error there. I've installed the Jazzy spell checker,
I've just finished up my first Wicket + ORM project. I knew nothing
about ORM when I started, so I decided to go with Hibernate since it
seems to be the most commonly used. It was both painful and
educational.
My only suggestion is to suck it up and put in the effort it will take
to learn it. I'm
If you're using Spring, the dependency injection issue for
non-component items can be solved by adding the following line to the
object's constructor:
InjectorHolder.getInjector().inject(this);
where InjectorHolder is org.apache.wicket.injection.web.InjectorHolder
. I'm afraid I don't have any
What do you mean after created the pom? If you're following the guide
here,
http://cwiki.apache.org/WICKET/windows-guide-to-installing-wicket-on-eclipse-with-maven.html,
you shouldn't have to create the pom manually. The mvn
archetype:create
command will do that for you.
Dane
On Wed, Sep 23,
+1 for WiQuery, although I haven't tried jWicket.
On Sat, Sep 12, 2009 at 4:12 AM, jWeekend jweekend_for...@cabouge.comwrote:
I may not be totally unbiased as we're involved in the project but jWeekend
uses WiQuery, including on client applications, and can recommend it.
Regards - Cemal
The FeedbackPanel on my site is not displaying in IE6, unless the user
minimizes and restores the browser window. I would imagine other Wicket
developers have run into this, but I don't see anything about in in the
archives. Does anyone have a solution?
Dane
Good call. Looks like it's a Peek-a-boo bug (
http://www.positioniseverything.net/explorer/peekaboo.html ). Sometimes I
get so excited about my Java work that I forget my basic HTML and CSS
pitfalls.
Dane
On Tue, Sep 1, 2009 at 11:57 AM, Matej Knopp matej.kn...@gmail.com wrote:
This is most
Thanks James and Igor for looking it over. Switching the order of the filter
definitions didn't make a difference. If it helps, here's what I'm doing:
1 - This is the UserInfo class. As far as this test case is concerned, it
has an ID and a SetString to check lazy loading. I've commented out the
Here's the output on startup. The OSIV is being loaded before the
WicketFilter, and when I set breakpoints I can see that the
OpenSessionInViewFilter is being hit first on each request. I'm turning the
project into a QuickStart and will attach it to a JIRA issue.
DEBUG main org.mortbay.log -
...@carmanconsulting.comwrote:
You need the output from Spring classes during a request, not during
application startup.
On Mon, Aug 31, 2009 at 12:39 PM, Dane Laverty danelave...@gmail.com
wrote:
Here's the output on startup. The OSIV is being loaded before the
WicketFilter, and when I
Thanks for the suggestion. I've actually already got OpenSessionInViewFilter
in my web.xml, like so:
filter
filter-namewicket.filter/filter-name
filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
init-param
I'm from.
Dane
On Tue, Aug 25, 2009 at 3:53 PM, Dane Laverty danelave...@gmail.com wrote:
Good point. Now that I've switched to c3p0, I'm getting more debug info,
i.e.:
DEBUG - BasicResourcePool - [managed: 3, unused: 1, excluded: 0]
DEBUG - BasicResourcePool - [managed: 3, unused: 0
:06 PM, Dane Laverty danelave...@gmail.com wrote:
I took your advice and added a UserInfo variable to the RequestCycle [1].
Now my pages look for the UserInfo in the RequestCycle. If it's null, the
RequestCycle loads it from the ID in Session [2]. However, I still get
again,
Dane
On Tue, Aug 25, 2009 at 1:22 PM, Dane Laverty danelave...@gmail.com
wrote:
Progress is being made. Thanks again for your suggestion, Martijn. I
discovered this thread (
http://www.nabble.com/Storing-user-entity-in-session--td22113666.html#a22113666)
where you
EntityModel. I'll do some more research.
Dane
On Tue, Aug 25, 2009 at 3:34 PM, Edward Zarecor edw...@indeterminate.orgwrote:
There's no connection pool size defined. Is the default pool size for dbcp
1?
Ed.
On Aug 25, 2009 5:29 PM, Dane Laverty danelave...@gmail.com wrote:
I'm using dbcp
Do you mean that the database should be queried for every persistent session
object on every request?
On Mon, Aug 24, 2009 at 2:12 PM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
Don't put the models in your session! Session access is not guaranteed
to be confined to a single thread -
I took your advice and added a UserInfo variable to the RequestCycle [1].
Now my pages look for the UserInfo in the RequestCycle. If it's null, the
RequestCycle loads it from the ID in Session [2]. However, I still get the
LazyInitializationException when a page wants to access a collection from
I followed your instructions. When I ran the mvn release:prepare, I was
asked several dozen times about versions, to which I responded with whatever
Maven's default choice was. Then there was a lot more output, and finally it
failed with an OutOfMemoryError: PermGen space. I know that's not very
I'm going crazy over what should be a simple procedure. I want to add an
element to a ListView's model, but when I try, it throws an
IndexOutOfBoundsException.
I have a form [1] which contains a ListView and an AjaxSubmitLink which adds
items to the ListView. The only funny thing you might notice
In case anyone else ends up with a similar error, here's the solution I
ended up using. (Yes, I'm sure it's an awful hack, but right now it works
for me.)
First, I swapped the Set/List implementation I was using in Employer Info
[1], since I realized that the items affected in my previously
A few months ago I asked for ideas on project management, and you all gave
me some great suggestions of tools and books to check out. Now I'd like to
hear if anyone has recommendations for a resource that explains how to tie
the web application together -- what I would call architecture.
I'm
Thanks for the well-expressed responses. I'll look into the books. Most of
my knowledge about web application programming theory comes from reading
lists like this. There are certain terms that pop up over and over again, so
eventually I think, That must be important, I guess it's time for me to
Erik, I'd certainly be happy for you to do that :)
On Wed, Jul 29, 2009 at 3:38 PM, Erik Post eriksen...@gmail.com wrote:
Hi Jeremy,
Just to weigh in on this, I personally think that working with JPA
entity managers/Hibernate sessions could do with some clarification
beyond just use Spring.
This is sounding like a Chuck Norris joke -- Wicket doesn't create invalid
code -- it roundhouse kicks the rules until they submit!
On Thu, Jul 23, 2009 at 12:48 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
Wicket takes care of that for you - you can do it in Wicket.
--
Jeremy
.
Hope this helps.
jk
On Wed, Jul 22, 2009 at 06:40:19PM -0700, Dane Laverty wrote:
Due to the fact that nearly every substantial sample Wicket app is
Spring-based, I imagine that there's something awesome about using
Spring.
In fact, Wicket is what has finally gotten me to start learning
The problem did eventually get solved, though I couldn't tell you how. It
was a server issue, so our server people finally figured it out. I'm sorry I
can be of any help to you here :(
Dane
On Wed, Jul 22, 2009 at 1:19 PM, TahitianGabriel glan...@piti.pf wrote:
Hi,
Did you ever solve this
Due to the fact that nearly every substantial sample Wicket app is
Spring-based, I imagine that there's something awesome about using Spring.
In fact, Wicket is what has finally gotten me to start learning Spring.
I think I understand the basics of dependency injection -- configure your
objects
When you called us wicket poles, I had just assumed that you were referring
to the stumps that hold up the bails on a cricket wicket. However, I'm glad
to see that we're also pals and not just poles ;)
On Thu, Jul 16, 2009 at 6:42 PM, rolandpeng rolandp...@cht.com.tw wrote:
hi wicket poles,
I haven't tried it, but I imagine you could create a JavaScript onclick
event that changes the SIZE attribute on the SELECT.
On Mon, Jun 22, 2009 at 9:02 AM, Keith Bennett kbennet...@fedcsc.comwrote:
We would like to have a multiselect component that only takes up a
single line on the page
I've really enjoyed getting to use Maven on my recent projects. I'm no
Maven expert, but I'm finding that I don't have to be -- it really
just does a great job. Getting Maven working with JDeveloper has not
been going well so far, so that's been one hangup.
There are a few reasons for the
James Igor, It sounds like your experiences with UML are about what
I am expecting it to be like.
Scott, the move to drop other programs in favor of JDeveloper is
partly about cost-cutting, but more so about standardization. As I've
mentioned, I'm the only Java programmer on staff, and I think
Our management has chosen to make JDeveloper 11g the required IDE for
the department. Searching the Wicket mailing list archives, I find
that there is very little discussion about JDev. I'd be interested to
know, are any of you currently using JDeveloper as your main Wicket
IDE?
at wicketstuff and see what integrations
already exists :)
2009/6/15 Dane Laverty danelave...@gmail.com:
I'm working on a small project where I'm limited to using only
JavaScript. I
love the Wicket programming model, especially reusable components. Is
anyone
aware of a JavaScript
I'm working on a small project where I'm limited to using only JavaScript. I
love the Wicket programming model, especially reusable components. Is anyone
aware of a JavaScript framework or JavaScript techniques that would allow me
to approximate Wicket components?
I'm trying to track down the source of frequent PageExpiredExceptions that
we're getting on our deployment server. One of the errors occured at
01:28:06 this morning. In the Apache logs, I discovered that the user's
session ID spontaneously changed at that time, (see the change between lines
4 5
Thanks for pointing that out. I've tried some other changes, so I'll wait
and see how they work out. However, if the problem persists I'll look into
the possibility of it being an HTTPS-related issue. That line of reasoning
hadn't ever occurred to me.
Dane
On Thu, Jun 11, 2009 at 1:09 PM, Igor
I'm using a DropDownChoice that looks like this:
DropDownChoice component = new DropDownChoice(component,
new PropertyModel(task,
componentId),
new PropertyModel(task,
project.components),
/continuous-integration) and on
different platforms.
-Clint
On Wed, May 20, 2009 at 11:40 AM, Dane Laverty danelave...@gmail.com
wrote:
I've got my project set up to deploy with Maven's Tomcat plugin now. My
next
step is getting the web.xml to use the correct Wicket configuration
environments
(qa/mirroring/local-dev/load-testing/continuous-integration) and on
different platforms.
-Clint
On Wed, May 20, 2009 at 11:40 AM, Dane Laverty danelave...@gmail.com
wrote:
I've got my project set up to deploy with Maven's Tomcat plugin now. My
next
step is getting
I've got my project set up to deploy with Maven's Tomcat plugin now. My next
step is getting the web.xml to use the correct Wicket configuration
(development/deployment) value. Is there a way to run two separate web.xml
files for the application, and then somehow have Maven pick up the correct
one
or startup script that
tells wicket it's running in deployment mode.
-Dwicket.configuration=deployment is all there's to it.
Martijn
On Wed, May 20, 2009 at 6:40 PM, Dane Laverty danelave...@gmail.com
wrote:
I've got my project set up to deploy with Maven's Tomcat plugin now. My
next
step
I just wanted to thank Jeremy, Scott, and Linda for recommending Effective
Java. I read through the book this week. It's wonderful -- accessible and
useful. Now I'm in the process of refactoring my project to start applying
the concepts.
On Fri, May 1, 2009 at 8:53 AM, Carlo Camerino
There's a basic installation guide for Maven, Eclipse, and Wicket on the
wiki:
http://cwiki.apache.org/WICKET/windows-guide-to-installing-wicket-on-eclipse-with-maven.html
Dane
On Wed, May 6, 2009 at 11:36 AM, David Brown
dbr...@sexingtechnologies.comwrote:
Hello Frank, I can't answer all the
My boss has asked me to manage development for a Java project. I'm going to
be working with two other programmers and one designer.
This is the first time that our organization has tried to formally
coordinate several programmers on a project together, and it is also the
first Java project we've
, a team training course is never a bad idea :)
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Apr 29, 2009 at 10:19 AM, Florian Sperber f...@sperber.info
wrote:
Hi Dane,
Dane Laverty schrieb:
My goal is to find a few tools that
- work well with Wicket
- make it easy
Thanks again to everyone for all the feedback. I'm reading through Design
Patterns and Wicket in Action, but I've never heard of Effective Java. The
Amazon reviews for that book are also amazing. I've got it ordered now and
am excited to see what it will bring.
On Wed, Apr 29, 2009 at 12:37 PM,
I’m building a Panel called TaskPanel that will display the contents of my
Task class. This simple Panel has a single constructor and a method, that
looks like this:
public class TaskPanel extends Panel {
Task task;
public TaskPanel(String id, final Task task) {
super(id);
(ComponentTag tag) {
if (getModel().getObject().isSelected()) {
// Do something
}
}
-igor
On Fri, Apr 24, 2009 at 7:57 AM, Dane Laverty danelave...@gmail.com wrote:
I’m building a Panel called TaskPanel that will display the contents of my
Task class. This simple
I'm working on a project management application that lists all of a
project's tasks. Each task is displayed as a DIV. I want the user to be
able to select a specific task by clicking on its DIV, which would then
highlight that DIV by adding a CSS class and display some information
about the task
):
this.add(new SimpleAttributeModifier(class, foobar));
target.add(this);
previouslyClicked.add(new SimpleAttributeModifier(class,
otherclass));
target.add(previouslyClicked);
previouslyClicked = this;
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Apr 22, 2009 at 12:52 PM, Dane
On Wed, Mar 4, 2009 at 1:45 AM, Dane Laverty danelave...@chemeketa.edu wrote:
Thanks, it looks good. I checked the Confluence website about adding
images to a page and it says:
To attach a file to a page,
1. Go to the page and click on the 'Attachments' tab.
2. Browse through your files
Alright Igor, that's all of them. Thanks for everyone's help with this.
Quickstart Installation Guide for Beginners
they are attached
-igor
On Wed, Mar 4, 2009 at 10:48 AM, Dane Laverty
danelave...@chemeketa.edu wrote:
Alright Igor, that's all of them. Thanks for everyone's help
I've just finished a Wicket Quickstart Guide for some of my coworkers
who are interested in using Wicket. It steps through installation of
Maven, Eclipse, M2Eclipse, WTP, and a Quickstart. I thought I'd pass it
along here in case it's of value to anyone else.
...@gmail.com]
Sent: Tuesday, March 03, 2009 3:27 PM
To: users@wicket.apache.org
Subject: Re: Wicket Quickstart Installation Guide for Beginners
you forgot the link :)
-igor
On Tue, Mar 3, 2009 at 3:21 PM, Dane Laverty danelave...@chemeketa.edu
wrote:
I've just finished a Wicket Quickstart Guide
I attempted to do that, but without any luck. I'm not at all familiar
with wikis, but I'd be happy to do it if someone will point me in the
right direction.
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Tuesday, March 03, 2009 3:44 PM
To:
to the first tab which says rich
format that should give you a nice wysiwig editor to work with.
-igor
On Tue, Mar 3, 2009 at 4:08 PM, Dane Laverty danelave...@chemeketa.edu
wrote:
I attempted to do that, but without any luck. I'm not at all familiar
with wikis, but I'd be happy to do it if someone
.
-Original Message-
From: Dane Laverty [mailto:danelave...@chemeketa.edu]
Sent: Tuesday, February 10, 2009 4:56 PM
To: users@wicket.apache.org
Subject: Inconsistent Model Binding on Form Submit
I have a test form based on a CompoundPropertyModel. Usually it works
great, but for some users
That's a good consideration. However, the error logs show that the error
does not appear to be browser dependent. It occurs with Firefox, Safari,
and IE. I just checked it by hitting Enter rather than clicking the
Submit button, but that doesn't appear to change anything.
-Original
I have a test form based on a CompoundPropertyModel. Usually it works
great, but for some users, their answers are lost when they submit the
form. The problem is user-dependent, i.e. it always breaks for certain
users and it never breaks for the other users. If a user calls us with
this problem,
I apologize for the awful code formatting. Is there a way to maintain
readable formatting when I post code to this mail list?
-Original Message-
From: Dane Laverty [mailto:danelave...@chemeketa.edu]
Sent: Tuesday, February 10, 2009 4:56 PM
To: users@wicket.apache.org
Subject
I've stepped through the Wicket QuickStart process as outlined at
http://wicket.apache.org/quickstart.html . However, when I try to run
the Start class, I get java.lang.ClassNotFoundException:
org.apache.wicket.protocol.http.WicketFilter. I'm not familiar with
Maven, but I can see that the POM has
First, Martijn, thank you for your video. I had used your video to get
as far as I did. Second, Igor and Cemal, thank you for your quick
responses. However, I tried running the Maven goals you suggested
(eclipse:eclipse, etc.), but I just end up getting additional errors. To
clarify, I was using
I'd like to check out the phonebook app as well, but I can't find it.
The link at
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook
says the SVN repository is at
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wick
et-phonebook/ . That doesn't work, but if I
I'm currently using Swarm to secure my web application, but I think it
provides a lot more functionality than I really need. Would simply
checking for a User object the session on each page load work as well,
or am I overlooking some major security hole? This way, when the user
logs in
I have a tabbed panel that displays a person's information. Outside that
panel are several links, which can be clicked to change the person whose
information is being displayed in the tabbed panel.
My problem is that it only works the first time the user clicks a link.
Any subsequent clicks do
Is there an easy way to add/override a function to all my Wicket classes
(panels, pages, forms, etc.)? For example, I have a custom session.
Rather than having to cast (MySession)getSession() , I just want
getSession() to return a MySession. Two solutions come to mind, but
neither seems optimal.
I've been trying to understand when DataView would come in handy. I have
a SQL database table with about 1,000,000 rows. The user can enter a
search string, and my application returns a list of all the rows that
match the search string. This list might be over 10,000 rows.
At first I thought
I think that sounds like a wonderful idea. I've enjoyed WIA (as much as I've
read so far) and would certainly purchase a follow-up book of Wicket tricks.
Dane
-Original Message-
From: Jonathan Locke [mailto:jonathan.lo...@gmail.com]
Sent: Tuesday, December 30, 2008 8:56 AM
To:
I have a form with a list of RadioGroups, which are all required. If the
user submits the form with one or more of the RadioGroups left blank,
the validator correctly returns to form. However, when that happens, any
RadioGroups the user filled also become blank. Is there a way to
maintain the
) - I didn't look at your code
in
depth, but at a glance I think the problem is that your radios are
getting
recreated.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Dec 3, 2008 at 12:50 PM, Dane Laverty
[EMAIL PROTECTED]wrote:
I have a form with a list of RadioGroups, which are all
I think you'll want to use the button tag rather than the input
type=submit for the changeName button.
-Original Message-
From: tim532 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2008 4:27 PM
To: users@wicket.apache.org
Subject: Updating Form TextField Value
Hopefully this
Great, I'll check that out. I didn't realize that the mail list would
chop up my code formatting so horribly -- thanks for taking the time to
slog through it anyway.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008 12:02 PM
To:
My site has a form-based test on TestPage. Each question in the test has
a Question object as its model. The Questions all sit in an ArrayList in
a Test object. Each Question has a markedAnswer String, which stores
the value of the selected answer. The problem is that, for some users,
the
I would like to make it so that whenever Wicket throws a
WicketRuntimeException, it also prints out getSession().getUser(). I'm
not especially clear on the flow for RuntimeExceptions, so any
suggestions on where I would add the code to do this will be greatly
appreciated.
Dane Laverty
Like so:
DropDownChoice myDropDownChoice = new DropDownChoice(...);
myDropDownChoice.setLabel(new Model(Description));
add(myDropDownChoice);
Hope that helps.
-Original Message-
From: Steve Thompson [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2008 12:49
This ended up working for Firefox, but not for IE. The image served in
Firefox will Save As x.png, but the image in IE still shows as
untitled.bmp. Thanks for the suggestion though, it at least taught me
a lot about resources and setting headers :)
Dane
-Original Message-
From: Serkan
I'm adding an image to my page with the following code. It works
correctly, and the image displays fine. However, we are getting reports
from some IE users that the image will not print. It prints fine for
most IE users, but there are a handful who can't get it to print.
While I don't know
Thanks for the hint. I tried your class with some minor modifications
(see below -- I commented out two lines and used the Apache FileUtils,
since I'm not sure which FileUtils class your referenced) but without
any success. However, while playing with that, I did notice that
untitled.bmp that IE
I should have said that your class worked great for displaying the
image; it just didn't keep the image name. Well, time to study up on
Serkan's suggestion on Content-Disposition and see what that does.
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
The title basically says it all. I've got a BLOB in a database, and I
want the user to be able to click a link and download it. Any wicket
solutions to do this? Thanks much.
To: users@wicket.apache.org
Subject: Re: Downloading a BLOB
see how downloadlink works
-igor
On Fri, Oct 10, 2008 at 3:21 PM, Dane Laverty
[EMAIL PROTECTED] wrote:
The title basically says it all. I've got a BLOB in a database, and I
want the user to be able to click a link and download it. Any
org.apache.wicket.util.resource.AbstractResourceStream;
import org.apache.wicket.util.resource.ResourceStreamNotFoundException;
/**
* An InputStreamResourceStream is an IResource implementation for
files.
*
* @see org.apache.wicket.util.resource.IResourceStream
* @see org.apache.wicket.util.watch.IModifiable
* @author Dane Laverty
*/
public
92 matches
Mail list logo