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");
fileUploadFieldSello.setReq
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 m
2009/10/8 vineet semwal
> 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 where
> stefan's fi
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 saying"this
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 pane
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, ServletResp
Hi;
I have a problem with DropDownChoice; The code block is here :
ListfaaliyetListesi = // data comes
final DropDownChoice faaliyetler =
new DropDownChoice("Faaliyetler",
new Model((Serializable) faaliyetListesi),
faaliyetlerRenderer) {
@Over
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ş :
> Hi;
> I have a problem with DropDownChoice; The code block is here :
>
> ListfaaliyetListesi = // data come
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 se
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: users-unsubscr...@wicket.apache
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 w
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 visi
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 9,
Thank Jeremy. The LDM was causing the problem. It does make sense
given your explanation.
What do you intend with this code?
public MyWizard(IModel model) {
super(new Model(model.getObject()));
}
The Wizard can only accept an IWizardModel and not the model I am going
to back it with. Unless I
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.
>
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://cwiki.apache.o
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 wrote:
> Hello *,
>
> is it possible to highlight selected row without rewrithing
> populateItem() or something similar?
>
> If not then w
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 wrote:
> http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.OIRPage
>
> -igor
>
> On Fr
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 wrote:
> 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
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(IModel model) {
setModel(new Model(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 form insid
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 Thomerso
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 setRes
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 th
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 <
jeffrey.schnel..
opps forgot the the wmc html
rmattler wrote:
>
> WebMarkupContainer wmcNavHead = new WebMarkupContainer("wmcNavHead");
> WebMarkupContainer wmcNavFoot = new
> WebMarkupContainer("wmcNavFoot");
> wmcNavHead.add(new PagingNavigator("navig
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
wrote:
> Sorr
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 renderHead(IHeaderRespons
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 h
Why not use firebug and see your
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
> Perhaps he is using a maven proxy repository and the archetype
> repository is not added to it?
>
> On Thu, Oct 8, 2009 at
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 m
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 som
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 f
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 that
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 your
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. T
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 com
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 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 work.
>
> When I
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]]
o
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 you
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 Descript
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 you
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
wrote:
> I've looked at it briefly. The main thing you
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 I
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
if (getpagecount()<2) { setvisible(false); }
-igor
On Fri, Oct 9, 2009 at 9:48 AM, rmattler wrote:
>
> WebMarkupContainer wmcNavHead = new WebMarkupContainer("wmcNavHead");
> WebMarkupContainer wmcNavFoot = new
> WebMarkupContainer("wmcNavFoot");
> wmcNavHead.add(n
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 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 Wicket after traw
On Fri, Oct 9, 2009 at 1:41 PM, Ceki Gulcu 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 minutes.
The Apache Wicket project is proud to announce the second maintenance
release of Apache Wicket 1.4.
Download Apache Wicket 1.4
---
You can download the release here:
http://www.apache.org/dyn/closer.cgi/wicket/1.4.2
Or use this in your Maven pom's to upgra
52 matches
Mail list logo