Hi Jeremy,
thanks very much for helping.
I went with the first suggestion which seems to work fine.
The code is essentially now:
= new Form() {
add(new AjaxButton() {
void onSubmit() {
if(!form.isSubmitted()) {
onSubmit();
}
}
void onSubmit() {
Just looking through some of our forms and this isn;t going to work
where we have 2 ajaxbuttons in the same form. I suppose we'll need to
separate the forms or something now.
On Thu, Feb 26, 2009 at 9:06 AM, Wayne Pope
waynemailingli...@googlemail.com wrote:
Hi Jeremy,
thanks very much for
Hello,
How can i send a serialize object using byteArrayOutput stream in wicket
page. here is my code:
public class BridgeIndex extends WebPage {
public BridgeIndex()
{
final HttpServletResponse response =
getWebRequestCycle().getWebResponse().getHttpServletResponse();
Nope, but it is really easy to modify the default quickstart archetype
to do your bidding:
packagingwar/packaging - packagingjar/packaging
Martijn
On Thu, Feb 26, 2009 at 6:04 AM, Anton Veretennikov
anton.veretenni...@gmail.com wrote:
Hi,
Do we have jar quickstart with resources filter added
I think the wicket way to do this is using a
org.apache.wicket.markup.html.WebResource
(or any of its subclasses) instead of a WebPage
On Thu, Feb 26, 2009 at 10:45 AM, freak182 eman.noll...@gmail.com wrote:
Hello,
How can i send a serialize object using byteArrayOutput stream in wicket
you cant do it like that
look at ResourceStreamRequestTarget
what you want is a combination of that and AbstractRestartResponseException
so you must set the RequestTarget in the RequestCycle and then throw an
AbstractRestartResponseException
(just like RestartResponseException works)
johan
On
Hi,
I want to refresh every 5s my 4 listviews. So I have use
AjaxSelfUpdatingTimerBehavior with them. But it was not working, the
solution that I have found here, is to put their in a WebMarkupContainer.
Now it's working for resfreshing... But every 5 secondes I have 4 new
listviews adding to
hi,
i have this exception when i open my application in a new tab on my browser:
java.lang.ClassCastException: cannot assign instance of
org.apache.wicket.proxy.$Proxy17 to field
com.asf.crm.portal.gui.AdvancedSearchPanel.crmPortalService of type
com.asf.crm.portal.service.CrmPortalService in
btw.. are any of the core devs interested or willing to mentor? Once
again it seems a lame excuse to say you're too busy or the various other
things when this could both give the project good pr and possibly add
more people who contribute to the framework.
./C
It seems like a lame proposition to coerce us to do your bidding just
because you think it is a good idea. You're not the one to tell us
how to spend our personal time, or whether the choices we make on how
to spend our own time is lame or not.
There's a Wicket Stuff project where anyone can
Martijn Dashorst wrote:
Martijn
Thanks Martijn.. You've shown me what a good catalyst and community
leader you finally are.. It's not about my bidding.. I push for gsoc..
my points are valid.. others have brought up other good points.. and yet
when I push in general you make it personal.
Arent there a InternalFrame or something already in wicket?
I think this has been discussed before, search with nabble
2009/2/26 freak182 eman.noll...@gmail.com
Hello,
How can I get the session from my main application to the application in
the
iframe? here is the scenario:
1. I have a
Hi,
I have the following use case:
A form contains an AJAX submit button. The onSubmit() looks like this:
public void onSubmit(AjaxRequestTarget target, Form? inviteForm) {
if (..some case...) {
info(This does not show up);
setResponsePage(getPage());
} else {
Once again it seems a lame excuse to say you're too busy or the various
other things when this could both give the project good pr and possibly add
more people who contribute to the framework.
I've found that the best way to convince people does not involve insulting
the person you're trying
I think InlineFrame is the guy...
On Thu, Feb 26, 2009 at 12:47 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Arent there a InternalFrame or something already in wicket?
I think this has been discussed before, search with nabble
2009/2/26 freak182 eman.noll...@gmail.com
Hi,
I have an AjacTabbedPanel with two tabs.
The first tab is a form which, when submitted, show the result on the
second tabs.
So far, everything's fine.
I want to keep the input from the form after the submit so that the user
can come back to the first tab and have a look at what the
I really need your help.
I have replaced the WebMarkupContainer by a Panel. I use the methode
addOrReplace (Component child) in my panel.
When I arrived in the page, everybody is fine but when it refreshs it, It
adds one time in more the panel in the top of my page!!
My Page :
I did some reading and found that a mentoring organization for the GSoC is
considered A group running an active free/open source software project.
That seems to imply a core committer would need to be involved. See:
The words of C. Bergstrom may have been poorly chosen, but he seems to have
the same goal of wanting Wicket to succeed and grow in popularity. Providing
harsh responses to users that, despite poor communication, are otherwise
excited about your project does not help to grow your community or get
I post my solution just in case someone else finds it useful.
I've created a copy of AbstractAjaxTimerBehavior and added the methods
in AjaxSelfUpdatingTimerBehavior. Then I added a start method:
public final void start(final AjaxRequestTarget target) {
stopped = false;
While I am perfectly capable of working on Wicket in my spare time
without being rewarded, I find it way out of line to characterize the
way I spend my own time as lame when such that doesn't fit the
criteria of anyone. Being characterized as lame because we are engaged
in other things, such as
But don't you run the risk of deploying a development version to
production by mistake?
If you simple start the container in production with the runtime flag,
it will be the same WAR (EAR) for both... no rebuild after testing.
Anyway, I'm sure it works :)
- Brill
On 24-Feb-09, at 12:26 PM,
Hi,
We are trying to run the echo wicket example application as a wicket portlet
on WAS 7.5.
We are able to load the echo application as a portlet but when we enter any
text and submit the form, the form doesn't gets submitted and the page
always gets loaded with the default echo text.
We are
I don't think we're talking about the same plugin then (although you
seem to be calling it the same thing)...
I'm referring to:
http://m2eclipse.codehaus.org/
It's the *only* one I've found that *actually works* properly,
particularly for larger projects... although I run the dev
Hi,
we are using the LocaleDropDown component mentioned in Wicket in Action.
While it works on the local machine, it does not when deployed on our
server.
We need to switch between German and English. German works on my local
machine,
on the server it doesn't.
Any ideas?
Roman
you can mix Ant and Maven easily with the antrun plugin.
another option is to use the inline maven goal for the war plugin
which I think will allow you to edit the HTML in place.
Your issue it certainly not a new one... most of the very good
designers i know don't even want to know how to run
I've got a custom component based on the TabPanel where instead of
updating the panel content it actually calls a setResponsePage(Page).
However after setting the first tab, a click on any other tab renders
the new page just fine except that the page for tab 0 is also
rendered, and I mean
Of course, no sooner do I post this, i find the problem.
Since I dumped code on you folks, here is the working replacement in
case anyone has a need for this.
- Brill
On 26-Feb-09, at 11:38 AM, Brill Pappin wrote:
I've got a custom component based on the TabPanel where instead of
FYI: it's not clear what will happen with the wicket-security package. The
original maintainer sadly passed away last year and no-one has officially
taken the torch.
We've used both packages (auth-roles and swarm), but neither with
spring-security. We'd like to move to using spring-security
Hi guys, I've received the news that our application could need portlet
support.
We turned to wicket 1.4rc2 and OpenPortal portal-container which runs on
glassfish v3 (just to choose one portal, has netbeans support). With that we
started playing around with it, and get to know it.
After endless
I might pick it up (But since it's not something I need right now, it
has low priority).. But was hoping that Wayne Pope would get back and
tell whats state it is in..
Philippe Laflamme wrote:
FYI: it's not clear what will happen with the wicket-security package. The
original maintainer sadly
On Thu, Feb 26, 2009 at 11:11 AM, Brill Pappin br...@pappin.ca wrote:
But don't you run the risk of deploying a development version to production
by mistake?
If you simple start the container in production with the runtime flag, it
will be the same WAR (EAR) for both... no rebuild after
I haven't used inmethod datagrid yet but i guess i wont be different with
another Wicket model component, so just clear the property of your
Underlying model, that should be enough.
Will Jaynes-4 wrote:
I'm working with the inmethod datagrid. I would like to set up some ajax
interactions
Yes. That would addresses the specific example I sited, but not the general
question I have. Suppose I wanted the other cell to turn yellow, or change
it to a dropdown, or anything that affects the component, not necessarily
the model.
On Thu, Feb 26, 2009 at 2:40 PM, jcgarciam
chuckle so have I, as I think most developers have... :)
- Brill
On 26-Feb-09, at 2:18 PM, James Carman wrote:
On Thu, Feb 26, 2009 at 11:11 AM, Brill Pappin br...@pappin.ca
wrote:
But don't you run the risk of deploying a development version to
production
by mistake?
If you simple start
For some reason the DropDownChoice component doesn't have the same
generics as ListView and it will not accept a model that listview
will, despite its saying that it will accept an IModel.
Is anyone else having that sort of trouble with DropDownChoice?
- Brill
Hello,
It is an InlineFrame
reiern70 wrote:
I think InlineFrame is the guy...
On Thu, Feb 26, 2009 at 12:47 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Arent there a InternalFrame or something already in wicket?
I think this has been discussed before, search with
On 26.02.2009, at 22:52, Brill Pappin wrote:
For some reason the DropDownChoice component doesn't have the same
generics as ListView and it will not accept a model that listview
will, despite its saying that it will accept an IModel.
Is anyone else having that sort of trouble with
Another doubt about this subject.
I have overriden the addHeaders method like below.
How should I do to make wicket write the charset property/attribute?
@Override
protected void addHeaders() {
add(JavascriptPackageResource.getHeaderContribution(Index.class,./javascript/jquery.js));
Roughly what I'm doing is:
class TypeA{}
class TypeAModel extends LoadableDetachableModel ListTypeA {
public ListTypeA load(){
... do the load ...
return ...
}
}
TypeAModel model = new TypeAModel();
DropDownChoice TypeA ddc = new
This is what I was commenting on last week on the list (or earlier this
week). One expects List? extends Foo while the other expects ListFoo.
I'm not fully convinced yet that the ? extends is the better option.
Either way, I think they should be the same.
--
Jeremy Thomerson
? extends Foo collections are read only, it would be too
inconvenient to make the model collection read only :)
-igor
On Thu, Feb 26, 2009 at 8:34 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
This is what I was commenting on last week on the list (or earlier this
week). One expects
Do you mean that I should do something to make the list read only or
that it should have the same generic definition?
IMO they should all work the same way... so I'm +1 for the ListFoo.
syntax.
Also, I'm not sure that they mean read only. AFAIK it just means
that the unknown object must
I'll be happy to mentor, what does it require?. I do have a life besides
Wicket/Wicketstuff as Martijn has :)
regards Nino
2009/2/26 Martijn Dashorst martijn.dasho...@gmail.com
While I am perfectly capable of working on Wicket in my spare time
without being rewarded, I find it way out of
Hi,
In terms of SWARM etc its in the pre-generics stage. It didn't take
much to get it working with the latest wicket version mind.
It works fine, however it wan't what we needed in the end - we went
with the wicket.aurthorization package and rolled our own dynamic
acl-list/roles etc.
I had some
That is the plugin Martijn is talking about, and I am one of the co-workers he
mentioned. I tried the m2eclipse plugin and used it for a day. The plugin
(version 0.9.7.200902090947) was able to checkout the project from svn and
create eclipse projects for all modules, so far so good, although
46 matches
Mail list logo