Wow! That was fast.
Ok, thanks! I'll give one of those a try.
Cheers,
Dave
On Thu, 2007-07-19 at 23:49 -0700, Eelco Hillenius wrote:
> On 7/19/07, David Leangen <[EMAIL PROTECTED]> wrote:
> >
> > I'm trying to figure out how to override the button displays for only
> > specific steps during
On 7/19/07, David Leangen <[EMAIL PROTECTED]> wrote:
>
> I'm trying to figure out how to override the button displays for only
> specific steps during the Wizard.
>
> Essentially, I have a kind of license that a user needs to agree to, so
> rather than "Next >", I'd like to override with "I agree".
I'm trying to figure out how to override the button displays for only
specific steps during the Wizard.
Essentially, I have a kind of license that a user needs to agree to, so
rather than "Next >", I'd like to override with "I agree".
No problem for overriding for all steps, but that doesn't wo
Ok, my bad...
Cutting out the details, the page that included a ref to the modal window
had a piece of javascript, which generated an tag with a src attribute
starting with a '#' (this is some code ported from a JSF version of the
application). The browser was then trying to fetch the page again l
> I just run through the library sample -
> http://wicketstuff.org/wicket13/library/
>
> Supposedly, if you don't key in the title and author field, it will show
> error as it has FormComponentFeedbackBorder component wrapped around the
> title and author fields. but in wicket1.3 beta2, it seems li
On 7/16/07, verbal evasion <[EMAIL PROTECTED]> wrote:
> i had two images side by side, both inside the div tag. then i made the left
> one an ImageMap and the second image (on the right) went to the next line. i
> tried to resize them and everything, but nothing helped. how do i fix this?
Make it
> I try to replace a TextArea with a HiddenField (or in next step with a
> Panel).
>
> before:
> Input comes
> here
>
> after:
>
>
> I added a Behaviour to the TextArea:
> public void bind(Component c)
> {
> target = c;
>
> HiddenField hiddenField = new HiddenField(target.g
> Will that be included in your book?
It's still the plan. We're fighting to get it done in the first place
though, so it might prove tricky. Marcel Offermans was also
interesting in helping out, so the problem does not lie in lack of
help from OSGi people.
Eelco
> With this code, resourceFinder.add() only accepts directories, isn't
> it? Now i want the templated to be searched from a jar (distributed as
> plugins) or from a directory (distributed with the installation).
You would be better off using IResourceStreamLocator directly. Use the
decorator patte
I don't know... I would still go for XML schema. DTDs don't know
namespaces, so anything you do with them will be a hack imho. Over the
last two years, I think various people have made a go at it, and tbh
I'm not sure whether anyone had the final working DTD or whether they
just gave up on it.
Thi
> How do you create a mock session for this websession? WicketTester creates a
> new instance of MockWebApplication which extends WebApplication and not my
> custom AuthenticatedWebApplication. This becomes troublesome because the
> constructor of my custom session takes a subclass of
> Authenticat
On second thoughtsthis may be over my head. It's harder then I
thought. I don't understand the wicket internals enough to confidently
do this within an exceptable time frame.
Huy
> Thanks for the suggestion. Matej also suggested this on IRC but I think
> the current Select component should
> I have successfully deployed and verified that the behavior still seems to be
> in error. I have not actually run the phonebook application but was using it
> as a pattern.
One of the forgotten emails I'm afraid...
Did you make any progress on this, or is it still a problem? If it is,
would you
Thanks for the suggestion. Matej also suggested this on IRC but I think
the current Select component should support this.
I'm going to try to implement the current Select as a repeating view.
Thanks again,
Huy
> Use a RepeatingView?
>
>
> Huy Do-4 wrote:
>
>> Hi,
>>
>> I have been trying to
attach it to a jira issue, preferrably as a patch.
thanks,
-igor
On 7/19/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
>
> great
> thanks
> ps: i have a first version of the extensible choice auto-complete.
> should i send you the code?
>
>
> On 7/19/07, Igor Vaynberg <[EMAIL PROT
RequestCycle.urlFor(Page) will do what you want
-igor
On 7/19/07, Joel Hill <[EMAIL PROTECTED]> wrote:
>
> My app's home page is nothing more than a blank page which has an onload
> script which opens a new browser window and loads my app's "main" page
> into it. I'm having trouble figuring out
great
thanks
ps: i have a first version of the extensible choice auto-complete.
should i send you the code?
On 7/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> On 7/19/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
> wrote:
> >
> > Hello.
> >
> > Any way of doing this?
>
>
> see downloa
My app's home page is nothing more than a blank page which has an onload
script which opens a new browser window and loads my app's "main" page
into it. I'm having trouble figuring out how to get it to work in
wicket. I don't want to make the page bookmarkable if at all possible,
but I have to fi
Hi
I hope this is not considered spam, but I have created a small tutorial
about how I have "wickyfied" a little YUI control, the tooltip.
http://bollersblog.blogspot.com
Comments are more than welcome, as this is my first attempt to "write stuff"
on the internet.
/Flemming
ps: I did not kn
"Five modal windows", huh?
Nope, there is only one modal window in the page, that's all.
Not sure where you got the "5".
Anyway, will give it a try with wicket 1.3.
I'm not familiar with quickstart but will figure out, or I'll ask.
Thanks,
Laurent.
-Original Message-
From: Matej Knopp [
But I don't want to replace the body content of the markup container. I want
to add additional tags at the bottom of the container's body.
Something like this:
/**
* @param extraParams a Map which will be rendered as
additional parameters
* within the applet tag at ru
I have a page containing a border and a form:
GreyRoundedBorder greyBorder = new GreyRoundedBorder("configFrame", new
ResourceModel("admin.config.title"));
Form configForm = new Form("configForm", new
CompoundPropertyModel(dbConfig));
greyBorder.add(configForm);
When I want to unit test the for
igor.vaynberg wrote:
>
> this is tricky because datatable encapsulates a lot of this stuff so it
> will
> probably need something exposed for this usecase. if you create a
> quickstart
> that has a datatable, some bogus data, and some links in columns that
> should
> trigger a refresh i can play
class applet extends webcomponent {
oncomponenttagbody(tag) {
strinbuilder b=new stringbuilder();
b.append("");
...
replacecomponenttagbody(tag, b.tostring());
}
}
-igor
On 7/19/07, mperham <[EMAIL PROTECTED]> wrote:
>
>
> I'd like to build a dynamic charting applet component so
Use a RepeatingView?
Huy Do-4 wrote:
>
> Hi,
>
> I have been trying to use select and selectoptions in wicket-extensions
> but I can't figure out how to get a dynamic set of optgroups going.
>
> I have seen the example from the mailing list where
>
>
>
>
>
>
>
>
>
>
> My problem li
I'd like to build a dynamic charting applet component so that the page can
hardcode some presentation params but other params are generated
dynamically. For instance:
The params above are presentation and page-specific so they belong in the
page's HTML. However I also need to
ahh ok, We have ResponseFilter in wicket build in that do that.
johan
On 7/19/07, jan_bar <[EMAIL PROTECTED]> wrote:
>
> Thanks for your care. I have a filter that appends some statistics
> (request
> processing time, date, ...) as comment to response of text/html content:
>
> final String stats
AjaxRequestTarget target;
target.addComponent(item);
where item is a repeater Item.
This doesn't work for you? What wicket version are you using?
-Matej
On 7/19/07, ChuckDeal <[EMAIL PROTECTED]> wrote:
>
>
> ptrthomas wrote:
> >
> > How about this thread:
> >
> > http://www.nabble.com/Adding-it
Matej Knopp-2 wrote:
>
> AjaxRequestTarget target;
> target.addComponent(item);
>
> where item is a repeater Item.
>
> This doesn't work for you? What wicket version are you using?
>
> -Matej
>
1.3.0-SNAPSHOT
Here's how the Column is created... basically it is adding a custom
Fragment to
Thanks for your care. I have a filter that appends some statistics (request
processing time, date, ...) as comment to response of text/html content:
final String stats = String.format("", new Date(),
responseTime);
try {
try {
response.getOutputStream().println(stats);
} catch(IllegalStateExceptio
this is tricky because datatable encapsulates a lot of this stuff so it will
probably need something exposed for this usecase. if you create a quickstart
that has a datatable, some bogus data, and some links in columns that should
trigger a refresh i can play around with it and see what needs to be
ptrthomas wrote:
>
> How about this thread:
>
> http://www.nabble.com/Adding-item-to-ListView-over-Ajax---refresh-only-newest-row-t3971491.html#a11572531
>
> Does this help?
>
> Thanks,
>
> Peter.
>
Not quite, I want to be able to repaint a row that has already been output.
Although, this
On 7/19/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> I vaguely remember something about xml properties files that do handle
> other encodings. Didn't we implement that? Or was it just one of those
> things to do in the next version?
Yes, that is implemented now. XML properties is a JDK 5 feat
On 7/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello to all!
>
> I'm beginning to learn how to use wicket and I have a question regarding
> DropDownChoice: I have a POJO that is serving me as the model for my
> page, so my form is bind to the properties.
> My problem with the Dropdown
On 7/19/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
>
> Hello.
>
> Any way of doing this?
see downloadlink and popupsettings
-igor
-- Forwarded message --
> From: Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
> Date: Jul 18, 2007 4:15 PM
> Subject: Downlo
he problem here is specifying the charset, properties factory is global so
you might encode your files one way but a jar you use with components might
have them encoded in another charset - so we cannot really have a global
charset specified. i think the proper thing to do is use xml properties
for
Martijn Dashorst wrote:
> Ok, my bad: you need to provide your own type...
>
> So create a MyRequiredPasswordTextField, and override the
> getInputType() and have it return "password"
>
> Martijn
K. That makes much more sense. Thx.
BTW, I'm curious to hear if anyone has any thoughts about the
Hello to all!
I'm beginning to learn how to use wicket and I have a question regarding
DropDownChoice: I have a POJO that is serving me as the model for my
page, so my form is bind to the properties.
My problem with the Dropdownchoice in this case is: even if the property
in the POJO is filled exa
On 7/19/07, ChuckDeal <[EMAIL PROTECTED]> wrote:
>
>
> I searched for answers to this problem, but most responses were to repaint
> the whole table (or more specifically, the container holding the table).
>
> I am trying to make an editable grid. In addition to that, when some cell
> contents chan
Ok, my bad: you need to provide your own type...
So create a MyRequiredPasswordTextField, and override the
getInputType() and have it return "password"
Martijn
On 7/19/07, David Rosenstrauch <[EMAIL PROTECTED]> wrote:
> Martijn Dashorst wrote:
> > PasswordTextField {
> > protected String g
Martijn Dashorst wrote:
> PasswordTextField {
> protected String getInputType()
> {
> return "password";
> }
> }
>
> TextField {
> /**
>* Subclass should override this method if this textfields mappes on
> a different
>* input type as text. Lik
Hello.
Any way of doing this?
-- Forwarded message --
From: Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
Date: Jul 18, 2007 4:15 PM
Subject: Download / View Attacment (like gmail)
To: wicket-user@lists.sourceforge.net
Hi guys is there an easy way to have, say two buttons or
On Thu, 19 Jul 2007 07:25:47 -0700 (PDT)
jonaqua <[EMAIL PROTECTED]> wrote:
> but this was in the javadoc for WicketTester
D'oh!! I'm sorry :(
> Instead of tester.startPage(pageClass), we define a ITestPageSource to
> provide testing page instance for WicketTester.
I see.. Many thanks, you've b
I searched for answers to this problem, but most responses were to repaint
the whole table (or more specifically, the container holding the table).
I am trying to make an editable grid. In addition to that, when some cell
contents change, other cells may need to be repainted (they might contain
PasswordTextField {
protected String getInputType()
{
return "password";
}
}
TextField {
/**
* Subclass should override this method if this textfields mappes on
a different
* input type as text. Like PasswordField or HiddenField.
Daniel Fernández Garrido wrote:
> David, I think your problem (not wanting password to come encrypted from the
> input component) would be solved by simply making your Application object
> return your own implementation of the
> wicket.settings.ISecuritySettingsinterface for its getSecuritySettings
Martijn Dashorst wrote:
> On 7/19/07, David Rosenstrauch <[EMAIL PROTECTED]> wrote:
>> Martijn Dashorst wrote:
>>> It is configurable: don't use PasswordTextField but TextField instead.
>> No. If you try to use a TextField, then wicket will insist that you
>> convert your HTML to use instead of >
David, I think your problem (not wanting password to come encrypted from the
input component) would be solved by simply making your Application object
return your own implementation of the
wicket.settings.ISecuritySettingsinterface for its getSecuritySettings
method. And in this extension
(MySecuri
On 7/19/07, David Rosenstrauch <[EMAIL PROTECTED]> wrote:
> Martijn Dashorst wrote:
> > It is configurable: don't use PasswordTextField but TextField instead.
> No. If you try to use a TextField, then wicket will insist that you
> convert your HTML to use instead of type="password"/> - and thus
Martijn Dashorst wrote:
> It is configurable: don't use PasswordTextField but TextField instead.
No. If you try to use a TextField, then wicket will insist that you
convert your HTML to use instead of - and thus lose the masked password entry capabilities
(i.e., echoing "*" characters).
>
I've solved the problem in the following way:
1. I've created CustomPropertiesFactory subclass of PropertiesFactory and
put it in wicket.resource package (to get access to
wicket.resource.Properties' package-private constructor)
package wicket.resource;
...
public class CustomPropertiesFactory e
I'm a wicket newbie,
but this was in the javadoc for WicketTester (also your constructor name
'kisspage' doesn't match your class name 'mypage'):
//test code
public void testRenderYourPage()
{
// provide page instance source for WicketTester
tester.startPage(new TestPageSource
No, because we have discussed the naming already quite a bit and the
api is already widely used (not only in apps, but also in libraries).
Martijn
On 7/19/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:
> On Mon, 16 Jul 2007, Igor Vaynberg wrote:
> > try calling setoutputmarkupplaceholdertag(true)
On Mon, 16 Jul 2007, Igor Vaynberg wrote:
> try calling setoutputmarkupplaceholdertag(true) on all components you are
> planning to call setvisible(false) when you create them
By the way, would it be a good idea to rename that method to
something more descriptive such as enableAjaxUpdates()? I
thi
On Tue, 17 Jul 2007, Ingram Chen wrote:
> We also suffer the same issues here. But due to unmanaged nature of Wicket,
> there is no chance to intercept construction of page B unless you build your
> own factory for page.
>
> class Page A {
> MyFactory myFactory ;
> public Page A {
>
Hi everyone!
I'm sorry, I'm looking for a little clue..
I have this simple testcase:
public void testForm(){
WicketTester tester = new WicketTester();
tester.startPage(MyPage.class );
tester.assertNoErrorMessage();
}
And this simple page:
public class MyPage extends WebPa
I had been crying about wicket 1.2.6 makes my site ugly when i upgraded from
1.2.4 without a change of any line of code. in case you are or meet with
this situation, here are the tips that may assist you.
While I was with wicket1.2.4 jars, i had Application.getMarkupSettings
().setAutomaticLinking
Hi,
>then when you need the value of B4, then your interpreter translates it to
>Column 2, Row 4
Yes if col 2, row 4 means, it should B4. You are correct...
Any updates, please
Ayodeji Aladejebi wrote:
>
> I really dint get your question but from what i interpreted,
> if you want an easy way
Matej Knopp-2 wrote:
>
> You can't. Java property files are always encoded in ISO-8859-1.
>
I don't think so because actual loading look like this:
properties.load(new BufferedInputStream(resourceStream.getInputStream()));
strings = new ValueMap(properties);
java.util.Properties.load(InputSt
I vaguely remember something about xml properties files that do handle
other encodings. Didn't we implement that? Or was it just one of those
things to do in the next version?
Martijn
On 7/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> You can't. Java property files are always encoded in ISO-885
Or you escape everything as unicode characters (e.g. /u00ef, see
http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.3), or
you use the xml syntax supported by Java 6 (sorry no idea how that works in
Wicket).
Regards,
Erik.
Matej Knopp-2 wrote:
>
> You can't. Java propert
You can't. Java property files are always encoded in ISO-8859-1. In
order to use other characters you need to escape them properly. There
is an encoder/decoder for it and/or eclipse plugin.
-Matej
On 7/19/07, wheleph <[EMAIL PROTECTED]> wrote:
>
> Hi everyone!
>
> I've got the following problem.
Hi everyone!
I've got the following problem.
My component needs to display a cyrillic string. I put it in corresponding
.propreties with encoding cp1251.
But it's read like
Íåïðàâèëüíûé ëîãèí/ïàðîëü
instead of
Неправильный логин/пароль
The problem is that the file is read like iso-8859-1. H
On 7/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Didnt it have to do with persistency of fields via cookies as well?
Yeah, didn't think of that too. Anything stored on the client is a
risk, so having the default to be secure is a real safeguard.
Martijn
--
Wicket joins the Apache Softwa
Hello,
About this topic, I am the founder of a project called Jasypt (Java
Simplified Encryption) [http://www.jasypt.org], which is aimed at easily
adding robust encryption capabilities to java applications, be it password
digesting or two-way text, binary, or number encryption (based on any JCE
p
Hi,
I have been trying to use select and selectoptions in wicket-extensions
but I can't figure out how to get a dynamic set of optgroups going.
I have seen the example from the mailing list where
My problem lies in the fact that I don't know all my optgroups before
hand. It changes de
Five modal windows? At the same time? It might be that you are running
out of pagemaps.
This is very weird, hovewer, seems to be reproducable. Can you post a
quickstart? Also, could you check if this is working with wicket 1.3?
-Matej
On 7/18/07, Laurent Brucher <[EMAIL PROTECTED]> wrote:
> Cook
On 7/19/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> It is configurable: don't use PasswordTextField but TextField instead.
>
> The reason behind PTF's encryption is that we want to provide a secure
> solution out-of-the-box. You can circumvent it, but then *you* need to
> open up Pandorra's b
It is configurable: don't use PasswordTextField but TextField instead.
The reason behind PTF's encryption is that we want to provide a secure
solution out-of-the-box. You can circumvent it, but then *you* need to
open up Pandorra's box, not us. Same with escaping markup while
outputting model valu
On Mon, 16 Jul 2007, Eelco Hillenius wrote:
> Note that with Wicket 1.3 you configure a filter instead of a servlet
> and map that to /* without problems.
BTW, on Websphere 6.0, we couldn't get the resource paths
working with the filter on 1.3. After a while of debugging,
we resorted to using the
Just wondering: anyone know what's the reason behind 1) making
PasswordTextField's automatically encrypting their contents by default,
and 2) making this not configurable?
I lost several hours debugging tonight till I finally pinpointed this as
the cause of my bug.
TIA,
DR
-
i just always overwrite getMarkupId()
but a setter is also fine to have. We store it anyway.
johan
On 7/18/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> On 7/18/07, mperham <[EMAIL PROTECTED]> wrote:
> >
> >
> > We are migrating our existing application from UI framework XXX to
> Wicket
> > a
i can remove the close() on it.
But i am curious what you want to write afterwards
because how do you know what to get the writer or the outputstream?
because for the redirect strategy we just use the outpustream (bytes)
instead of the writer (strings)
and you can't use the output and the writer i
73 matches
Mail list logo