So It seems that you cannot control the order of page parameters for
bookmarkablepagelinks can this be true?
What I mean are that I would like to have and url something like this
(and remain stable that way):
mydom.com/mypage/cache/true/product/id , something like that it'll not
work for me
shetc schrieb:
The problem is that modifications to the object graph are not persisted to
the database even
though I assume Hibernate's automatic dirty checking would take care of it.
just guessing, but make sure that the second page (the modifing one)
does open a transaction. i don´t have a
Hi,
is there a way to implement reordering of rows in DatTable?
I'd like to add a column with moveUp,moveDown,remove having the same
behaviour as corresponging links of the ListView component.
I suppose DataTable should be set to model reusing with
setItemReuseStrategy(ReuseIfModelsEqualStrategy.
On Tue, 19 Aug 2008, tfu wrote:
> I agree the problem could be that the underlying model for the ListView is
> changed before it is rendered completely. So, the real solution is to
> prevent this from happening. Synchronization? Where? How?
It sounds like you could be better off using a more dynam
Ignore all this -- I made a very basic error in one of my Hibernate
mappings.:blush:
--
View this message in context:
http://www.nabble.com/Hibernate-automatic-dirty-checking-not-working-tp19060207p19061053.html
Sent from the Wicket - User mailing list archive at Nabble.com.
--
Shared resources do set some cache headers. But a forced reload should
do a new get. Is the getResourceStream() method hit in such a case?
On 8/19/08, Boris Goldowsky <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have some pages that reference images that are in files external to
> the web application an
Cemal,
I'm not sure where/how to force a ListView removeAll() in my case.
Overriding the Ajax timer behavior?
I agree the problem could be that the underlying model for the ListView is
changed before it is rendered completely. So, the real solution is to
prevent this from happening. Synchronizat
Tony,
On your ListView, try setReuseItems(true) and force a removeAll() ... Any
different?
It's seems like the number of elements in your ListView's model object (the
ArrayList mentioned in the stack trace) has changed (been reduced) by the
time the WMC is refreshed, and then the new "size" no l
Hi All,
I have a Wicket-based project that is using Spring & Hibernate to persist
data. I have followed the
examples set out in the "Wicket in Action" book. That is:
1) Use the Open Session in View pattern to get a Hibernate session per
request -- I am using the
Spring OpenSessionInViewFilte
Hi Cemal,
The populateItem method is just doing what it is supposed to do for a
ListView and nothing fancy. Moreover, my other ListViews are working just
fine. I suspect it is the AjaxSelfUpdatingTimerBehavior which is causing the
problem, but I don't know exactly the root of it and how to work a
tfu,
What does your populateItem implementation (conveniently dotted out ;-) look
like?
Are you looking for an element (with index = 23) in the ListView's backing
ArrayList that does not (no longer) exist(s).
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
tfu wrote:
>
> I'
Hi!
I've been having a blast sorting out my String resources the last couple of
days. Thanks for everyone's help. I am using Wicket in an OSGI environment
with modular "Blades" (these are not Wicket Components). In addition to the
root MyApplication.properties, I need to have a independent and
I'm using Wicket 1.3.2 and I got this weird exception.
-- source code
WebMarkupContainer result = new WebMarkupContainer("result");
result.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)));
ListView view = new ListView("connections", new PropertyModel(this,
"conn
Hi all,
I need to change the direction of the html file to rtl if the logged in
user's locale is arabic. I followed the method in this previous message
http://www.nabble.com/How-can-I-switch-page-direction-(LTR-RTL)--td13747743.html#a14025235
. It works fine, but I'm constantly getting the foll
On Tue, 19 Aug 2008, Erik van Oosten wrote:
> There is a big difference, the model variant will evaluate during the
> render phase. You can not use localization in the constructor of your
Well, this
new ResourceModel("my.resource.key").getObject().toString();
will of course evaluate right away
Sorry, please ignore my recent message. I found my mistake, and it had
nothing to do with Wicket. The image resources in question do get
properly refreshed.
Boris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
Hi,
I have some pages that reference images that are in files external to
the web application and I am serving the images via SharedResources like
so:
public class ExternalImageResource extends WebResource {
...
public IResourceStream getResourceStream() {
return new FileResourc
Landry,
My pleasure. Let's pass that credit on to where it's really due - the people
who provide the brains and hard work behind this framework, not to mention
all the support we all get here.
I have yet to introduce a serious Java/OO developer to Wicket who (after
spending an appropriate amoun
I tried the redirect ie setRedirect(true), it still does not show the
mountpath.
Michael Sparer wrote:
>
> Subclass form, override onSubmit, make it final, perform the redirect in
> there, offer another method to be overriden instead of onsubmit and use
> that form throughout your app
>
>
>
> you can however safely construct a ResourceModel
> (but not call getObject on it).
So, doing ResourceModel("key").getObject().getString() is really kind of
silly and defeats the whole purpose of the ResourceModel?
LBB
--
View this message in context:
http://www.nabble.com/ResourceModel-vs.-
On Tue, Aug 19, 2008 at 09:15:55AM -0400, John Krasnay wrote:
> On Mon, Aug 18, 2008 at 11:10:29PM +0200, Matej Knopp wrote:
> > Can't you just override isEnabled() on the inner form and return
> > true/false depending on whether the inner form should be processed?
> >
>
> Hrm, something like thi
>
> It's kind of an established standard that by default,
> outputMarkupId is false, so in 1.3 or 1.4 I don't see it
> could be changed. Later on, if the change is made, maybe it
> would be better to change the default for all Components and
> not just FeedbackPanel.
>
+1 from me. I don't see any
I guess the first error (see below) is not relevant as other projects
have
it, too.
Regarding the second error: Does anybody have an idea why wicketstuff-
prototype
makes the build fail?
I can see wicketstuff-prototype in the SVN repo but it is not listed on
http://wicketstuff.org/teamcity/o
On Mon, Aug 18, 2008 at 11:10:29PM +0200, Matej Knopp wrote:
> Can't you just override isEnabled() on the inner form and return
> true/false depending on whether the inner form should be processed?
>
Hrm, something like this I suppose?
public boolean isEnabled() {
return findFormSubmitting
Maybe my message caused misunderstandings. I was not complaining *that* the
book costs money. I just was curious why doing it the "old-style"
distribution way. Finally, Galileo-Computing also needs to make money to pay
their book authors.
Personally, I prefer reading a paper book over reading
Well, i've looked a bit into it and it turns out that this will not work.
Im trying to cache pages that *could* be statefull the only way to make
a rule for this are that the current page that links cachable pages do
it by giving a special url like "/cachable/mypage". If I try the header
appro
On 19.08.2008, at 12:45, Martijn Dashorst wrote:
On Tue, Aug 19, 2008 at 12:32 PM, Kaspar Fischer
<[EMAIL PROTECTED]> wrote:
When/how often are the Wicketstuff snapshots generated? I am using
Everytime the source code changes for the project, or when Wicket is
updated (depending on the confi
I bought it via the MEAP program through Manning. So, I guess I'll
shoot them a quick email. Thanks!
On Tue, Aug 19, 2008 at 2:09 AM, Martijn Dashorst
<[EMAIL PROTECTED]> wrote:
> On Tue, Aug 19, 2008 at 12:05 AM, James Carman
> <[EMAIL PROTECTED]> wrote:
>> I never did receive my email telling
I'm doing drag and drop operations with an implementation of
org.apache.wicket.markup.html.tree.BaseTree. For the drop event I call
...
dropNode.add(dragNode);
tree.repaint(target);
...
However I get an IllegalStateException when processing the ajax request (in
detach(RequestCycle)) because so
I have been following the progress of the book via MEAP and it helped
me a lot in my progress. Unfortunately, the place i work is leaning
towards ADF (JSF), but i use Wicket for my spare time projects and
love it so far. Thanks for the book and the project.
about the a free pdf version: i must agr
On Tue, Aug 19, 2008 at 12:32 PM, Kaspar Fischer <[EMAIL PROTECTED]> wrote:
> When/how often are the Wicketstuff snapshots generated? I am using
Everytime the source code changes for the project, or when Wicket is
updated (depending on the configuration of the projects in Teamcity
(http://wicketst
yes good point.
On Tue, Aug 19, 2008 at 12:31 PM, Martijn Dashorst <
[EMAIL PROTECTED]> wrote:
> I think it is a nice *not* to have. If head sections were included
> automatically, there is no way to distinguish between stuff that is
> there for design purposes and runtime purposes.
>
> Martijn
When/how often are the Wicketstuff snapshots generated? I am using
org.wicketstuff
wicketstuff-scriptaculous
1.4-SNAPSHOT
in my pom.xml but get
java.lang.NoSuchMethodError:
org
.wicketstuff
.scriptaculous.dragdrop.SortableListView.getModelObject()Ljava/lang/
I think it is a nice *not* to have. If head sections were included
automatically, there is no way to distinguish between stuff that is
there for design purposes and runtime purposes.
Martijn
On Tue, Aug 19, 2008 at 12:28 PM, Wayne Pope
<[EMAIL PROTECTED]> wrote:
> :-) that might be it!
>
> Its a
:-) that might be it!
Its a none issue really, just would be 'nice to have'
On Tue, Aug 19, 2008 at 12:19 PM, Martijn Dashorst <
[EMAIL PROTECTED]> wrote:
> There is the slight possibility that the wiki is inaccurate.
>
> Martijn
>
> On Tue, Aug 19, 2008 at 11:52 AM, Wayne Pope
> <[EMAIL PROTECT
On 19.08.2008, at 12:03, Matej Knopp wrote:
Hi,
This is caused by the fact that component border is rendered
after/before behaviors. We can't really change this for 1.3 because it
could break existing applications. I have changed the rendering order
in trunk (1.4) though.
-Matej
Great! Than
There is the slight possibility that the wiki is inaccurate.
Martijn
On Tue, Aug 19, 2008 at 11:52 AM, Wayne Pope
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just wanted to check I'm not alone on this, before going to the dev group.
> I've created a simple base page and markup and using market inherit
Hehe no completely true.. But it does generate more output.. However
dosent matter much for me what the default are.. as long as I can set a
property to control it:)
Matej Knopp wrote:
Just making feedback panel write markup id doesn't mean your
application has to be all ajaxy...
-Matej
On T
Hi,
This is caused by the fact that component border is rendered
after/before behaviors. We can't really change this for 1.3 because it
could break existing applications. I have changed the rendering order
in trunk (1.4) though.
-Matej
On Mon, Aug 18, 2008 at 3:36 PM, Kaspar Fischer <[EMAIL PROT
Hi,
I just wanted to check I'm not alone on this, before going to the dev group.
I've created a simple base page and markup and using market inheritance I
have a child page with the content.
This worsd fine, except that Wicket does not interprets as
automatically in the child page - as stated o
Just making feedback panel write markup id doesn't mean your
application has to be all ajaxy...
-Matej
On Tue, Aug 19, 2008 at 8:25 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> I still for one try to get ajax away for public(unauthorized) parts, for
> seo and caching pur
Though we don't expect to become rich from this book, you *really*
don't have any idea what personal sacrifices Eelco and I have given to
make this book happen. If we get enough money to go on a weeks
vacation with our wives that would be exceeding my expectations, and
barely do justice to what we
On Tue, Aug 19, 2008 at 4:33 PM, Thomas Singer <[EMAIL PROTECTED]> wrote:
> Just curious: why don't you make the full e-book available for free and
> charge only for the paper version? This works fine with the German Java book
> "Java ist auch eine Insel" and many others from the same publisher:
B
Please ignore this, I am being stupid. getRequestCycle() is not available
from the session, I had (auto)created that method in my class by mistake...
On Tue, Aug 19, 2008 at 10:28 AM, Wayne Pope <
[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've got a problem that I have no idea how to fix. I'm using
> I
Just curious: why don't you make the full e-book available for free and
charge only for the paper version? This works fine with the German Java book
"Java ist auch eine Insel" and many others from the same publisher:
http://www.galileocomputing.de/openbook/javainsel7/
--
Cheers,
Tom
Martijn
Hi,
I've got a problem that I have no idea how to fix. I'm using
IAuthorizationStrategy to authenticate the users of my application.
However on the first request to the server (WebRequest)getRequestCycle()
returns null all the time, so I therefore cannot get an cookies (which I
want). This is a re
Thanks a lot Cemal, you rock !
And please don't blame me for the dumbness of my questions ;-)
Thanks again
Best regards
Landry
2008/8/19 jWeekend <[EMAIL PROTECTED]>
>
> Landry,
>
> Component has a replaceComponentTagBody(markupStream, openTag, content)
> method.
>
> Regards - Cemal
> http
I talked a bit on IRC on this. And got suggested to use headers instead.
So this might be a viable option and much much simpler! I'll look into
it and see how it works out.
Nino Saturnino Martinez Vazquez Wael wrote:
Hi
I've been fighting a bit with making a EncodingStrategy that can
prepend
There is a big difference, the model variant will evaluate during the
render phase. You can not use localization in the constructor of your
component, you can however safely construct a ResourceModel (but not
call getObject on it).
In general, I would use localizer when you need direct access to a
Landry,
Component has a replaceComponentTagBody(markupStream, openTag, content)
method.
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
landry soules wrote:
>
> Thanks a lot for your answer, Cemal, my first problem is solved !
> For the second one, i can get the content, th
Hi
I just wanted to remind you that IWUG (International wicket user group)
are getting closer it would be really great to have other speakers that
me, me and Martjin Dashorst. So please go to the meetup page and ad
yourself along with an topic:) Otherwise just add yourself so we can see
the i
Thanks a lot for your answer, Cemal, my first problem is solved !
For the second one, i can get the content, thanks to your explanation, but
can't figure out how to modify it before it's displayed.
Here is what i do :
add(new Include("stat",
"http://myurl";) {
p
Thanks a lot, Timo, for the advice. With your suggestion I got it
working without problems.
Kaspar
--
add(imageDiv.add(new AjaxEventBehavior("onmouseover")
{
private boolean called;
@Override
protected void onEvent(AjaxRequestTarget target)
{
// Show
53 matches
Mail list logo