Thanks for this answer
to validate some extra components, I would override the onValidate()
method of a form to add my own specific validation.
The issue I'm encountering is due to calling the validate() method, the
one which, I guess, then call onValidate(). I don't know if one can ask
the
In your opinion. Hibernate supports merging (if that's what you're using).
Why not edit the object in a detached state (not in the session)?
Then, when you want to update it, you call update()?
If there was only one simple object yes... but there is a whole
collaboration diagram of objects.
Hello Friends,
i am Gerald Anto Fernando,since past 7 days i have started to learn Wicket.
As I am debut to wicket,please forgive me if i ask any small questions.
shall we bind the data from xml file into wicket component.
If it possible please give me some models.
Thanking You,
Gerald Anto
First of all thank you for developing such a good plugin,
1)LiquidCanvasBehavior liquidCanvasBehaviorOne=new
LiquidCanvasBehavior(fill,g,new RoundedRect());
2)LiquidCanvasBehavior liquidCanvasBehaviorOne=new
LiquidCanvasBehavior(g,fill,new RoundedRect());
After changing the position of
Hi!
Please explain in more detail if this is your situation:
A)
1. You have xml file.
2. You load the xml file into Java using JAXB or similar.
3. You want to display only some details from the xml-Java object
using Wicket (if so, please give sample code html what you need).
B)
1. You have an
Hi,
After upgrading from rc4 to rc6 I'm getting PageExpiredExceptions
splashing out after clicking on not bookmarkable link at
session-timeouts and after server restarts. Previously (1.4-rc4 and
1.3.x) this resulted in sending me to the login-page and then to the
homepage as I declared in the
Martin,
having read the thread I didn't get why you can not modify the object
itself. OSiV shouldn't be the reason because the object should be detached
when submitting the form and it should be merged into a brand new hibernate
session.
Actually I don't see the value of always keeping in mind
Im happy that some ones using the project, and very good to get some
feed back. I've verified your problem and it seems that the fill is
broken somehow im not quite sure whats going wrong or if we are using
it wrong fully. But when ever fill are present along side gradient
etc, all backround just
OSiV ?
having read the thread I didn't get why you can not modify the object
itself.
Premature optimization ;) ?
Coming to think about it again (this way, the opposite way) there is
nothing bad happening if I DO modify the object directly ... true.
Thank you all for your critisizm!
having read the thread I didn't get why you can not modify the object
itself.
Actually.. the only GOOD reason I can come up with is that by setting
the default value into RAWINPUT, it will be validated when the form is
submitted.
**
Martin
Igor, for now I'm concerned about how can I make sure that my code that
mimics form submitting lifecycles and wicket code in coming version do the
same things?
For instance the AjaxFormComponentUpdatingBehavior:
@Override
protected final void onEvent(final AjaxRequestTarget
hi cu uwe,
I've tried your mentioned method below to setResponsePage for keeping state
in BookmarkablePage.
But it doesn't work.
here is my implemented codes:
--
PageParameters oParam=new PageParameters();
oParam.add(product_oid,String.valueOf(oProduct.getOid()));
DetailProduct targetPage=new
Hi,
I know these is not a reply sorry for that.
How do i post to nabble wicket user.
Can anyone guide
I have searched google / nabble but no mention of method to post question
Thanks
--
View this message in context:
Hi mark,
i dont have sample code am very new to wicket.
my requirement is that i think like option A
i have a xml file which has first name,last name and middle name
supose my wicket page is Data.java which should get first and last name from
xml file
now my Data.html markup file to show the
So is the XML replacing a database? Or is it meant more like
internationalization?
Regards,
Linda
Gerald Fernando wrote:
Hi mark,
i dont have sample code am very new to wicket.
my requirement is that i think like option A
i have a xml file which has first name,last name and middle name
our database data comes as xml file.
How do i display it in client side using wicket
On Wed, Jul 8, 2009 at 3:18 PM, Linda van der Pal
lvd...@heritageagenturen.nl wrote:
So is the XML replacing a database? Or is it meant more like
internationalization?
Regards,
Linda
Gerald Fernando
Have we fixed this? I'm getting the same error.
On Wed, Jun 17, 2009 at 3:00 PM, Stefan Lindnerlind...@visionet.de wrote:
The problem occurs when I klicked around on a page an then deploy a new
version of the app.
When I klick on a page link now then the error occurs. In former trunk
This issue will be fixed in 1.4-rc7 release:
http://issues.apache.org/jira/browse/WICKET-2346
homar70 wrote:
Hi,
After upgrading from rc4 to rc6 I'm getting PageExpiredExceptions
splashing out after clicking on not bookmarkable link at
session-timeouts and after server restarts.
First of all create a parser for the XML, I'm not very experienced in
Wicket, but I haven't heard of any Wicket object that does this for you.
Then create a repeater backed by a model that contains the data you just
got from the parser.
If you haven't done so yet, I can advise you to read
i think in trunk it should be fixed.
On Wed, Jul 8, 2009 at 13:20, James Carman jcar...@carmanconsulting.comwrote:
Have we fixed this? I'm getting the same error.
On Wed, Jun 17, 2009 at 3:00 PM, Stefan Lindnerlind...@visionet.de
wrote:
The problem occurs when I klicked around on a page
Yeah, there was a message that just sent out about it. It's
WICKET-2346. When can we expect a new release? This is a nasty bug
in our production environment (yes, I know I shouldn't be using an rc
in production, but we didn't want to have to change the code to
genericize it after an official
Peter Thomas wrote:
On Tue, Jul 7, 2009 at 2:08 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
http://docs.codehaus.org/display/JETTY/JNDI
-igor
On Mon, Jul 6, 2009 at 1:22 PM, Petr Fejfarpetr.fej...@gmail.com wrote:
Hi all,
When I've started learning Wicket, I followed
The onchange is only triggered when you type and then go onblur. Check
onkeypress, onkeydown, onkeyup
--
View this message in context:
http://www.nabble.com/setting-value-in-TextField-with-ajax-fails-after-field-had-error-tp24385756p24390652.html
Sent from the Wicket - User mailing list archive
Yes.
1. Loading the xml into java is a separate problem
2. Displaying the rows in a wicket table is a separate problem for
which you can find multiple copy-paste examples here:
http://wicketstuff.org/wicket13/repeater/
**
Martin
2009/7/8 Linda van der Pal lvd...@heritageagenturen.nl:
First of
It is stated on top of the nabble page. You must subscribe to the mailing
list for this. Afterwards you just send an email to users@wicket.apache.org
to post a new question.
--
View this message in context:
http://www.nabble.com/Going-back-to-a-previous-URL--tp19254601p24390934.html
Sent from
Looking at your datepattern you should be using LocalDate instead of
DateTime, as you don't have a time or a timezone anyway. IMVHO this should
solve all your problems.
--
View this message in context:
http://www.nabble.com/Converter-Problem-tp24378227p24391721.html
Sent from the Wicket - User
This page worked in Wicket 1.3.6, but for some reason it's not working
in 1.4RC6 - I'm getting a NoSuchMethodError with the following output:
java.lang.NoSuchMethodError:
org.liberatio.pages.FileTransferPage.add([Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer;
at
Are you getting the error at compile time or runtime? 1.3.6 and
1.4-rc6 are not necessarily compatible at compile-time. You might have
to refactor.
**
Martin
2009/7/8 Joshua Martin josmar52...@gmail.com:
This page worked in Wicket 1.3.6, but for some reason it's not working
in 1.4RC6 - I'm
Runtime...
On Wed, Jul 8, 2009 at 10:44 AM, Martin
Makundimartin.maku...@koodaripalvelut.com wrote:
Are you getting the error at compile time or runtime? 1.3.6 and
1.4-rc6 are not necessarily compatible at compile-time. You might have
to refactor.
**
Martin
2009/7/8 Joshua Martin
The DateTime I was referring to is in the
org.apache.wicket.datetime.DateConverter class, so I have no way of
modifying it. Any other ideas?
Stijn Maller wrote:
Looking at your datepattern you should be using LocalDate instead of
DateTime, as you don't have a time or a timezone anyway.
The DateTime I was referring to is in the
org.apache.wicket.datetime.DateConverter class, so I have no way of
modifying it. Any other ideas?
Stijn Maller wrote:
Looking at your datepattern you should be using LocalDate instead of
DateTime, as you don't have a time or a timezone anyway.
That's gotta be one of the dumbest mistakes I've ever made! Simply did
a Clean and Build in NetBeans and it redeployed perfectly!
My apologies for wasting your time...
--
_
Joshua S. Martin
-
It wasn't much time. :) No worries.
On Wed, Jul 8, 2009 at 11:11 AM, Joshua Martinjosmar52...@gmail.com wrote:
That's gotta be one of the dumbest mistakes I've ever made! Simply did
a Clean and Build in NetBeans and it redeployed perfectly!
My apologies for wasting your time...
--
you can always build your own jar from trunk
-igor
On Wed, Jul 8, 2009 at 4:43 AM, James
Carmanjcar...@carmanconsulting.com wrote:
Yeah, there was a message that just sent out about it. It's
WICKET-2346. When can we expect a new release? This is a nasty bug
in our production environment
Yeah, we could, but then I'd have to make up a new version number for
it, since the release plugin doesn't allow SNAPSHOT dependencies. If
you guys are going to have rc7 out the door soon, I can just wait.
The rc4 release works just fine.
On Wed, Jul 8, 2009 at 11:38 AM, Igor
On Thu, Jul 2, 2009 at 2:43 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
you can attach the behavior to a container around the panels, just a
simple webmarkupcontainer should do.
Thanks for the reply Igor. I could not test it yet.
I'll test it and then write I'll write what happened.
When will Wicket 1.4 be compatible with Swarm/Wasp?
--
_
Joshua S. Martin
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
I am trying to get my logging configured for a Wicket application. I am
using SLF4J and LOG4J. I have configured two appenders (Console and
File). I am noticing that all Wicket rendering statements are going to
my log file (INFO, DEBUG, etc). This is not desirable. How do I turn
this off? Thanks.
Hi Joshua / List,
For our project, I have ported wicket-security to 1.4 based on the
code of Maurice found at:
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/branches/wicket-security-1.4-earlyaccess/
And
I am going through wicket as possible framework for a project.
One of my requirements is
1) lot of Database query using hibernate/ibatis/jdbc
2) Each query will return atleast 100 - 120 rows which i can view using
Repeater dataview /datagrid class
3) Do i need to hard code my HTML files for
use datatable
-igor
On Wed, Jul 8, 2009 at 11:28 AM, Sridhar Rsfu...@yahoo.com wrote:
I am going through wicket as possible framework for a project.
One of my requirements is
1) lot of Database query using hibernate/ibatis/jdbc
2) Each query will return atleast 100 - 120 rows which i can
Have a look at inmethod grid and its datasource interfaces. I use it in one
of my projects to display JPA queries and it works great.Features include
sorting, and inline editing.
--
Marc Nuri
Did you check http://www.wicketstuff.org/wicket13/repeater ?
See the source code (upper right corner of page)
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
Hi,
Please vote for:
Source root's non-class files not included on Auto deploy
http://www.netbeans.org/issues/show_bug.cgi?id=145666
Unnecessary redeploys by deploy on save
http://www.netbeans.org/issues/showvotes.cgi?issue_id=15
The Wicket plugin can be found here
@Martijn, did came up with a solution to this. I'll be glad to hear it.
Thanks
Per Lundholm wrote:
Oh, that is a good one.
You could make it a modal window. After a while that window (I assume)
would get to contain more and more settings. Then all of a sudden, the
last setting you
@Martijn, did you came up with a solution to this. I'll be glad to hear it.
Juan Carlos Garcia M. wrote:
@Martijn, did came up with a solution to this. I'll be glad to hear it.
Thanks
Per Lundholm wrote:
Oh, that is a good one.
You could make it a modal window. After a while
Marc Nuri (GMail) wrote:
Have a look at inmethod grid and its datasource interfaces. I use it in
one
of my projects to display JPA queries and it works great.Features include
sorting, and inline editing.
--
Marc Nuri
where can i find that component. www.inmethod.com is showing
http://www.nabble.com/inmethod---grid-website--td20086965.html
On Wed, Jul 8, 2009 at 8:57 PM, sfunds sfu...@yahoo.com wrote:
Marc Nuri (GMail) wrote:
Have a look at inmethod grid and its datasource interfaces. I use it in
one
of my projects to display JPA queries and it works
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-core/inmethod-grid-parent/
-igor
On Wed, Jul 8, 2009 at 11:57 AM, sfundssfu...@yahoo.com wrote:
Marc Nuri (GMail) wrote:
Have a look at inmethod grid and its datasource interfaces. I use it in
one
of my
Dont share models between pages if possible.
This is also a problem if 1 or both of them is serialized and then
read back in, then you suddenly have 2 instances because pages are not
serialized as one thing.
On 03/07/2009, Martijn Dashorst martijn.dasho...@gmail.com wrote:
In our apps we
The hack is awful
Just have a detachable model that holds on first render the defaults
then when a submit is done populate the object (another) that you want
On 07/07/2009, Martin Makundi martin.maku...@koodaripalvelut.com wrote:
The hack is cleaner
2009/7/7 James Carman
Hi all,
I've successfully pointed to DateTimeField which days I want the
calendar to have enabled.
@SuppressWarnings(unchecked) @Override protected void configure(Map
widgetProperties) {
super.configure(widgetProperties);
Date minDate = new DateTime().plusDays(1).toDate();
thanks for the tip. Is there some way to solve what I commented?
On Wed, Jul 8, 2009 at 1:25 PM, John Krasnay j...@krasnay.ca wrote:
On Wed, Jul 08, 2009 at 01:16:19PM -0700, Fernando Wermus wrote:
Date minDate = new DateTime().plusDays(1).toDate();
SimpleDateFormat format =
http://logging.apache.org/log4j/1.2/manual.html
Hint: Setting your your root logger on WARN and explicitly lower the level
for specific loggers (eg your own classes) is easier than trying the
opposite.
log4j.rootLogger=WARN
log4j.logger.org.apache.wicket=INFO
Maarten
On Wed, Jul 8, 2009 at
I finally rewrite the DateField class, but I would like this were an
improvement.
/**
* Construct.
*
* @param id
* @param model
*/
public DateField(String id, IModel model)
{
super(id, model);
setType(Date.class);
PropertyModel
For what it's worth, I added the following Calendar code to the end of the
method, which fixed the problem, but I'm thinking there has to be a better
way to handle this.
public Date convertToObject(String value, Locale locale) {
final Pattern pattern = Pattern.compile(REGEX_PATTERN);
Thanks, Maarten. Richard
From: users-return-39497-richard.a.rowe=saic@wicket.apache.org on behalf of
Maarten Bosteels
Sent: Wed 7/8/2009 4:37 PM
To: users@wicket.apache.org
Subject: Re: Logging configuration for Wicket - Newbie
Hello.
I'm trying to open the contents of a file in a new window if the filepath
is specified. What is the best way to do this?
I can get the filepath in via PageParameters, I can use a panel to include
some JavaScript based upon if I get the filepath or not, but how do I get
the filepath
On Wed, Jul 8, 2009 at 1:29 PM, Mauro Ciancio maurocian...@gmail.comwrote:
Thanks for the reply Igor. I could not test it yet.
I'll test it and then write I'll write what happened.
It works pretty cool. Thanks for the advice!
--
Mauro Ciancio
Hi all wicket users!
I have a page parameter which is always rewritten in every page in entire
project pages.
I need a way to rewrite this page parameter to Login_page when the session's
expired.
Is it possible to do this?
Thanks in Advance,
Gloria Saripah Patara
@Override
protected IRequestCycleProcessor newRequestCycleProcessor() {
return new WebRequestCycleProcessor() {
@Override
protected Page onRuntimeException(final Page page, final
RuntimeException e) {
Which class should I override this method in?
Mathias Nilsson wrote:
@Override
protected IRequestCycleProcessor newRequestCycleProcessor() {
return new WebRequestCycleProcessor() {
@Override
protected Page
maybe a behavior
final AbstractDefaultAjaxBehavior behaviour = new
AbstractDefaultAjaxBehavior(){
@Override
protected void respond(AjaxRequestTarget target) {
}
@Override
The application class
--
View this message in context:
http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24404071.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi Joshua / List,
For our project, I have ported wicket-security to 1.4 based on the
code of Maurice found at:
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/branches/wicket-security-1.4-earlyaccess/
And
Hi,
I'm trying to implement a page containing a form and some links that
allow the user to change the current locale.
Unlike the example at
http://www.wicket-library.com/wicket-examples/forminput/ I do not want
the form values to be reset when the user changes the locale.
The first thing I
66 matches
Mail list logo