I am really facing some hard time making Autocomplete Form statless. The
problem basically stems from
AutoCompleteBehavior which extends AbstractAutoCompleteBehavior which
evetually extends AbstractAjaxBehavior.
AbstractAjaxBehavior implements IBehaviorListener. I saw in the the
Component class
Hi,
I see you are not expert in Java either ;-)
Your code suggestion will lead to StackOverflowError because it goes
in infinite recursion.
Wicket's Ajax behaviors are stateful. To be able to find the component
that will feed the autocompleter the page should be preserved.
There are some stateles
Thanks Martin,
Shall try to explore your suggestions.
regards,
Karthik
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Adding-Columns-on-Button-Click-in-Wicket-tp4455701p4455858.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Hi,
I will check this once more. If I can not find a solution,
I will create a quickstart for further debugging.
Andre
Original-Nachricht
> Datum: Thu, 8 Mar 2012 09:24:55 +0200
> Von: Martin Grigorov
> An: users@wicket.apache.org
> Betreff: Re: Links with old PageID do not wo
In this case you may need to implement
org.apache.wicket.markup.IMarkupResourceStreamProvider to be able to
provide dynamic markup.
On Thu, Mar 8, 2012 at 1:04 PM, karthik
wrote:
> Hi Martin ,
>
> "Reload the Table with New Columns" .
>
> How would i add the new column markup in my html page for
Hi,
On Thu, Mar 8, 2012 at 12:47 PM, zlatko99 wrote:
> Hi all,
>
> I'm using Wicket 6 SNAPSHOT.
Good! Let us know if you find any problems!
>
> How can I limit the pagemap to keep ONLY one page in memory, in total?
>
> My intention is to have one and only one page in session, and that should be
So I created a method like:
private Component text(String pId){
Label text = new Label(pId){
@Override
protected void onConfigure() {
// TODO Auto-generated method stub
super.onConfigure();
Hi,
You can invalidate the http session. Since Wicket Session is an
attribute in the http session it will be removed as well.
On Wed, Mar 7, 2012 at 6:35 PM, Martin A wrote:
> Hello,
> I've got a REST service which is behind a Wicket Session Filter (due to the
> need to obtain the wicket current
Yes, I worked on an app with a search engine component, so it's common for
users to come to the "same" page via slightly different urls.
Label canonical = new Label("canonical", "");
canonical.add(new AttributeModifier("href",
Model.of(getCanonicalUrl(;
canonical.setVisible(!
Hey Guys
I'm using an Image rendered with a DynamicImageResource (in this case a
JFreeChart chart, but it could have been anything). I would like the image
to fill the panel it is placed in which is sized relatively to the web page
it is on. For the rendering to work I have to know the width and h
Thanks for the input Martin. Essentially, it's possible, but I'd have to
rewrite form handling code and lose functionality :)
Another idea: maybe it is possible to handle the variable number of form
components with page parameters. Something like
"http://&numPhones=n"; where "numPhones" wo
Hi,
Maybe you do this with the WebClientInfo.
See how http://www.wicket-library.com/wicket-examples/hellobrowser
extracts client info like browser dimensions.
You can use this information to calculate the size of the div and
respetivelly the image that you have to generate.
HTH
On Thu, Mar 8, 20
I've run to an issue with file uploads on GAE - after the file upload
exceeds a certain size (~10k?), the default file upload implementation
writes to disk, which is not allowed in GAE.
I found this previous post:
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-FileUpload-on-Google-App-Engin
Hi Chris,
I'm glad you find gae-initializer project useful!
Your can make a pull request with the upgraded to 1.5 code so other
people can gain from it too.
On Thu, Mar 8, 2012 at 6:43 PM, Chris Merrill wrote:
> I've run to an issue with file uploads on GAE - after the file upload
> exceeds a ce
Martin Grigorov-4 wrote
>
> Maybe you do this with the WebClientInfo.
>
Using WebClientInfo does seem to offer a possible workaround. However, as I
see it, there are a few drawbacks:
It requires the Java code to know the percentage of the page that the
panel's div is taking. Hard-coding this wo
Hi,
I have the same problem and i'm also working with the released version
1.5.4. However nested modal windows show a "http 404 not found" response and
a Socket Exception is also shown in the console
It´s important to say that this only happens with nested modal windows, a
simple modal works just
I have an application structured such that I have 2 version for header
panels. One for anonymous(HeaderPanel) users and one for
authenticated(AuthenticatedHeaderPanel) users. Both of these are Panels
included in their respective pages.
Now I added another Panel (SearchPanel. It contains a Form) in
On 3/8/2012 11:55 AM, Martin Grigorov wrote:
> I'm glad you find gae-initializer project useful!
> Your can make a pull request with the upgraded to 1.5 code so other
> people can gain from it too.
What is a pull request? Is it a different kind of file upload?
--
--
Hi,
can you show the complete stacktrace of the exception?
I have an application structured such that I have 2 version for header
panels. One for anonymous(HeaderPanel) users and one for
authenticated(AuthenticatedHeaderPanel) users. Both of these are Panels
included in their respective pages.
Hi Jarnis,
We have a similar challenge: we determine pageable views' itemsPerPage
based on available screen height. Since many of our pages have such views,
we include JavaScript in each page that stores the current known height,
and reports back any changes with jQuery (after a slight delay).
wi
Here it is:
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to
render. A common problem is that you have added a component in code but
forgot to reference it in the markup (thus the component will never be
rendered).
1. [SearchForm [Component id = searchForm]]
I'm using the IndicatingAjaxButton from my wicket-application. When the user
hits the button the indicator shows correctly but it is going away after a
successfull finish of the AJAX-call.
I'm using this on a webservice call which is returning information on
approx. 100 items. It will take some tim
Still not clear what I did wrong.
With wicket 1.4 my code was:
public final class PageHeaderComponent extends WebComponent {
public PageHeaderComponent(final String id, final String
changeDestination) {
super(id);
add(CSSPackageResource.getHeaderContribution("/css/header.cs
Your code seems good, I can't find any reason why it should not work.
I've seen you have deployed your code on Google Appengine, maybe your
problem is related with this running environment. Can you run you
project locally and reproduce the problem?
Here it is:
Root cause:
org.apache.wicket.Wi
Hello,
I want to create a WizardStep with three textfields. On of the three fields
must be filled. If none of the fields is filled, the user should get a feedback.
I don't think that it is possible to use RequiredTextField's? How can I make it
possible that the system knows it just has to check
I got it, it's
Application.class.getResourceAsStream("file.pdf");
(assuming file.pdf is directly under /WebContent).
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-Reference-a-WebContent-File-from-Wicket-tp4454190p4457546.html
Sent from the Users forum mailin
See Form#add(IFormValidator). Depending on the setup, it can also make
sense to group the three fields in a FormComponentPanel with its own,
smaller-scoped IValidator.
Dan
2012/3/8 Andre Schütz
> Hello,
>
> I want to create a WizardStep with three textfields. On of the three
> fields must be fi
I'm using a Tree and I have declared an onClick() handler in the usual way :
new Tree("treeID", treeModel){
@Override
protected MarkupContainer newNodeLink(MarkupContainer parent, String id,
final TreeNode){
return newLink(parent, id, new ILinkCallback(){
public void onClick(AjaxRequ
Hi,
Have you added the datatable to the AjaxRequestTarget of the link's
onClick method? That should do it.
On 08/03/2012 7:56 PM, mlabs wrote:
I'm trying to refresh the model of a DataTable when the user clicks an ajax
link on my page...
I pass an instance of SortableDataProvider to the tabl
html is best for static classes
for java subclass the component and override oncomponenttag and set
the class from there.
if you cannot do that or you have some cross-component-cutting logic
then use an attribute modifier.
-igor
On Thu, Mar 8, 2012 at 12:58 PM, Uvex wrote:
> I am new in wicke
how exactly do I enable these debug messages?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Enable-debug-messages-for-org-apache-wicket-util-resource-to-get-a-list-of-all-filenames-tried-tp4458722p4458722.html
Sent from the Users forum mailing list archive at Nabble.
if you use logback, add the line
in your log config file
Le 9 mars 2012 à 08:28, mlabs a écrit :
> how exactly do I enable these debug messages?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Enable-debug-messages-for-org-apache-wicket-util-resource-to-ge
32 matches
Mail list logo