fachhoch schrieb:
Why are you saving the byte arrays in the page instance?
I show these files to user with read-only permission , so this user can
just view these files ,the owner of these files can delete them anytime , so
If I go to database , upon user click , this file might have been
Done
https://issues.apache.org/jira/browse/WICKET-2533
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
you guys ever hear of transactional isolation? :) databases handle all
this kind of neat stuff for you.
-igor
On Mon, Oct 19, 2009 at 11:09 PM, Per Newgro per.new...@gmx.ch wrote:
fachhoch schrieb:
Why are you saving the byte arrays in the page instance?
I show these files to user with
Igor Vaynberg schrieb:
you guys ever hear of transactional isolation? :) databases handle all
this kind of neat stuff for you.
-igor
Oh, i didn't saw that he tried it in one transaction. I thought it are
multiple stateless steps.
Sorry
Per
True, Jfreechart only can produce images.. So it depends on your use case.
2009/10/18 Douglas Ferguson doug...@douglasferguson.us
I thought it also brought the capability to generate pdf and word
docs, which I don't think JFreeChart can do..
D
On Oct 17, 2009, at 1:42 PM, nino martinez
Works for me, your xpath must be wrong. Your syntax is ok. Either there
is no a element (link) with attribute
wicketpath=tablePanel_leftList_tableList_pojoList_18_nameCell_namePanel
Link_name or there is no div tag inside an a element...
-Original Message-
From: Douglas Ferguson
I've tried to add column filtering to the inmethod datagrid by creating
a new class ChoiceFilteredPropertyColumn which extends the new class
FilteredPropertyColumn, which extends the inmethod PropertyColumn and
implements the new interface IFilteredColumn. In other words, I've
merged two sets
On Thu, Oct 15, 2009 at 1:14 PM, Per Lundholm per.lundh...@gmail.com wrote:
Looks like a patch to make it easier to use Selenium to test your
webapplication.
Selenium is very fond of id in tags.
Correct, this patch (PD) we use in order to get Selenium to work, and
it works pretty well. What
On 20:59, Eelco Hillenius wrote:
It's probably a good idea to have a specialized implementation of
ISessionStore for App Engine that uses whatever makes sense with App
Engine for medium term storage ('cause that's what it is... short term
storage is the current page, which is typically local
Hi Tómas,
What the form component RadioButtonGenerico receive as id, the validation
message will use as label. The code should generate the outputs:
* Field 'rapidezAtencion' is required.
* Field 'explicacionClara' is required.
your report output :
wicket:container wicket:id=score
is an
Hi,
I came across a problem an other group member has already written about
(please have a look his post
http://markmail.org/thread/auqhcd66zwsflt33#query:wicket%20image%
20parent%20variation+page:1+mid:auqhcd66zwsflt33+state:results). But he
didn't get an answer.
Actually the variation of a
Hi,
The Terracotta SecondLevelCacheSessionStore does not contain any Terracotta
specific implementation or dependencies, and should work fine on AppEngine
(I haven't tested it though).
All it is is an implementation of IPageStore, where the pages are serialized
to byte arrays (like the disk
On 20.10.2009 13:30, richardwilko wrote:
Hi,
The Terracotta SecondLevelCacheSessionStore does not contain any Terracotta
specific implementation or dependencies, and should work fine on AppEngine
(I haven't tested it though).
All it is is an implementation of IPageStore, where the pages are
andr,
From Wikipedia [1]:
The Apache License does not require modified versions of the software to be
distributed using the same license nor even that it be distributed as
free/open-source software. The Apache license only requires that a notice is
kept informing recipients that Apache licensed
Oh, sorry I just realized that it has the terracotta licence header on it,
had I realized i would have removed it. That's because the version of the
file i had to hand was from the terracotta forge svn repo, and code in there
has to have their licence.
Originally it was Apache 2 licensed and I
On 20.10.2009 14:48, richardwilko wrote:
Oh, sorry I just realized that it has the terracotta licence header on it,
had I realized i would have removed it. That's because the version of the
file i had to hand was from the terracotta forge svn repo, and code in there
has to have their licence.
hi,
in the submit logic the getModel().getObject() is an empty string although I
set it via textfield:
final Button tagSubmit = new Button(tagSubmit, Model.of()) {
@Override
public void onSubmit() {
tagTitle.getModel().getObject() // it is empty!!
Sure, here's the markup (BTW, using Wicket 1.4.2):
PanelEncuesta.html (means SurveyPanel):
...
body
wicket:panel
table class=GrillaOpciones
tr
th/th
thlabelMuy Bueno/label/th
thlabelBueno/label/th
thlabelRegular/label/th
thlabelMalo/label/th
thlabelNs/Nc/label/th
/tr
tr
Look at the HTTP request - is the value getting submitted?
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 8:17 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
hi,
in the submit logic the getModel().getObject() is an empty string although
I set it via textfield:
yes! I temper the data! And it is posted to the server!
- Ursprüngliche Mail
Von: Jeremy Thomerson jer...@wickettraining.com
An: users@wicket.apache.org
Gesendet: Dienstag, den 20. Oktober 2009, 16:04:21 Uhr
Betreff: Re: why is the model empty?
Look at the HTTP request - is the value
Wicket makes empty strings null by default. See one of the
Application.getSettings()
Martijn
On Tue, Oct 20, 2009 at 4:04 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
Look at the HTTP request - is the value getting submitted?
--
Jeremy Thomerson
http://www.wickettraining.com
hey martijn -- But there is a string submitted!
Actually it must be printed! But it is null.
Is the final declaration correct?
- Ursprüngliche Mail
Von: Martijn Dashorst martijn.dasho...@gmail.com
An: users@wicket.apache.org
Gesendet: Dienstag, den 20. Oktober 2009, 16:06:22 Uhr
How about! creating! a quickstart! and sending it! to us!
(Oh, and no need for so many exclamation points. It could be interpreted as
shouting)
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 9:16 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
hey martijn -- But
I have an abstract class that adds a ListView to the page in the
constructor. In the constructors of my children, I would like to set some of
the rows in the ListView invisible. How do I reach the Wicket Components
that were added to a ListView from outside the Listview.
e.g.
public abstract
Sorry but when is the model object update?
final TextFieldString tagTitle = new TextFieldString(tagTitle,
Model.of());
just creates and in-mutable model? Or, am I missing something?
Best,
Ernesto
On Tue, Oct 20, 2009 at 3:17 PM, Peter Arnulf Lustig u...@yahoo.dewrote:
hi,
in the
Better to access whether or not they should be visible from within the
components (inside the listview) themselves. On your links, override
isVisible and have it call to some method on ListDocumentForObject that
returns boolean of whether that link should be visible. Then this method
could be
Does it maybe have something to do with my custom validation?
I use setDefaultFormProcessing(false); because I have more submit buttons on
one form
- Ursprüngliche Mail
Von: Jeremy Thomerson jer...@wickettraining.com
An: users@wicket.apache.org
Gesendet: Dienstag, den 20. Oktober
That's not an immutable model. It's equivalent to new ModelString() -
which is fine for this use. Assuming the text field and the button are
within a form, and that he sets the value of the textfield programmatically
on the page, and submits the form, the model should be updated by the time
he
I tried it also with
final IModelString tagTitleModel = Model.of();
(..., tagTitleModel)
But it won't work!
- Ursprüngliche Mail
Von: Ernesto Reinaldo Barreiro reier...@gmail.com
An: users@wicket.apache.org
Gesendet: Dienstag, den 20. Oktober 2009, 16:24:16 Uhr
Betreff: Re: why is
Well that part isn't shown in the code posted;-)
On Tue, Oct 20, 2009 at 4:28 PM, Jeremy Thomerson jer...@wickettraining.com
wrote:
That's not an immutable model. It's equivalent to new ModelString() -
which is fine for this use. Assuming the text field and the button are
within a form, and
sets the value of the textfield programmatically
on the page, and submits the form, the model should be updated by the time
he gets to this onSubmit method.
How do you mean that? I think wicket sets the model automaticly because the
model is attached to the component.
- Ursprüngliche
Yes - that's what I'm saying. On the webpage, presumably with JS, he is
saying that he is setting the value of the text field. Then when it's
submitted, Wicket should update the model before he gets to onSubmit
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 9:31
I am submitting a textfield in a form to wicket. Just the standard HTTP Post --
And everywhere it functions well -- I just can't get it why it won't function
there.
And I don't utilize any JS (Ajax etc.) for that task! It's weird.
- Ursprüngliche Mail
Von: Jeremy Thomerson
Well, again, the only way for me to help you more is to supply a quickstart
that reproduces this.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 9:49 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
I am submitting a textfield in a form to wicket. Just the standard
ok! Line 148 is interesting.
- Ursprüngliche Mail
Von: Jeremy Thomerson jer...@wickettraining.com
An: users@wicket.apache.org
Gesendet: Dienstag, den 20. Oktober 2009, 16:50:31 Uhr
Betreff: Re: why is the model empty?
Well, again, the only way for me to help you more is to supply a
Did you look at the javadoc? [1]
It says:
Sets the defaultFormProcessing property. When false (default is true), all
validation and
form updating is bypassed and the onSubmit method of that button is called
directly, and the
onSubmit method of the parent form is not called. A common use for this
mhmhm! I got this design pattern from
http://cwiki.apache.org/WICKET/conditional-validation.html
- Ursprüngliche Mail
Von: Jeremy Thomerson jer...@wickettraining.com
An: users@wicket.apache.org
Gesendet: Dienstag, den 20. Oktober 2009, 16:56:38 Uhr
Betreff: Re: why is the model empty?
Well, don't know what to tell you. It bypasses validation, which is
required in order to set the models to their values. If you submitted
akj123 in a text field that was an Integer, we could only set it after
validation (which in this case means the value could not be set on the
field). So,
Hi Tomás, I didn't found the problem. The feedback panel get:
* Field 'rapidezAtencion' is required.
* Field 'explicacionClara' is required.
* Field 'resolucionProblema' is required.
just as expected...
On Tue, Oct 20, 2009 at 12:00 PM, Tomás Rossi tro...@mecon.gov.ar wrote:
Sure, here's the
styles and variations are not passed down through the hierarchy. one
must override getvariation()/getstyle() on each component that needs
to be different afaik.
-igor
On Tue, Oct 20, 2009 at 4:00 AM, Liz Huber liz.hu...@gmx.com wrote:
Hi,
I came across a problem an other group member has
Yes, but I have 2 panels in the same page, and get:
* Field 'rapidezAtencion' is required.
* Field 'explicacionClara' is required.
* Field 'resolucionProblema' is required.
* Field 'rapidezAtencion' is required.
* Field 'explicacionClara' is required.
* Field 'resolucionProblema' is required.
now I understand
1 - you can use different feedback panels for each panel
2 - you can write a custom model for the component label
here is a draft, you can create a concrete class from, can override the form
component getLabel, can set the custom model on the RadioButtonGenerico
constructor...
Thanks! That worked.
Though, I'd love for wicket to provide an automatic mechanism for this
kind of stuff. Each instance of a reusable component could be mutually
independent, even if used in the same container (at least that was my
intuitive idea).
Kind regards,
Tom;
Pedro Santos
I am using the AjaxFallbackDefaultDataTable for displaying a data table
on my page. I have everything working [displaying of data, sorting
columns. Paging]. I know would like to change the look and feel of the
data table.
I would like to be able to change the navigation toolbar so that the
thats why formcomponents take models for labels. you can give it a
resourcemodel that uses the parent's id as the resource key and
achieve what you want.
-igor
On Tue, Oct 20, 2009 at 10:46 AM, Tomás Rossi tro...@mecon.gov.ar wrote:
Thanks! That worked.
Though, I'd love for wicket to provide
dont use the Default version of the data table, create one yourself.
-igor
On Tue, Oct 20, 2009 at 10:48 AM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
I am using the AjaxFallbackDefaultDataTable for displaying a data table
on my page. I have everything working [displaying of data,
Hi,Thanks for your answer. (i reed it a time ago, but i never said thanks)
NM
On Fri, Oct 9, 2009 at 6:51 AM, Sven Meier s...@meiers.net wrote:
Hi Nicolas,
use more models:
--
class MyPage:
private IModelList
Wait a minute...
I made a PantallaEncuesta.properties with:
panelTelefonico-rapidezAtencion=Rapidez en la atención (telefónica)
...
Then I expected it to yield:
* Field 'Rapidez en la atención (telefónica)' is required.
But it still prints:
* Field 'panelTelefonico-rapidezAtencion' is
Fair enough. Is there an example of how one should be created?
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Tuesday, October 20, 2009 1:53 PM
To: users@wicket.apache.org
Subject: Re: AjaxFallbackDefaultDataTable - modifying look
dont use the Default
example of how to create an DataTable? you can use the
AjaxFallbackDefaultDataTable as an example :)
On Tue, Oct 20, 2009 at 4:00 PM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
Fair enough. Is there an example of how one should be created?
-Original Message-
From: Igor
Thanks. That worked perfectly. I now have my own
AjaxFallbackCustomDataTable.
Jeff
-Original Message-
From: Pedro Santos [mailto:pedros...@gmail.com]
Sent: Tuesday, October 20, 2009 2:03 PM
To: users@wicket.apache.org
Subject: Re: AjaxFallbackDefaultDataTable - modifying look
Hello. I have a (i hope) reusable panel. This panel has a textField, a
hiddenField and a link that open up a modalWindow. Then you can select an
item from a list in the modal window and the field and hidden field
completes according to the selected value. I want the hidden field to be
binded with
Ok, I have found a few things but still can't figure this out. Apparently
the BoundCompoundPropertyModel is what i need, but it is deprecated. And I
have read the javadoc but still can't figure out how to achieve having
wicket:id on HTML different than the property name in the model. The javadoc
the problem I have is that the field name of the model object
is different on every form, and the wicket:id is the same
you has:
public class ObjectThatGoesToModel{
private Object propetyThatGoesToSomeForm;
private Object propetyThatGoesToOtherFormInSomeSituations;
}
??
I think you can
Hi *,
I develop WebApplication where database records belong to different
organizations.
I use AjaxFallbackDefaultDataTable to present tabular data. User from
some organization is allowed to see his organization data only.
To reach this I implement custom IDataProvider for every table.
Is there
I do download in traditional way
here is the code
public void download(String filename, byte[] filedata){
setRedirect(false);
WebResponse response = (WebResponse) getResponse();
response.setAttachmentHeader(filename);
response.setLastModifiedTime(Time.now());
every time for every component
why not for every query?
On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin roman.i...@gmail.com wrote:
Sure I save my user in session.
The problem is that I have to implement this filter functionality
every time for every component.
On Tue, Oct 20, 2009 at 10:18
Sorry. I do it for every query but normally every component has its own query.
On Tue, Oct 20, 2009 at 10:26 PM, Pedro Santos pedros...@gmail.com wrote:
every time for every component
why not for every query?
On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin roman.i...@gmail.com wrote:
Sure I
I had application with components that override the isVisible method testing
for
return session.getUser().hasAccessFor(this)
but the major access logic is implemented on data access layer
On Tue, Oct 20, 2009 at 6:26 PM, Pedro Santos pedros...@gmail.com wrote:
every time for every component
My components should stay visible all time. But data should be
filtered by customer currently logged in.
On Tue, Oct 20, 2009 at 10:29 PM, Pedro Santos pedros...@gmail.com wrote:
I had application with components that override the isVisible method testing
for
return
Hi there. I'm bringing to life this old thread to ask whether this issue was
solved and how, because I'm experiencing something alike, which makes
session messsages to get lost (consummed by the first instance of the
page), and consecuently not shown by the second page instance.
Thanks,
Esteban
Greetings all,
Recently I have been performance testing a Wicket application (1.4.1) and I
am running into the dreaded Too Many Files Open issue. I have searched the
mailing lists and most of the trouble around this issue seems to come from
being in DEVELOPMENT mode so I made sure we were in
Have you followed the suggestions in this thread?
First, put a breakpoint to see what's instantiating the page - the most
likely suspect for an unintended additional instantiation is a bad link,
something like: new PageLink(new MyPage()); --- shouldn't do that
If it's Wicket code, what code is
You can also check your html to make sure there aren't any urls that
would get loaded by the browser.
i.e. link, img, etc tags..
D/
On Oct 20, 2009, at 4:39 PM, Jeremy Thomerson wrote:
Have you followed the suggestions in this thread?
First, put a breakpoint to see what's instantiating
What is pagemape error analysis environment?
Or if you are just saying that this is possible, what api calls would
I be interested in?
D/
On Oct 20, 2009, at 3:25 PM, Pedro Santos wrote:
if you serialize the pagemap object to an file and attache it on
your error
report email? later you
Hi Adam,
You may try to debug what is the problem with
https://wiki.sdn.sap.com/wiki/display/Java/JPicus
El mar, 20-10-2009 a las 15:39 -0600, Adam Bender escribió:
Greetings all,
Recently I have been performance testing a Wicket application (1.4.1) and I
am running into the dreaded Too
El mar, 20-10-2009 a las 15:04 -0700, Douglas Ferguson escribió:
You can also check your html to make sure there aren't any urls that
would get loaded by the browser.
i.e. link, img, etc tags..
yeah, img src= ... / will make a second request to the page.
quite nasty!
fortunately there is a
Hi,
we also had this issue, because (I think) we are running two different
wicket application in only one glassfish domain. Our resolution was,
that we are running now the glassfish domains with custom init scripts
with ulimit settings. Maybe this will help for you.
Best Regards,
Peter
deployment mode just sets a default settings profile, if you manually
call getresourcesettings().setresourcepollfrequency() in your code you
can still reenable the resource watcher.
-igor
On Tue, Oct 20, 2009 at 2:39 PM, Adam Bender a...@magpieti.com wrote:
Greetings all,
Recently I have been
I apologize for my ignorance but Im not sure I understand what re-
enabling the resource watcher would accomplish in this case...
Adam
On Oct 20, 2009, at 4:51 PM, Igor Vaynberg wrote:
deployment mode just sets a default settings profile, if you manually
call
Martin,
I tried to run this tool but it doesn't appear to support connecting
to a remote Java process which is a requirement for our environment...
thanks for the tip though!
Adam
On Oct 20, 2009, at 4:14 PM, Martin Grigorov wrote:
Hi Adam,
You may try to debug what is the problem with
resolution - solution...
Just set the ulimit in the initscript and run it with start-stop-daemon,
it will make the problem disappear (but still there would be many open
files...)
Peter
2009-10-21 00:38 keltezéssel, Major Péter írta:
Hi,
we also had this issue, because (I think) we are
We have run with a limit as high as 10,000 files and our tests can
bring it to the limit in 20 minutes, but that still doesn't explain
why so many copies of the jar are needed - and only when we are also
requesting embedded assets...
On Oct 20, 2009, at 5:04 PM, Major Péter wrote:
Hi all,I am deploying an app in production and I have to create a
directory where users upload images and text files in the server. They only
are allowed to access this files to a wicket front page. Should I have any
consideration about wicket arquitecture or tomcat architecture? Should I
First of all, thanks to all of you for your help.
I haven't solved the problem, but I'm getting closer to it.
(something like: new PageLink(new MyPage()); = I checked it and I'm not
doing that. )
Here's what I've found out:
After debugging a lot, I find out that TWO REQUESTS are made. The
when you are requesting an embedded resource wicket needs to stream
the file out of a jar, the way the jvm handles that is by creating a
jar url connection object that streams the file. unfortunately, there
is a bug in the jdk where the url connection does not have a close
method and so wicket or
are you opening the page in a new tab? this script is part of wicket
auto-multi-window support, it detects if the page has been opened in a
new tab and redirects to a url that will point to the same page but in
a new pagemap.
-igor
On Tue, Oct 20, 2009 at 4:23 PM, Esteban Masoero
Thanks for the explanation I think that helps shed some light... The
tests are actually JMeter tests driving load by emulating a web
browser - the application the are testing is running in Deployment
mode set up as though it were a production server. After a little more
digging I have been
79 matches
Mail list logo