You should really install firebug and web developer on firefox. Both
will help you figure out what wrong when you hit problems like this..
Jim Pinkham wrote:
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
google for wicket jira
regards,
Michael
jensiator wrote:
Hi
I have noticied something in wicket-datetime that might be a bug.
(DatePicker in a ModalWindow with IE7)
Where can I registrate unknown Issues and check existing Issues in the
wicket framework?
Jens
-
Michael Sparer
Hi
I have noticied something in wicket-datetime that might be a bug.
(DatePicker in a ModalWindow with IE7)
Where can I registrate unknown Issues and check existing Issues in the
wicket framework?
Jens
--
View this message in context:
that XMLHttpRequest.open(...) are disallowed if they target
for another domain, than the one the document is in?
Like disallowing cross-site calls?
Yes, to avoid cross-site scripting attacks; remember Javascript has
globally accessible objects so if cross-site scripting was allowed then
an
Okay great, and thanks :)
richardwilko wrote:
Well the module also includes an terracotta xml config file so that
terracotta knows which internal wicket classes could be clustered, but apart
from that there is nothing else.
I don't have any example applications but an normal application can be
As I can remember you have to turn the confirmation message off (the
modal one) or something in order to make it work with ajax.
richardwilko wrote:
It still seems as though the form is trying to submit in a non-ajax way, as
this is the same as navigating to a different url, which is why your
You can make your own subclass of Session, and make it call setLocale in
the contructor, then override getWebSessionClass in your application
class.
On Fri, 7 Nov 2008 14:45:57 +0100, Rutger Jansen [EMAIL PROTECTED]
said:
You were just ahead of me as I saw that the given Locale in one of my
You have to set an explicit locale for your session (call setLocale() in
the session) to force a language. Defaultlocale is just what it says it
is: a default. Your browser probably asks for englis pages (see your
browser settings).
On Fri, 7 Nov 2008 14:06:46 +0100, Rutger Jansen [EMAIL
Hello,
I am working on wicket. I need to open a filechooser dialog or a file open =
dialog (like we have in JFileChooser).
I am currently unable to implement it from my wicket page. All I want is a =
file chooser dialog showing only directories , user chooses nd I get back t=
he path selected.
Sorry, yes. Since you are skipping default form processing, it is also
skipping pushing things onto the models So, you have a couple of
options...
Option one - get the value directly from the text field, i.e.
System.*out*.println(USERNAME WAS: + tfUsername.getValue());
Option two - don't
This sounds almost like an authorization strategy, in which case you could
catch the component (page) creation and check it there. (
IAuthorizationStrategy.isInstantiationAuthorized
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Nov 7, 2008 at 6:12 AM, Joel Halbert [EMAIL
2008/11/7 Jeremy Thomerson [EMAIL PROTECTED]
Depending on what you're doing, if you really had to do something with a
directory, you may have to horror-music-starts use an applet
/horror-music.
Hope this helps.
WicketMessage: Tag 'horror-music-starts' (line 2, column 27) has a
mismatched
I forgot the semi-colon, too!
On Fri, Nov 7, 2008 at 10:01 AM, Charlie Dobbie [EMAIL PROTECTED] wrote:
2008/11/7 Jeremy Thomerson [EMAIL PROTECTED]
Depending on what you're doing, if you really had to do something with a
directory, you may have to horror-music-starts use an applet
Hi,
I'd like to be able to write something akin to a request Filter, but for
wicket requests, specifically I'd like it to be Page aware - i.e. it was
aware of the wicket Page class that the request was being forwarded to.
I'd like to do some custom validation in this class and based on the
result
Well the module also includes an terracotta xml config file so that
terracotta knows which internal wicket classes could be clustered, but apart
from that there is nothing else.
I don't have any example applications but an normal application can be
turned to a clustered one quite easily. I will
I have started unit testing my wicket pages using the WicketTester class. For
now most of my tests just consist of something like this:
WicketTester tester = getWicketTester();
tester.startPage(new AdminPage());
Check this tutorial: http://xstream.codehaus.org/json-tutorial.html
cheers,
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.
- Francois de La Rochefoucauld
On Fri, Nov 7, 2008 at 4:50 AM, francisco
If you really want to do that, make sure you install your web application in
each user's computer... :-)
Just to make sure the JFileChooser will actually work. And if you warn the
user about something, don't use a javascript alert. JOptionPane is your
friend here too!
cheers,
Bruno Borges
Hi Wilhelmsen,
2008/11/7 Wilhelmsen Tor Iver [EMAIL PROTECTED]
that XMLHttpRequest.open(...) are disallowed if they target
for another domain, than the one the document is in?
Like disallowing cross-site calls?
Yes, to avoid cross-site scripting attacks; remember Javascript has
globally
Hi,
I can't seem to get default error/validation messages in my own
language (Dutch) even though my default Locale is correct
(java.util.Locale.getDefault() = nl_NL). They keep showing up in
English.
Is there another place where the default converters get the
localization of their messages,
You were just ahead of me as I saw that the given Locale in one of my
custom validators was en_EN.
Is there a way to force the locale of the session globaly so I don't
have to check the session's locale on each page?
On 11/7/08, Pointbreak [EMAIL PROTECTED] wrote:
You have to set an explicit
It still seems as though the form is trying to submit in a non-ajax way, as
this is the same as navigating to a different url, which is why your modal
window is asking for confirmation.
You still need prototype for the wicket version, as that is just the js code
wrapped up in a wicket behavior.
Thanks Jeremy.
I have those conversations often - especially over silly things.
I need to go back and look at the ins and outs of serialization. I guess if
I have several private references to the same object in multiple
LoadableDetachableModels I guess the actual object itself only gets
Thanks for your reply.
My main aim of this task is to download an item into the directory user selects.
So need to open a file dialog to help user choose a directory and then from it
get the path user chose, so as to proceed with my
download.
So as you can imagine for this, i have a browse
I am trying to access different static images that aren't Wicket resources,
though their path is set programmatically by my Wicket pages; unfortunately
I'm seeing strange behavior.
My wicket app is installed under /myContext/wicketStuff (with wicketFilter
url-pattern pointing to 'wicketStuff'),
Hi,
I'm using Wicket 1.3.4 and I have a question regarding the
AutoCompleteTextField.
You can let the suggestion list pop up by pressing keys inside the text
field.
That works fine but I need to trigger the suggestion list additionally
through another component that in my case would be
You simply can't do this in web apps. You don't choose where to write
something to - you don't have access to write anything to the user's
computer. All you can do is give the user a file to download, and the
browser will automatically ask them for what folder they want to save it
to. For this,
see also http://wicket.apache.org/quickstart.html
Maarten
On Fri, Nov 7, 2008 at 8:43 AM, Martin Funk [EMAIL PROTECTED] wrote:
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,
I have a very basic link to a FAQPage, as shown below. Every time that link
is clicked, the FAQPage constructor is called. This page is fairly static,
and there's no reason for it to be re-constructed on every request. Is there
a way to create the link so that it will use an existing instance of
this issue has already been fixed. you can either compile trunk or
wait for m4 to go official
-igor
On Fri, Nov 7, 2008 at 9:49 AM, Trent Larson [EMAIL PROTECTED] wrote:
I am trying to access different static images that aren't Wicket resources,
though their path is set programmatically by my
Is there dynamic content in this page? If not, there's no real loss in
creating a new one for each request - this is very inexpensive. If there
is, just cache it somewhere in your service layer or the application, etc...
Components (including pages) should generally not be reused for multiple
Hi!
With this:
component.add(HeaderContributor.forCss(YuiButtonBehavior.class,
yui/build/button/assets/skins/sam/button.css));
I need to put yui directory inside the directory of YuiButtonBehavior.
How could I make yui a top directoy, i.e., just inside the resources (on
the
Let say your FAQPage loads data from the database.
You could put an instance of that page at your MyWicketApplication. Like
this:
MyApp extends WebApplication {
private FAQPage faqPage;
public FAQPage getFAQPage() {
return faqPage;
}
protected void init() {
If I understand correctly, you want to basically include your resources
relative to the default package rather than in a subpackage. If this is
true, you could create an empty no-op class like SomeClassNameThatMakesSense
in the default package. Then you could do new
xstream supports json output
* Alternative output format. The modular design allows other output
formats. XStream ships currently with JSON support and morphing.
francisco
On Fri, Nov 7, 2008 at 11:34 AM, Steve Swinsburg
[EMAIL PROTECTED] wrote:
Still slightly on topic, but do you know of a
Ok, forget about it... Components are NOT Thread safe... :-)
Just make FAQPage a Stateless WebPage... ;-)
Cheers,
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.
- Francois de La Rochefoucauld
On
Is this a quiz?
Your #navlist is not inside a #footer and your #noprint is not an id but
a class.
On Thu, 6 Nov 2008 19:55:37 -0500, Jim Pinkham [EMAIL PROTECTED]
said:
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
By the way, Adriano, there's a Wicket Portuguese community around there...
If you want to join us, please feel free. groups.google.com/wicket-ptbr
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.
-
Sorry, the correct address is:
http://groups.google.com/group/wicket-ptbr
Cheers,
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.
- Francois de La Rochefoucauld
On Fri, Nov 7, 2008 at 12:41 PM,
looks like dummywebapplication, which the tester uses by default, uses
HttpSessionStore which should not cause any directories to be created.
what wicket version are you using?
-igor
On Fri, Nov 7, 2008 at 9:04 AM, jchappelle [EMAIL PROTECTED] wrote:
I have started unit testing my wicket pages
Ok this is sorted out now. Turned out the RequestFilter from Sakai was
altering fileuploads, had to make a change there so get past it.
cheers,
Steve
On 6 Nov 2008, at 17:53, Steve Swinsburg wrote:
Ok I just thought that using the WicketServlet rather than the
WicketFilter might have
Still slightly on topic, but do you know of a fast and efficient way
to output JSON (some library like XStream perhaps) in the same method,
rather than XML?
cheers,
Steve
On 7 Nov 2008, at 04:05, Ned Collyer wrote:
As you probably are aware - this is just outputting XML using
I am using version 1.3.4.
I am creating my WicketTester by handing it my custom Application object in
the constructor. The code I posted below is extending a BaseWicketTest class
that I have created that has a getWicketTester() method in it.
Thanks
igor.vaynberg wrote:
looks like
Bruno Borges escreveu:
By the way, Adriano, there's a Wicket Portuguese community around there...
If you want to join us, please feel free. groups.google.com/wicket-ptbr
Yup. I'm there too. :-)
Adriano
-
To unsubscribe,
With Ajax request I would probably avoid that pattern.
That could lead to serious problems.
How about having a different method to load the object with the required
data for that specific ajax request?
cheers,
Bruno Borges
blog.brunoborges.com.br
+55 21 76727099
The glory of great men should
I am using hibernate and all my collections are lazy , they get loaded only
when called . I am also using ajax to get collection property on click , but
i am getting Lazy loading exception for ajax request where I load the
collection , I am using
I would actually keep using OSIV.
To answer the question: probably you are using models wrong. If OSIV
works for your normal requests, it works for Ajax requests. There is
nothing different between these requests.
Martijn
On Fri, Nov 7, 2008 at 1:33 PM, Bruno Borges [EMAIL PROTECTED] wrote:
You are right this is not related to ajax and more of hibernate .
here is my object hirearchy
EaBatchInfo has many EaBatchAuditInfo
In the page constructor I load List of EaBatchInfo and render my page
.By default I pull the first index from list to display EaBatchAuditInfo
Jeremy,
It was getValue() that I was looking for! I guess I didn't realize the
difference between the Model object and the Component's value. For some
reason I thought the Model was the necessary glue between the Component and
my Java code.
Thanks for the help man!
Jamie
Jeremy Thomerson-5
then you have to subclass your application, override newsessionstore
and return httpsessionstore for your tests.
-igor
On Fri, Nov 7, 2008 at 10:51 AM, jchappelle [EMAIL PROTECTED] wrote:
I am using version 1.3.4.
I am creating my WicketTester by handing it my custom Application object in
yes
-igor
On Fri, Nov 7, 2008 at 1:10 PM, Stefan Lindner [EMAIL PROTECTED] wrote:
What is the perfect way to replace the reattach method of wicket 2.0 in
Wicket 1.4? Is it correct to replace the 2.0 expressioin
myComponent.reAttach()
with
addOrReplace(myComponent);
Stefan
What is the perfect way to replace the reattach method of wicket 2.0 in
Wicket 1.4? Is it correct to replace the 2.0 expressioin
myComponent.reAttach()
with
addOrReplace(myComponent);
Stefan
-
To unsubscribe,
Yep that was also what I were thinking.
Martijn Dashorst wrote:
I would actually keep using OSIV.
To answer the question: probably you are using models wrong. If OSIV
works for your normal requests, it works for Ajax requests. There is
nothing different between these requests.
Martijn
On
Thanks Igor!
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. November 2008 22:14
An: users@wicket.apache.org
Betreff: Re: how to replace 2.0's reAttach
yes
-igor
On Fri, Nov 7, 2008 at 1:10 PM, Stefan Lindner [EMAIL PROTECTED] wrote:
What
The target and the target/work folder are still getting created but I can
live with that. If you know of a quick and easy way to stop that from
happening then that would be great. Otherwise don't spend any time on it.
Thanks for your help.
Josh
igor.vaynberg wrote:
then you have to
What would work on IE7 to do the same thing?
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.
- Francois de La Rochefoucauld
On Fri, Nov 7, 2008 at 3:38 PM, TahitianGabriel [EMAIL PROTECTED] wrote:
any examples for open view session in a wicket page
--
View this message in context:
http://www.nabble.com/open-view-session-examples--for-a-page-tp20389719p20389719.html
Sent from the Wicket - User mailing list archive at Nabble.com.
richardwilko wrote:
It still seems as though the form is trying to submit in a non-ajax way,
as this is the same as navigating to a different url, which is why your
modal window is asking for confirmation.
You still need prototype for the wicket version, as that is just the js
code
You mean using Spring's OpenSessionInViewFilter? If so, I've got an
example application that has all the configuration you'll need:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/
It has stuff set up for Spring Security (formerly Acegi) also.
On Fri, Nov 7, 2008 at 5:31 PM, miro
59 matches
Mail list logo