if you do getSession().info()
2010/1/1 Marek Šabo :
> Hi,
>
> I would like to ask how can I achieve propagation of a feedback message to a
> page that is set in setResponsePage().
> Consider this:
>
> try {
> ...
> info();
> setResponsePage();
> } catch (e) {
> error(e);
> }
>
> Of course the erro
Hi,
I would like to ask how can I achieve propagation of a feedback message
to a page that is set in setResponsePage().
Consider this:
try {
...
info();
setResponsePage();
} catch (e) {
error(e);
}
Of course the error is propagated, is it possible or can you suggest a
workaround to achieve p
Wow that was quick. Thanks a lot I really appreciate it
Sent via BlackBerry from T-Mobile
-Original Message-
From: Olger Warnier
Date: Thu, 31 Dec 2009 23:31:34
To:
Subject: Re: question about swarm
Hi Sam,
Found the way to solve it. It is fixed in the trunk. Still need to fix the
Hi Sam,
Found the way to solve it. It is fixed in the trunk. Still need to fix the
build server - so a check out and build of the whole is probably best.
An anonymous class will act like its' parent now.
Happy new year (to you all).
Olger
On 31 dec 2009, at 22:43, s...@sambarrow.com wrote:
formTester.submit("deleteButton") failed because component with
"deleteButton" id was a SubmitLink.
The following code works:
formTester.submitLink("deleteButton", false);
On Thu, Dec 31, 2009 at 2:38 PM, Alec Swan wrote:
> Note that the code works on the live system. In other words, records
> s
In my opinion, that's how it should work; just seems like common sense to me.
Even for regular (non-anonymous) classes, it would be useful although that's
not as important.
As far as the technical part I have no idea. I've only been working with swam
for 3 days. But I will do some looking at th
Hello, I'm using the mvn repository to retrieve the 1.3.0 snapshot for the
wicketstuff-progressbar.
The following folder is empty:
http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-progressbar/1.3.0-SNAPSHOT/
And maven fails when trying to retrieve the wicketstuff-progressbar.j
Note that the code works on the live system. In other words, records
selected by the user get deleted from the database when the user
submits the form.
I'd appreciate any thoughts on why formTester.submit("deleteButton")
deselects each checkbox before submitting the form.
Thanks
On Thu, Dec 31,
Hi Sam & Jeremy,
Together with the remark that Jeremy made - I agree, it is quite fragile - I
had a look at the code that does the checks.
I could 'assume' that an anonymous class needs the same rights as the 'normal'
class. so when your CreateItemPage has the proper rights, an anonymous varia
If you're doing it in an AJAX request, why not use
AjaxRequestTarget.appendJavascript()?
Other than that, I suspect you're using a Label to render the javascript and
just need to add Label.setEscapeModelStrings(false).
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Dec 31, 2009 at 1
I have a form which contains a DataView where each row has a checkbox.
The form also contains a submit link which deletes the rows with
selected checkboxes from the database.
The following code uses WicketTester to test the form behavior. The
checkboxes are selected correctly before FormTester.sub
Hi Victor
Can you provide more info? E.g. How your are defining your palette? Or the
exception you get? Without more information there is little else I can
suggest...
Best,
Ernesto
On Thu, Dec 31, 2009 at 6:09 PM, victorTrapiello wrote:
>
> Hello Eranesto,
> I was trying to use the method ("ge
I'm using panels to add some javascript to a page via ajax. As of right
now, all that is visible is the script text (in the
Hello Eranesto,
I was trying to use the method ("getselectedChoices"), but I´m facing more
problems, look a simple example:
Iterator iter = palette.getSelectedChoices();
while (iter.hasNext()) {
System.out.println(iter.next());
}
it only prints the fi
That's extremely fragile.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Dec 31, 2009 at 3:41 AM, Olger Warnier wrote:
> Hi Sam,
>
> I have added a sample to the secureform sample where the home page creates
> an anonymous class of the MySecurePage
> An anonymous page has a kind of
Right I thought as much once I found the source. Unfortunately it
doesn't provide the actual JSR168 implementations from Apache Portals
Bridges Common which I was hoping for.
Cheers
~ steve
(sent from my ipod)
On 31/12/2009, at 7:48 PM, Wilhelmsen Tor Iver
wrote:
Ah looks like I may ha
Hi,
> what is the difference between
>
> @Override
> public IApplicationSettings getApplicationSettings() {
> IApplicationSettings settings= super.getApplicationSettings();
> settings.setInternalErrorPage(internalErrorPage)
> return settings;
I know I can do that, but there's no way do do it by inheritance? I have
hundreds of anonymous subclasses throughout my application. Seems
sensible that subclasses should inherit their parent's permissions.
On Thu, 2009-12-31 at 10:41 +0100, Olger Warnier wrote:
> Hi Sam,
>
> I have added a samp
Hi Sam,
I have added a sample to the secureform sample where the home page creates an
anonymous class of the MySecurePage
An anonymous page has a kind of a class name. Look for a
ERROR - RequestCycle - Not authorized to instantiate class
org.apache.wicket.security.examples.secur
> I'm doing that. I'm doing what the link referenced earlier in this
> thread
> said to do.
Wicket Ajax cannot update anything that isn't in the DOM. You need a
placeholder element for what you want to render in the Ajax, e.g.
add(new
WebMarkupContainer("panel2").setVisible(false).setOutputMark
> Ah looks like I may have found it:
> http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-
> stuff/attic/wicket-portlets/
probably put in the attic because Wicket has supported portlets "natively"
since 1.4-m3 or thereabouts.
- Tor Iver
--
21 matches
Mail list logo