2008/11/7 Sean Brookes <[EMAIL PROTECTED]>
>
> Thank you for your quick response igor but I don't think I understand your
> response. We are currently using version 1.3.4, although we are assessing
> the impact of moving to 1.3.5 and I will certainly test it there when we
> do.
>
> I'm afraid I d
Hmm, it did not work for me..
I tried the wicket version, but it still askes me if I want to navigate away
from the page when I hit enter in the TextField
richardwilko wrote:
>
> Its an automatic thing that if your form has an input box and you press
> enter it will try to submit it normally.
>
Jeremy,
Thanks for checking it out!
Everything you said is true, except you missed one thing, the button won't
get anything out of the field except what was last (if yet) submitted by the
entire form to update its model. So, in this case
setDefaultFormProcessing(false) definitely does Not work.
On Thu, Nov 6, 2008 at 10:09 PM, Craig Tataryn <[EMAIL PROTECTED]> wrote:
> Or do I simply not give the select tag a wicket:id and grab it's value
> manually from within onSubmit()?
either that or write your component that puts the selected value into
the model as a string
-igor
>
> Thanks,
>
>
Is it possible to leave the s up to my designer for a
tag, instead of me having to replicate them on my side? Don't come
across this too too often, but sometimes the values within the drop
downs aren't linked to any logic or database values and really should
be up to the designer's discre
I'm not sure I understand your problem. I quickly got it working (I think)
the way you wanted using Wicket's built in classes. Maybe I misunderstood
you. Here were the steps I took:
1. Took your quickstart and got it in Eclipse
2. Changed FormCustom to Form
3. Changed AjaxFallbackButto
I hate to interrupt your conversation with yourself (I've had those days
myself) :)
Basically, I would say you needn't worry so much about serializing a couple
of Longs - that's the point of the LoadableDetachableModel - serializing a
couple of Longs rather than dozens (or hundreds) of User / Cust
As you probably are aware - this is just outputting XML using XStream.
This is a one way data feed.
I'm using XStream - but chose a different tech for our REST components
because wicket is not RESTy.
I'd be interested if you can make this 2 way web service, and support POST,
GET, PUT and DELETE.
Oh - tired! Long hard days working with spaghetti in my day job and lasagna
in my night time...
I realized this may be a dumb question. Doesn't an object only get
serialized once no matter how many references would be made to it in a
LoadableDetatchableModel? I.e. you wouldn't get 10 userIds ser
Hi.
I have a number of LoadableDetachableModels that are each designed to
perform a task of getting data from a database. Each model is dependent on a
couple of pieces of information (1) an identifier about the current user (2)
a primary key of a parent data object. I'm trying to work out the mec
Yep, wrong place to paste for CSS probs
That being said, given your CSS rule:
div#footer ul#navlist, #noprint
{
display: none;
}
its expecting navlist to be in the footer, but is not.
its expecting noprint to be an id, but it is not (its a class).
Feel free to ask wicket questions :)
Sorry t
As far as I can tell--and I realize there is a good chance I have missed
something--even with nested forms or buttons set to
setDefaultFormProcessing(false) there is no way to create a functionality
like the Gmail sign-up page with it's "Check Availability" button.
Basically what I'm trying to d
Ours is running in a separate, non-Wicket process that just generates
and sends e-mail, so there's nothing to step on. But otherwise yes,
you would want to protect your ThreadLocal.
On Thu, Nov 6, 2008 at 4:52 PM, cjlyth <[EMAIL PROTECTED]> wrote:
>
> Yeah this is about the same, I think you woul
Sorry this isn't so wicket specific, but I think I'm doing this media type
thing correctly - what am I missing? Here's the view-source of my wicket
page:
First Unitarian Universalist Church of Columbus Auction 2009
FirstUU Auction 2009
Home Page
Auct
Yeah this is about the same, I think you would still have to do it in its own
thread.
try {
return Executors.newSingleThreadExecutor().submit(
new Callable() {
public S
Thank you for your quick response igor but I don't think I understand your
response. We are currently using version 1.3.4, although we are assessing
the impact of moving to 1.3.5 and I will certainly test it there when we do.
I'm afraid I don't know what you mean when you suggest I 'create a
quc
can you make sure its still broken in 1.3.x branch and if it is create
a quickstart.
-igor
On Thu, Nov 6, 2008 at 3:25 PM, Sean Brookes <[EMAIL PROTECTED]> wrote:
>
> I know the recommeded approach is to use relative context URLs for CSS and
> Javascript but our application places static assets o
Here is a largely equivalent class that I created. It simply extends
BaseWicketTester.
public class PageRenderer extends BaseWicketTester {
private final Locale locale;
public PageRenderer(Locale locale) {
this.locale = locale;
}
public PageRender
> final WebApplication app = (WebApplication)WebApplication.get();
this will not work reliably unless you created a new WicketTester
before in your tests or are running inside a current request handled
by WicketFilter
(needed to initialize the ThreadLocal Application instance in
Application
cool. let's put this to the wiki (or maybe org.apache.util.* ???) and
help some people out there :-)
Am 06.11.2008 um 23:01 schrieb cjlyth:
getBinaryContent was not returning anything for me. When i simply
changed it
to return tester.getServletResponse().getDocument() everything
seemed t
I know the recommeded approach is to use relative context URLs for CSS and
Javascript but our application places static assets on a separate server for
performance reasons so relative paths are not an option. From what I
understand if my path starts with "http://"; or "https://"; wicket should
re
getBinaryContent was not returning anything for me. When i simply changed it
to return tester.getServletResponse().getDocument() everything seemed to
work.
Here is the sample that works in a jUnit test, I have not yet integrated
this into any real applications.
public String renderPage
Maybe a trivial question,
but do I have to conclude from the W3C spec for XMLHttpRequest.open(...)
http://www.w3.org/TR/XMLHttpRequest/#open
esp. nr. 11
that XMLHttpRequest.open(...) are disallowed if they target for another
domain, than the one the document is in?
Like disallowing cross-site
I've posted on my blog about how to create quickly and simple RESTful
WebServices with Apache Wicket, using XStream to marshall XML from java
Objects.
Take a look!
http://blog.brunoborges.com.br/2008/11/restful-web-services-with-wicket.html
Regards,
Bruno Borges
blog.brunoborges.com.br
+55 21 76
Oops, forgot to mention that I'm using Wicket v1.3.5.
--
View this message in context:
http://www.nabble.com/PDF-Page-Does-not-Display-When-Using-a-New-IE-Browser-Session-tp20370036p20370071.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Hi All,
I have created a 'mini-wizard' using Wicket that consists of 2 forms.
It's a little unusual in that the 2 forms are PDFs displayed in Adobe
Reader.
The general flow is as follows:
1) User enters a URL to Page 1 -- this page inherits from WebPage and is
mounted.
2) Page 1 sets the Request
Is there any chance that this issue was resurfaced in 1.3.5?
I've noticed since upgrading that everytime I change my markup or code while
the webapp is running, and eclipse restarts the web application, the first
time I hit certain pages (or maybe refresh a stateless page that the browser
was lef
Martijn,
I'm not sure I understand the answer. He specified that he was using
QueryStringUrlCodingStrategy. That class does not inherit from
CryptedUrlEncodingStrategy I've seen the same behavior that the
grand-parent wrote about.
Martijn Dashorst wrote:
don't use cryptedurlencodingstrat
Well it seems I was taking the wrong approach towards wicket auth roles.
Instead of trying to extend it, I took a step back and used the application
and the session class as a reference for how to build my own, and I was
easily able to acheive the remember me functionality.
I reused the annotatio
Interesting, are it really that simple as using the terracotta page map?
And are there any example web applications using it?
Are there any recommended settings for the tim-wicket with terracotta..
Im pretty unfamiliar with terracotta so im asking a bit in blind here.
regards nino
richardwi
Hello all,
I'm currently evaluating Struts2 Vs. Wicket 1.3.5 as a Web framework in a
portlet environment. I'm using eXo WebOS as a portal.
My question is : what's the status of portlet support in Wicket ? I don't
really care about portlet 1.0 or 2.0 but I'm looking for a fairly robust and
easy-to
Or, copy the Start class from a quickstart application (provided your
src paths are set up the same way).
On Thu, Nov 6, 2008 at 12:56 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> google tomcat remote debugging
>
> -igor
>
> On Thu, Nov 6, 2008 at 9:53 AM, Steve Swinsburg
> <[EMAIL PROTECTED]> w
google tomcat remote debugging
-igor
On Thu, Nov 6, 2008 at 9:53 AM, Steve Swinsburg
<[EMAIL PROTECTED]> wrote:
> Ok I just thought that using the WicketServlet rather than the WicketFilter
> might have something to do with it, or the different filters being applied
> could be intercepting the fo
Ok I just thought that using the WicketServlet rather than the
WicketFilter might have something to do with it, or the different
filters being applied could be intercepting the form requests (not
necessarily Sakai specific).
Setting breakpoints might be difficult as my code runs in an exter
Ahhh, thanks for the tip. I can imagine those chickens would get
smelly after a while. :)
On Thu, Nov 6, 2008 at 12:31 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> the trick is to get a fresh chicken every day, that way you have dinner!
>
> -igor
>
> On Thu, Nov 6, 2008 at 9:12 AM, James Carma
im not familiar with sakai so i cant really help there. like i said,
set a breakpoint in getfileupload and see why it returns null. you can
also try setting a breakpoint in form.onformsubmitted() and tracing
how it is processing multipart.
-igor
On Thu, Nov 6, 2008 at 9:28 AM, Steve Swinsburg
<[E
Ok I generated a quickstart and added a form with a FileUploadField,
it all worked.
This made me think that it was some changes I made in the web.xml file
for the original webapp - I am not running it as a normal webapp, but
rather inside another web framework (Sakai). As such, I needed to
the trick is to get a fresh chicken every day, that way you have dinner!
-igor
On Thu, Nov 6, 2008 at 9:12 AM, James Carman <[EMAIL PROTECTED]> wrote:
> Showing us some code would be nice? Otherwise, Igor's going to start
> waving dead chickens around again. :)
>
> On Thu, Nov 6, 2008 at 12:01 P
Thanks for the answer. Is very difficult to show you some code, because is not
reaching even the validators. If anybody had not had the same problem in the
past, I would check the request cycle. The uploadField is a common upload field
into a container. I don't know which part of the code can he
Showing us some code would be nice? Otherwise, Igor's going to start
waving dead chickens around again. :)
On Thu, Nov 6, 2008 at 12:01 PM, Juan Lagostena
<[EMAIL PROTECTED]> wrote:
> Hi everyone. I'm working in a project with Wicket, but I'm new in this world.
> I need a little help. When I fil
Hi everyone. I'm working in a project with Wicket, but I'm new in this world. I
need a little help. When I fill an upload field, in IE7, with something wrong,
(I mean, some characters, garbage info) and I press in the submit button, the
system get in a loop (I put a breakpoint in the RequestCycl
o, i figured wicket also keeps the page from where the ajax call was
initiated somewhere. that's why i thought i was just doing something wrong
that i didn't get anything useful in page expired. sorry, i should first
check wicket code before wasting somebody's time.
thank you very much, cookie
that only works for normal requests because the requested url is the
one from browser's address bar. when you issue an ajax request wicket
doesnt know what url is in browser's address bar, it only knows the
non-bookmarkable ajax url that was invoked.
-igor
On Thu, Nov 6, 2008 at 8:33 AM, Cristi M
thanks for your response.
but... why is this handled differently (trying to call some "ajax") than
requesting a regular page ? (like a bookmarkable page). i don't think wicket
internally uses cookies to redirect on continuetooriginaldestination. i
might be wrong.
i mean, if the user is on a page,
you need to store a bookmarkable url that the user should be
redirected to. then your pageexpirederrorpage can check for that url
and redirect to it instead.
since the session is gone you cant store the url there, so i would
suggest storing it in a cookie.
-igor
On Wed, Nov 5, 2008 at 6:03 PM, C
Go check these webpages:
http://www.wac.ohio-state.edu/tutorials/section508/testing.htm
http://www.webaim.org/standards/508/checklist.php
[]'s!
Bruno Borges
blog.brunoborges.com.br
+55 21 76727099
"The glory of great men should always be
measured by the means they have used to
acquire it."
- Fra
this is done by formcomponent's messagesource. i would imagine it
wouldnt be set if you use the validator outside of standard
formcomponent validation - but in that case you dont have "input"
anyways.
see FormComponent:250 - at least that is the line number in trunk
// add the input param if not
code looks ok, interesting.
there are two things we can do: a) you can create a quickstart that
reproduces the problem
b) you can set a breakpoint in fileuploadfield#getfileupload() and see
why it returns null
a couple of other notes:
since you are getting fileupload yourself there is no need to
Its an automatic thing that if your form has an input box and you press enter
it will try to submit it normally.
I wrote a piece on how to stop this on my blog (but it also makes the normal
ajax submit button fire, which you might not want).
http://richard-wilkinson.co.uk/2008/04/05/how-to-stop-
Its an automatic thing that if your form has an input box and you press enter
it will try to submit it normally.
I wrote a piece on how to stop this on my blog.
http://richard-wilkinson.co.uk/2008/04/05/how-to-stop-non-ajax-form-submits-in-wicket/
http://richard-wilkinson.co.uk/2008/04/05/how-to
Hello!
I have a problem. A have a ModalWindow with three components on it; a
TextField and two AjaxSubmitLinks.
The problem is that when I place the cursor on the TextField and press the
Enter key, something bad happens. There is a popup dialog that askes me if
"Are you sure you want to navigate
Hi,
Just a quick announcement that the long awaited updated wicket terracotta
integration module (tim) is out.
You can find it here:
http://forge.terracotta.org/releases/projects/tim-wicket/
http://forge.terracotta.org/releases/projects/tim-wicket/ and further
instructions on my blog here:
ht
Are there any free tools available to check for 508 compilance for my
pages ?Its not a wicket related question
Michael Sparer wrote:
>
> well that's out of the wicket context, I'd suggest reading the standards
>
> but without digging into those, I'd say ajaxfallback is your friend,
> ajax
Hi
I've written a custom validator and error message and I'm adding my
own variables to the error message by overriding variablesMap().
My error message looks like thie:
${input} must be between
${startDate} and ${endDate}
As I understand 3 default variables should be substituted by t
> It did.. You could try the isTemporary (return true) on the behavior, it
thanks nino... that *is* the solution, works like a charm
my mistake for not paying attention to the last bits of the javadoc
ibehavior page :)
"boolean isTemporary()
Specifies whether or not this behavior is tempora
OK, thanks for the info.
Jan
2008/11/5 Igor Vaynberg <[EMAIL PROTECTED]>
> the mechanism for looking up expressions is not extensible, because it
> isnt meant to be extended. so you have to write your own model from
> scratch using something like mvel/ognl to access the property. both of
> thos
Hi Francisco
It did.. You could try the isTemporary (return true) on the behavior, it
could mean that it will only add the behavior for that request, but I am
not sure.. Or you could try creating a new markupcontainer
(listOfCommentsContainer), it'll give it a new id..
Or you could stuff in
> want to not output the list with wicket's ordinary ajax replace method?
hmmm... wicket's ordinary ajax replace method?
the basic problem here is:
-when the page is first rendered, the following is added to the dom
(it's the behaviour responsible for this):
$('#numberOfCommentsLink24').click(fu
well that's out of the wicket context, I'd suggest reading the standards
but without digging into those, I'd say ajaxfallback is your friend,
ajax-only isn't
miro wrote:
>
> We are building application for govt , which should be 508 compliant, we
> are using wicket and we like to use ajax , u
Im not sure I understand then..? Could you explain another way? You
would want to not output the list with wicket's ordinary ajax replace
method?
francisco treacy wrote:
yes, i'm aware of those. but i'd want to 'remove' things from the
ajaxRequestTarget rather than append...
or, some way of a
yes, i'm aware of those. but i'd want to 'remove' things from the
ajaxRequestTarget rather than append...
or, some way of attaching/executing behaviours only once?
On Thu, Nov 6, 2008 at 12:58 PM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> theres a prepend / append js on a
We are building application for govt , which should be 508 compliant, we are
using wicket and we like to use ajax , using wicket ajax will the
application still be 508 compliant ?
--
View this message in context:
http://www.nabble.com/wicket-ajax-and-508-compilance-tp20360177p20360177.html
Sent
Hi.
we added this line:
getPageSettings().setAutomaticMultiWindowSupport(true);
to our web application class.
In our case the problem occurred when the user worked on 2 firefox tabs
simultaneously, So the above line solved the problem.
Rivka
nico.ptrs wrote:
>
> Have you had any progress wi
Ok, FeedbackPanel is added, can I get it to automatically dump errors
to that - else, how will it help with debugging? I have been tailing
the catalina.out and no form errors are appearing there either. stumped.
Regards,
Steve
On 6 Nov 2008, at 11:51, James Carman wrote:
Can you try a
theres a prepend / append js on ajaxRequestTarget, that should work...
francisco treacy wrote:
hi,
we're using a home-grown wrapper for integrating jquery into wicket -
specifically for jquery effects.
and i'm having some trouble with ajax updates. i'll explain with an example:
final WebMark
Can you try adding a FeedbackPanel to your form somewhere? Let's make
sure there are no errors.
On Thu, Nov 6, 2008 at 6:41 AM, Steve Swinsburg
<[EMAIL PROTECTED]> wrote:
> Sure thing. Essentially, a POJO called UserProfile is a param of the
> constructor for the form. One thing that is probably
Sure thing. Essentially, a POJO called UserProfile is a param of the
constructor for the form. One thing that is probably the issue is that
I wasn't sure how to assign an upload field to a corresponding
attribute in the POJO, is this even necessary?
Its so simple so at this stage its all in
hi,
we're using a home-grown wrapper for integrating jquery into wicket -
specifically for jquery effects.
and i'm having some trouble with ajax updates. i'll explain with an example:
final WebMarkupContainer listOfCommentsContainer = new
WebMarkupContainer("listOfCommentsContainer");
listOfCom
Can you share your code that builds up the component hierarchy? At
least the relevant parts? We'll need to see what kind of model the
form has and stuff like that.
On Thu, Nov 6, 2008 at 5:58 AM, Steve Swinsburg
<[EMAIL PROTECTED]> wrote:
> Nope, the form works fine, it just never reaches the li
yep, thats what the problem was...
new PropertyModel(artikel, "name")
indeed was of Type String changing that to Type "Artikel" made it work.
Thanx very much
;-)
Michael Sparer schrieb:
nope that's not true, they don't expect Strings
correct me if i'm wrong, but i think the problem most li
Nope, the form works fine, it just never reaches the line:
System.out.println("2 - upload not null");
Or do you mean HTML validation errors? Thats fine as well:
Select an image
Yes, I figured. That's why I implemented it this way:
* when the max size exception is thrown on the server the error is
registered
* that error is fetched by my custom progress requester
* when the error is detected the client side closes the iframe responsible
for the upload
this mechanism wor
I got the same problem. And I dont want to change the contentpanel to a page
content in the modal.
Does anyone got a solution for this?
Jens
Michael Mehrle wrote:
>
> I have a DateField inside a modal and when clicking on the date icon
> it's throwing a 'unknown runtime error' in IE's JavaScri
http://www.ibm.com/developerworks/library/wa-aj-wicket
Just an FYI - I always find DeveloperWorks to be an excellent resource
when spinning up on new technologies. BTW, this is the lead article on
DeveloperWorks this morning, at least when I looked at it - that's a big
promo for the framework
nope that's not true, they don't expect Strings
correct me if i'm wrong, but i think the problem most likely lies here:
add(new DropDownChoice("ddArtikel", new PropertyModel(artikel, "name"),
artikelList, new ChoiceRenderer("name", "id")));
--> the choicerenderer looks for the path "id" on the
I'm sure it would work fine by using a map but what if 2000 users are logged in
at the same time?
I think holding a map with 2000 sessionid's and user objects in memory is not
cheap.
The situation is, even if I hold the user objects in a map, I would have to set
the offline status
and update th
Björn-Peter Tietjens wrote:
Hi all,
i keep getting tis strange error:*
WicketMessage: No get method defined for class: class java.lang.String
expression: id**
Root cause:**
org.apache.wicket.WicketRuntimeException: No get method defined for
class: class java.lang.String expression: id***
whe
Hi Julien,
we're doing our last tests today and tomorrow and will put
wicketstuff-dojo-1.1 into production by Monday. If no issues arise, we'll
share it as a wicketstuff project next week. Please note that so far, we
only ported some components to 1.1. (includes wiper, slider, drag and drop
and
Hi all,
i keep getting tis strange error:*
WicketMessage: No get method defined for class: class java.lang.String
expression: id**
Root cause:**
org.apache.wicket.WicketRuntimeException: No get method defined for
class: class java.lang.String expression: id***
when executing this line:
*add(n
On 06.11.2008, at 09:06, Igor Vaynberg wrote:
take your code out of form.onsubmit and put it into onsubmit of the
button attached to , if there isnt one then
attach one.
-igor
Arrg... So simple. And I have been banging my head against this for
an hour now. Thanks, Igor!
-
Hi,
thank you.
Issue created here: https://issues.apache.org/jira/browse/WICKET-1915
Igor Vaynberg a écrit :
im not sure it works on non-components. we can probably make it so.
please create a quickstart and attach it to a jira issue.
-igor
--
Hi,
I have read some posts (1) that seems to say that wicketstuff-push will
be replaced by a new wicketstuff-dojo-1.1 artifact.
The post says that this artifact is in a private SVN repo, but will be
available "shortly"..
Do you have any informations about that?
I need to do reverse ajax with wic
take your code out of form.onsubmit and put it into onsubmit of the
button attached to , if there isnt one then
attach one.
-igor
On Wed, Nov 5, 2008 at 11:57 PM, Kaspar Fischer <[EMAIL PROTECTED]> wrote:
> I have a form with an onSubmit(). The form contains a AjaxButton
> with another onSubmit()
83 matches
Mail list logo