Hi,
I am trying to make my first DataView and I found an example that does what
I want. It's quite confusing though - it takes like 15 pages and classes to
do it and I cannot decipher it.
Hi,
I have rather weird problem. I have a page with navigation panel [mostly
bookmarkable links]. It works fine on all but one. On that one page when I
enter it, some of my navigation links get blocked - 2 out of 5. Any idea
what may be causing it? They turn fine when I click on submit button on
There are 15+ pages because there are examples for several components
in this folder.
Just take a look at SimplePage.java and it should become clear how to do it.
On Tue, Jun 7, 2011 at 8:53 AM, Zeldor pgronkiew...@gmail.com wrote:
Hi,
I am trying to make my first DataView and I found an
A link will autodisable itself if it links to the same page in which
it is being shown.
See org.apache.wicket.markup.html.link.Link.linksTo(Page)
On Tue, Jun 7, 2011 at 8:55 AM, Zeldor pgronkiew...@gmail.com wrote:
Hi,
I have rather weird problem. I have a page with navigation panel [mostly
Well, they don't do it in my case. Maybe because they are in panel...
Anyway, I wouldn't have problem with that. It's that 2 other links are
blocked, those that lead to other pages. I don't have problem like that on
other pages and only thing here that is different is that additional submit
I have tried using Google App Engine for Java (GAE/J) deferred tasks in
Apache Wicket.
They do indeed run, but I cannot access the bulk of my data exchange code
since it needs the context of an application and/or a session to work. I
presume that the underlying cause of this is because when the
The original question was I would like to make my wicket app to store
images in
database. No problem but I don't know how to configure tomcat + wicket for
database.
No is it good idea to store images in database? ;-)
Still don't know how to work with database in wicket. Is anywhere examples?
Right :)
So I want to start with something like:
add(new DataViewExpedition(expedition,
MySession.loggedInUser.colonisations) {
});
I am confused how to implement populateItem though...
--
View this message in context:
populateItem() gives you one Expedition at a time. You decide how to render it.
On Tue, Jun 7, 2011 at 11:42 AM, Zeldor pgronkiew...@gmail.com wrote:
Right :)
So I want to start with something like:
add(new DataViewExpedition(expedition,
MySession.loggedInUser.colonisations) {
});
I am
http://www.jweekend.com/dev/LegUp
Here you can choose a Maven archetype that will create an application
skeleton with the technologies you chose.
https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/phonebook
This is the latest source of phonebook
On Tue, Jun 7, 2011 at 11:41 AM,
Do I need to do anything special? Will it automatically go through all rows
of my Map? When my map is HashMaplt;Integer,ArrayListgt; then Expedition
will be my ArrayList or whole row, together with int id? I could probably
use just a list of ArrayLists if it'd be easier...
--
View this message in
Hi Zeldor,
do these two links depend for any reason on the button you make
visible/invisible? Have you overridden method isEnabled on this two links?
Hi,
I have rather weird problem. I have a page with navigation panel [mostly
bookmarkable links]. It works fine on all but one. On that one
Ok, I changed it to ArrayListlt;ArrayListlt;Longgt;, but I still don't
get how to use populateItem...
Even testing just that
add(new DataViewExpedition(expedition,
MySession.loggedInUser.colonisations)
{
});
Results in:
internal error; cannot instantiate org.
Nope, panel is separate. There should be no connection... I will rather paste
some code, maybe it will give a hint...
add(new FeedbackPanel(errorMsg));
// starting form
private boolean col_approval = false;
Button
Hi Zeldor,
the populateItem-method is used to populate the rows of your table.
Basically, you can add the cells of your rows there. DataView will
loop through the elements of your collection automatically, and for
every element in the collection call the populateItem-method with the
current
I almost have it... I have my ArrayList of lists, so I guess my code should
look smth like that:
ArrayListlt;ArrayListlt;Longgt; colonisations =
MySession.loggedInUser.colonisations;
add(new DataView(expeditionsView, new
ListDataProvider(colonisations))
{
When I create a TextField as follows:
TextField postCode = new TextFieldString( new ModelString(xxx));
the object is created and shows the correct value.
However, once the object is created, I do not seem to be able to change the
value.
postCode.setModelObject(zzz);
and
postCode.setModet(new
try with item.add(new Label(title, expedition.get(0).toString()));
On Tue, Jun 7, 2011 at 1:07 PM, Zeldor pgronkiew...@gmail.com wrote:
I almost have it... I have my ArrayList of lists, so I guess my code should
look smth like that:
ArrayListlt;ArrayListlt;Longgt; colonisations =
call postCode.modelChanged() after these calls
On Tue, Jun 7, 2011 at 1:08 PM, drf davidrfi...@gmail.com wrote:
When I create a TextField as follows:
TextField postCode = new TextFieldString( new ModelString(xxx));
the object is created and shows the correct value.
However, once the object
Still does not work
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Basic-TextField-question-tp3579272p3579294.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe,
Hi!
Our wicket application has the following scenario:
-) save myValue in the session
-) redirect the user to an external page (using
getRequestCycle().setRequestTarget())
-) the external pages redirects back to our webapp after the user
entered some data
-) read myValue from the session and
Thanks a lot, it works :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DataView-the-easy-way-tp3578760p3579384.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe,
why cannot you change value in model and detach it?
pozdrawiam
Paweł Kamiński
kami...@gmail.com
pkaminski@gmail.com
__
We have two applications, one is a Wicket app with Validator classes, and
another is an Apache POI-HSSF Excel-parsing app that parses Excel
spreadsheets.
We need to apply the same Validators to both the Wicket app (text field
components) and the Excel parser (the cells in the spreadsheet). We
My application's base page does checking against the user agent string to
redirect unsupported browsers to a support page. The problem we're seeing
is that WicketTester is using a hardcoded user agent from a crazy-old
version of firefox.
Is there any recommended way to specify the user-agent
Hi,
are you sure that setModelObject or setModel are really called in your
code? If you modify TextField via Ajax be sure you have added it to
AjaxRequestTarget
When I create a TextField as follows:
TextField postCode = new TextFieldString( new ModelString(xxx));
the object is created and
Looking at the code I see a lot of things are not possible to
configure in this area.
The easiest way to allow what you need is to add #setHeader(name,
value) which will override the previous value(s) for this name.
Please create a ticket.
On Tue, Jun 7, 2011 at 4:11 PM, Adam Gray
Will do, thanks.
On Tue, Jun 7, 2011 at 10:23 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Looking at the code I see a lot of things are not possible to
configure in this area.
The easiest way to allow what you need is to add #setHeader(name,
value) which will override the previous
Can you reproduce this behavior in a quickstart project and attach it to
Wicket JIRA?
Nope, panel is separate. There should be no connection... I will rather paste
some code, maybe it will give a hint...
add(new FeedbackPanel(errorMsg));
// starting form
private boolean col_approval =
all validators need to work is IValidatable, so simply new your
validator and give it your own impl of ivalidatable.
-igor
On Tue, Jun 7, 2011 at 6:52 AM, eugenebalt eugeneb...@yahoo.com wrote:
We have two applications, one is a Wicket app with Validator classes, and
another is an Apache
Dear Forum,
Has any wicked-dnd user out there noticed that the functionality doesn't
work on IE9?
I have an implementation of wicket-dnd that I have used with repeating views
so that I can use it in tables and lists but while it works on firefox,
google chrome, even konkeror, it doesn't work at
Guys,
I would like to see a standard implementation of onConfigure(), where the user
can set a Predicate object for the component's visibility, and another
Predicate for the enabled state. This is an idea that our team tossed around
for a while; since I just discovered the onConfigure()
Hi Lucas,
wicket-dnd is working fine here with IE8. In case this isn't clear yet,
you have to update the changed components by yourself via
AjaxReqestTarget#addComponent().
I'll have to look for system with IE9 to check the functionality (I'm
not yet on windows seven), so this might take
I'm trying to add items to a listView when a user clicks a button. I have a
propertyModel backing my ListView. In the onClick(), I do:
AjaxLink newIncButton = new AjaxLink(newIncButton){
@Override
public void onClick(AjaxRequestTarget target) {
List list = new
sorry, trying to format that
AjaxLink newIncButton = new AjaxLink(newIncButton){
@Override
public void onClick(AjaxRequestTarget target) {
List list = new ArrayList(bean.getIncList());
Incident inc = new Incident();
inc.setAction(action);
On Tue, Jun 7, 2011 at 11:20 PM, wmike1...@gmail.com
wmike1...@gmail.com wrote:
sorry, trying to format that
AjaxLink newIncButton = new AjaxLink(newIncButton){
@Override
public void onClick(AjaxRequestTarget target) {
List list = new ArrayList(bean.getIncList());
use Image with DynamicImageResource which loads the image with urlConnection
On Tue, Jun 7, 2011 at 11:46 PM, Daniele Dellafiore ilde...@gmail.com wrote:
Hi.
I take some user uploaded images from an external service that answer
at, say, localhost:8181/images
My wicket app run on
Wicket doesn't allow me to update a ListView object directly through ajax, it
suggests putting it in in a container. So I made a WebMarkupContainer to
wrap the ListView. I have now:
public void onClick(AjaxRequestTarget target)
{
List list = new
How do you set up the model? Can we see some code?
Sent from tablet device. Please excuse typos and brevity.
On Jun 7, 2011 6:13 PM, wmike1...@gmail.com wmike1...@gmail.com wrote:
Wicket doesn't allow me to update a ListView object directly through ajax,
it
suggests putting it in in a
Hi everyone,
I've been working on what I call the Gamboa Project for a couple of days
and now the project is ready and published.
It is a Maven archetype for rapid web application development. It
combines well-know technologies:
- Scala
- Apache Wicket
- MongoDB
- Spring Framework
-
Hi, I figured out what was causing my problem.
For anyone else that gets the same thing...
I had a jquery modal with a form in it. Inside the form I had an input tag
of type image. (input type=image src=/assets/img.jpg/)
I found that when I clicked the input tag ie was submitting the form. It
I have started to see more and more of the following exception when
users are using the wicket app.
org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
null is still locked by: Thread[TP-Processor24,5,main], giving up trying
to get the page for path: 4:products:0:prodBuyLink
On Wed, Jun 8, 2011 at 7:00 AM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
I have started to see more and more of the following exception when
users are using the wicket app.
org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
null is still locked by:
43 matches
Mail list logo