Perhaps he is using a maven proxy repository and the archetype
repository is not added to it?
On Thu, Oct 8, 2009 at 21:49, jWeekend jweekend_for...@cabouge.com wrote:
Danisevsky,
This has been used by loads of people and on all sorts of OSs and versions.
I also just successfully tried it on
Finally, I don't know why it didn't work. I had some problems with the
defaultFormProcessing. Now I only set this parameter to false if I don't
want to retrieve any form data on the server, and I do not get null values
in my models anymore.
--
View this message in context:
Hi all,
I am implementing a form where I need to upload 2 different files.
I want to block the second upload until the user added the first file
and I validated on the server.
In my Java code I have:
fileUploadFieldSello = new FileUploadField(fileUploadFieldSello);
It could, Artwork uses the
http://www.codesmell.org/blog/2009/08/best-practice-for-building-wicket-components/,
cant remember if mootip does and don't know it the others do. However
it
would probably only give a runtime exception, Can't remember if it has a
utils to evaluate and put in a specific
2009/10/8 vineet semwal vineetsemwal1...@gmail.com
Stefan,
thank you,
your fix works but if the required js files are not added the plugin will
not work as good
as it should :(
Nino,
thank you for creating the wiki ;)
i am attaching the example project for the issue which shows a page
Hi,
What's the up-to-date method to change the default UTF-8 charset set in the
page.
I saw the page in the wiki but it is old and it has a header sayingthis
is going to change
So I am not sure and could not find something useful on the search.
I need to set it for a specific page or panel
You can extend WicketFilter like this
public class ImpactServletFilter extends WicketFilter {
@Override
public void init(FilterConfig filterConfig) throws ServletException {
super.init(filterConfig);
}
@Override
public void doFilter(ServletRequest request,
Hi;
I have a problem with DropDownChoice; The code block is here :
ListFaaliyetfaaliyetListesi = // data comes
final DropDownChoiceFaaliyet faaliyetler =
new DropDownChoiceFaaliyet(Faaliyetler,
new Model((Serializable) faaliyetListesi),
faaliyetlerRenderer) {
If you use the below constrcutor, it should solve your problem.
DropDownChoice(java.lang.String id, IModel model, IModel choices,
IChoiceRenderer renderer)
2009/10/9 Altuğ B. Altıntaş alt...@gmail.com:
Hi;
I have a problem with DropDownChoice; The code block is here :
Dear wicket users,
I have a lazy loading panel. The components inside the generated panel (i.e.
the panel that is generated inside the getLazyLoadComponent method) have some
header contributing ajax behaviors (jQuery etc.).
The lazyly loaded components render javascript resources to the head
Hello *,
is it possible to highlight selected row without rewrithing
populateItem() or something similar?
If not then what is the best method to override?
Regards
Roman
-
To unsubscribe, e-mail:
I solved this problem by switching over to the inmethod datagrid. Which
has, of course, given me other problems that I still need to solve.
Regards,
Linda
Roman Ilin wrote:
Hello *,
is it possible to highlight selected row without rewrithing
populateItem() or something similar?
If not then
Hi,
I have Index.java that displays a shopping cart from a custom shopping cart
panel (ShoppingCartPanel.java). This custom panel has a remove link for each
item, and clicking this removes the item from the list using Ajax. In
Index.java I also have a Checkout button that is set to visible
How do you add the JavaScript? I have pages where components are added via
AJAX, which include JavaScript and CSS via
add(JavascriptPackageResource.getHeaderContribution(ResourceReference...));
and this works fine in any browser I have tested (IE, FF, Chrome, etc).
Best,
Ernesto
On Fri, Oct
Thank Jeremy. The LDM was causing the problem. It does make sense
given your explanation.
What do you intend with this code?
public MyWizard(IModelFoo model) {
super(new Model(model.getObject()));
}
The Wizard can only accept an IWizardModel and not the model I am going
to back it with.
Yes please send me the code .
Douglas Ferguson-2 wrote:
I override the onRender and set visibility conditionally.
However, you have to remember to set visible in your page redraws or
else wicket won't even bother calling the onRender method
If you need, I can send you code.
On
I have some Behaviors that extend AbstractDefaultAjaxBehavior. In the
renderHead method of the Behaviors I use
public void renderHead(IHeaderResponse response) {
response.renderJavascriptReference(WicketEventReference.INSTANCE);
}
But that's not the problem. When
Hi there,
another problem on my way...
I want to implement a dynamic chart, ie. refreshing its model every 5
sec and showing updated values.
I found nice solution for charts - open flash charts and would be great
if i use it.
There is wicket integration solution over here:
http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.OIRPage
-igor
On Fri, Oct 9, 2009 at 5:43 AM, Roman Ilin roman.i...@gmail.com wrote:
Hello *,
is it possible to highlight selected row without rewrithing
populateItem() or something similar?
Thank you Igor,
but I cant find where 'toggle highlight' Link/Action is added to ActionPanel.
Regards
Roman
On Fri, Oct 9, 2009 at 5:21 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
I have being looking on wrong Page.
I found what you mean.
Thank you one more time.
On Fri, Oct 9, 2009 at 5:41 PM, Roman Ilin roman.i...@gmail.com wrote:
Thank you Igor,
but I cant find where 'toggle highlight' Link/Action is added to ActionPanel.
Regards
Roman
On Fri, Oct 9,
I have a modal inside a wizard step. The modal is displaying and
showing data. The modal is using a panel and not a page. The panel for
the modal contains a form with text fields. The wizard step contains
labels.
I want to have a save and a cancel button in the modal. The save should
take
Some very brief pseudo code. Let us know if you need more detail.
public MyWizard(IModelFoo model) {
setModel(new ModelFoo(model.getObject());
initialize wizard steps - passing them this.getModel() so they all use
the same model
}
make sure to pass all of your wizard steps AND the
I keep wondering, too, what you are doing in the wizard that needs an
editing modal popup. Typically, wizards are used for multi-step forms. So
to me it's weird to have a wizard that isn't the form - but displays values
that you are then editing from a modal. Just curious
--
Jeremy
Hi,
I'm working on a Wicket / Hibernate / Spring app, with a configuration
that uses spring's OSIV filter and my own transaction filter (basically
a transaction per-request pattern).
I've run into a problem involving the order of transaction commits and
redirect reponses (triggered by
IIRC working with OFC, you can either specify the data directly in the page
when it's loaded, or tell it how to call back to your server to get it's
data.
So, you can either:
1 - tell it to call back to your server for data, and then, IF it has a
method for telling it to reload it's data, call
WebMarkupContainer wmcNavHead = new WebMarkupContainer(wmcNavHead);
WebMarkupContainer wmcNavFoot = new
WebMarkupContainer(wmcNavFoot);
wmcNavHead.add(new PagingNavigator(navigatorHead,
eachProject));
if (dp.size() ROWS_TO_DISPLAY) {
Sorry - typo on that step. The intent was that you use new
Model(model.getObject()) to pull an object out of any potential loadable /
detachable model that may be passed in.
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Oct 9, 2009 at 9:09 AM, Jeffrey Schneller
opps forgot the the wmc html
div align=center wicket:id=navigatorHead/div
rmattler wrote:
WebMarkupContainer wmcNavHead = new WebMarkupContainer(wmcNavHead);
WebMarkupContainer wmcNavFoot = new
WebMarkupContainer(wmcNavFoot);
I am completely lost. I have no idea what this means. How can the
resolution to my problem be a JIRA issue that was created earlier today?
It is just an wish for javadoc improvements, not the solution.
Sending an example attached
On Fri, Oct 9, 2009 at 1:49 PM, Jeremy Thomerson
I start from the end: I need fine control over the order javascript is
executed. What is the javascript to call a refresh on a component like
is done when I use target.addComponent()?
From the start.
I make that work with bgooren suggestion, using the javascript to
remove the editor. No need to
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
I've made a little progress toward getting the spell checker working. In my
TinyMCESettings I've added:
tinyMCESettings.addCustomSetting(spellchecker_rpc_url : \someURL\);
That takes care of the alert, but now I need to know what URL I'm supposed
to put there. The SpellCheckPlugin class has
Why not use firebug and see your script section is added the head of the
page?
Ernesto
On Fri, Oct 9, 2009 at 4:51 PM, Stefan Lindner lind...@visionet.de wrote:
I have some Behaviors that extend AbstractDefaultAjaxBehavior. In the
renderHead method of the Behaviors I use
public void
Hello, I was trying it on Linux with no proxy and I got the same error. In
text editor is see, that there is no line breaks. I do not know where is
problem.
2009/10/9 Bert taser...@gmail.com
Perhaps he is using a maven proxy repository and the archetype
repository is not added to it?
On Thu,
Think of an order form. Step 1 you enter the products you want to
order. Step 2 based on your account it pulls up a list of billing
addresses. In step 2 you choose your billing address and the details of
the billing address are shown in step 2 with a modify link. The modify
link allows you to
Thanks for the example. It makes perfect sense now that I see it. I
can even run the sample as its own project and see it working. Now, I
took your example and put it into my project's codebase and the submit
button in the modal panel does not cause the form to be submitted.
Obviously I have
It is added and a test script with an alert command tells me that it is
executed too. But things like jQuery don't work.
When I drop the lazy loading and replace it with the lazy loaded panel
everything works.
When I redraw the wohle panel in an Ajax call, everything works too.
It's just the
The only difference I can see in the code is that I extend the wizard to
be MyWizard and create the model, wizard model, and steps in the
constructor. I then use MyWizard in the page rather than the generic
Wizard.
I don't think anything should be different because I extended the same
Wizard
Makes sense. I've done a similar process in the past but showed the edit forms
within the wizard step (hidden until add/edit clicked). But this makes sense,
too. I'm just not a big fan of modals, preferring instead to generally show
stuff inline on the original page. Just depends on what
I figured it out, the form is not submitting because of Required Field
validations. I have a FeedbackPanel in the modal window panel. However
the messages are not appearing in the feedback panel.
If I change the fields to required in the example and add a
FeedbackPanel the same thing happens.
I figured it out. I needed to have the feedback panel added back in the
onError of the AjaxButton.
Jeff
From: Pedro Santos [mailto:pedros...@gmail.com]
Sent: Friday, October 09, 2009 1:15 PM
To: users@wicket.apache.org
Subject: Re: Showing Modal window within a wizard step
I am
Maybe you can post additional details... and then maybe someone can spot
what's happening.
Best,
Ernesto
On Fri, Oct 9, 2009 at 9:08 PM, Stefan Lindner lind...@visionet.de wrote:
It is added and a test script with an alert command tells me that it is
executed too. But things like jQuery don't
Hello all,
I have a working wicket application but I see the follwowing output on
my console.
22:28:23.921 ERROR org.apache.wicket.util.lang.Objects - Error serializing
object class \
ch.qos.mistletoe.wicket.Tree
[object=[Page class = ch.qos.mistletoe.wicket.Tree, id = 4 version = 0]]
Hi,
It looks like GenericBaseModel has a reference to a JUnit Description?
Maybe you can paste your GenericBaseModel class here?
If that's something you'll have a runtime you shouldn't ignore it if
you want to support history (the backbutton). If it's just during
testing, you can ignore it if
Eelco Hillenius wrote:
Hi,
It looks like GenericBaseModel has a reference to a JUnit Description?
Maybe you can paste your GenericBaseModel class here?
Fortunately, my application is open source. You can find its source code at
http://github.com/ceki/mistletoe
If you look at the
I've looked at it briefly. The main thing you need to keep in mind is
that it unfortunately is a limitation of Wicket that you can't have
references in Components that aren't serializable (unless you don't
care about back button support and turn of the second level session
cache, OR you plug in
Btw, this whole serialization problem is exactly why we have
detachable models (though they obviously don't solve every problem out
there. Be sure to read up on those while you're at it.
Eelco
On Fri, Oct 9, 2009 at 3:12 PM, Eelco Hillenius
eelco.hillen...@gmail.com wrote:
I've looked at it
Hi,
I'm new to Wicket this week, so not familiar with the expected format or
structure of emails to this mailing list.
I picked Wicket after trawling around for a framework that would enable UI
programming on the Web make sense again. It's been an absolute pleasure so
far. Compared to the pain
thanks, let me try that and see what happens
Date: Sat, 19 Sep 2009 20:55:07 -0500
Subject: Re: post a form to external website
From: jer...@wickettraining.com
To: users@wicket.apache.org; mcgreg...@e-card.bg
If you actually want to redirect them to the other site (with a post, and
not
if (getpagecount()2) { setvisible(false); }
-igor
On Fri, Oct 9, 2009 at 9:48 AM, rmattler robertmatt...@gmail.com wrote:
WebMarkupContainer wmcNavHead = new WebMarkupContainer(wmcNavHead);
WebMarkupContainer wmcNavFoot = new
WebMarkupContainer(wmcNavFoot);
you can always roll your own datepicker if the YUI one does not work properly.
-igor
On Fri, Oct 9, 2009 at 5:13 PM, John MacEnri john.mace...@gmail.com wrote:
Hi,
I'm new to Wicket this week, so not familiar with the expected format or
structure of emails to this mailing list.
I picked
On Fri, Oct 9, 2009 at 1:41 PM, Ceki Gulcu c...@qos.ch wrote:
Anyway, my application handles a complex tree-like structure, with
almost all of the contents non-serializable and outside my control. I
don't think I can use a Loadable Detachable Model, because loading the
tree may take several
53 matches
Mail list logo