I have created an outer list of areaGroups such that each group item contains
a list of areas.
I am displaying a ModalWindow and editing an area. After changing the area's
name, I submit it via an AjaxSubmitButton which initially added the ListView
associated with a particular group. Obviously t
I have nothing else really, just same more of same stuff, only a Form with
Labels, TextFields and submit method.
Anyway, deprecated NumberValidator.minimum(0) method works without any
problems, are there any disadvantages of using that?
On Wed, Oct 13, 2010 at 12:43 AM, jer...@wickettraining.com
I get this message
JSONCommented is deprecated null null
I am using org.wicketstuff.push version 1.4.8,
I get the above message sometimes , do not know when , please tell me is
this any problem ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/using-cometd-tp2
I implemented/integrated a sub-module(s) into one main web application.
The solution is discussed in the link below. Hope this helps.
http://apache-wicket.1842946.n4.nabble.com/Re-Using-Wicket-to-build-Application-Portal-td2248912.html#a2248912
Cheers
On Tue, Oct 12, 2010 at 11:28 AM, Nivedan N
A big advantage of the iphone browser is its ability to scroll an inner
scrolling box (scrollable div or iframe, for example). It does this by
handling a two-finger drag as scroll. I'm not aware of a way to do the same
with the android browser.
We also are facing demand for a "desktop" web app to
On Tue, Oct 12, 2010 at 5:36 PM, Igor Vaynberg wrote:
> its not a syntax problem. you cant have code outside a method unless
> its in a static {} block.
>
>
To me, putting code outside a method *is* a syntax problem, typically caused
by inexperience with anonymous inner classes, leading to not eno
its not a syntax problem. you cant have code outside a method unless
its in a static {} block.
-igor
On Tue, Oct 12, 2010 at 3:25 PM, Jeremy Thomerson
wrote:
> On Tue, Oct 12, 2010 at 5:07 PM, Zeldor wrote:
>
>>
>> Changing it to :
>>
>> private TextField hire_worker_1 = new
>> TextField("hire_
On Tue, Oct 12, 2010 at 5:07 PM, Zeldor wrote:
>
> Changing it to :
>
> private TextField hire_worker_1 = new
> TextField("hire_worker_1",
> new Model());
> {
>hire_worker_1.setType(Long.class);
>}
>
> Does not change anything. And is it normal that Eclipse doe
Changing it to :
private TextField hire_worker_1 = new TextField("hire_worker_1",
new Model());
{
hire_worker_1.setType(Long.class);
}
Does not change anything. And is it normal that Eclipse does not let me add
anything without enclosing in { }?
BTW, is there
done -- https://issues.apache.org/jira/browse/WICKET-3103
2010/10/12 Igor Vaynberg
> no, that shouldnt be there. file a bug please.
>
> -igor
>
> On Tue, Oct 12, 2010 at 3:49 AM, nino martinez wael
> wrote:
> > Hi
> >
> > I have something where I reference an image directly in html, wicket has
got point igor.. The first thing I did with the project was copying over the
start.java..Having break points etc just gives it a better sense..
Shelli heres the start.java:
import org.mortbay.jetty.Connector;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.bio.SocketConnector;
import
no, that shouldnt be there. file a bug please.
-igor
On Tue, Oct 12, 2010 at 3:49 AM, nino martinez wael
wrote:
> Hi
>
> I have something where I reference an image directly in html, wicket has no
> idea what it should do with it so it passes the request to the servlet
> container.. And it works
you should first try and understand how models work. there is this
page to help you:
https://cwiki.apache.org/WICKET/working-with-wicket-models.html
but nothing will be better then setting some breakpoints and seeing
how things actually work.
-igor
On Tue, Oct 12, 2010 at 2:24 PM, Shelli Orton
Did you mean AJAX submit (as your subject implied)? Have you tried
AjaxFormSubmitBehavior?
On Tue, Oct 12, 2010 at 8:16 AM, jcgarciam wrote:
>
> Simple javascript:
>
> var theForm = document.getElementById("formId");
> theForm.submit();
>
>
>
>
> On Tue, Oct 12, 2010 at 7:53 AM, Maris Orbidans
yeah I see your point.. But you could always validate latter.. But I agree
it's not the way it's supposed to be. It's like the components on the form
does not update when you press cancel and default form processing are off.
-Nino
2010/10/12 Shelli Orton
> I had tried removing that line once be
On Tue, Oct 12, 2010 at 8:25 AM, duncan787 wrote:
>
> Its already "attached" to the DataView, see the relevant/simplified Java
> code
> added below. Would it best practice be to assign a WebMarkupContainer to
> the element and add both an AjaxFallbackLink and a DataView to the
> container?
>
>
Since your model doesn't actually know what type of field it is operating on
(like PropertyModel does), you need to call setType(Long.class) on your text
field.
On Tue, Oct 12, 2010 at 1:23 PM, Zeldor wrote:
>
> I have TextField that should take Long value, but on submit it does not
> really wor
I had tried removing that line once before and it does solve the problem
when cancelling an edit of an existing record, but I can't cancel the
add of a new one. Because I'm using a RequiredTextField, I get a
validation error:
Field 'recordAText' is required.
Thanks for taking the time to lo
going at a hunch I decided to rem out the below:
//cancel.setDefaultFormProcessing(false);
And seems it fixed the problem.. But im too tired to digg further had a
similar situation last week.. And the reason was sound.. Just cant remember
it now..
2010/10/12 nino martinez wael
> Think
I only explicitly set the selectedRecordA in two places, during the
cancel and add onSubmit methods (I removed the initialization in the
declaration in my code). As you alluded to earlier, add is done via
setSelectedRecordA(new RecordA());
and cancel is done via:
RecordAPanel.this.sele
Am 12.10.2010 21:43, schrieb mzem...@osc.state.ny.us:
Can you share the final solution?
Sure. It's
public ReplacementPanel(String id) {
super(id);
final Label component;
add(component = new Label("lblReplaced", "Done"));
component.setOutputMarkupId(true);
Think I was going in the wrong direction.. Looking at the error, seems to
get triggered by pressing the cancel button only..
2010/10/12 Shelli Orton
> This is where my confusion about models may be kicking in. I thought
> that property models (PropertModel or CompoundPropertyModel)
> automatica
the problem is most likely the fact that wicket tries to load markup
out of the javadoc jar instead of the wicket jar. the javadoc has html
files named the same as wicket jar.
it doesnt make sense to have the javadoc jar on your classpath. but,
if you must, just make sure it is on the classpath *a
item.replaceWith(new Fragment()) will replace the *item* with the
*fragment*, which is definitely not what you want.
On Tue, Oct 12, 2010 at 6:57 AM, fachhoch wrote:
>
> I am confused ,
>
> I have an Item with a fragment .
>
> to repaint this fragment I should just add this item to target and n
Can you share the final solution?
From: Per Newgro
To: users@wicket.apache.org
Date: 10/12/2010 01:37 PM
Subject:Re: Can i execute an inline-javascript added to head for
replaced panel on ajax-response?
Jeeehhaa. Thanks alot Igor. That did it. Both tips together work as
e
Why do you add the *javadoc *
in your pom to have the JavaDocs, why not adding the the
-DdownloadSources=true -DdownloadJavadocs=true in your maven command, full
example:
mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
On Tue, Oct 12, 2010 at 4:13 PM, btbluesky [via Apache W
Use JavaScript to do that on the client side? See method
/**Method to open the dialog
* @return the associated JsStatement
*/
public JsStatement open() {
return new JsQuery(this).$().chain("dialog", "'open'");
}
on Dialog class which generates the
I finally found out what exactly the problem is.
I used the quickstart to generate a new project from scratch.
In my maven, I have wicket javadoc to be dependency. whenever that
dependency is there. All the ajax calls failed in both jetty and tomcat (I
setup both servers to test them), and spurrin
This is where my confusion about models may be kicking in. I thought
that property models (PropertModel or CompoundPropertyModel)
automatically checked if the model object changed. How do I tell the
model it has?
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w
in your add button you call setSelectedRecordA(new RecordA()) but never
notify the model that a change has occured...
2010/10/12 nino martinez wael
> hmm getting a lot of errors on the services not implementing
> serialization...
>
> But does seem theres a difference between calling :
>
> select
Hi,
I'm using wiQuery and have a demo application with a Button that opens a
modal dialog successfully, but I'd like to use Links instead of Buttons, so
I'm replacing this:
Open dialog
with an anchor/Link:
Open dialog
and in my Java code, replacing this:
Button button = new Button("open-dialog");
Hi,
Sorry about the serialization errors. My "real" code is using JPA
services/entities and they are serialized.
There's a number of tabs that need to be written, but I was just trying
to get the one to work before starting the others. I set up the recordB
panel to make sure I was creating th
I have TextField that should take Long value, but on submit it does not
really work...
org.apache.wicket.RequestCycle logRuntimeException: Exception
'java.lang.ClassCastException: java.lang.Integer cannot be cast to
java.lang.Long' occurred during validation
org.apache.wicket.validation.validato
I can confirm the edit issue.. Also what's supposed to happen in recordb
panel?
I might have a chance to look at it a little later..
2010/10/12 Shelli Orton
> He provided an updated RecordAPanel.java class that works on his system.
> I updated mine to match his, but still have an issue where on
hmm getting a lot of errors on the services not implementing
serialization...
But does seem theres a difference between calling :
selectedRecordAModel.getObject().getName() and
RecordAPanel.this.selectedRecordA
2010/10/12 nino martinez wael
> sorry.. Did'nt see it attached.. So did igor provid
He provided an updated RecordAPanel.java class that works on his system.
I updated mine to match his, but still have an issue where once a record
has been selected for edit, that's the only record that is displayed in
the edit group regardless of which record is chosen from the list in the
select g
sorry.. Did'nt see it attached.. So did igor provide you with an fixed
quickstart (working on his system).. That did not work on glassfish?
2010/10/12 Shelli Orton
> The quickstart was sent to the list this morning at 10:04 MST. Does it
> need to be resent?
>
> Shelli
>
> -Original Message-
The quickstart was sent to the list this morning at 10:04 MST. Does it
need to be resent?
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 11:52 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshi
No dont think so.. Please provide a quickstart.. I have had property models
working in 1.2, 1.3, 1.4 and 1.5 so must be error 42:)
2010/10/12 Shelli Orton
> Hi,
>
> Thanks for file. Your first email was missing these changes:
>
>IModel selectedRecordAModel; (I had set mine to
> PropertyMod
Hi,
Thanks for file. Your first email was missing these changes:
IModel selectedRecordAModel; (I had set mine to
PropertyModel selectedRecordAModel;)
recordAs.setModel(selectedRecordAModel)
However, even with those changes applied, I still get the same issue of the
selected record n
Jeeehhaa. Thanks alot Igor. That did it. Both tips together work as
expected.
Cheers
Per
call setoutputmarkupid(true) on your label
-igor
On Tue, Oct 12, 2010 at 10:14 AM, Per Newgro wrote:
Thanks Igor,
but it didn't work. It seems that my label has no id in the response and
thus the s
On Tue, Oct 12, 2010 at 10:30 AM, Shelli Orton wrote:
> Thanks for the help. Your changes got rid of the errors and I can delete
> records now (and the list is updated).
>
> However, once a record has been selected for edit and either saved or
> cancelled, that same record is always displayed i
Thanks for the help. Your changes got rid of the errors and I can delete
records now (and the list is updated).
However, once a record has been selected for edit and either saved or
cancelled, that same record is always displayed in the edit group when I choose
another record to edit or even
call setoutputmarkupid(true) on your label
-igor
On Tue, Oct 12, 2010 at 10:14 AM, Per Newgro wrote:
> Thanks Igor,
>
> but it didn't work. It seems that my label has no id in the response and
> thus the script can't find the element.
>
>
> Done
>
>
> This should be "lblReplaced3" after the
use renderondomreadyjavascript
-igor
On Tue, Oct 12, 2010 at 9:09 AM, Per Newgro wrote:
> Hi *,
>
> i would like to exchange a panel on another panel. The newly added panel has
> an AbstractBehavior which adds the script:
>
> public ReplacementPanel(String id) {
> super(id);
>
the url to the user is still /Login, its just that when they go to it
they are redirected to /Login.
in your robots.txt if you want to reference the page use /Login - this
is the url the robot has to hit to get to /Login.
also when the user tweaks the they should simply get a new
instance of the
here are the tweaks you need to make this work:
selectedRecordAModel = new PropertyModel(this, "selectedRecordA");
recordAText = new RequiredTextField("recordAText",
new PropertyModel(selectedRecordAModel, "name"));
recordBs.setModel(new PropertyModel(selectedRecordAModel, "reco
So using the HybridUrlCodingStrategy is correct and if users want to muck with
the URL they can and they may just get an error? Then for the robots.txt I
just say to block "XYZ" without the ".". For example I have a page called
Login that is mounted with the HybridUrlCodingStrategy. So the ur
in your robots.txt put the url without the ., that way a new version
of the page will get created.
-igor
On Tue, Oct 12, 2010 at 8:30 AM, Jeffrey Schneller
wrote:
> How can I add an entry to robots.txt for a page of my site that is not
> currently mounted and cannot be made bookmarkable. The ur
Hi *,
i would like to exchange a panel on another panel. The newly added panel
has an AbstractBehavior which adds the script:
public ReplacementPanel(String id) {
super(id);
final Label component;
add(component = new Label("lblReplaced", "Done"));
add(new A
How can I add an entry to robots.txt for a page of my site that is not
currently mounted and cannot be made bookmarkable. The url is the
wicket url of "?wicket:interface".
I guess I could say block everything that contains "?wicket:interface"
but that seems kind of brute force.
I tried usin
Its already "attached" to the DataView, see the relevant/simplified Java code
added below. Would it best practice be to assign a WebMarkupContainer to
the element and add both an AjaxFallbackLink and a DataView to the
container?
DataView projectListDataView =
new DataView("siteProj
Simple javascript:
var theForm = document.getElementById("formId");
theForm.submit();
On Tue, Oct 12, 2010 at 7:53 AM, Maris Orbidans [via Apache Wicket] <
ml-node+2991613-1252635351-65...@n4.nabble.com
> wrote:
>
>
> Is it possible to submit a form from javascript ?
>
>
>
> Maris
>
> --
Hi Reinout,
Can you post your HTML code please ? Because I think the better way with an
ajaxLazyLoadPanel will be like this:
First header
Second header
Second content
Where lazy is a child of the Accordion section, not the Accordion section.
Otherwise, jQuery UI will inject th
Hi all,
When I use an AjaxLazyLoadPanel within a WiQuery Accordion widget, the
panel that replaces the loading placeholder doesn't get the correct
CSS class attributes.
What's the right way to set the class attributes of the lazyloadcomponent?
Thanks,
--
Reinout van Schouwen
http://vanschouwen.
I am confused ,
I have an Item with a fragment .
to repaint this fragment I should just add this item to target and no need
of calling item.replaceWith(new Freagment()) ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/repaint-a-fragment-tp2990937p2991715.html
Se
It's not terribly reliable from what I remember, but if it works, it works. :)
On Tue, Oct 12, 2010 at 7:50 AM, Maris Orbidans wrote:
> Yes, hostname.
> Sorry, I thought about something else.
>
>> -Original Message-
>> From: jcar...@carmanconsulting.com
> [mailto:jcar...@carmanconsulting.
Yes, hostname.
Sorry, I thought about something else.
> -Original Message-
> From: jcar...@carmanconsulting.com
[mailto:jcar...@carmanconsulting.com]
> On Behalf Of James Carman
> Sent: 12 October 2010 12:25
> To: users@wicket.apache.org
> Subject: Re: Getting client IP address
>
> Servle
ServletRequest.getRemoteHost():
"Returns the fully qualified name of the client or the last proxy that
sent the request. If the engine cannot or chooses not to resolve the
hostname (to improve performance), this method returns the
dotted-string form of the IP address. For HTTP servlets, same as th
Have you tried "attaching" your AjaxFallbackLink to your elements?
On Tue, Oct 12, 2010 at 6:27 AM, duncan787 wrote:
>
> I am implementing a DataView using an HTML Table and I need to allow the
> user
> to select a row in the table to tell the Server Side which row they
> selected. I could imp
Hi,
we just upgraded from 1.4.9 to 1.4.10 and the error seems fixed, although i
cant find something in the release notes, but thank you for your help!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-loses-Selection-in-Disabled-Panels-tp2989677p2991641
> -Original Message-
> From: Josh Kamau [mailto:joshnet2...@gmail.com]
> Sent: 06 October 2010 12:31
> To: users@wicket.apache.org
> Subject: Re: Getting client IP address
>
> Thanks guys, I got the IP address. Is it possible to get the client
> computer
> name?
nope
Maris
--
Is it possible to submit a form from javascript ?
Maris
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi
I have something where I reference an image directly in html, wicket has no
idea what it should do with it so it passes the request to the servlet
container.. And it works as I wanted, but should it give an error message?
Or am I doing something wrong?
html:
Log:
ERROR [org.apache.wicket.re
I am implementing a DataView using an HTML Table and I need to allow the user
to select a row in the table to tell the Server Side which row they
selected. I could implement this by using AjaxFallbackLink, but this would
only link the text in the row, the user needs to be able to click anywhere
i
65 matches
Mail list logo