Hi,
Take a look at
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/autocomplete-tagit-parent/autocomplete-tagit
This is an integration with TagIt which is an extension of JQuery UI
Autocomplete.
On Mon, Dec 12, 2011 at 1:20 AM, Jeffrey Schwartz
jefftschwa...@gmail.comwrote:
Hi,
Here is the Scala project you mention:
https://github.com/brunoborges/gamboa-project
If Scala confuses you then all you need is to find pure Java example
of Spring-Data-Mongodb and another one that uses Spring
services/repositories from Wicket (e.g. Phonebook example in
wicketstuff).
On Mon,
Dear Forum,
I'm using a DefaultDataTable (structure almost identical to clickable cell
example from chapter 5, Apache Wicket Cookbook).
I want one particular column to have a different css class to the rest.
For that reason, when extending AbstractColumnT, I add the css class to
populateItem
On the production server I received an exception. The problem is that I
cannot reproduce and I coudn't find the cause.
Probably it must be something with browser setting, but I'm not sure.
Has anyone an ideea which can be the cause? It says that the component is
not found, but the component is
Hi,
The problem is that you have a stale link.
Initially you rendered this repeater and then you updated it in the
server side (the items inside have new ids) and you forgot to update
it in at the client side. Then the user clicks such stale link and the
server side cannot find an item with id ==
Hi,
You need to override
org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn.getHeader(String)
and return the component returned by super.getHeader(id) + your
attributemodifier.
On Mon, Dec 12, 2011 at 10:12 AM, lucast lucastol...@hotmail.com wrote:
Dear Forum,
I'm
Hi,
Many of your pastes didn't make it and we don't see them.
Make sure you don't assign this component to wicket:container and
don't call .setRenderBodyOnly(true) on it.
On Fri, Dec 9, 2011 at 8:09 PM, endoplasmicR endoplasm...@gmail.com wrote:
Hi, I have recently run into a strange issue with
I'm afraid I didn't understand what exactly do you mean.
How can I reproduce this in the development machine? This doesn't happened
again. What should I update on client side?
--
View this message in context:
I've written a project with the plain mongodb java driver. Not too bad
IMO. I don't think there's a need to use spring-data-mongodb.
The code is currently closed, but I aim to open up some things in the
new year. In the mean time, here's my MongoRequestCycleListener:
import
Hi,
with reference to the blog/article:
http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/
I have Code:
...the trouble is that the above allows me to ADD one record, but on the
second it naturally complains authorizationDetails is already pard of
repeatingview is actually the better choice for that ..
for listview ,you can write a method which adds the new item to list
view,you need to provide the index in that case
method should add new ListItemT(index, itemModel)
you can also iterate the children to see if the index isnt repeated
Thanks for your idea.
I manages to reproduce the error. It happens extremely rare. Here is the
situation.
I have a AjaxSubmitLink that make an action. To prevent multiple submit, I
use a AjaxCallDecorate that calls a javascript that shows a loading image
over the whole form, so that the form is
I put a setTimeout(..). I hope this will solve the problem. I didn't get this
error after puting setTimeout().
Thanks for your response.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cannot-reproduce-a-WicketRuntimeException-tp4185488p4186446.html
Sent from the
Actually it didn't work. I put setTimeout(..). to delay the hiding of loading
image but I still got the exception sometimes.
Do you have any other ideea?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cannot-reproduce-a-WicketRuntimeException-tp4185488p4186479.html
just checked out your code in nabble,it didnt get through in mail
authorizationdetail should be added to listitem in the button and
listitem shouldbe added to listview in button
listitem id should be the new unique index
On Mon, Dec 12, 2011 at 8:03 PM, vineet semwal
vineetsemwal1...@gmail.com
PropertyColumn populates the table cell with a label for a property of
the row object, see:
PropertyColumn#populateItem()
AbstractColumn handles the header only.
Sven
Am 12.12.2011 17:26, schrieb ridaa:
Hi ...
can anyone tell me the difference between abstract column property column
Hello,
I am using Tabbed Panel to display the list. Below is my code,
for(final Category category : Category.values()) {
.
.
.
tabs.add(new AbstractTab(new ModelString(){
private static final long serialVersionUID =
Hello,
I want to implement the functionality provided by Wicket's JIRA for
attaching images to an issue.
Essentially, when a file name is selected, it is uploaded via ajax and
the form submit button is disabled while uploading takes place. When the
upload is complete, an image thumbnail is
Hi, thanks for the reply. I am re-posting the Log in case you still can not
see it:
I see the following lines when constructing the modal window:
INFO:
This component, which was part of the request above, was never added to the
document:
component id=id18 div id=id18 style=display:none
div
Hi,
I think this feature works only on new browsers, HTML5 ones.
See wicketstuff html5 project. There is an integration with the new
File API, part of HTML5
On Mon, Dec 12, 2011 at 7:38 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
Hello,
I want to implement the functionality
We use an inexpensive commercial product called Plupload to achieve the
effect you describe. http://www.plupload.com/
A mounted Wicket resource receives the uploads. It does quite well, though
not so well that testing in your target browsers isn't necessary. :)
On Mon, Dec 12, 2011 at 11:02 AM,
Thanks for your reply.
I tried with IE 7 (no html 5, at least I think) and the ajax file upload
works fine. The only part missing is the picture thumbnail preview of
the uploaded image.
On 12/12/2011 2:02 PM, Martin Grigorov wrote:
Hi,
I think this feature works only on new browsers,
Thanks for your suggestion Dan. I'd rather avoid yet another 3rd part
dependency but if no better option exists, I'll have a look.
Regards,
Bertrand
On 12/12/2011 2:31 PM, Dan Retzlaff wrote:
We use an inexpensive commercial product called Plupload to achieve the
effect you describe.
This is actually quite easy to do after all! (Wicket 1.5.3)
I simply added an AjaxFormSubmitBehavior to my FileUploadField like so:
file.add(new AjaxFormSubmitBehavior(form, onchange) {
@Override
protected void onSubmit(AjaxRequestTarget target) {
Hello,
I am using deployment configuration in my web.xml. But if I remove
setRenderBodyOnly(true) for some of the containers and components, then I am
getting some issues with CSS styles.
Does it really make sense to use setRenderBodyOnly(true) when I am in
deployment mode already?
I am
Hi,
With the following markup:
li wicket:id=itemspan wicket:id=contentContent/span/li
using setRenderBodyOnly(true) on the span element would yield something
like :
liThe Content/li
Besides having to match a specific markup structure, I am not sure when
and why this should be used. Maybe
Thanks..
But do I need to specify setRenderBodyOnly(true) for each component even in
the 'deployment' mode? Is there a better way to strip these markups for all
the components of a page? As we have lot of nested components for a page.
-Suresh
--
View this message in context:
Hi,
I have a classic header,content,footer style app. I would like to add
breadcrumb panel to my header and show the current page's link. I could not
find any examples except which uses panels.
So I added a breadcrumbbar to my headpanel. I would more than happy if
someone could point me where to
Maybe you have a misunderstanding. setRenderBodyOnly(true) does not
depend at all on deployment or development mode.
What _does_ depend on it though is the rendering of wicket:container
tags and other wicket attributes. Personally, I use the following in my
application init method:
What type of path expression can be used to get a component which is inside a
repeater?
So is there an expression like somPanel.listView[0].label that can be
used? I mean, something like:
MarkupContainer.get(somPanel.listView[0].label) ?
--
View this message in context:
I did include the code
getMarkupSettings().setStripWicketTags(true);
in my Application's init() method.
But after removing .setRenderBodyOnly(true) in couple of panels, I am
getting CSS issues. But it works fine if I include .setRenderBodyOnly(true)
to the components.
Am I missing something?
Hi Suresh,
Without renderBodyOnly=true, you will have an extra element in your HTML
hierarchy. How that affects your page layout depends on what that element
is, and whether you have CSS selectors that depend on it not being there
(such as child selectors AB). It's hard to be more specific
Ya, I just noticed some issues if I setRenderBodyOnly(true) to all the
components. It seems some components need the wicket markups to be displayed
properly. For now I think I will go through each component and then decide
whether they need markups or not.
Thanks All
--
View this message in
Hi,
I'm starting a new project so made the jump to wicket 1.5. However
when using ajax, I cannot see the responses being returned from the
server - this is a form thats submitted via ajax. However if I use an
ajx link then I get the response.
I'm sure this was not the case with 1.4.x
Am I
I can't think of a migration gotcha that would cause this. AJAX form
processing continues to work in our app, and in the Wicket Examples:
http://wicketstuff.org/wicket/ajax/form. If you're stuck debugging, you
should share your code.
On Mon, Dec 12, 2011 at 3:41 PM, Wayne W
repeater children generate numeric ids, so
somPanel.listView.0.label should work
-igor
On Mon, Dec 12, 2011 at 2:56 PM, infiniter infini...@gmail.com wrote:
What type of path expression can be used to get a component which is inside a
repeater?
So is there an expression like
Hi Vineet,
nice suggestion. I worked on it and solved all server side issues; however
on the UI its failing to render. My suspicion is the prepended script may
need to be tweaked.
here is the modified code for reference:
-
Software documentation is like sex: when it is good, it is very,
Right. I have spring setup with services. The issue I am having is
Spring-Data-Mongodb uses additional Spring annotations. Do those work with
Wicket? As Martijn suggested I could just use the mongodb without the
spring-data layer. Will I run into problems in the future if I go this route?
ok, its official. using ListView in this situation is a major
*Pain_In_The_A*
Using RepeatingView it was smooth.
However, as far as I got with using ListView (for the sake of
documentation); .. is that the script will need to be modified. I think the
li adds one more level of abstraction. When
The component delimiter is ':', not '.'.
On Tue, Dec 13, 2011 at 5:09 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
repeater children generate numeric ids, so
somPanel.listView.0.label should work
-igor
On Mon, Dec 12, 2011 at 2:56 PM, infiniter infini...@gmail.com wrote:
What type of
40 matches
Mail list logo