Again, I can offer a hack :D
public class DoSomeHackBehavior extends AbstractBehavior {
private static final long serialVersionUID = 3554634545756435367L;
@Override
public void onComponentTag(Component component, ComponentTag tag) {
FormComponent comp = (
meduolis wrote:
>
> I dont know if it works, but you can try to make a hack :)
>
> endDateDropDown = new DropDownChoice("endDateDropDown", new
> PropertyModel(viewHistoryCriteria, "endDate"),
> ProcessDateContext.getSixtyDayRange());
> endDateDropDown.add(new AjaxFormComponentUpdatingBehavior("
I dont know if it works, but you can try to make a hack :)
endDateDropDown = new DropDownChoice("endDateDropDown", new
PropertyModel(viewHistoryCriteria, "endDate"),
ProcessDateContext.getSixtyDayRange());
endDateDropDown.add(new AjaxFormComponentUpdatingBehavior("onchange") {
protected v
I will give it a try. Thanks!
Melinda
On Fri, Oct 8, 2010 at 5:51 PM, Igor Vaynberg wrote:
> you can try tweaking the form so that its action is https, so
>
> class httpsform extens form {
> oncomponenttag(tag) {
> super.oncomponenttag(tag);
> string action=tag.get("action");
> acti
Martin,
Thanks for your answer! Yes, I know about that class: my questions was more
how to have a form submitted over HTTPs on a page served over HTTP.
Regards,
Ernesto
On Fri, Oct 8, 2010 at 5:34 PM, Martin Grigorov wrote:
> See org.apache.wicket.protocol.https.HttpsRequestCycleProcessor
>
>
easiest way to help you is if you create a quickstart and attach it to
a jira issue
-igor
On Thu, Oct 7, 2010 at 7:08 AM, Rut Bastoni wrote:
> Hi everyone,
> i'm trying to implement a custom TextField that fires "onchange" event
> without using Ajax (it is a requirement of my project - i have g
The attachment didn't make it,
Can you try to extract out the relevant part and creates a quickstart
project that actually reproduces your issue?
On Fri, Oct 8, 2010 at 1:41 PM, Shelli Orton [via Apache Wicket] <
ml-node+2968688-305091622-65...@n4.nabble.com
> wrote:
> Hi,
>
> I have been tryi
> For this particular use case (the current date), I would suggest you
> just calculate that on-the-fly, not at bean creation time. It's not
> that expensive to calculate.
Yes, I appreciate your suggestion. :)
Thanks James.
Regards.
--
Mauro Ciancio
-
Sure, but I posted pretty much everything related to radiochoice :) So I am
just not doing some obvious important steps for making RadioChoice work :)
Code, with all non-related parts removed, looks like that:
public class Registration extends WebPage {
public Registration() {
Hello, is it possible to handle validation of maxSize of file upload
(FileUploadField)? I need something like this
onFileMaxSizeError() {
someOtherField.error(someValidationMessage);
}
I hope someone understand what I want :D, if not, please let me know, i will
try to describe m
attach it to a jira issue, post the url back here
-igor
On Fri, Oct 8, 2010 at 9:57 AM, Arjun Dhar wrote:
>
> Hi,
> I've solved this problem by writing a new implementation of DataViewBase.
> GridView did not seem appropriate to simply extend due to a few reasons. (It
> assumes Symmetry for the
Hi,
I am trying to solve similar problem as the Original Post.
Can you please share some details of your ideas that you done?
Much appreciated.
Best Regards
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Integrating-Separate-Different-Wicket-Applications-Into-One-tp
Hi,
I've solved this problem by writing a new implementation of DataViewBase.
GridView did not seem appropriate to simply extend due to a few reasons. (It
assumes Symmetry for the most in its code).
This Code can merge areas within the GRID and extract data from the data
model accordingly and ca
hmm right, could I just embed it in the html page then, I guess the answer
is yes?
I guess the reason I took this path was because of the
texttemplateresourcereference which seems to do something much like this.
regards Nino
2010/10/8 Igor Vaynberg
> what you are trying to do doesnt make sense
Hi,
I have been trying different things to see if I could get my code to work (and
understand Wicket models better), but am still stuck. I have a attached the
(latest) panel class code which I hope is sufficient to help.
I was reading about different models (both online and the Wicket in Actio
you can try tweaking the form so that its action is https, so
class httpsform extens form {
oncomponenttag(tag) {
super.oncomponenttag(tag);
string action=tag.get("action");
action=requestutils.toabsoluteurl(action);
action="https"+action.substring(4);
tag.put("action",
what you are trying to do doesnt make sense, think about it.
how is wicket supposed to build a url to your anonymous reference instance?
you have two options, use renderCssReference(String url) to output the
url to your custom css or if you need to stream it from somewhere
inaccessible by the bro
see ContainerFeedbackMessageFilter, baically each panel has its own
feedback panel and they each use the filter to only display messages
from their respective children.
-igor
On Fri, Oct 8, 2010 at 1:09 AM, Ben wrote:
>
> I have 3 panels on a page, all 3 panels also have form in them.
> And I ha
make the page bookmarkable and mount it onto /thankyou url
-igor
On Thu, Oct 7, 2010 at 11:04 PM, fadeyev wrote:
>
> In my onSubmit handler I have a statement:
>
> setResponsePage(new AfterPaymentPage(payment));
>
> Where payment is an object of the Payment class, so AfterPaymentPage is
> non-bo
See org.apache.wicket.protocol.https.HttpsRequestCycleProcessor
On Fri, Oct 8, 2010 at 11:44 AM, Melinda Dweer wrote:
> Hi,
>
> I has the following use case: I have some public pages (should be served
> over HTTP) containing a sign in "panel" which must be submitted over
> HTTPs.
> I have though
On Fri, Oct 8, 2010 at 10:42 AM, Mauro Ciancio wrote:
>
> Wel, that explains the whole issue. If only if had known it before. :)
> Thanks to all for the replies.
> Regards.
> -
For this particular use case (the current date), I would suggest you
just calculate that on-the-fly, not at bean creatio
Hi,
>> Yes: after "deserialization" :). And yes: after deserialization of
>> yout page version this bean is relocated from Spring again. You can
>> chcek this: go to the previous page version by clicking "back" button
>> and press refresh button (if page is cached in a browser). Then you
>> can se
Oh come on! no one will want to steal your non-working code!
Use http://pastebin.com/ to show your code if you want someone's help ;)
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
On Thu, Oct 7, 2010 at 11:35 PM, Zeldor wrote:
>
> 186 is System.out.println(_numbers)
Thanks...
2010/10/8 Jeremy Thomerson
> I forgot to include the URLs you should try in that quickstart:
>
> http://localhost:8080/example1
> http://localhost:8080/example1?template=red
> http://localhost:8080/example2
> http://localhost:8080/example2?template=red
>
> Here's the link to the quicks
Hi Frank,
Sorry for the late reply. We are currently migrating our main
application from Wicket 1.3 to 1.4 and contextually upgrading
ext-wicket. This might eventually be the right occasion to update the
project, though we are still targetting Ext 2.2.
With regard to behaviors and components, we
Thanks for your reply.
But I am displaying my own custom error messages reading from some other
file.
In this case how can i achieve that.
Thanks,
Ben
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/displaying-error-messages-on-respective-panel-tp2967989p2968235.ht
Hi list,
This isnt so much a question, it's more that i'd like to hear your
thoughts on the following.
I'm making an webapp that shows a number of pivot tables or
crosstables. Most repeaters are made for showing a list of objects,
where each row is one object. While in a crosstab there is no
connec
What exactly are you trying to test? Are you trying to test the
optimistic locking? You didn't write that. If you want to test that
you actually have optimistic locking turned on, then you can do that
by checking the metadata.
On Fri, Oct 8, 2010 at 3:27 AM, CREMONINI Daniele
wrote:
> Hi every
On Fri, Oct 8, 2010 at 4:30 AM, Daniel Stoch wrote:
>
> Yes: after "deserialization" :). And yes: after deserialization of
> yout page version this bean is relocated from Spring again. You can
> chcek this: go to the previous page version by clicking "back" button
> and press refresh button (if pa
Has someone an idea?
I am just trying to read a custom css from a string and render it as a
reference on the page.
Do I need to register the reference somewhere or sormething?
2010/10/7 nino martinez wael
> Hi
>
> I cant get below working:
>
> public void renderHead(IHeaderResponse response) {
Hi,
I has the following use case: I have some public pages (should be served
over HTTP) containing a sign in "panel" which must be submitted over HTTPs.
I have though of doing this as follows:
-use an iframe to host the sign in "panel": actually it would be a page
served over HTTPs to the iframe
ticket with quickstart :
https://issues.apache.org/jira/browse/WICKET-3101
2010/10/5 Martin Grigorov
> Hi Nino,
>
> If there is an error then Wicket will show either the configured
> InternalErrorPage in DEPLOYMENT mode or the developer friendly page with
> the
> details for the error. This is
new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(form)
{
@Override
public boolean accept(FeedbackMessage message)
{
return {Your code};
}
});
--
View this message in context:
http://apache-wicket.1842946.n4.nabbl
The Android market is going through spectacular growth at the moment.
It's going bezerk!
http://blogs.wsj.com/digits/2010/10/05/the-rise-of-android-what-does-it-
mean-for-apple-users/
The fact that it supports Flash and that its apps are written in Java
instead of Objective C like the iPhone (las
On Thu, Oct 7, 2010 at 5:47 PM, Mauro Ciancio wrote:
>
> It's not so important, but I can't figure out why I have the same bean
> instance, taking into account that the page is serialized at the end
> of the request and the inyected bean is actually a proxy of the bean,
> so no real bean is in the
I have 3 panels on a page, all 3 panels also have form in them.
And I have a wicket form wrapping all 3 panels.
On panel3 I have a submit button and in that submit logic I am validating
panel 1 and panel 2 components. As I have the submit logic in panel3 the
error messages are being displayed in
In my onSubmit handler I have a statement:
setResponsePage(new AfterPaymentPage(payment));
Where payment is an object of the Payment class, so AfterPaymentPage is
non-bookmarkable
AfterPaymentPage opens with url looking like this:
applicationcontext/?wicket:interface=:3::
Is there any way (by
Hi,
I have used the datepicker component in my application and it works great.
But currently when I click the icon attached with the datetextfield, it
opens up the datepicker, and if I click on a text box or anyother form
element outside the calendar, the popup remains opens still open and allows
Hi everybody,
My problem is I have to test a Page that should prevent lost updates via
optimistic lock checking.
I resolved the problem using JPA optimistic lock and if I use two different
browsers then the Page works in the desired way.
The problem comes in the test phase: to emulate two conc
39 matches
Mail list logo