Using FileUploadField may lead to such problems.
You can create a Wicket Resource that will handle file uploads by
using directly MultipartServletWebRequestImpl.
This way the upload will not lock the access to a page.
On Wed, Jul 20, 2011 at 8:48 AM, MattyDE ufer.mar...@gmail.com wrote:
Am i the
Hi Martin,
have u any futher informations to this topic?
With Wicket Resource u mean a custom component extending from
MultipartServletWebRequestImpl?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3680069.html
Sent from the
I mean org.apache.wicket.request.resource.IResource with
org.apache.wicket.request.resource.ResourceReference.
MultipartServletWebRequestImpl wraps the current IResource.Attributes#getRequest
On Wed, Jul 20, 2011 at 9:21 AM, MattyDE ufer.mar...@gmail.com wrote:
Hi Martin,
have u any futher
Okay.. and what is the way in Wicket 1.4 ;) ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3680072.html
Sent from the Users forum mailing list archive at Nabble.com.
Okay i think i understand UploadWebRequest now, but i see no reason why the
user cant do anything else on the meantime while uploading.
Is there anywhere in the RequestCycle-processing a blocking part which holds
till the Upload is done?
--
View this message in context:
Also see the approach at
https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/wicket-poi-parent
This project shows how to export DataTable content in Excel.
You can do some similar just export to PDF.
On Wed, Jul 20, 2011 at 1:14 AM, Jeremy Thomerson
jer...@wickettraining.com wrote:
Hi Richard,
1. Scala traits are something useful which I hope to have someday in Java too.
They can help in make some code reusable when it is not possible to
have common base class. At the end a trait is a partial base class...
2. I'm not sure what problem you are after with this optimization
Hello again
Do you have an idea why this 2 ajax events don't work together?
thanks
Rebecca
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/onclick-ajax-event-stops-working-when-adding-onmouseover-tp3674638p3680546.html
Sent from the Users forum mailing list archive
i am having two maven projects, wicket hibernate integration using guice and
wicket jasper reports integration using spring. Both project working
independently well. Can we integrate both the projects into a single
project. If so how? if not why? If any other solution available without
integrating
Clint,
The behavior I'm seeing is that I click the link once but see the onClick
method triggered twice.
Modal window has a shown variable to detect if a modal window is already
being displayed. It looks like the first time onClick fires and calls the
modal's show() method it sets shown to true.
Clint,
The behavior I'm seeing is that I click the link once but see the onClick
method triggered twice.
Modal window has a shown variable to detect if a modal window is already
being displayed. It looks like the first time onClick fires and calls the
modal's show() method it sets shown to true.
Clint,
The behavior I'm seeing is that I click the link once but see the onClick
method triggered twice.
Modal window has a shown variable to detect if a modal window is already
being displayed. It looks like the first time onClick fires and calls the
modal's show() method it sets shown to true.
Clint,
The behavior I'm seeing is that I click the link once but see the onClick
method triggered twice.
Modal window has a shown variable to detect if a modal window is already
being displayed. It looks like the first time onClick fires and calls the
modal's show() method it sets shown to true.
Clint,
The behavior I'm seeing is that I click the link once but see the onClick
method triggered twice.
Modal window has a shown variable to detect if a modal window is already
being displayed. It looks like the first time onClick fires and calls the
modal's show() method it sets shown to true.
my application uses wicket authentication which it turn uses spring acegi
security, now we along with our partner decided to use single sign on for
which saml2 is proposed, I have to implement saml2 in my wicket
application we will the service provider and our partners will be identity
Hi,
I refresh the page using target.addComponent(fieldName);
The value that was entered in the text field is cleared. How can I get it to
keep the value?
Thanks
Anna
Hi Anna, use an submit component like AjaxLink or AjaxButton to
interact with server. Even if you skip the default form processing by
set submitComponent.setDefaultFormProcessing(false) the input in the
fieldName will be kept.
On Wed, Jul 20, 2011 at 11:37 AM, Anna Simbirtsev
I can't, because target.addComponent is called in the
AjaxFormComponentUpdatingBehavior on one of the field. But I already found a
solution. I added AjaxFormComponentUpdatingBehavior to the text field, so
that the value is kept on the server.
Thanks
On Wed, Jul 20, 2011 at 10:51 AM, Pedro Santos
Hi,
which AJAX component are you using? is likely that your field's form is
not submitted, hence field's model is not updated
Hi,
I refresh the page using target.addComponent(fieldName);
The value that was entered in the text field is cleared. How can I get it to
keep the value?
Thanks
Anna
You can use the keyword static to make the textfield's value remain after
refresh or if you use any persistent frameworks the object state will be
available until you destroy it.
--
View this message in context:
Martin,
I understand that some on the Wicket mailing list do not
believe that memory usage should be a big concern while others
are very concerned about it. One simply has to look at the
data storage code in the Component class and its complexity
to see a reflection of that concern.
For me,
On Wed, Jul 20, 2011 at 9:00 AM, richard emberson
richard.ember...@gmail.com wrote:
I have many examples of such Java bloat. Consider the getKey method
in the org/apache/wicket/util/value/ValueMap.java class:
Java version:
public String getKey(final String key)
{
for (Object keyValue
Hello,
Not sure if this a wicket specific problem but the example i used to do this
I got from here:
https://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html
https://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html
The example works
Hi Richard,
With the serialization optimizations you optimize only the second and
third level stores, i.e. the runtime memory is still the almost same.
You'll gain only if you have bigger second level cache which is used
when the user uses browser back button. And I think this is no so
often.
Thanks Igor.
it is not allowed, see page#componentRendered()
Thanks.
sharing component instances between pages
I am going to have to think about all of this.
Maybe making mutable and immutable version of things
or, maybe, an Immutable trait (interface) that signals
intent (but, of course,
On Wed, Jul 20, 2011 at 10:19 AM, richard emberson
richard.ember...@gmail.com wrote:
Thanks Igor.
it is not allowed, see page#componentRendered()
Thanks.
sharing component instances between pages
I am going to have to think about all of this.
Maybe making mutable and immutable version of
lol, so scala has a built in isOneOf, of course it wins there...this
is of course a non-example. im not sure why some of our code is so
bloated, its been there for years. i cleaned this one up to, here is
the concise version:
private boolean isOneOf(final char ch, final char[] charray) {
In the wicket example of Form Input (
http://wicketstuff.org/wicket14/forminput/
http://wicketstuff.org/wicket14/forminput/ ), I'm looking at the source and
can't make out what's happening with this line:
// display the multiply result
Label multiplyLabel = new
Choose one from guice and spring and live happily ever after? Why are you
using both of them?
Attila
2011/7/20 hariharansrc hariharan...@gmail.com
i am having two maven projects, wicket hibernate integration using guice
and
wicket jasper reports integration using spring. Both project working
On 07/20/2011 10:03 AM, Martin Grigorov wrote:
Hi Richard,
With the serialization optimizations you optimize only the second and
third level stores, i.e. the runtime memory is still the almost same.
You'll gain only if you have bigger second level cache which is used
when the user uses
this is called model chaining. where models know that their model
object is another model and can properly handle it.
in this particular example
imodel d=getdefaultmodel()
imodel p=new propertymodel(d, multiply)
p.getobject() then does this
object target=mytarget; (in this case d)
while
Am 20.07.2011 19:38, schrieb wmike1...@gmail.com:
In the wicket example of Form Input (
http://wicketstuff.org/wicket14/forminput/
http://wicketstuff.org/wicket14/forminput/ ), I'm looking at the source and
can't make out what's happening with this line:
// display the multiply
Well, bodybuilding.com is beginning to use wicket extensively, there are
several parts of the website ported to wicket (store excluded) already and a
major revamp is being worked on as we speak - all in wicket. That is by far
the biggest site that uses wicket AFAIK.
--
View this message in
needs www.
-igor
On Wed, Jul 20, 2011 at 12:57 PM, dryajov drya...@gmail.com wrote:
Well, bodybuilding.com is beginning to use wicket extensively, there are
several parts of the website ported to wicket (store excluded) already and a
major revamp is being worked on as we speak - all in
I looked at the Page source for about 10 pages and could not
tell that they were generated using Wicket.
Are there some telltale indicators that might indicate
Wicket usage?
Yea, inside knowledge is one indicator, but I mean some
other indicator. Something about the HTML or such?
Thanks
Richard
The only trace that i think could be easily spot (once DEPLOYMENT mode is
on) are the inclusion of resources such as css/javascript
On Wed, Jul 20, 2011 at 6:08 PM, richard emberson [via Apache Wicket]
ml-node+3682047-48131163-65...@n4.nabble.com wrote:
I looked at the Page source for about
The only parts of our live site that are running wicket are some of the blog
pages at http://blog.bodybuilding.com. Most everything else is still a WIP
and not yet ready for public consumption. Also, you probably won't find any
references to wicket resources in the code since we use a CDN for
Is it possible or not that only i am asking because both will be processed
independently
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/hibernate-and-jasper-reports-tp3680767p3682655.html
Sent from the Users forum mailing list archive at Nabble.com.
Hey all,
I want a low-interference approach to adding CSS class attributes to form
components and their labels when they have associated errors. Igor's *
Cookbook* suggests a behavior, but leaves the automation as something done
during page construction. We have too many AJAX modals and panel
no worries, the cookbook has your back!
look in this recipe: Providing Ajax feedback automatically
have your temporary behavior implement a tagging interface. then in
the ajax request target listener look for all components that have a
behavior with this tagging interface, and if they do add it
Hi,
Is there some way for me to Hack the Wicket parser to pre-publish Wicket
based pages before they are even rendered?
Context:
==
I have a system where I'm using velocity to generate pages that do not
change over a period of time. Futhermore their content can be cached using
EhCache (More
Hey it's the man himself. :)
We already use the automatic AJAX feedback recipe (thanks for that), but I'm
not sure how that solves the problem at hand. I only add the temporary
behaviors in myIComponentOnBeforeRenderListener, and that only gets called
if the component's *already* been added to
this is what most of our unit tests do, so look there. they render a
page and compare the output against a template. what you want to do is
store the output.
-igor
On Wed, Jul 20, 2011 at 8:31 PM, Arjun Dhar dhar...@yahoo.com wrote:
Hi,
Is there some way for me to Hack the Wicket parser to
On Wed, Jul 20, 2011 at 9:11 PM, Dan Retzlaff dretzl...@gmail.com wrote:
Hey it's the man himself. :)
We already use the automatic AJAX feedback recipe (thanks for that), but I'm
not sure how that solves the problem at hand. I only add the temporary
behaviors in
Wanted to let the user-group know about another successful site built
with Wicket which was launched about 1.5 years ago. I am just getting
around to letting the usergroup know about it, sorry for the delay. The
url for the site is: http://www.stoneside.com.
The site is a consumer
45 matches
Mail list logo