Cookie itself can handle that: Cookie#setDomain(String).
For session cookies, you can use the sun-web.xml, at least in GlassFish:
http://download.oracle.com/docs/cd/E19776-01/820-4502/6nfvbc8id/index.html
On 2 feb 2011, at 04:38, Paolo wrote:
Hi,
I want add a cookie, and I saw on this site,
Hi;
Any example about how to move up and down via Javascript ListChoice items.
Thanks.
--
*Altuğ*
** http://www.kodcu.com
Not sure if this is what you want but maybe it can work as a starting point:
ListView.moveDownLink
ListView.moveUpLink
Regards
Robert
On 02/02/2011 10:16 AM, Altuğ Bilgin Altıntaş wrote:
Hi;
Any example about how to move up and down via Javascript ListChoice items.
Thanks.
Hi, I currently have an application reading a cookie in my session. All
of my unit tests where the pattern is: Create page - submit form -
redirect to new page fails to read this cookie after the redirect to new
page.
Have you tried http://wicketpagetest.sourceforge.net which supports
this
syg6 wrote:
...
setResponsePage(SecondPage.class) in FirstPage's constructor is called the
url remains:
http://localhost:8080/myapp/first
when I am actually now on SecondPage? But when I call
setResponsePage(ThirdPage.class) from SecondPageForm's onSubmit()
(SecondPage contains
Hi,
it's not exactly what you are looking for, but you could take a look at
Palette component. You can find a live example here:
http://wicketstuff.org/wicket14/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.PalettePage
This component support choices moving for 'selected'
Thanks for the tip but I'd prefer to stick with WicketTester for the moment.
Regards
Robert
On 02/02/2011 10:36 AM, Kent Tong wrote:
Hi, I currently have an application reading a cookie in my session. All
of my unit tests where the pattern is: Create page - submit form -
redirect to new page
Ok i can move up and dowm using jquery
Here is the answer link :
http://stackoverflow.com/questions/4168817/how-can-i-fix-my-jquery-methods-so-i-can-re-order-the-items-in-a-multiselect-opti
but now i need to take ordered list items, any way to do this.
For exampe
1 - original items in the
Hello,
in my FeedbackPanel, which is created inside PropertyListView I
experience this behaviour. Each item , which is created in the
PropertyListView contains a form and some data, which u can edit and a
FeedbackPanel. When there is a new message in the FeedbackPanel, it is
shown in all
Construct the FeedbackPanel with a filter, either a
ComponentFeedbackMessageFilter or ContainerFeedbackMessageFilter.
On 2 feb 2011, at 13:27, Duro wrote:
Hello,
in my FeedbackPanel, which is created inside PropertyListView I experience
this behaviour. Each item , which is created in the
thanks for informative answer
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Set-default-locale-when-suitable-locale-not-found-tp3252800p3254024.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
Has anyone experienced problems with IE (v. 8) and AjaxIndicatorAppender.
The problem i am experiencing in IE, not Firefox, is that the indicator is
only
shown the first time i click on submit.
If i have a feedback panel, and enter all input fields, the indicator is
shown,
and i then get
Hi
In my page user can move up and down ListMultipleChoice content by jquery
and now I need to take all ordered ListMultipleChoice items,
For exampe
1 - original items in the ListMultipleChoice
2- user move up and down some items
3 - I need to get new ordered ListMultipleChoice from wicket
I
I can get all ListMultipleChoice rows after jquery selection if i select
non-ajax way.
Button btnSave = new Button(btnSave) {
@Override
public void onSubmit() {
for (String s : MODEL) {
System.out.println(-- + s);
}
Done
https://issues.apache.org/jira/browse/WICKET-3413
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/1-4-15-FLAG-INHERITABLE-MODEL-and-default-model-change-tp3252093p3254349.html
Sent from the Users forum mailing list archive at Nabble.com.
Igor, I have one more question about IWrapModel :
why the Component#defaultModelComparator doesn't check and unwrap IWrapModel
before calling the IModel#getObject() ?
private static final IModelComparator defaultModelComparator = new
IModelComparator()
{
private
Hello All,
I have 3 buttons in my form and have read over the documentation
concerning multiple buttons but can't get the buttons to work correctly.
Here is my Form:
public UserVerifyForm(String id) {
super(id);
add(new Button(retrieveButton) {
@Override
public void onSubmit()
Hi,
I am using PagingNavigator on my dataview. Every item in dataview has
checkbox to delete item from persistent layer. Problem is that when i
change page I loose information about which checkbox on previous page
was selected. I implemented AjaxEventBehavior for every Check which
manualy
Maybe you should make it using ListMultipleChoice instead of ListChoice.
If you select all options before submitting, ListMultipleChoice will
keep the ordered list in its model.
Ok i can move up and dowm using jquery
Here is the answer link :
Hi I've been beating my head against the wall with this.
I'm overriding newWebRequest in my Application class:
@Override
protected WebRequest newWebRequest(HttpServletRequest servletRequest)
{
return new UploadWebRequest(servletRequest);
}
Here is the code in my upload panel
Hello,
Have you looked at the wicket 1.4 examples here:
http://wicketstuff.org/wicket14/upload (this is the source into the
github mirror:
https://github.com/apache/wicket/tree/wicket-1.4.x/wicket-examples)
I tried both and they work to upload I'm not sure on the progress bar as
I used a
The files get uploaded just fine in my app, but no progress is tracked.
It's definitely hard to verify if the progress bar works in the example sites,
with a limit of 100k, I haven't tried throttling my upload speed, I guess I
should try that next.
-Valentin
On Feb 2, 2011, at 2:20 PM,
Hi all,
I'm in process of migrating from Wicket 1.4 to Wicket 1.5. I have the following
method in the 1.4 version of my AuthenticatedWebApplication subclass:
@Override
public RequestCycle newRequestCycle(final Request request, final
Response response) {
dont think that hook exists yet, file a jira
-igor
On Wed, Feb 2, 2011 at 12:13 PM, Zhubin Salehi zhubin.sal...@route1.comwrote:
Hi all,
I’m in process of migrating from Wicket 1.4 to Wicket 1.5. I have the
following method in the 1.4 version of my AuthenticatedWebApplicationsubclass:
Thanks, I just did.
Zhubin
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: February 2, 2011 3:16 PM
To: users@wicket.apache.org
Subject: Re: RequestCycle.onRequestTargetSet(IRequestTarget requestTarget)
equivalant in Wicket 1.5
dont think that hook exists
I have an Ajax Button which is NOT a submit button; it's a custom button that
does my own action.
AjaxButton reportButton = new AjaxButton(reportButton) {
@Override
protected void onSubmit(AjaxRequestTarget arg0, Form? arg1) {
// TODO Auto-generated
then make it an AjaxLink
-igor
On Wed, Feb 2, 2011 at 2:12 PM, eugenebalt eugeneb...@yahoo.com wrote:
I have an Ajax Button which is NOT a submit button; it's a custom button that
does my own action.
AjaxButton reportButton = new AjaxButton(reportButton) {
@Override
Please advise, I need to replace Choose One with a BLANK choice () in my
dropdown.
I know I can either create some kind of properties file, or override
something, but I'm not sure exactly what to do, step-by-step.
Could you give an exact, step-by-step instruction regarding what file to
create,
https://cwiki.apache.org/WICKET/dropdownchoice.html
On Feb 2, 2011 5:47 PM, eugenebalt eugeneb...@yahoo.com wrote:
Please advise, I need to replace Choose One with a BLANK choice () in
my
dropdown.
I know I can either create some kind of properties file, or override
something, but I'm not
I have a Form and a DropDown on it, that's it. (There are no Panels or
anything else.)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-Replace-Choose-One-with-Blank-in-DropDown-tp3256149p3256195.html
Sent from the Users forum mailing list archive at
OK thanks, that did the trick.
But I have one more question: That AjaxLink is supposed to start a browser
File Download. The code that I have for that works like a charm in the Form
OnSubmit, but it doesn't work inside the Ajax Link.
File f = generateFile();
Thank you but I don't understand that instruction!
Quote: Create a .properties file for your subclass of form/panel and define
the null key for the value you want. For example:
A .properties file where?? in the same location as the Form.java? How will
it be hooked up to the actual dropdown?
you dont need an ajax link to start a download. use a regular link instead.
-igor
On Wed, Feb 2, 2011 at 3:08 PM, eugenebalt eugeneb...@yahoo.com wrote:
OK thanks, that did the trick.
But I have one more question: That AjaxLink is supposed to start a browser
File Download. The code that I
Hi,
for those of you who are developing Wicket applications with Netbeans
will have encountered the annoyance that since Netbeans version 6.8
changes of HTML-files are not immediately visible after saving. I wrote
a short blog entry regarding this topic which might be of interest:
When you say regular link you mean a DownloadLink?
How do I construct it? I need to define either a File or a PropertyModel
(the 2nd arg). Not sure what to put in there. Thanks
--
View this message in context:
anyone, please?
I don't understand where to create the properties file, how to name it, and
what to put in there.
My form name: Form1
My dropdown name: choice1
No panels. Where should the file be placed and how will it be found
automatically?
--
View this message in context:
Well, I would urge you to look around at how to do
internationalization (no wonder folks usually just type i18n). That
will show you how to set up properties files. In your case, if you're
just dealing with a page and no panels, then just create a property
called MyPage.properties (assuming your
Excuse me,I have one more question.
After I press ajax onsubmit, decorateOnSuccessScript is always executed if
no exception occurred.
how do I stop and not to run decorateOnSuccessScript if the validator finds
some components validate failed?
(The onsubmit action will not be executed while
To be honest, I decided to stick this code into my own web page (it has a
form), but I put it outside of it without a form, and it works fine
Shows up just dandy. I did of course change your retrieveButton code to add
an );. So I presume it is something else in your code stopping your code
Not sure how to e-mail someone directly as e-mails are hidden But it's
okay, I will probably look to implement an existing open source system with
Wicket, I am just curious if anyone would want to work on building a
specific open source idea for wicket either from scratch or properly
building
Any suggestions?
-Valentin
On Feb 2, 2011, at 2:22 PM, Valentin Avksentyev wrote:
The files get uploaded just fine in my app, but no progress is tracked.
It's definitely hard to verify if the progress bar works in the example
sites, with a limit of 100k, I haven't tried throttling my
I'm testing the 1.5-rc1, on Mac Snow Leopard with java
1.6.0_22-b04-307-10M3261 and Maven 3.0.2.
But I'm getting a compiler error.
I used this to create the test project:
mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
On Wed 02.02.2011 23:49, Valentin Avksentyev wrote:
On Feb 2, 2011, at 2:22 PM, Valentin Avksentyev wrote:
The files get uploaded just fine in my app, but no progress
is tracked.
It's definitely hard to verify if the progress bar works in
the example sites, with a limit of 100k, I
Will any later version of wicket add IndicatingAjaxSubmitLink?
It seems this class was missed. Or any other Class similar to this
IndicatingAjaxSubmitButton, but only for link?
Thank you.
Roland.
--
View this message in context:
reply by myself.
I use target.appendJavascript to solve my problem.
@Override
protected void onSubmit(AjaxRequestTarget target, Form? form) {
onConfirm(target, form);
target.appendJavascript(alert(' + responseMessage_ + '););
if
Hi all. I have narrowed a problem down to the following scenario:
I have a panel with this:
wicket:head
script
if (someVariable 0) {
someVariable = 0;
}
/script
/wicket:head
This script fails to execute when the panel is loaded by ajax. If I replace
the less than character with
46 matches
Mail list logo