I have no problem other than i dont like it, but since I don't like it
I'd like to know if someone else had the same thoughts I had and what
was the conclusion.
Giovanni
what is the actual problem you are having with this other then i dont like it?
-igor
On Wed, Sep 23, 2009 at 3:21 AM,
Hi Igor,
yes the application works in a browser. But with wicket 1.4-rc2 my tests are
working.
The behavior in wicket has changed and Htmlunit has a problem with this. I
just try to find the cause, to fix it (or report a bug in htmlunit). I also
suppose it is indeed a problem in HtmlUnit but I
Hi all,
I just wanted to let you know that I've posted an article on the new
version of wicketstuff-merged-resources:
http://techblog.molindo.at/2009/09/wicketstuff-merged-resources-new-much-simpler-version.html
For those that aren't aware of this small library:
wicketstuff-merged-resources is
Best solution is ignore circular dependencies ;)
**
Martin
2009/9/25 Giovanni Cuccu giovanni.cu...@cup2000.it:
I have no problem other than i dont like it, but since I don't like it I'd
like to know if someone else had the same thoughts I had and what was the
conclusion.
Giovanni
what is
a simple way to decouple the menu from the pages is to mount all the
pages and pass the mount urls into the menu instead of the page
classes.
that way you wont have any imports other then java.lang.String
-igor
On Fri, Sep 25, 2009 at 12:06 AM, Giovanni Cuccu
giovanni.cu...@cup2000.it wrote:
I
Thanks. Should be fixed in SVN.
-Matej
On Fri, Sep 25, 2009 at 2:05 AM, Russell Morrisey rmorri...@csc.com wrote:
I'm getting a javascript error using the inmethod DataGrid; it looks to me
like a bug with the DataGrid's script code. I am hoping that the DataGrid
script can be patched =)
In fact, the example createLabel is not really the most interesting. Let's me
explaining what I consider as a good candidate and what I have done
1) A HTML page contains a table which is populated dynamically using a
service collecting data from a DB. the last column of the table is a link
I would like to know How I can validate the string date inputted by a
user in a textfield of my form ?
e.g : The SimpleDateformat to be used to create a java Date is : dd/MM/
So I would like to check that the user has well introduced its date
using this format in the html field. Is it
How can I dynamically display or not an image (= a link) in a html
table page using wicket ? It means that depending on a condition, the
button link will be displayed or not at all.
Is it possible to create a buttonLink in Wicket ?
Regards,
Charles Moulliard
Senior Enterprise Architect
Apache
Why not create your own panel with a link containing an image? I mean
something like:
wicket:panel
a class=imagebutton wicket:id=link title=img wicket:id=
image src=/span wicket:id=label/span/a
wicket:child/
/wicket:panel
And then control the visibility of this panel with
Hello
Please grant me commit access for wicket stuff.
I want help develop objectautocomplete component .
My sf account name : slawekstec
My Jira account name : slawekstec
thanx
Slawomir Stec
-
To unsubscribe, e-mail:
I would like to know How I can validate the string date inputted by a user
in a textfield of my form ?
you can use:
org.apache.wicket.datetime.markup.html.form.DateTextField
ex:
DateTextField date = DateTextField.forDatePattern(date, dd/MM/);
This component will validate the inputs against
I've used the ShinyFormVisitor that Alastair Maw came up with
(http://londonwicket.googlecode.com/files/LondonWicket-FormsWithFlair.pdf)
to format the validation errors on my form. But now I'm running into
something that I can't explain. I have two complex fields on my form,
one a
Hi,
The TabbedPanel internaly uses a Loop to render the tab-components.
During a normla GET request the Loop.onPopulate() method ensures that
all the loop-childs are removed before adding them again
to support a possible change of teh underlying Integer-model.
Loop.onPopulate()
@Override
I'm mounting a shared resource with
IndexedSharedResourceCodingStrategy and in my Application class I've
got:
init() {
...
// DynamicCss extends DynamicWebResource
Resource dynamicCssResource = new DynamicCss();
getSharedResources().add(dynCss, dynamicCssResource);
mount(new
You can avoid this exception making sure to remove the tab from your panel
before the request cycle enter in RESPOND step.
On Fri, Sep 25, 2009 at 9:05 AM, Jens Zastrow m...@jens-zastrow.de wrote:
Hi,
The TabbedPanel internaly uses a Loop to render the tab-components. During
a normla GET
I added it to this Wiki page:
http://cwiki.apache.org/confluence/display/WICKET/Sites+and+Products+based+on+Wicket
Sites and Products based on Wicket
--
View this message in context:
http://www.nabble.com/FYI%3A-new-wicket-site-tp17226228p25612209.html
Sent from the Wicket - User mailing list
can I make ajaxdefaultdatatablepanel 508 ? 508
(http://www.section508.gov/)
I think the pagination provided by wicket is 508 am I right ?
fachhoch wrote:
I am using lot of ajaxdefaultdatatable and our application should be 508 ,
is there a way to create the sortable columns from
Meh, I am too retarded: Apparently Wicket 1.4.1 does solve this issue.
Thanks a lot and sorry for the double post,
Che
Che Schneider wrote:
Hello all,
First of all, great mailing list and awesome knowledge assembled here.
Some of the posts are true eye-openers...
I have a little problem
Hello all,
First of all, great mailing list and awesome knowledge assembled here.
Some of the posts are true eye-openers...
I have a little problem with Wicket, or - more likely - with my usage of
it. Here goes:
I am creating a AjaxFallbackDefaultDataTable and add a couple of rows
and my
Sorry for the duplicate post. I don't think my first post went through.
I have looked at the examples and the javadocs but can't figure out how
to do the following. I am a wicket newbie.
I want to create a wizard with 2 steps implemented as panels.
Step 1: Asks the user to enter
I am just having trouble with the move from Step 1 to Step 2. I assume
the success logic would be implemented in the onFinish() method of my
ForgotPasswordWizard
You can use an listener to implement success logic, onFinish will to be
called when Finish button get pressed
The Belgian Java User Group is seeking a speaker for a Wicket event on
October 14th, in Leuven, Belgium [1]
You can find more details here:
http://www.bejug.org/confluenceBeJUG/display/BeJUG/Home
Due to a full schedule I'm not able to speak, so I'm looking for
someone who wishes to promote
Did you mean the the tab from the TabbedPanel or the whole TabbedPane
from my page?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Do I override the onFinish() method of my wizard or do I add a listener
to my wizard and put the logic there? It looks like the wicket Wizard
that I am extending already implements the IWizardModelListener
[according to the java doc] This will allow me to perform logic needed
when the wizard
I have a very simple Wicket web page with one TextArea for data entry on a
form. This is contained in a NavomaticBorder. The form works properly, as the
data is successfully saved to the database when the Submit button is clicked.
My JUnit test fails however, because the data is null. I am
OK, I changed the code as follows, and I'm getting a null on the
patentsPalette.getRecorderComponent() method.
PaletteCategory patentsPalette = new PaletteCategory
(categoryPalette, selected, allCategories, renderer, 10, false);
final Recorder recorder =
On Fri, Sep 25, 2009 at 12:38 PM, Fernando Wermus fernando.wer...@gmail.com
wrote:
Hi all,
I have this:
add(new PanelModulo(module,players,myPlayers.jpg, new
PropertyModel(modelo,players), true){
private static final long serialVersionUID = -3739151258006568848L;
@Override public
Ok. I am sorry to bother you. I add the behavior at before render time:
protected void onBeforeRender() {
super.onBeforeRender();
final Recorder recorder=palette.getRecorderComponent();
palette.getRecorderComponent().add(new AjaxFormComponentUpdatingBehavior(
onchange) {
Hello,
I would like to get your suggestion about how to validate a user name input
by checking if the name has already been taken (exists in the back-end
database); and how to show feedback messages right next to the input field
if it has.
Typically, when a user registers to a website, he needs
I think you are overcomplicating things. Validate the users input, if
two users want the same name within 1 second of each request you
probably have bigger problems to deal with. Anyhow, when submit is
called, if you get a nonunique exception. Catch in dao/service and
throw an exception wicket
You're added.
--
Jeremy Thomerson
http://www.wickettraining.com
2009/9/25 Slawek ss...@consol.pl
Hello
Please grant me commit access for wicket stuff.
I want help develop objectautocomplete component .
My sf account name : slawekstec
My Jira account name : slawekstec
thanx
damn, beat me by a second!
-igor
On Fri, Sep 25, 2009 at 9:11 AM, Jeremy Thomerson
jer...@wickettraining.com wrote:
You're added.
--
Jeremy Thomerson
http://www.wickettraining.com
2009/9/25 Slawek ss...@consol.pl
Hello
Please grant me commit access for wicket stuff.
I want help
clickLink() ? shouldnt you be submitting the form? links dont submit
forms afaik.
-igor
On Fri, Sep 25, 2009 at 8:21 AM, Caristi, Joe jcari...@whisolutions.com wrote:
I have a very simple Wicket web page with one TextArea for data entry on a
form. This is contained in a NavomaticBorder. The
Ryan Gravener-3 wrote:
I think you are overcomplicating things. Validate the users input, if
two users want the same name within 1 second of each request you
probably have bigger problems to deal with.
So you think my current solution (extending AbstractValidator) is OK?
But I still
form {
onsubmit() {
try {
users.persist(getmodelobject());
} catch (usernamealreadyexistsexception e) {
error(error.username.exists);
}
}
}
-igor
On Fri, Sep 25, 2009 at 9:05 AM, Ryan Gravener r...@ryangravener.com wrote:
I think you are
ok i'm a little bit confused :-(
I didt want to invoke 'tabs.remove()' during a onRender(), but during
the onClick() method of by AjaxFallbackLink - like in your example.
Using a normal Link the TabbedPanel doesnt throw the exception.
Try your example with the AjaxTabbedPane and a
Igor, it seems the 1.4 snapshot in the maven repository still contains 1.5
code.
I built wicket from sources locally. When I tested the project against that
build I found yet another problem. Attempt to submit the form (no matter
what value the default processing flag has) led to response with
I couldn't simulate, can you send the stack trace?
On Fri, Sep 25, 2009 at 1:25 PM, Jens Zastrow m...@jens-zastrow.de wrote:
ok i'm a little bit confused :-(
I didt want to invoke 'tabs.remove()' during a onRender(), but during the
onClick() method of by AjaxFallbackLink - like in your
Thank you. That was it. I appreciate the help!
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Friday, September 25, 2009 12:22 PM
To: users@wicket.apache.org
Subject: Re: Form Data Not Available When Testing a TextArea component
clickLink() ? shouldnt you
Hi all,
how can i activate (open datapicker window) when user click(or focus) on the
correlate textbox?
Thanks
Luca
ajax wicket debug making the request but, I realized that It didn't call
the constructor again
the components add to ajax request target already are instantiated. You need
to resolve the complexity of new data refresh on your component model. See
if at some point you are updating players
Hi all,I have an ajaxclick which should refresh a gridview, but this
doesnt happened. I saw someone reporting the same issue and I would like to
know if this has been fixed it. The fact, it is that the gridview' s model
is called just one at construction time. It does refresh the gridview but
I do.
I realized the following:
ListDataProvider which I extend to get the data show, doesnt take models!!
It only takes list. When ayaxlink is called, the ListDataProvider is
refreshed but with old data because It lacks of a model.
There is a mail talking about this issue.
I have some problems refreshing a GridView because ListDataProvider doesnt
take Models. Why? It doesnt make sense, models are an esencial part of
wicket and I couldn't find any implementation which takes model. Am I wrong?
I had to implement my own ListDataProvider.
package
1 - be sure to work on those list items. You are working on new ones? Keep
an referent to this list, call list.clear() and add those new items on it.
2 - how about to implement your own IDataProvider? ListDataProvider is a
very simple implementation that helds one single list
On Fri, Sep 25,
I put the @RequireHttps annotation in my LoginPage, and it's work fine
when i run the app.
But when i run my tests all test fail, if I remove @RequireHttps all
test pass correctly
Here's the problem, when i run this code without the annotation the
wicket tester call the button btn_login.
If i put
jraanamo wrote:
- how did you get the principal all the way to the ejb container (via jndi
context?) and which container were you using?
- were you able to handle authorization via e.g. @RolesAllowed
annotations?
Ok, I got principal delegated to ejb container by using Glassfish's
so in your tests do not install the httpsrequestcycleprocessor
-igor
On Fri, Sep 25, 2009 at 10:46 AM, Rangel Preis rangel...@gmail.com wrote:
I put the @RequireHttps annotation in my LoginPage, and it's work fine
when i run the app.
But when i run my tests all test fail, if I remove
heyho everyone,
since i'm not satisfied with the provided models, i started to write my own.
the current behaviour with compoundproperty model is, that compoundproperty
model serves as host for an object and components can use properties of that
host by having the correct id that has to equal
Pedro,
I chose the second option and now is working. What I do not understand
is why there isnt a ListDataProvider (provided by wicket) that accepts
models.
On Fri, Sep 25, 2009 at 2:23 PM, Pedro Santos pedros...@gmail.com wrote:
1 - be sure to work on those list items. You are working on
Puhh, very long article.
Did you've tried
MyDomainModel myDomainModel;
CompoundPropertyModel model = new CompoundPropertyModel(myDomainModel);
AContainer.add(new MarkupContainer(new PropertyModel(model,
theGetPropertyInMyDomainModelToSubModel));
If MyDomainModel provides an accessor for
or new CompoundPropertyModel(new PropertyModel(model,
theGetPropertyInMyDomainModelToSubModel)) which basically creates a
CPM that refers to a property of another CPM.
personally i do not like CPMs, they are a shortcut that gets abused
way too often :)
-igor
On Fri, Sep 25, 2009 at 11:21 AM,
Did you add the component to AjaxRequestTarget
target.addComponent(yourGridview)
Also don't forget this : yourGridview.setOutputMarkupId(true);
A.B.A
2009/9/25 Fernando Wermus fernando.wer...@gmail.com
Hi all,I have an ajaxclick which should refresh a gridview, but this
doesnt happened.
Hi all ;
Problem is html tag - bold brdoesn't process ; I don't know if this
problem related with Wicket.
Let me explain it by simple code:
HTML side :
wicket:panel
span wicket:id=test
test code comes here
/span
/wicket:panel
Java side :
String test = Java bSoftware/b
Wicket is using html scape character to output your string on model, so it
will to be presented as '' and ''.
u can set FLAG_ESCAPE_MODEL_STRINGS to the componet
http://static.ddpoker.com/javadoc/wicket/1.4-rc2/org/apache/wicket/Component.html#getDefaultModelObjectAsString()
On Fri, Sep 25, 2009
Thanks Pedro;
String test = Get the latest Java bSoftware/b and br/explore how Java
technology provides a better digital experience.;
Label label = new Label(test, new Model(test));
label.setEscapeModelStrings(false);
works for me !!
setEscapeModelStrings(false); is the key part.
Thanks.
When I first posted this, I posted it multiple times thinking
that it wasn't going through. Sorry about that. Pedro S had
posted a reply to one of the duplicates I have since removed
and I wanted to put it here:
=
The internalUpdateFormComponentModels method in 1.3.6
on your label call .setEscapeModelStrings(true);
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Sep 25, 2009 at 6:28 PM, Altuğ B. Altıntaş alt...@gmail.com wrote:
Thanks Pedro;
String test = Get the latest Java bSoftware/b and br/explore how
Java
technology provides a better
Oops - meant false - and then also saw the other replies.
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Sep 25, 2009 at 10:42 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
on your label call .setEscapeModelStrings(true);
--
Jeremy Thomerson
60 matches
Mail list logo