I've got a couple of questions regarding models and state between
pages when using AbstractDetachableModel.
I want to do a simple CRUD of en entity called Circulars.
I begin with a ListCircularsPage wich uses a DefaultDataTable with a
CircularProvider I've written. The provider uses an
Sure!
public class ShowCircularPage extends BasePage {
private Page backPage;
public ShowCircularPage(Page backPage, long circularId) {
this.backPage = backPage;
DetachableCircularModel model = new
DetachableCircularModel(circularId, getCircularDao());
On 1/27/06, Johan Compagner [EMAIL PROTECTED] wrote:
If I start over and do:
circular (displays the list)
edit -
circular?path=1 (displays show view)
edit -
circular?path=2 (displays edit view)
save -
circular?path=1 (displays the same show view as before and NOT updated)
why
Correct! Thanks a million. I must say that the model abstraction gets
me confused from time to time. :) It works as expected now.
/Mats
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop!
Hi,
I've got a question regarding forms.
I'm trying to build a view containing a search form, a searchresult
table and a selection table.
The idea is that a user can add and remove rows from the selection
table by clicking on a checkbox on each listitem.
The user can also make a search which
I'm trying to use a checkbox in a nested ListView, and I'm having
trouble updating the selection.
I tried the wrapper example in the wiki but it didn't work:
http://www.wicket-wiki.org.uk/wiki/index.php/Listview_with_checkboxes_in_a_form
I'm using wicket 1.2 from february.
Any suggestions?
My
/06, Mats Norén [EMAIL PROTECTED] wrote:
On 2/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
try the Check/CheckGroup components. they make it really easy to work
with
listviews, and no wrappers necessary. i believe there is an example of
it
working with a listview
)));
}
});
Is this the problem? (you had getModel( ) in your code)
I remember having a nested list like yours and it worked.
Do you have an example?
- karthik
On 2/10/06, Mats Norén [EMAIL PROTECTED] wrote:
On 2/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
try the Check/CheckGroup components. they make it really
Are there any thoughts about using generics?
On 2/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Yep, that's it. Instead of passing your domain object directly, you
might consider putting it behind a IModel instance:
public class HeaderPanel extends Panel
{
public HeaderPanel(String
Thanks!
On 2/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
It's mentioned here:
http://wicket-wiki.org.uk/wiki/index.php/Listviews_in_a_form
Eelco
On 2/10/06, Mats Norén [EMAIL PROTECTED] wrote:
On 2/10/06, karthik Guru [EMAIL PROTECTED] wrote:
// Just create a new table, which
I saw that there is an autocompleting TextField in the scriptaculous
examples at wicket-stuff. Is this the prefered way of doing it in
1.2? Or is it a behaviour one should use somehow?
/Mats
---
This SF.net email is sponsored by: Splunk Inc.
Hi,
I'm looking into adding a navMenu to my application and was wondering
if there are any existing solutions out there.
What I'm interested in is a two level tabbed page navigation.
Any pointers?
/Mats
---
This SF.net email is sponsored by:
Thanks, I'll take a look at it.
On 2/15/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
there is a tabbed panel in wicket-extensions. its not really a navigation
tool, just a tabbed panel :)
maybe that will help.
-Igor
On 2/15/06, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
I'm looking
?
On 2/15/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
And there's wicket-contrib-navmenu you might want to take a look at.
Eelco
On 2/15/06, Mats Norén [EMAIL PROTECTED] wrote:
Thanks, I'll take a look at it.
On 2/15/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
there is a tabbed panel
Hi,
I've upgraded from CVS today and got this error:
java.lang.NoSuchMethodError: wicket.PageMap.getAccessStack()Ljava/util/Stack
If my memory serves me right I saw somewhere that this method was altered?
I'm using wicket-spring as well, does that have something to do with it?
Stacktrace
1. Give me the constructor change and the Java 5 functionality in one
pass (Wicket 2.0)
+1
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
look at the source code you do see that method?
johan
On 2/17/06, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
I've upgraded from CVS today and got this error:
java.lang.NoSuchMethodError:
wicket.PageMap.getAccessStack()Ljava/util/Stack
If my memory serves me right I saw somewhere
Stupid question,
but is it possible to remove the actual span-tags from the output?
getMarkupSettings().setStripWicketTags(true);
removes the wicket:ids and the other wicket tags, but is it possible
to remove the span tags for a label?
My output looks almost like the font hell from early
:
Mats Norén wrote:
Stupid question,
but is it possible to remove the actual span-tags from the output?
getMarkupSettings().setStripWicketTags(true);
removes the wicket:ids and the other wicket tags, but is it possible
to remove the span tags for a label?
My output looks almost like
yours since ids wont match, etc.
you can copy the code if you want, but then you wont benefit from bug fixes,
etc.
you have to choose whichever path you think is best for your case.
-Igor
On 2/15/06, Mats Norén [EMAIL PROTECTED] wrote:
I liked the wicket-contrib-navmenu. :)
I just have
On 2/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
It is not weird in my opinion to have it leave the span tag. By leaving it
in there, you maintain previewability between your rendered output and the
actual template.
Agreed, it's a valid point. My beef with the span tags are more the
fact
Has anyone else had any trouble with debugging their wicket apps with
Intellij5.1 and Tomcat5?
I keep getting messages Invalid breakpoint. Source code changed.
/Mats
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
On 2/20/06, Timo Stamm [EMAIL PROTECTED] wrote:
Mats Norén schrieb:
Hmm...ok, so basically I have to litter my Java code with
setRenderBodyOnly(true) instead.
Create a subclass and use that.
Good idea, a SimpleText extends Label with a setRenderBodyOnly(true)
would do the trick. Thanks
This code is taken from the wicket-contrib-navmenu. It defines a
wicket:panel for the menuitems.
I'm having real trouble with the AttributeModifier.
Looking at the code the AttributeModifier is attached to the panel itself.
public ItemPanel(final String id, final MenuRow row)
{
that you spent a lot of time on it.
Cheers,
Eelco
On 2/21/06, Mats Norén [EMAIL PROTECTED] wrote:
This code is taken from the wicket-contrib-navmenu. It defines a
wicket:panel for the menuitems.
I'm having real trouble with the AttributeModifier.
Looking at the code the AttributeModifier
Hi,
I've been trying to use the CustomLayoutAjaxAutocompleteTextField from
wicket-contrib-scriptaculous. Everything works as expected but for my
usecase it doesn't quite fit. I was wondering how I could achieve the
following:
What I want to do is to let the user search for a Party by full name
so
Sorry if this is a stupid question,
but are there any 1.2 snapshots of the various wicket projects
available at for instance ibiblio?
/Mats
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends
Can I add a stupid question? :)
Is there wicket way tm on how to get the logged in user and put it
in a Wicket Session-object?
Mats
On 3/14/06, Johan Compagner [EMAIL PROTECTED] wrote:
are these static pages just in the webroot?
if so then you can just have links to them in youre
Mmm...ok, I'll rephrase. Is there a way within wicket to obtain the
logged in user if the user is authenticated by the container with
basic authentication and writing the user to a wicket session?
Without having to do this:
((WebRequest)getRequest()).getHttpServletRequest().getUserPrincipal()
somewhere.
Eelco
On 3/14/06, Mats Norén [EMAIL PROTECTED] wrote:
Mmm...ok, I'll rephrase. Is there a way within wicket to obtain the
logged in user if the user is authenticated by the container with
basic authentication and writing the user to a wicket session?
Without having to do
I've got a page with a ajaxified form and two listviews updated with ajax.
The two listviews works like the palette-component in wicket which
allows a user to add / remove items. The difference is that I do it
with AjaxFallbackLinks:
ListView selectedItems = new PCMListView(selectedItems,
On 3/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
what version are you using?
I'm using subversion HEAD from yesterday
i thought i fixed this a long time ago. if you
dont mind create a distilled quickstart project that reproduces this so i
can play with it on my side.
I could try :)
Does it
capture ajax requests there is no point in
versioning any changes done inside that request.
-Igor
On 3/17/06, Mats Norén [EMAIL PROTECTED] wrote:
On 3/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
what version are you using?
I'm using subversion HEAD from yesterday
i thought i fixed
Oh, sorry. I made it in the constructor of my ajax-page.
On 3/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
where did you make that call?
-Igor
On 3/17/06, Mats Norén [EMAIL PROTECTED] wrote:
ok, I did setVersioned(false) and everything works as expected.
On 3/17/06, Igor Vaynberg
ie, I made the page nonversionable
On 3/17/06, Mats Norén [EMAIL PROTECTED] wrote:
Oh, sorry. I made it in the constructor of my ajax-page.
On 3/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
where did you make that call?
-Igor
On 3/17/06, Mats Norén [EMAIL PROTECTED] wrote:
ok
Hi,
I'm trying to export a POI worksheet as a download link in my wicket page.
The link sets the responsepage to a download page in which
trying to get the outputbuffer to write to. Only problem is that I
keep getting this:
java.lang.UnsupportedOperationException: Cannot get output stream on
of a page. Please check out
wicket-stuff's JasperReports integration for an idea how to do this.
Eelco
On 3/21/06, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
I'm trying to export a POI worksheet as a download link in my wicket
page.
The link sets the responsepage to a download page
On 3/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
That's not the preferred way of working though. If you want to play
nice with the framework, you should either make it a resource - imo
the most elegant solution, and again, look at
wicket-contrib-jasperreports - or a custom request target.
On 3/21/06, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
I'm trying to export a POI worksheet as a download link in my wicket
page.
The link sets the responsepage to a download page in which
trying to get the outputbuffer to write to. Only problem is that I
keep getting
Sorry, I'm not quite with you.
How is the DynamicByteArrayResource called from the internals?
On 3/22/06, Johan Compagner [EMAIL PROTECTED] wrote:
See DynamiceByteArrayResource
Then you can do the load lazy. Only when the link is clicked.
johan
On 3/22/06, Mats Norén [EMAIL PROTECTED
Ok, thanks!
On 3/22/06, Johan Compagner [EMAIL PROTECTED] wrote:
just create ResourceLink with a DynamicByteArrayResource
And implement getResourceState() and when that is called you do youre
loading.
johan
On 3/22/06, Mats Norén [EMAIL PROTECTED] wrote:
Sorry, I'm not quite with you
wrapped in a IResourceStream.
Eelco
On 3/22/06, Mats Norén [EMAIL PROTECTED] wrote:
On 3/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
why not just push a download request target into the request cycle? it
works
for 1.2. search this list for excel
So if I were to use the request
shared resources etc).
Eelco
On 3/22/06, Mats Norén [EMAIL PROTECTED] wrote:
Even better. Thanks for the tip. There are so many options it's quite
easy to get confused :)
Mats
On 3/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
You don't need a PageRequestTarget as the page doesn't
Don't know if it is related but I've had a couple of similar errors
when my inherited Tree is initialized. The problem then was that the
static blocks of the superclass failed because of missing resources.
This resulted in a NoClassDefFoundError on the MyTree class...
On 3/31/06, Eelco Hillenius
Hi,
Is there a behaviour / component for validating a single formfield
with Ajax without submitting the whole form?
I'm guessing there is an example somewhere, I just need a pointer in
the right direction :)
---
This SF.Net email is sponsored
rerender the textfield?
-Igor
On 3/30/06, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
Is there a behaviour / component for validating a single formfield
with Ajax without submitting the whole form?
I'm guessing there is an example somewhere, I just need a pointer in
the right direction
Hi,
I'm trying to display a couple of dates in a listview.
When the user clicks on one of the dates I would like to replace the
link with simple form for editing the date.
The list renders fine, I click on the editLink and the replacing view
with edit-text appears in my log. *But* nothing else
Okey, I forget the setOptimizeRemoval(true) bit.
The problem now is that every link I click is replaced by a form, the
effect I was looking for is that only one date at a time should be
editable.
What am I missing?
On 4/26/06, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
I'm trying to display
Ok, and when you mean keep track you mean adding a current_edited
property to my panel and then in the onClick-handler do the switch. Is
the component id available somehow in the onClick?
---
Using Tomcat but need to do more? Need to support
Could you define a few months? We're about to start a new project
that may or may not use wicket 2.0 depending on the timetable. The
first release is scheduled in september. Is that to soon for a
reasonably stable wicket 2.0?
Are there any simple issues that a non wicket export could help out
Congrats! A job well done!!
On 5/24/06, David Leangen [EMAIL PROTECTED] wrote:
Congratulations! Excellent job!!
---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of
Has there been any progress in merging AuthenticatedWebApplication and
the spring-stuff lately or is there a best praktice out there
somewhere?
Best regards Mats
On 6/8/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
The problem is that the wicket-auth-roles package assumes you subclass
Hi,
I've got a scenario where I would like to filter rendering of
components based on a users role but the roles change depending on a
page parameter, ie:
- PageA has a page parameter teamId
- if the teamId is 1 the User is admin (for that particular team)
- if the teamId is 2 the User is an
Ah, neat. OO to the rescue :)
On 7/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
here is some pseudo code:
class BaseTeamPage extends Webpage {
private final long teamid;
public long getteamid() { return teamid; }
public BaseTeamPage(long teamid) {
On 7/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
i wouldnt recommend doint this in session because user entity will become
detached, i would instead do it in the requestcycle so the user is loaded
once per request
It is? I've used a User-object in session and I haven't noticed that
it gets
I can recommend Intellij IDEA as a HTML-editor. Great CSS-support as
well. Theres a video demonstration somewhere. I think it's a google
techtalk where one of the developers demos the HTML support.
/Mats
-
Take Surveys. Earn
I've noticed something weird that I can't explain. I've created my own
RequestCycle by extending WebRequestCycle:
public class DIFRequestCycle extends WebRequestCycle {
transient Person user;
public DIFRequestCycle(WebSession webSession, WebRequest
webRequest, WebResponse response) {
2 [x]
On 8/3/06, Frank Bille [EMAIL PROTECTED] wrote:
2 [x]
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business
Hi,
I've got a form problem that I don't really now how to handle.
I've got three entities Person, PersonProperty and PropertyType.
A Person has a SetPersonProperty
A PersonProperty has a reference to a Person, a PropertyType and
contains a value.
What I would like to do is to edit a users
of info you need to know except for the property itself. notice
i made person and type models because i dont know how big they are and if
you want to keep them in session.
-Igor
On 8/4/06, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
I've got a form problem that I don't really now how
Hi,
has anyone on the list any experience with Wicket and GIS-backends
like Geoserver?
I'm trying to figure out the best approach for interfacing Wicket with
GeoServer but I'm interested in other frameworks as well.
/Mats
-
Hi,
I decided to upgrade my project from a pre-release of 1.2 to 1.2.1 and
ran into some problems.
I used the wicket-contrib-navmenu 1.2-SNAPSHOT in my pom.xml, I tried
the easy approach and changed it to 1.2.1...unfortunately maven
couldn't find it.
Has it moved to some other package or is it
it
to be versioned up along with the core. I'd expect you could just go
with the current version though, as 1.2 - 1.2.1 should be a dropin
for clients, which is what wicket-contrib-navmenu is (should be,
anyway) in this context.
/Gwyn
On 08/08/06, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
I
SpringComponentInjector(this));
}
}
thats it, no need for extending any spring related application object.
Ok, is this in version 1.2.1 or only in 2.0?
/Mats
-Igor
On 7/21/06, Mats Norén [EMAIL PROTECTED] wrote:
Has there been any progress in merging AuthenticatedWebApplication
Hi,
I've noticed a strange behavior in 1.2.1 when using links with an
img-element inside.
a wicket:id=linkimg src=img/button_lagg_till.gif//a
in my HTML is changed to
a href=/test?wicket:interface=:3:createLink::ILinkListenerimg
src=/test/img/button_lagg_till.gif alt=Lägg till//a
when wicket
relative links?
Its a directory img under my webapplication root
/webapp/img
What I didn't understand was why it didn't do it's magic on the input-element?
see the PrependContextPathHandler for the place that does this.
Ok, I'll look there...
johan
On 8/10/06, Mats Norén [EMAIL
The input elements look like this:
div class=formDiv
input class=button type=image
src=img/button_spara.gif wicket:id=save value=Spara
title=Spara/
input class=button type=image
src=img/button_avbryt.gif wicket:id=cancel value=Avbryt
title=Avbryt/
On 8/11/06, Johan Compagner [EMAIL PROTECTED] wrote:
ahh see the code:
// Don't touch any wicket:id component
if (tag.getId() != null)
{
return tag;
}
So in that case you have to do it yourself.
That explains it! Thanks.
So how does it normally
just changes some of that code i believe so maybe he can tell
you the best solution now.
johan
On 8/11/06, Mats Norén [EMAIL PROTECTED] wrote:
On 8/11/06, Mats Norén [EMAIL PROTECTED] wrote:
On 8/11/06, Johan Compagner [EMAIL PROTECTED] wrote:
ahh see the code
Disregard my last post. :)
/Mats
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application
Hmm..didn't work out as I expected. Isn't Settings.java final in 1.2.1?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
I'm sorry if I come across as a little bit stupid here but the way I
understood it was that getSettings() in Application is deprecated and
shouldn't be used?
And from what class should I derive MySettings? I mean since Settings is final.
I thought I would supply my own IMarkupSettings but since
Has there been any changes between 1.2 and 1.2.1 when it comes to
handling objects that are not serializable?
In my migration from 1.2 to 1.2.1 I suddenly got this exception:
WicketMessage: Internal error cloning object. Make sure all dependent
objects implement Serializable. Class:
Well, I guess it isn't but it worked under 1.2 prior to the release.
The only change in my application is that I've switched from 1.2 SVN
(don't know the exact repository version) to 1.2.1.
Is 1.2 more lenient?
/Mats
-
discussed before.
Juergen
On 8/11/06, Mats Norén [EMAIL PROTECTED] wrote:
Well, I guess it isn't but it worked under 1.2 prior to the release.
The only change in my application is that I've switched from 1.2 SVN
(don't know the exact repository version) to 1.2.1
On 8/11/06, Dave Schoorl [EMAIL PROTECTED] wrote:
Yes, I have build an application which will (someday) be released in
production on www.nlgis.nl, I'm waiting for the customer to set up a
meeting for deployment with the hosting party (currently it is
accessible through it's test-environment on
What I want the following code to do is to iterate all propertyTypes
and create or lookup the appropriate property on my Person-object and
create a TextField for each one.
I've defined a model for the propertyTypes and a model for a
TeamPerson-object which contains my Person.
Everything works
Not really, I'm not using any Ajax-stuff or anything like that.
How do you mean?
/Mats
On 8/14/06, Gwyn Evans [EMAIL PROTECTED] wrote:
Does this thread apply?
(http://www.nabble.com/ajax-failed-to-update-a-component-%28wicket-1.2%29-tf1844050.html#a5033398)
/Gwyn
On 13/08/06, Mats Norén
You can turn this of in your application.init()
getMarkupSettings().setStripWicketTags(true)
/Mats
On 8/15/06, Alex Objelean [EMAIL PROTECTED] wrote:
I was wondering if wouldn't it be better if the rendered page would not
contain wicket tags and wicket:id attribute?
The root problem is that
Hi,
I've got a panel for adding dates with an add link, when the link is
clicked I replace it with a small form with a single TextField
(input type=text..). What I would like to do is to set focus on
the textfield when I switch panels. Is there an easy solution for
this?
I guess I could add an
Hi,
I'm trying do build ranking list where I want to highlight the current
users position.
I also want the list to be pageable so one requirement is that I need
to set the current page to the position of the user. I can calculate
this and do setCurrentPage on the datatable but how do highlight the
Congrats! :)
Btw, how difficult would it be to reuse the different models from
within a Spring based solution?
The project I'm working on uses Spring for different kinds of services
(JBPM, Email etc) and there is a need to keep things in the same place
so to speak but I really like the different
bound
inside DataRequestCycle, but you can turn that off if you want to use
JTA or Spring-managed transactions:
http://www.springframework.org/docs/api/org/springframework/orm/hibernate3/LocalSessionFactoryBean.html
Nathan
Mats Norén wrote:
Congrats! :)
Btw, how difficult would
I've been using wicket 1.2.1 in my application but decided to upgrade to 1.2.3.
Basically everything works except my FileUpload to a Jackrabbit-repository.
My testcases for my DAO:s working against the jackrabbit repo still
works but in my application any file larger than 10kb gets an
exception
Sorry for the spam. I read the javadoc for fileupload and noticed in
*bold* that the inputstream is closed between requestsdoh.
Strange that it works for files under 10 kb though
On 12/6/06, Mats Norén [EMAIL PROTECTED] wrote:
I've been using wicket 1.2.1 in my application but decided
Hi,
I'm trying to find an example using the tree table with a dynamic
model that get's reloaded every request. The current example in
wicket-examples uses an ordinary TreeModel which is static.
Is it as simple as attaching a LDM which returns a TreeModel in load()?
If I provide my own TreeModel
On 1/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Then you would have to reset/ re-render the tree from scratch every
time. Your best bet is probably to look at Swing examples that do
this; the idea should be the same.
One way to load lazily - though keep in mind it doesn't clean up when
I personally think it is easer to override the init method of your application:
protected void init() {
super.init();
addComponentInstantiationListener(new SpringComponentInjector(this));
...
}
and use the @SpringBean where you want to use your DAO.
@SpringBean
approach is workable and then I do
feel it is worth adding to the wiki. Also it may be more appealing to those
folks who are anti-annotations. (yes such people exist :)
Regards,
Peter.
On 1/15/07, Mats Norén [EMAIL PROTECTED] wrote:
I personally think it is easer to override the init method
Hi,
is it possible to mount my shared resource within my localizer?
public class ForumFeedResource extends ContentFeedResource
public static class Initializer implements IInitializer {
public void init(Application application) {
application.getSharedResources().add(newsFeed,
On 2/28/07, Johan Compagner [EMAIL PROTECTED] wrote:
i think that should work
Doesn't it? error? or the mount is just not there?
not there! :)
wicket 1.2.4 btw
/Mats
johan
On 2/28/07, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
is it possible to mount my shared resource within my
Norén [EMAIL PROTECTED] wrote:
On 2/28/07, Johan Compagner [EMAIL PROTECTED] wrote:
i think that should work
Doesn't it? error? or the mount is just not there?
not there! :)
wicket 1.2.4 btw
/Mats
johan
On 2/28/07, Mats Norén [EMAIL PROTECTED] wrote
Hi,
I'm looking for a pattern to create page instances from a configuration in db.
I sounds really weird but the scenario is this:
- A request comes in for /mountpoint/dynamicpart1/part2/part3
- A lookup is made to db for a PageConfig with urlPart =
dynamicpart1/part2/part3
PageConfig contains
, instantiate it and add it to the page.
nice and clean. there is really very little difference between page and
panel functionality-wise.
i dont have the code infront of me, but i would think this should be
doable within the pagemap factory
-igor
On 3/1/07, Mats Norén [EMAIL PROTECTED] wrote
Forgot to ask, but it seems that DefaultPageFactory has a lot of final
methods in 1.3.
Is there another option?
/Mats
On 3/1/07, Mats Norén [EMAIL PROTECTED] wrote:
Brilliant! :-) I wouldn't have thought of that. That solves it. Thanks!
On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
so
Yep, thought of that just as I hit sent...works! Thanks again!
On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
use extension by delegation instead of inheritance
-igor
On 3/1/07, Mats Norén [EMAIL PROTECTED] wrote:
Forgot to ask, but it seems that DefaultPageFactory has a lot
Got the same error
On 3/5/07, Matt Welch [EMAIL PROTECTED] wrote:
I'm only just now upgrading to Wicket 1.2.5 and I've run into an issue. I'm
certain this is an problem on my side and not a bug because other people
would have run into this and reported by now and I can't find any reports
Hi,
Is there an example on how to test bookmarkable pages with pageparameters?
Do I have to use the ITestPage and call the constructor
page(PageParameters params)?
/Mats
-
Take Surveys. Earn Cash. Influence the Future of IT
I try to setup a simple testcase with a bookmarkablepage and get the
following exception about the serialization.
INFO - Application- [WicketTester$1] init: Wicket
extensions initializer
INFO - Application- [WicketTester$1] init: Wicket
core library initializer
Update, I switched to the latest snapshot and got the same error
On 4/4/07, Mats Norén [EMAIL PROTECTED] wrote:
I try to setup a simple testcase with a bookmarkablepage and get the
following exception about the serialization.
INFO - Application- [WicketTester$1] init
1 - 100 of 114 matches
Mail list logo