On 7/11/07, David Leangen [EMAIL PROTECTED] wrote:
Excellent! Thank you, this did indeed solve the problem and seems like a
reasonable temporary workaround.
I really must try to fix my setup so I can step through the wicket code
during debugging... :-(
mvn eclipse:eclipse
ok the error goes away when i remove the img.../ and i am using wicket
1.2.4
On 7/11/07, Juergen Donnerstag [EMAIL PROTECTED] wrote:
From the javadoc
/**
* The AutoLinkResolver is responsible to handle automatic link resolution.
Tags
* are marked autolink by the MarkupParser for all tags
Thanks for the contribution Logi. Could you please open a JIRA issue for it?
Thanks,
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your
Actually we have gone completely Ajax for the grid, so i have no idea
what problems you are going to run into when using forms, especially
in combination with a moving editor. our grid was based on a listview
using wicket 1.2.6 but 1.3 might have better alternatives.
Maurice
On 7/11/07, Eelco
I really must try to fix my setup so I can step through the wicket code
during debugging... :-(
mvn eclipse:eclipse -DdownloadSources=true
or
mvn idea:idea -DdownloadSources=true
And start your application in the debugger.
Thanks for the tip, Martijn, I wish it were that simple.
The only drawback with my particular setup is that I need to actually
create a bundle for the source and place it also in the target platform.
That's too much work for a lazy person like me. ;-)
I bet you could have done that in the time you wrote these replies!
*cracks the whip* :)
Eelco
I have exactly the same problem and I am using wicket 1.2.6. I am certain
that the htc file has been copied.
If I include gif/css files, it is OK. And by look in http message, it is
as follows:
GET /mytest/nested/resources/wicket.examples.nested.MenuPanel/menupanel.css
GET
I bet you could have done that in the time you wrote these replies!
*cracks the whip* :)
He he... you're probably right. And all the time I've spent asking other
stupid questions, too. ;-)
Eelco, how have your experiments with OSGi been coming along?
Will that be included in your book?
Is there an elegant way to do the opposite of what the AuthorizeAction
annotation was intended for?
I have an unregister function that any user _except_ the admin user
should be able to use. If the admin unregisters, I'm f*.
Essentially, I'd really like to be able to do something like
Hi Johan
It is the same key and it is being called with the same component instance
everytime.
There are no locale added to the key.
/Murat
2007/7/10, Johan Compagner [EMAIL PROTECTED]:
is the string key 3 time exactly the same?
or is the locale added to it and then stripped down?
On
I have do some further tests. This is the content of my original CSS file:
body {background: #EEE; color: #000;
behavior: url(csshover.htc);} /* WinIE behavior call */
ul.menu1 li.submenu li.submenu {background: url(submenu.gif) 95% 50%
no-repeat;}
1)If I change like this (Just for test):
It's probably a bug (or intended behavior) if IE. Wicket can't really
control the http request the browser makes to get the .htc file.
-Matej
On 7/11/07, rc.china [EMAIL PROTECTED] wrote:
I have do some further tests. This is the content of my original CSS file:
body {background: #EEE; color:
On 7/11/07, Ali Sakebi [EMAIL PROTECTED] wrote:
Thanks for all responses and sorry if my question was irrelevant or wrong.
Not wrong nor irrelevant, but we do get a lot of questions that are
easily answered by searching the mailinglists, or just clicking on our
site.
There is a lot of bad
add an issue to jira with a quickstart case
On 7/11/07, Murat Yücel [EMAIL PROTECTED] wrote:
Hi Johan
It is the same key and it is being called with the same component instance
everytime.
There are no locale added to the key.
/Murat
2007/7/10, Johan Compagner [EMAIL PROTECTED]:
is the
Hi!
After I had some chit-chat ;-) with Almaw today already on IRC I still am
looking for a solution fot the following problem:
Consider the following Form:
form
input name=description type=text value= / (required=true)
---
ListView:
n times input name=images type=text value=xy/
input
I have a wicket ID that displays a name. My wicket class adds a label
component with the appropriate name. I use that name in the markup in
the body and it works fine. I now wish to, additionally, use that name
in the title tag so that the name appears in the caption of the
browser but... wicket
Hi,
update on this topic:
I've found a workaround to update the ListViews childrens Models by walking the
Components below ListView with an IVisitor and do a updateModel() on all
FormComponents.
The question remains, if there's a way to do this without updating the Model?
Best regards, ---
On 7/11/07, Chris Colman [EMAIL PROTECTED] wrote:
Does this mean that I can't use the same component value more than once
within a single page/component?
Yes, or you need to resort to RepeatingView, ListView and its descendants.
Is there a way to turn off reporting of this as an error? Is it
Note also that it /is/ possible to use a Model instance from more then 1
component.
Erik.
Martijn Dashorst wrote:
On 7/11/07, Chris Colman [EMAIL PROTECTED] wrote:
Does this mean that I can't use the same component value more than once
within a single page/component?
Yes, or you
Hi Johan
I have created a jira but i have closed it again.
https://issues.apache.org/jira/browse/WICKET-742
The IStringResourceLoader was only called 3 times if debug was enabled. No
problem when running in a deployment environment.
This method was triggering the 3 calls
yeah, I saw that which is great. The problem is still getting the
environment set up so that spring, et. al, can find everything it needs to
initialize the application context. I figured it out yesterday and am
writing up a blog entry on it now.
On 7/10/07, Ingram Chen [EMAIL PROTECTED] wrote:
Here it is warts and all: http://www.antwerkz.com/wp/?p=1026
On 7/11/07, Evan Chooly [EMAIL PROTECTED] wrote:
yeah, I saw that which is great. The problem is still getting the
environment set up so that spring, et. al, can find everything it needs to
initialize the application context. I
could please check it against 1.3 trunk. ALR has been changed in 1.3
quite a lot.
It seems that you are using the very same Panel instance more than
once. What happens if you remove img and add e.g. a Label. Do you
get a similar exception?
Juergen
On 7/11/07, Ayodeji Aladejebi [EMAIL PROTECTED]
if you enable listview.reuseitems(true) your values should stick. make
addbutton.defaultformprocessing(false).
the idea here is that reuseitems will cause the comeponentpath of textfields
not change - which will cause their name attribute not to change also -
which will cause them to pick up the
why is that triggering 3 times? what is the difference? the log statement?
On 7/11/07, Murat Yücel [EMAIL PROTECTED] wrote:
Hi Johan
I have created a jira but i have closed it again.
https://issues.apache.org/jira/browse/WICKET-742
The IStringResourceLoader was only called 3 times if debug
On 7/11/07, Johan Compagner [EMAIL PROTECTED] wrote:
why is that triggering 3 times? what is the difference? the log statement?
public String toString()
{
return getString();
}
-
This
Is there a way to turn off reporting of this as an error? Is it really
an error to bind to a component more than once in a markup unit?
Yes it is an error to bind a component *instance* more than once.
Though you can turn that off (and is turned off in deployment mode):
IMHO, because data are not managed (calculated/updated) by your application,
you could :
* refresh Service from RDBMS when reports are submitted, but in this case you
forgot unsaved modification into Service (maybe you could do a partial refresh
if you extract computed property into an
Hi.
How can I read http header from a subclass of WebPage?
In javax.servlet.http.HttpServlet I could get http header from
javax.servlet.http.HttpServletRequest.getHeader(headerName)
wicket.Request doesn't have similar method. And I can't find another way to
do it.
--
Goran
--
View this
((webrequest)getrequest()).gethttpservletrequest()
-igor
On 7/11/07, Goran Novak [EMAIL PROTECTED] wrote:
Hi.
How can I read http header from a subclass of WebPage?
In javax.servlet.http.HttpServlet I could get http header from
javax.servlet.http.HttpServletRequest.getHeader(headerName)
Is there another example somewhere besides the one that extends
WebApplication? I'd like to encapsulate all of this into a simple object
that took a Page and some params, and I imagine WicketTester is the way to
get that done. I just can't seem to get rendered HTML into the
StringResponse...
i dont think you can, because we really depend on one to onw mapping
currently, but i gues juergen knows more on that (for example markup
index)
On 7/11/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Is there a way to turn off reporting of this as an error? Is it really
an error to bind to a
On 7/11/07, Johan Compagner [EMAIL PROTECTED] wrote:
i dont think you can, because we really depend on one to onw mapping
currently, but i gues juergen knows more on that (for example markup
index)
Yes you can.
Index:
* Watter:
1) I realized that ContextLoader which is the reported as the
classloader when I do a Session.class.getClassloader() right
before the error occurs is actually a Spring class. For some
reason I was thinking that it was a standard Java class
loader. I am using
I can get it to fire from within my app's main WebApplication, but how can I
get at the render String of HTML from outside of WebApplication. ie, in a
Page or Panel that doesn't have access to the mounted
URIRequestTargetUrlCodingStrategy? This is where I thought WicketTester
would come into
* Tremelune:
I'm having a great deal of trouble getting this to fire. How does one
accomplish this in the middle of, say, some run-of-the-mill Wicket page? If
I do something like this, I get an error that /pages has already been
mounted (which it has, during my app's initialization). I also
Jean-Baptiste Quenot-3 wrote:
* Watter:
1) I realized that ContextLoader which is the reported as the
classloader when I do a Session.class.getClassloader() right
before the error occurs is actually a Spring class. For some
reason I was thinking that it was a standard
David,
Thanks for the feedback. At first I thought the formula hibernate
feature was very handy, but now that I'm seeing the drawbacks to it, I
think I'm going to dump it. I think I'll add the actual jdbc logic to
getCountReports, getAvgQuestion1, etc. In the long run, that should
be easier to
There we go. I've pretty much got this, thanks to everyone. Here's a helper
class I drummed up--It's not fully tested, doesn't handle both HTML text,
and doesn't take parameters yet. I'll try and post a new thread (maybe even
on the wiki?) when I get those details hashed out. For now, this is a
On 7/11/07, Tremelune [EMAIL PROTECTED] wrote:
There we go. I've pretty much got this, thanks to everyone. Here's a helper
class I drummed up--It's not fully tested, doesn't handle both HTML text,
and doesn't take parameters yet. I'll try and post a new thread (maybe even
on the wiki?) when
Unless I was dreaming this the other night I swear someone announced that
they created a wicket stuff project that added form validation based on JPA
annotations of a domain model? Was I dreaming, if not I can't seem to find
the project in wicket stuff.
Thanks
Craig
--
View this message in
I recently went from 1.3-snapshot to 1.3-beta2 and the following line of code
now won't compile:
addComponentInstantiationListener(new SpringComponentInjector(this));
I'm sure there is a simple solution to this, but I've sniffed around this
forum and looked for clues in the 1.3-beta2 source
Hi,
On the features page of the wicket webpage, there is some indication
that a stateless, client side wicket will appear at some point. i guess
eliminating the session usage that typically occurs with wicket. Could
someone elaborate on how this will be accoomplished, and if this is a
1.3
This might be caused by a missing wicket-ioc JAR in your project. I think
sometime between before beta2, a new IOC project was introduced. If you're
compiling from SVN, this should be another project directory.
On 7/11/07, Tremelune [EMAIL PROTECTED] wrote:
I recently went from
Bingo, thanks. I'll add that to my mavenization...That threw me for a loop!
This might be caused by a missing wicket-ioc JAR in your project. I think
sometime between before beta2, a new IOC project was introduced. If you're
compiling from SVN, this should be another project directory.
--
On 7/11/07, Tremelune [EMAIL PROTECTED] wrote:
Bingo, thanks. I'll add that to my mavenization...That threw me for a
loop!
you dont need to reference it directly in your pom, its transient from
wicket-spring - just need to rebuild your project with mvn eclipse:eclipse
-igor
This might
Has anyone made heavy use of this project yet? Any issues or concerns?
-Craig
igor.vaynberg wrote:
http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/
-igor
On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:
Unless I was dreaming this the
Yes that is correct Eelco. The toString method is called getString, which
will fetch the
i18n message again. I havent looked at why the magic number is three instead
of two,
but it doesnt matter as long as the feature isnt a bug :)
2007/7/11, Eelco Hillenius [EMAIL PROTECTED]:
On 7/11/07,
On 7/11/07, Johan Compagner [EMAIL PROTECTED] wrote:
i dont think you can, because we really depend on one to onw mapping
currently, but i gues juergen knows more on that (for example markup
index)
Yes you can.
body
span wicket:id=mainNavigation/
span wicket:id=message
Yes that is correct Eelco. The toString method is called getString, which
will fetch the
i18n message again. I havent looked at why the magic number is three instead
of two,
but it doesnt matter as long as the feature isnt a bug :)
My reply was actually to point out to Johan what caused
Interesting topic. After reading a few posts talking about the merits of
replacing panels and whatnot, I decided to try to develop an application
that has one page and essentially ALL requests will be AJAX based. I
thought it would be interesting to try to create a webapp that functions as
I may be biased, but i'm using these annotations on a production/live site
and they've made my life easier. no more hibernate exceptions bubbling up
to the screen because a field was left blank.
On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:
Has anyone made heavy use of this project yet?
Jean-Baptiste Quenot-3 wrote:
* Watter:
1) I realized that ContextLoader which is the reported as the
classloader when I do a Session.class.getClassloader() right
before the error occurs is actually a Spring class. For some
reason I was thinking that it was a standard
Fair enough Ryan, but one question for you.
Does this only work with the @Length and @NotNull annotations or does it
also work with the attributes of the @Column annotation (nullable and
length)?
Thanks
Craig
Ryan Sonnek-2 wrote:
I may be biased, but i'm using these annotations on a
Watter wrote:
Jean-Baptiste Quenot-3 wrote:
* Watter:
1) I realized that ContextLoader which is the reported as the
classloader when I do a Session.class.getClassloader() right
before the error occurs is actually a Spring class. For some
reason I was thinking that it
Hello Ayodeji Aladejebi and all,
Please help me the regarding below feature.
thanking you
Regards
edi
Edi wrote:
Thank you for all valuable solutions,
Consider I have one xls file with lot of data. How can I paginate that
xls file and Search the particular column data in the document
ok... i will take a look for it..
thanks . Have a nice day ;)
Juergen Donnerstag wrote:
wicket wiki is good source for information:
http://cwiki.apache.org/WICKET/migrate-13.html
Juergen
On 7/11/07, kenixwong [EMAIL PROTECTED] wrote:
hi,
any impact if i ugrade from wicket 1.2.4
I have the same case where I wanted to customize the navigation toolbar to
add few action menu items as well. So I have written my own version of
AjaxFallbackCustomDataTable by just copying the AjaxFallbackDefaultDataTable
code in to my package and renaming. There I have commented all addition of
58 matches
Mail list logo