Thank you, Vineet.
That worked so much better than my attempt. But I still don't quite
understand why... :-[
Anyway, now I get a nice error message when I expect one, and none when
I don't. :)
/Stefan
On 2009-08-25 21:02, vineet semwal wrote:
what is attribute search panel and how are
I have a page built in SpringMVC. I have a iFrame in this page that loads a
Wicket Page. I want to replace the iFrame with a DIV and load the Wicket
page inside the DIV using Ajax.
I used Prototype to load the wicket page. The page loads but the wicket
javascript does not work anymore. I guess
Hi,
I was experiencing the same thing, but it was in FF (3.5.2) for me.
See details:
http://osdir.com/ml/users-wicket.apache.org/2009-08/msg00836.html
Regards,
Peter
2009-08-26 05:46 keltezéssel, Tauren Mills írta:
I haven't confirmed this is really a bug yet, but it looks like there
may be a
Hi Guys
Just wanted to tell that Jeremy has been awarded a golf t-shirt for
his work organizing Wicketstuff Core. Great Job Jeremy.
See here for more information:
http://ninomartinez.wordpress.com/2009/02/19/apache-wicket-merchandise-shop/
Thanks to all for buying merchandise, you are making
Am Mittwoch, den 26.08.2009, 01:29 -0500 schrieb Avinash palicharla:
I have a page built in SpringMVC. I have a iFrame in this page that loads a
Wicket Page. I want to replace the iFrame with a DIV and load the Wicket
page inside the DIV using Ajax.
good luck with this one..
does this page
Hello Friends,
this is my code
add(new ListView(people, p.writeNews(arts))
{
@Override protected void populateItem(ListItem item)
{
RSSReader person = (RSSReader)item.getModelObject();
item.add(new Label(title,
Hi everybody,
My problem is simple. I'm using form validation and feedback panel to display
errors.
Some of the errors are simple enough to display them as:
form.error(some error);
but some of the errors are complex and not to display them all in one line I
need to insert line breaks.
For
I am doing a timeseries chart .
I am not able to control size of flotpanel even when i set width,height of
div.
also the time format specified is not working ,time axis has entries in
millisecs :(
--
regards,
Vineet Semwal
Why not override feedback panel and roll your own?
**
Martin
2009/8/26 Oleg Astakhov astakhov_o...@mail.ru:
Hi everybody,
My problem is simple. I'm using form validation and feedback panel to display
errors.
Some of the errors are simple enough to display them as:
form.error(some error);
duh.. could you provide a code example?
**
Martin
2009/8/26 vineet semwal vineetsemwal1...@gmail.com:
I am doing a timeseries chart .
I am not able to control size of flotpanel even when i set width,height of
div.
also the time format specified is not working ,time axis has entries in
Thank you :)
Yes, the page comes from the same server.
I got the Head to work by including the following.
=
script type=text/javascript
is the text field in a form ?
do you have a model attached to the form or the text field ?
when you submit the form or click the button the input value will be
updated to the model and you can read it from the model.
hope that make sense.
regards
On Wed, Aug 26, 2009 at 2:45 PM, Gerald
What are you trying to accomplish?
There are a lot of css positioning tutorials out there.. if you need a
layout manager, try Swit:
* http://swit.kornr.net/Quickstart
**
Martin
2009/8/26 vineet semwal vineetsemwal1...@gmail.com:
Martin,
I have just seen FlotPanel css in flot source,
In wicket-examples there is an authentication and authorization app:
http://www.wicket-library.com/wicket-examples/authentication/
http://www.wicket-library.com/wicket-examples/authorization/
On 26.08.2009, at 15:48, Eyal Golan wrote:
Hello,
is there an example, and if so, which, in
Hi!
Should an unauthorized page render on redirect?
This is what I can see from stacktrace:
...
at org.apache.wicket.Page.renderPage(Page.java:893)
at
org.apache.wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:166)
at
You have to add a Link instance to the item, for example
item.add(new BookmarkablePageLinkVoid(link, TargetPage.class);
If you want to have a label inside the link add the label to the link
instead of the item
and use a markup like:
a href=# wicket:id=linkspan wicket:id=titlename/span/a
10x
Eyal Golan
egola...@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Wed, Aug 26, 2009 at 5:17 PM, Robin Sander robin.san...@gmx.net wrote:
In wicket-examples
the graph image generated by flot is big ,i want to control it's size say
of size width:200px ,height:100px
--
regards,
Vineet Semwal
On Wed, Aug 26, 2009 at 7:36 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
What are you trying to accomplish?
There are a lot of css
Martin,
I have just seen FlotPanel css in flot source,
.FlotPanel {
position: absolute;
overflow: hidden;
width: 100%;
height: 100%;
}
it's strange position:absolute is choosen due to which if i enclose
it with my div to control size,it is not possible..
it should have been
Hello Friends,
i have a TextField and button.
when i click a button i need to get value of textField and pass it to the
another function.
How it is possible
--
Thanksregards,
Gerald A
Solved the problem.
We need to extend WebRequestCycleProcessor and return that from our
Application class. We also need to extend WebRequestCodingStrategy and
return that from our WebRequestCycleProcessor . Following is the code.
public class MyWicketApp extends WebApplication{
I'd like convert TextField values to display with 2 decimal places but for some reason they are getting displayed without any decimal places. The model that is being used is returning values such as 0.00, but they are getting displayed like 0 in the TextField. Any ideas?
Thanks...actually it was just a non wicket related bug :)
On Mon, Aug 24, 2009 at 3:28 PM, Linda van der Pal
lvd...@heritageagenturen.nl wrote:
My guess would be that the page doesn't render at all, therefore also not
rendering the Wicket Ajax Debug label and link.
Regards,
Linda
Arie
you can override getconverter() and return a converter that uses two
decimal places.
-igor
On Wed, Aug 26, 2009 at 8:30 AM, jpalmer1...@mchsi.com wrote:
I'd like convert TextField values to display with 2 decimal places but for
some reason they are getting displayed without any decimal places.
You got it right.
2009/8/26 JavaOleg them...@one.lv:
Thanks for the response,
I have downloaded the source for Feedback panel and it's not really obvious
how to override it, I mean, there's Label used in the populateItem() method
of the inner private final class, so I just copied the whole
I am getting a PageExpiredException when I close a modal window that has
an AbstractAjaxTimerBehavior on it. What do I need to do to fix this?
Thanks
Hi All,
Wicket-security 1.4 SNAPSHOT is 1.4.1 compatible.
We start using this internally this month, I wonder if any of you
already do use the 1.4 of wicket-security ?
Kind Regards,
Olger
-
To unsubscribe, e-mail:
Hi,
you're probably doing something like the following:
add(new Label(foo, ldm.getObject().getFoo()));
Never do that, instead use:
add(new Label(foo, new PropertyModel(ldm, foo)));
... or ...
add(new Label(foo, new AbstractReadonlyModel() {
public Object getObject() {
return
Hi,
I have here several AjaxLinks that should be triggered using a shortcut
(e.g. PageDown or Delete).
Does anybody have some lines of code or a hint how that could be done?
Alternatively a AjaxBehaviour could be used to start the action.
Any ideas?
Thanks,
Johannes
Sven,
I've been using wicket for over a year, so I'm quite familiar with Model
usage.
So thanks for the explanation, but I'm already using CompoundPropertyModels
and PropertyModels everywhere.
Because of this it's all the more frustrating to see model contents in my
session.
Bas
-
If you are certain that detach is always called then you must have
references to the underlying model objects. I would look through
every call to IModel#getObject().
One thought is that if you create a final variable and refer to that
variable in an anonymous inner class then you have bound the
Am Mittwoch, den 26.08.2009, 21:29 +0200 schrieb Bas Gooren:
Hi all,
My problem is as follows: I use LoadableDetachableModels throughout my
application, and have made sure I never use a model without it being attached
to a component to prevent models which never get their detach() method
Scott,
Well, sometimes the model object is needed to make a rendering decision, so
I say:
final Foo foo = getModelObject();
if( foo.getX() )
add( new Label(x, new PropertyModel( getModel(), x ) );
else
add( new Label(x, new PropertyModel( getModel(), y ) );
But in this case the final
Michael,
This is something which is helpful in case you have models which are not
owned by a component. This is not the case in my application.
Also, the strategy they explain in the blog is something which is quite
common with wicket, at least for me: a model referencing another model, and
I cannot seem to get a simple validation to work on a form. Using 1.4-rc5.
TextFieldLong testLong = new TextFieldLong(testLong, new
ModelLong(0));
testLong.add(new MinimumValidatorLong(0));
batchForm.add(testLong);
I want the text field to be validated as a number, and
Ok, I found the source of the problem ;-)
I must've hit enter a little too quick on a content-complete in Eclipse.
Inside one of the repeaters on the page I had
new PropertyModel( item.getModelObject(), x )
instead of
new PropertyModel( item.getModel(), x )
Obviously that's going to increase
Scott,
That's what I thought.
Bas
- Original Message -
From: Scott Swank scott.sw...@gmail.com
To: users@wicket.apache.org
Sent: Wednesday, August 26, 2009 10:53 PM
Subject: Re: How to detect model leakage into session
Bas,
The code you showed is fine, foo will be garbage
testLong.setType(Long.class)
-igor
On Wed, Aug 26, 2009 at 1:41 PM, T Amestamesw...@gmail.com wrote:
I cannot seem to get a simple validation to work on a form. Using 1.4-rc5.
TextFieldLong testLong = new TextFieldLong(testLong, new
ModelLong(0));
testLong.add(new
Great! Thanks!
I know you guys are super busy. One thing to put on the list would be to
update the wicket examples - FormInput.java
This is still using the NumberValidator and all it's various forms which
have been deprecated. I assume that I would have seen the setType() in
there if it were
I have multiple AjaxLazyLoadPanels, which load DynamicImageResource objects.
Although the panels load in parallel, I see the requests being serialized.
These are the debug messages I am seeing:
INFO: Channel busy - postponing...
INFO: Channel busy - postponing...
INFO: Channel busy -
More progress and another brick wall. After spending too many hours
researching connection pools, it looks like the problem was actually a lack
of @Transactional on the DAO method used by the EntityModel. Now I've added
@Transactional, but that puts me back to getting the
On Wed, Aug 26, 2009 at 6:30 PM, Dane Lavertydanelave...@gmail.com wrote:
As I understand it, the LazyInitializationException is thrown because the
Hibernate session closes after I call EntityDao.load(). But if that's the
problem, then why should an LDM help? Won't the Hibernate session close
Hi,
I recently upgraded to Wicket 1.4 and am now having a problem with a
feedback panel.
I have a custom feedback panel that uses custom message components (by
overriding FeedbackPanel#newMessageDisplayComponent). The custom
messages have an AjaxEventBehavior on the onclick event. This
On Thu, Aug 27, 2009 at 1:41 PM, Ian MacLartyian.macla...@gmail.com wrote:
Hi,
I recently upgraded to Wicket 1.4 and am now having a problem with a
feedback panel.
I have a custom feedback panel that uses custom message components (by
overriding FeedbackPanel#newMessageDisplayComponent).
Thankk you robin
i have used external link that is working fine
ThanksRegards,
Gerald A
On Wed, Aug 26, 2009 at 7:52 PM, Robin Sander robin.san...@gmx.net wrote:
You have to add a Link instance to the item, for example
item.add(new BookmarkablePageLinkVoid(link, TargetPage.class);
If you
I dont know how to attach model to form or textField.
my requirement is that
when i give input to text field and submit it gives some data then i want to
populate the data into DataGrid or table view
if possible give me some samples
ThanksRegards,
Gerald A
On Wed, Aug 26, 2009 at 7:20 PM, Dipu
On Thu, Aug 27, 2009 at 2:09 PM, Ian MacLartyian.macla...@gmail.com wrote:
On Thu, Aug 27, 2009 at 1:41 PM, Ian MacLartyian.macla...@gmail.com wrote:
Hi,
I recently upgraded to Wicket 1.4 and am now having a problem with a
feedback panel.
I have a custom feedback panel that uses custom
before you file a bug report, what was the commit log for that svn
change you found?
-igor
On Wed, Aug 26, 2009 at 9:42 PM, Ian MacLartyian.macla...@gmail.com wrote:
On Thu, Aug 27, 2009 at 2:09 PM, Ian MacLartyian.macla...@gmail.com wrote:
On Thu, Aug 27, 2009 at 1:41 PM, Ian
Hi Igor,
The commit log is simply:
Issue: WICKET-2384.
From http://issues.apache.org/jira/browse/WICKET-2384:
Problem is that we keep reference to FeedbackMessage in component
inside MessageListView item. The feedback message references previous
page - that causes the problem, because the
what do these links do?
-igor
On Wed, Aug 26, 2009 at 9:51 PM, Ian MacLartyian.macla...@gmail.com wrote:
Hi Igor,
The commit log is simply:
Issue: WICKET-2384.
From http://issues.apache.org/jira/browse/WICKET-2384:
Problem is that we keep reference to FeedbackMessage in component
It depends on the error. Most of the time the onclick behaviour
simply returns some javascript that highlights the invalid field.
Sometimes it changes the current tab, because the invalid field is on
a different tab. The code looks like this:
add(new AjaxEventBehavior(onclick) {
Here is an example of some less trivial behaviour that is done when
you click an error. This changes to a specific tab that contains the
erroneous field. The error message that has this behaviour is added
with some custom validation.
@Override
protected
it doesnt really look like you need a callback, you can simply
represent the link as a webmarkupcontainer that adds an onclick
javascript. more efficient and does the same thing.
-igor
On Wed, Aug 26, 2009 at 10:11 PM, Ian MacLartyian.macla...@gmail.com wrote:
It depends on the error. Most of
53 matches
Mail list logo