Hello,
I'm migrating from wicket 1.4.18 to wicket 1.5.0, but I need
wicketstuff/tinymce dependency, and I think it is not migrated to 1.5
yet; is there some prevision to do it?, or where can I find it?.
My dependency:
dependency
groupIdorg.wicketstuff/groupId
hi,
got the following composite:
page
|-form1
| |-field1
| | |-StringValidator.MaximumLengthValidator [1]
| |-feedbackPanel1(ComponentFeedbackMessageFilter(form1) [3])
|-form2
|-field2
| |-StringValidator.MaximumLengthValidator [2]
You need ContainerFeedbackMessageFilter instead of
ComponentFeedbackMessageFilter.
On Thu, Sep 15, 2011 at 11:56 AM, manuelbarzi manuelba...@gmail.com wrote:
hi,
got the following composite:
page
|-form1
| |-field1
| | |-StringValidator.MaximumLengthValidator [1]
|
Hi Portlet users,
At https://issues.apache.org/jira/browse/WICKET-4019 you can find an
attachment provided by Peter Pastrnak that brings back the support of
Portlets for Wicket 1.5.
If you would like to have this feature in your 1.5 applications now is
the time to test it and give feedback.
In Wicket 1.4, I used an org.apache.wicket.resource.ByteArrayResource to
create a resource from a byte array and its content type. I then used this
object's getResourceStream() method to return an IResourceStream, to get an
InputStream and read it into a byte array.
(I do this as part of my
org.apache.wicket.request.resource.ByteArrayResource is not abstract.
you just need
org.apache.wicket.markup.html.image.NonCachingImage.NonCachingImage(String,
IResource)
ByteArrayResource can work with static byte[] or with dynamic - see
Another question regarding LocaleFirstMapper: in mapHandler() it always
adds the locale as the first segment.
In wicket 1.4 a url could start with ../-strings in the
IRequestCodingStrategy.encode() call.
Wicket would generate a relative url to the wicket filter.
Since LocaleFirstMapper
The code that makes the Url relative is executed after
#mapHandler(IRequestHandler)
On Thu, Sep 15, 2011 at 2:49 PM, Bas Gooren b...@iswd.nl wrote:
Another question regarding LocaleFirstMapper: in mapHandler() it always adds
the locale as the first segment.
In wicket 1.4 a url could start
So does that mean that all urls generated by mapHandler() are relative
to the wicket filter, and are later made relative to the current page url?
When looking at RequestCycle.urlFor() and UrlRenderer it appears this way.
Op 15-9-2011 14:00, schreef Martin Grigorov:
The code that makes the Url
Hi,
are form1 and form2 nested inside another form?
hi,
got the following composite:
page
|-form1
| |-field1
| | |-StringValidator.MaximumLengthValidator [1]
| |-feedbackPanel1(ComponentFeedbackMessageFilter(form1) [3])
|-form2
|-field2
|
I'm using Objectify for datastore access in GAE, though the problem would
be the same if I was using the datastore API directly.
For optimal performance, Google recommends doing batch requests to the
datastore whenever possible - they say making the requests in parallel
is much faster than
may you execute the query db in IDataProvider.iterator, instead of
populateItem. see IDataProvider javadoc.
.
On Thu, Sep 15, 2011 at 3:16 PM, Chris Merrill ch...@webperformance.com wrote:
I'm using Objectify for datastore access in GAE, though the problem would
be the same if I was using the
I don't know why I said that ByteArrayResource was abstract. Sorry about
that; I got it mixed up with another class.
I need to keep my byte array wrapped in a LoadableDetachableModel, in order
to prevent the array being stored in the page and session, so I do not
supply an IResource to the
On Thu, Sep 15, 2011 at 5:13 PM, Ian Marshall ianmarshall...@gmail.com wrote:
I don't know why I said that ByteArrayResource was abstract. Sorry about
that; I got it mixed up with another class.
I need to keep my byte array wrapped in a LoadableDetachableModel, in order
to prevent the array
I used my other method instead of using ByteArrayResource directly, in order
to reduce session size. I therefore presume that I was using
ByteArrayResource incorrectly for that reduction to happen!
Martin Grigorov-4 wrote:
On Thu, Sep 15, 2011 at 5:13 PM, Ian Marshall
Hi,
How to display dynamic HTML content on page which can be invalid
(because this HTML is entered by a user). I can use
Label.setEscapeModelStrings(false), but with invalid HTML content the
page will not be rendered (because of HTML parsing error). So maybe I
can use some of standard Wicket
Hello,
I have a panel to which I want to add multiple items. I have put it into a
loop and as long as I have only one panel I am good, with more than one it
errorsI get why it errors, it has a panel with that name already, however I
have no idea how to solve this.
Can I create a list of the
Have a look at repeaters (e.g. RepeatingView and ListView).
Op 15-9-2011 17:10, schreef Fred:
Hello,
I have a panel to which I want to add multiple items. I have put it into a
loop and as long as I have only one panel I am good, with more than one it
errorsI get why it errors, it has a panel
may you need a RepeatingView. see javadoc.
.
On Thu, Sep 15, 2011 at 5:10 PM, Fred smiths...@hotmail.com wrote:
Hello,
I have a panel to which I want to add multiple items. I have put it into a
loop and as long as I have only one panel I am good, with more than one it
errorsI get why it
Hi everybody;
I am a newbie, so I hope my question won't be too trivial, I've been going
through some examples, I am currently using Wicket 1.5 and I just included
latest wicket extensions jar to my build path(which is 3 years old)
String imagePass = randomString(6, 8);
add(new Image(challenge,
may HtmlDocumentValidator help you.
.
On Thu, Sep 15, 2011 at 5:05 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
How to display dynamic HTML content on page which can be invalid
(because this HTML is entered by a user). I can use
Label.setEscapeModelStrings(false), but with invalid
Thanks!
worked with:
RepeatingView view = new RepeatingView(people);
for(People person : searchResponse.getAll())
{
for(Employees employee : person.getEmployees())
{
for(District dis : person.getDistrict())
{
view.add(new
Under the final section List of renamed classes and methods, should the
first 1.4 class listed not be
org.apache.wicket.request.resource.ResourceReference
but
org.apache.wicket.ResourceReference?
--
View this message in context:
Hi,
Is there any reasonable way to set PageParameters for home page. In wicket 1.4
it was possible to override WebRequestCycleProcessor's resolveHomePageTarget
method
and add RequestParameters for the request.
We do use this functionality because application has customizable home pages
per user
wicket 1.5 jars are not three years old, so you probably have the wrong jar
to see how to implement the catcha see the captcha example in
wicket-examples. live one here:
http://www.wicketstuff.org/wicket/captcha
-igor
On Thu, Sep 15, 2011 at 8:31 AM, Erinc Arikan erincari...@gmail.com wrote:
i dont really understand your question. homepage should be accessible
without parameters, but in any case
urlfor(homepage.class, pageparameters) should generate a correct url...
-igor
On Thu, Sep 15, 2011 at 9:06 AM, Mikko Pukki
mikko.pu...@syncrontech.com wrote:
Hi,
Is there any reasonable
Hi Igor;
Thanks for the response.
Jar file that is three years old isn't wicket 1.5.0 jar, it's the
wicket-extensions jar.
I already checked the example that you posted, it's importing from
import org.apache.wicket.extensions.markup.html.captcha.CaptchaImageResource
;
I am using
http://repo1.maven.org/maven2/org/apache/wicket/wicket-extensions/
On Thu, Sep 15, 2011 at 10:13 AM, Erinc Arikan erincari...@gmail.comwrote:
Hi Igor;
Thanks for the response.
Jar file that is three years old isn't wicket 1.5.0 jar, it's the
wicket-extensions jar.
I already checked the
The home page cannot have indexed parameters (/indexed1/indexed2)
because this way it will match every request which is not matched by
another mapper with higher compatibility score. But it should work
with query parameters (/?param1=value1...)
On Thu, Sep 15, 2011 at 7:06 PM, Mikko Pukki
fixed
the wiki is editable by everyone. improve it! ;-)
On Thu, Sep 15, 2011 at 7:03 PM, Ian Marshall ianmarshall...@gmail.com wrote:
Under the final section List of renamed classes and methods, should the
first 1.4 class listed not be
org.apache.wicket.request.resource.ResourceReference
Good point, Martin. I never noticed the Edit Page link at the top of the
migration guide until your post.
Next time, I'll (register and) log on to the Apache Software Foundation and
submit minor typo corrections myself.
Martin Grigorov-4 wrote:
fixed
the wiki is editable by everyone.
Hello,
I have an application where all the pages are stateful (have ajax components
in them). However, most of the pages are also bookmarkable and can be fully
restored via the PageParameters. In addition to this, some of pages with
input forms contain unmanaged hibernate entities (unmanaged,
Hi, yes you can, but F5 will instance the page again and its state will get
lost.
I think the problem is related to
https://issues.apache.org/jira/browse/WICKET-4014
Can you open a ticket so we can track it?
2011/9/15 hok ivanvasi...@gmail.com
Hello,
I have an application where all the pages
Thanks for the fast response. In my case though, I have pages that are
defined by their page parameters, so even if the page is expired, pressing
F5 would reload the same page from the server (and it's not important if the
state is lost). However if I'm using the aforementioned
Googled around, but no clear answer:
In my app I mount a page like this:
mount(new MixedParamUrlCodingStrategy(/store/product, ItemPage.class,
new String[]{itemId, itemName}));
which gives me a URL
store/product/45336/some-name
I have a form on the resulting page, which on submit sends me
If WICKET-4014 is the reason then the following workaround should revert it:
@Override
public Url mapHandler(IRequestHandler requestHandler)
{
if (requestHandler instanceof ListenerInterfaceRequestHandler) {
return null;
} else {
Ok, I've been playing around with this, and it doesn't work.
WebPageRenderer#respond() compares the current url to the target url.
The current url is always normalized (without context path), so if my
absolute mapper generates a target url which is absolute, and as such
includes the context
Thanks Martin,
your solution seems to work. There are two cases where I need stateful pages
without page id.
The first one is for purely aesthetic reasons and concerns bookmarkable
pages which can be opened with page parameters.
The second is a bit more important. I have a user profile page,
We have use cases similar to this. For explanation purposes, consider a User
class that has a collection of Features.
We have an IModelListFeature implementation called
EntityListModelFeature. This class maintains a list of feature IDs within
its implementation (the actual list of Features is
Great idea, worked like a charm.
Thanks!
On Tue, Sep 13, 2011 at 8:19 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
create a single metadata key that holds a mapstring,object where
string is a uuid.
-igor
On Tue, Sep 13, 2011 at 5:40 PM, Alec Swan alecs...@gmail.com wrote:
Great idea,
Hello,
Our app uses panel swapping as a tabbing implementation.
I noticed that if I inject CSS using
component.add(CSSPackageResource.getHeaderContribution(resourceRef,
media)) during panel construction, then the CSS is included correctly
and takes effect after the panel swap. However, if I
that should work, please create a quickstart.
-igor
On Thu, Sep 15, 2011 at 8:06 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
Our app uses panel swapping as a tabbing implementation.
I noticed that if I inject CSS using
component.add(CSSPackageResource.getHeaderContribution(resourceRef,
Hi,
I'm trying to upgrade from 1.4.8 to 1.4.18 and I'm finding that
AjaxSubmitLink is not working (at least with one form).
The form doesn't get submitted - the problem in wicket-ajax.js is (~line 1120):
// Submits a form using ajax.
// This method serializes a form and sends it as
43 matches
Mail list logo