Hi Vineet,
"wickettester#ajaxEvent(button,"onclick") " is what I already tried. And it
worked better but not finally finsihed.
The cause of the next problem is that I need to provide some request parameter
for this request since my application reads request and throws an exception if
it can't f
Hi,
If you are able to reproduce this in a quickstart app then please
attach it to a ticket in Jira.
On Wed, Aug 15, 2012 at 2:06 PM, yesotaso wrote:
> Sorry for non-informative title. The whole warning is:
> WARN - (WebPageRenderer.java:162) - The Buffered response should be handled
> by Buffe
Hi,
You can set your JQueryResRef with
application.getJavaScriptLibrarySettings().setJQueryResourceReference(MyJQueryResRef);
Wicket 6 uses and is tested for JQuery 1.7.2. It also works fine with
1.8.0 (i.e. all available tests pass). It wont work with JQuery 1.6
and older.
On Thu, Aug 16, 2012
Thanks Martin, I will take a look and let you know.
Martin Grigorov wrote:
Hi,
Take a look at
https://github.com/apache/wicket/tree/master/wicket-examples/src/main/java/org/apache/wicket/examples/requestmapper
and more specifically the usage of LocaleFirstMapper.
On Thu, Aug 16, 2012 at 10:1
Hi,
Take a look at
https://github.com/apache/wicket/tree/master/wicket-examples/src/main/java/org/apache/wicket/examples/requestmapper
and more specifically the usage of LocaleFirstMapper.
On Thu, Aug 16, 2012 at 10:19 PM, Rama Kesara wrote:
> We have been used Wicket for developing our web app
The markup filter that is responsible for this is:
org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler
You can setup a custom MarkupParser that doesn't use this markup
filter to solve your issue.
On Fri, Aug 17, 2012 at 3:06 AM, Joachim Schrod wrote:
> Thanks for these pointers! I'll
Hi,
At
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/jgrowl
you may find JGrowl based implementation of FeedbackPanel.
On Fri, Aug 17, 2012 at 12:18 AM, Tom Norton
wrote:
> We use JGrowl on our website, and now that we'v
Thanks Tom for the suggestions. I didn't know these things.
On Fri, Aug 17, 2012 at 12:14 PM, Tom Norton <
tomwnorton.mailing.li...@gmail.com> wrote:
> My unit tests construct the WicketTester in the setUp method. I also
> extend WicketTester so that I can mock our database-driven content system
My unit tests construct the WicketTester in the setUp method. I also
extend WicketTester so that I can mock our database-driven content
system and Spring Application Context (wicket provides a mock for this:
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/spring/test/ApplicationContextMo
You could use Wicket's default ajax event (using the inter-component event API):
https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-Defaultajaxevent
If you don't want to react upon *each* ajax event you need to explicitly
trigger an event, put some playload (e.g. a m
Any suggestions regarding this? Thank you.
On Thu, Aug 16, 2012 at 10:04 AM, James Eliyezar wrote:
> Friends,
>
> Just curious to find out what best practices do you all follow when using
> WicketTester.
>
> FYI, to improve the performance of unit tests, we decided to use a shared
> instance of W
Thanks for these pointers! I'll check the classes out and see how I
can influence their behavior.
Cheers,
Joachim
Bertrand Guay-Paquet wrote:
> Hi Joachim,
>
> I have never inspected them closely, but I think the classes in
> play are :
> WicketLinkTagHandler
> AutoLinkResolver
>
> As
We have been used Wicket for developing our web applications so far and
currently we are trying to tackle one issue where an optional language
parameters comes in the url for all applications. We are trying to see how can
we customize our applications to have a common page mapper or common proce
Can you please elaborate on the use of TransparentWebMarkupContainer in 1.5 for
use with Panel inheritance? I have a page with tabbed panels, each of which has
its own left nav. Each panel subclass thus inherits from the base class /
markup where the corresponding left nav is defined. When I att
Overwrite #newRowItem() and tweak the CSS class with a behavior.
Sven
Delange schrieb:
>Hi, in my DataView I have a column with amounts.
>I want to give the positive ones a green color, and the negative ones a red
>color;
>
>How to accomplish that?
>
>
>
>--
>View this message in context:
>htt
I've used XsltTransformerBehavior on the containing Panel for such things.
Behaviors (possibly added by a IComponentInstantiationListener) could
'transform' the tag too.
Sven
Steve Lowery schrieb:
>We have forms throughout our application that can be toggled from read-only
>to editable. The w
Ok I think I got it now! Simply using a ResourceStreamResource instead of a
ByteArrayResource, duh... I think the reason why I just couldn't see clear
before is all the different obsolete examples and tutorials for older
versions. The problem is, when you are new to Wicket, you are still
figuring o
I think there's a bug with class WebApplication which doesn't create a
MultipartServletWebRequestImpl when the original request is multipart.
In the meantime a possible workaround is to override method
newWebRequest of your application class and put the following code
inside it:
{
Ser
Hi Joachim,
I have never inspected them closely, but I think the classes in play are :
WicketLinkTagHandler
AutoLinkResolver
As for the usefulness of this process, consider panels. Panels can be
instantiated on any mount path so their links must be adjusted.
Good luck!
Bertrand
On 15/08/2012
sorry typo i meant wickettester#executeAjaxEvent(button,"onclick")
On Thu, Aug 16, 2012 at 8:11 PM, vineet semwal wrote:
> that is expected behavior try
> wickettester#ajaxEvent(button,"onclick") or it's path equivalent
>
>
> On Thu, Aug 16, 2012 at 7:00 PM, JCoder wrote:
>> Furthermore, I fou
that is expected behavior try
wickettester#ajaxEvent(button,"onclick") or it's path equivalent
On Thu, Aug 16, 2012 at 7:00 PM, JCoder wrote:
> Furthermore, I found out that my test code calls "public void onSubmit();"
> instead of calling the overridden "protected void onSubmit(AjaxRequestTar
Solved...actually IE cannot read onSubmit action. So, I used onkeydown as
stated in
http://apache-wicket.1842946.n4.nabble.com/TextField-submit-via-Ajax-td3002094.html
That will solve the problem..:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormSubmitBeha
Yes I had success.
I obtained the jar wicket-portlet-1.5.7.2.jar and added it to my local repo.
$MVN_CMD install:install-file \
-DgroupId=org.apache.wicket.portlet \
-DgeneratePom=true \
-DartifactId=wicket-portlet \
-Dversion=1.5.7.2 \
-Dpackaging=jar \
-Dfile=wicket-portlet-1.5.7.2.jar
Make s
We have forms throughout our application that can be toggled from read-only
to editable. The wicket framework will disable the form components which
is great, but we'd rather have it display just the texts in a label. We
can subclass TextField, TextArea, DropDownChoice, etc and override the
onCom
Assuming you use a Label for your amounts:
new Label( ... ) {
@Override
protected void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
if( isNumberPositive() )
tag.append("class", "positive_num_css", " ");
else
tag.append("clas
Furthermore, I found out that my test code calls "public void onSubmit();"
instead of calling the overridden "protected void onSubmit(AjaxRequestTarget
target, Form form);"
These overriden methods reside in my anonymous inner subclass of AjaxButton.
--
I think I just made a huge step forward by overriding getData() of
ByteArrayResource. I've read that in the documentation before, but at that
time was too deep into the concept of resources that I didn't get it (I'm
completely new to Wicket).
So, right now it works that I read my attachment, conve
I have the exact same issue with wicket 1.5.7, liferay 6.1.1, and
org.apache.portals.bridges:portals-bridges-common version 2. Maybe these
versions are incompatible?
Have you had any success?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Liferay-help-tp46
Good afternoon,
I'm currently playing with Wicket 6.0 resource management, as found here:
http://wicketinaction.com/2012/07/wicket-6-resource-management/
Martin's website introduces us to the concept of resource dependencies. It
works great for my own provided JS, but there is still one problem:
Thanks for your replies:
This is my plain html code:
This is my Wicket class:
public class UploadPage extends WebPage {
final Logger LOG = LoggerFactory.getLogger(getClass());
public UploadPage() {
Hi, thanks for for quick answer! I already played around with
ResourceStreams, but my problem was that I couldn't do the bridge from a
Stream to a Resource with a URL.
I should add, I'm not offering my ByteArrayResources as a download. I pass
the content-type and filename, and (with the help I got
Well it turns out that reflective call of a method failes.
I run into WicketRuntimeException in RequestListenerInterface.invoke(Page,
Component).
The button to submit is an instance of AjaxButton. Does this make a difference
in initializing the test?
Regards,
Y
Hi,
try getRequestParameters() instead of getPostParameters(). This method
returns all request parameters. I don't know why getPostParameters()
return an empty result, maybe it is an issue...
I was looking up all available threads, but did not find an answer.
I have an app deployed to a mobil
This normally means that there *are* no POST parameters. Are you sure you're
doing a POST request to your page, and not a GET?
-Tom
On 16.08.2012, at 12:16, tmaus wrote:
>
> I was looking up all available threads, but did not find an answer.
>
> I have an app deployed to a mobile device
Take a look at DownloadLink and FileResourceStream, and replace all File
related API to your CouchDB access.
Sven
Michael M schrieb:
>Hi, in my project I use a CouchDB with files as attachments. Currently I
>have a page that makes those attachments available via a ResourceLink. What
>I do when
Hi, in my project I use a CouchDB with files as attachments. Currently I
have a page that makes those attachments available via a ResourceLink. What
I do when creating that page is:
- I read all attachments (I get them as an InputStream),
- create a byte[] out of it,
- create a static Wic
Hi, in my DataView I have a column with amounts.
I want to give the positive ones a green color, and the negative ones a red
color;
How to accomplish that?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dataview-need-a-differente-css-for-negative-values-tp4651270.h
I was looking up all available threads, but did not find an answer.
I have an app deployed to a mobile device that should communicate with my
service via REST.
As part of the flow the user can upload a new picture to the service.
My page is able to read GET based requests, but no POST based
38 matches
Mail list logo