I believe the proper term is "Wicketeers"
On Thu, Jan 1, 2009 at 10:05 AM, Francisco Diaz Trepat - gmail
wrote:
> From Argentina to all you wicket users and developers.
>
> Thanks for all the help and improvements.
>
> Hope you all have a fulfilling 2009, and may all your hopes and wishes come
>
You could do it Jon's route. Here are a couple other options:
1 - use Apache rules to do the redirect
2 - create a servlet to do it (not sure why you have the aversion to a page
for it, but this is an alternative since it's a single action app
FWIW, I'd probably go with number one.
--
Jeremy Th
yes, that's right. only it's not really a dummy page.
it's a redirect page whose function is to locate the
right server.
public class ServerLocatorPage extends WebPage { ... // what you said }
btw, you can do anything in Wicket you can do in a servlet
because you can always drill down to the H
yes. this is a good one, but it might be too big for the book...
although i've been pondering the possibility of something more
general which is more in the neighborhood of "arbitrarily-
driven component factories" (where property editors and
bean editors are specializations).
for property/bea
I don't always have access to those resources. I will try the
setRequestTarget code. I would still have to set-up a dummy page to do
this, since I am coming in from an external source, correct? Where else
could I place this code?
public class DummyPage extends ...
{
public DummyPage()
{
A component that takes some domain object, and for every property dynamically
loads an appropriate form element.
@Test
{
private class DomainObject{
List prop1s;
Boolean prop2;
}
panel = new DynamicPropertyPanel(new DomainObject());
assertComponent("panel:form:form
the code i gave you above does, by the way, redirect to an arbitrary url.
Jonathan Locke wrote:
>
>
> isn't this outside the scope of wicket? it sounds like it might be
> solvable
> with some kind of load balancer, router or DNS resolver...
>
>
> Warren Bell wrote:
>>
>> I need to explain
isn't this outside the scope of wicket? it sounds like it might be solvable
with some kind of load balancer, router or DNS resolver...
Warren Bell wrote:
>
> I need to explain myself a little better. This is the situation, I have
> several locations that are on different subnets. They are all
I need to explain myself a little better. This is the situation, I have
several locations that are on different subnets. They are all connected
with a VPN. Each subnet has its own server running this wicket app. The
app clients are running on mobile scanning PDAs. These PDAs get moved
between e
try:
RequestCycle.get().setRequestTarget(new RedirectRequestTarget(url));
Warren Bell wrote:
>
> I need to redirect to an external page. I saw this solution, but was not
> sure how to use it. Where does this exception get thrown? I do not want
> to instantiate some kind of dummy page.
>
> p
Where are you redirecting from? You don't mention where you want to use it.
Nearly anywhere in your processing you can just do this:
throw new RestartResponseAtInterceptPageException(new RedirectPage("
http://www.example.com";));
Or if it's a link and you know the URL ahead of time, just use Ext
One problem you are also going to run into when limiting the number of
characters is what happens when someone enters a large number of new
lines. Ie one person could enter some text that appears ok within the
boundaries you define, but another could enter the same text littered
with line b
I need to redirect to an external page. I saw this solution, but was not
sure how to use it. Where does this exception get thrown? I do not want
to instantiate some kind of dummy page.
public class RedirectToExternalException extends
AbstractRestartResponseException
{
private static final
To do this correctly, you're going to basically need to do one of two
things:
1 - strip all HTML out of the shortened version and only show plain text
(convert and tags to new lines, then use regex to remove all HTML,
then truncate to length).
2 - parse the HTML, count the non-html characters,
I have strings in a databse that are raw html text and it is being displayed
on a blog page. Users are able to edit the text using the TinyMCE component
and therefore add formatting to their blog entries. I am using the
setEscapeModelStrings(false) to correctly display the html formatting.
However
make sure you don't have an img tag with empty src attribute. This
confuses browsers and causes them to request the page multiple times.
Martijn
On 1/1/09, Vitek.Tajzich wrote:
>
> Hi,
>
> I having problem with wicket. I created page wich has a constructor with
> parameters. It is OK, it is work
Yeah happy new year to all :)
And may it be yet another year of Wicket Greatness :)
Francisco Diaz Trepat - gmail wrote:
From Argentina to all you wicket users and developers.
Thanks for all the help and improvements.
Hope you all have a fulfilling 2009, and may all your hopes and wishes come
>From Argentina to all you wicket users and developers.
Thanks for all the help and improvements.
Hope you all have a fulfilling 2009, and may all your hopes and wishes come
true.
Cheers,
f(t)
Hi,
I having problem with wicket. I created page wich has a constructor with
parameters. It is OK, it is work as I expected. But I have noticed that this
constructor is called many times for the same request wich has caused that
application is very slow.
I entered debug mode and saw that there a
maybe this helps:
http://fisheye3.atlassian.com/browse/wicket-stuff/trunk/wicketstuff-core/gmap2-parent/gmap2-examples/src/main/java/wicket/contrib/examples/gmap/many/ManyPage.java?r=4445#l45
2008/12/30 新希望软件 -- 俞宏伟
> first, sorry for my poor englist.
>
> in normal page, GMAP can display well, b
As following:
protected DateTextField newDateTextField(String id, PropertyModel
dateFieldModel)
{
return DateTextField.forDateStyle(id, dateFieldModel, "M-");
}
Adriano
Gerolf Seitz wrote:
you can override the method newDateTextField(String, PropertyModel) and
return
a custo
you can override the method newDateTextField(String, PropertyModel) and
return
a customized DateTextField object.
gerolf
On Thu, Jan 1, 2009 at 6:44 AM, tbt wrote:
>
>
> Hi
>
> I am not sure if the DateTextField attribute in the DateTimeField class can
> be modified to change the calendar beh
Another thing: if your excel is not very complex you could also consider
using [1] to generate it.
Best,
Ernesto
1-http://jexcelapi.sourceforge.net/
newbieabc wrote:
>
> The generation of the excel report.
> I am really new to BIRT and wicket..
> I've created the BIRT report (report.rptdesi
23 matches
Mail list logo