On 6/23/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
with the current 1.3 if you hold page references in other pages the
the main pag is not serialized as a whole. Every page reference we
come across is saved by itself in its own file. So pages are not saved
twice or multiply in more then one
On 6/23/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Does holding references to other Pages inside a Page make them be
serialized
> twice ? Like :
>
> class MyPage extends Page {
>
> List otherPages;
>
> }
Yep, if you are using the SecondLevelCacheSessionStore, which is the
def
Does holding references to other Pages inside a Page make them be serialized
twice ? Like :
class MyPage extends Page {
List otherPages;
}
would it make any difference if it was inside another object, like :
class MyPage extends Page {
MyPageHolder pageHolder; // serializable
I ran into a problem where wicket(1.2.x) actually swallowed my exception
before reporting it to me and showed another exception. Take this code for
example :
add(new MyComponent("id",new LoadableDetachableModel() {
public void load() {
// do something that throws s
On 6/7/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
Florian Hehlen-2 wrote:
>
> -It will be easier to hire someone with Struts knowledge on top of the
> fact that we have some in-house knowledge with it.
>
translation: we don't want to think
> -Struts is the de-facto standard with a lot of
huh ?!
On 3/13/07, Michael Day <[EMAIL PROTECTED]> wrote:
No, only extra small, small, medium, and medium-to-big projects. Big
projects will be supported in wicket 3.0.
On Mar 13, 2007, at 12:51 AM, Sazib wrote:
> Hi everybody,
> I just want to know, is wicket suitable for a big project?
>
>
I thought everybody knew this, Jonathan I guess once mentioned it on his
weblog. And there's also another big one here
http://martijndashorst.com/blog/2007/03/10/myspace-going-wicket/
On 3/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
i was being sarcastic :)
-igor
On 3/12/07, Jonathan Lock
Really ? Wicket will directly be a top level apache project ? I thought it
would take some time ...
On 3/12/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
On 3/12/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote:
> Having played with the nabble search engine I can already tell that it
> rocks ! :)
Neat :-)
how many big changes are there between 1.2.x and 1.3 ? I thought big API
breaks would only happen between major versions ?
On 3/8/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> 1> port it to 1.3
-Matej
Johan Compagner wrote:
> In 2.0 we have a model change:
>
> IModel.getObject(Compone
On 3/7/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> As a user I'm very happy with the current features and possibilities in
> wicket, and am only waiting for the changes(stateless forms,
Stateless pages, forms and links are already backported to 1.3!
> page cache, ...
The SecondLevelCache
Well, I'm not a core committer , so dont have enough vision to talk about
the internal effects of the change, but as a user from the pre-1 versions
of wicket till now(1.2.5), here are some humble opinions:
pros:
* free to call any method in the constructor like getpage(), urlfor(),
etc.
* acc
Another solution would be to put all the complexity of managing items into a
general CartPanel class, but that wont get much cleaner I guess. One thing
that comes to mind is, If you have a Pricing domain object to handle pricing
issues, and a Summary object to handle the items summary , you can so
= new DropDownChoice("answerChoices", new
PropertyModel(properties, "answer"), ANSWERS);
Thank you!
Regards,
Hailong Zhang
On 2/25/07, Iman Rahmatizadeh <[EMAIL PROTECTED] > wrote:
>
>// Note that when the selection is null, Wicket will lookup a
> localized string to
&
// Note that when the selection is null, Wicket will lookup a localized
string to
// represent this null with key: "id + '.null'". In this case, this is '
site.null'
// which can be found in DropDownChoicePage.properties
copied from the JavaDoc for DropDownChoice.
On 2/25/07, Zhang Hailong
Thanks for the great work. Will the examples be released as well ? It was a
little hard for me as a first timer with tinymce to find out how it works.
On 2/24/07, Iulian Costan <[EMAIL PROTECTED]> wrote:
hi
i just want to let you know that wicket-contrib-tinymce module has been
released. the b
Matthew, the line where you create a palette object, I see you're using
Model instead of a Loadable model, what does the getDataStoreRoles() do ?
Does it load the DataStoreUser object ? Models are normally dangerous to use
with persistent objects, as they usually hold on to the instance during
ses
Sorry about the dual post, back button problem. Unfortunately gmail isn't
developed with wicket ;-)
On 1/4/07, Iman Rahmatizadeh <[EMAIL PROTECTED]> wrote:
Well, comparing to struts/jsp/... solutions the best features would be
imho :
1- Moving away from Request/Response
2- Full pow
Well, comparing to struts/jsp/... solutions the best features would be imho
:
1- Moving away from Request/Response
2- Full power of OO in the presentation layer
3- Real Reusable Components / Panels / Markups / Anything (!)
4- Separation of Concerns (Markup for layout and presentation, Java for
log
Well, comparing to struts/jsp/... solutions the best features would be imho
:
1- Moving away from Request/Response
2- Full power of OO in the presentation layer
3- Real Reusable Components / Panels / Markups / Anything (!)
4- Separation of Concerns (Markup for layout and presentation, Java for
log
ld be in the root
> > directory of the zip. Apparently the assembly descriptor used to build
>
> > the download archive didn't pick it up. grmbl.
> >
> > You can get the dtd from svn or use the one supplied in the
> wicket-1.2.3
> > zip.
> >
> > It hasn&
Not to forget, joining Apache this year !
On 1/2/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
We also recently passed 2.5M web pages served. The trend of interest in
Wicket looks very promising. I think we may see another uptick in use
this
year as 2.0 comes out, the book is released and p
Hmmm, anyone ?
Can anybody pass the tests on wicket-1.2.4 with ant ? I'm using building a
fresh distro with ant and the testInternalDetach test fails. Its looking for
the wicket-xhtml1-strict.dtd file and can't find it .
On 1/1/07, Iman Rahmatizadeh <[EMAIL PROTECTED]&
The FileUploadFieldTest try's to upload a non-existent file (
wicket-xhtml1-strict.dtd ) Where should this file be ? I'm testing using ant
jar task.
Iman
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.
Hey, you saved my life Jan !
I always thought it was my problem wicket throwing exception's there. Now I
see it's Johan ! :-)
On 12/13/06, jan_bar <[EMAIL PROTECTED]> wrote:
Hi,
in my opinion, the logic with isAssignableFrom should be the opposite one
(wicket 1.2.3):
Object convert(..) {
...
Hmm,
I think that was a cruel thing to say. Open source is all about open idea's.
Many wicket users have been using tapestry before and have now switched to
wicket, and surely many idea's in the wicket world come from tapestry. If
tapestry 5 is implementing some idea's from wicket, I think everybo
o I need to assert it at my test.After I really read the document, I guess what I really need to do input a Map at setParametersForNextRequest() , right?
On 11/13/06, Iman Rahmatizadeh <[EMAIL PROTECTED]> wrote:> I don't think that's what you're looking for. What exactly d
I don't think that's what you're looking for. What exactly do you want to do ? On 11/13/06, Carfield Yim <[EMAIL PROTECTED]> wrote:> I need to setup some parameter for the wicket test, I can see there is
> a method call "setupRequestAndResponse" so I guess I should override> this one and do the set
are improperly painted with the circular MS Media Player icon.
> >
> > The development platform is Mac OS/X.
> >
> > Thanks for your help.
> >
> >
> > Iman Rahmatizadeh wrote:
> >> Can you refresh the page ? Does it bring up the Page Expired again ?
Can you refresh the page ? Does it bring up the Page Expired again ?
Try it with ie. I guess that shouldn't have any problems as well.
On 10/18/06, Michael Welter <[EMAIL PROTECTED]> wrote:
> This is a very strange problem. In Firefox, the page display is more or
> less normal. However, if I dis
Nice work !
I've written an IDEA plugin for my own use, it has markup
creation/viewing, a project browser and some other small stuff. Open
up your code so I could contribute !
Iman
On 10/5/06, Anders Holmbech Brandt <[EMAIL PROTECTED]> wrote:
> Hello wicket-users,
>
> I would just like to annou
hmmm, is it going to be some sort of a reference doc for wicket, or just a user guide to writing a sample app ? On 10/2/06, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:yeah, maybe it doesn't need that. Pet store is kind of a best practices project, so I figured it might get in there. Databinder as a
Well here's a trace of what happens that causes the problem :
During the RESOLVE_TARGET step of RequestCycle, the target is trying to
be resolved using the DefaultRequestTargetResolverStrategy, which first
inside the resolveRenderedPage() method uses Session.getPage() to get
the page,(which adds
There's a problem with my app, where clicking on a link would generate
an ArrayOutOfBoundsException. However, pressing the back button and
clicking on any other link in the page would cause an infinite loop in
the getPage method of Session, between lines 405 and 415 (Wicket
1.2.2),where the cur
Nathan Hamblen wrote:
> As others have pointed out, the magic of IModel works better than you
> think (or thought) it does. I often have two constructors for pages, one
> taking bookmarkable parameters and another taking an IModel so that I
> don't always have to reload DB objects page to page. It'
Juergen Donnerstag wrote:
> I don't think this is true if you create a hibernate session per http request
>
> Juergen
>
>
When you pass the object id instead of the object to the panels, each
panel will retrieve the object independent of others. Maybe a cache will
help. But still it goes throu
Another case I just remembered where performance in #1 will be poor is
where you have a page containing a lot of panels, each of them needing
the model object or one of its associations. In #1 the object will be
loaded per panel, but in #2 or #3 you wont have any extra calls.
Iman
---
> I don't think it is *that* less efficient. Attaching those objects
> likely means refreshing them too, so the only gain you would have is
> the creation of objects, and those few instances wouldn't even be
> noticable, while the extra session size of #2 might be.
>
What I meant was mostly eff
The problem with #1 is, first its a bit ugly, second you discard every
persistent instance in each cycle (which is less efficient than #2 or
#3), third you lose the advantages of working & passing POJO's between
pages, Like you would call 'new ProfilePage(person.getId())' instead of
'new Profil
Hi,
AFAIK, there are three ways of implementing application transactions,
lazy loading, etc. stuff with Wicket & Hibernate :
1 - The hard way, where you pass object ids, and load & save them in
each request cycle using a new session
2 - The detached object way, where you attach the old objects i
Hmmm, I remember having such problems
before. The problem was with firefox generating invalid requests
because of a bad script in my page. Look at
(http://www.wicket-wiki.org.uk/wiki/index.php/Best_Practices_and_Gotchas)
to read about it. However, what we can do here is see what exactly is
caus
Thanks to both karthik & eelco !
But despite the excitement, I'm always worried that the wicket books
turn out to be some sort of reference manual which wicket is missing.
What I like about books like 'Hibernate in Action', etc. is that they
show you how to build real world apps, various design
I'm ready for Persian/Farsi (fa_IR).
Just asking, would it be a good idea to let wicket automatically set the
page direction (ltr or rtl) based on the locale ?
Iman
---
Using Tomcat but need to do more? Need to support web services, security?
Hi,
The WicketTester.assertVisible(path) method should check to see if the
component with
the given path is visible or not, but instead it throws a
NullPointerException whenever
it should fail. The getComponentFromLastRenderedPage(path) method
returns null if the component
is invisible. Thi
I posted this problem last week where clicking on links in DataTable's generated an internal error in wicket and an error log indicating that the requested component was not found. Strangely, the case was only with Firefox and I had no problem with IE.
After debugging and digging everywhere, I foun
re code and html templates. so far looks like you are doing everything correctly.
-IgorOn 12/16/05, Iman Rahmatizadeh <
[EMAIL PROTECTED]> wrote:I am : iColumns[3] = new FilteredAbstractColumn(new Model("Links")) {
public void populateItem(final Item cellItem, fina
}; add(link); add(link2);}In fact, adding links to the page generate correct links. On 12/16/05,
Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
It looks like your are not adding the link to ListItem.JuergenOn 12/16/05, Iman Rahmatizadeh <[EMAIL PROTECTED]>
I'm setting up a simple table, with some links in a column. When clicking on the links generated, I see an InternalErrorPage, and wicket logs something like :
where my html has: as I play with the component path it seems the path until the 'rows' part works, but after that no component is found.
nd a half.i think most of the changes i made to extensions are backwards compat. can you try to compile extensions 1.2 against wicket 1.1?-Igor
On 12/14/05, Iman Rahmatizadeh <[EMAIL PROTECTED]> wrote:
I'm currently working with DataTable's in wicket extensions 1.1 release. It seem
I'm currently working with DataTable's in wicket extensions 1.1 release. It seems to be lacking many of the good features Igor added to the new DataTable implementation in cvs. Moving to the new version requires me also to update my wicket to the latest cvs version. I'm planning to have a release o
I had this problem a few days ago and it seems to appear when using
encrypted urls, which seems to be your case. If its not important just
use normal urls. I think the problem is because these _javascript_s are
not encoded into a safe format before putting on to the page.ImanOn 12/12/05, Juergen Do
05, Martijn Dashorst <
[EMAIL PROTECTED]> wrote:> > I think the %2B is equal to the ' character or the " character. This> > terminates the string in the browser. It seems like this is a bug in> > the encryptor. Can you create a bug for this please?
> >> &
Maybe I'm missing something, but while working with a DropDownChoice and overriding wantOnSelectionChangedNotifcations() to return true, if I set my application to use crypted urls, the onclick script created for the tag will break. This is the html generated :
SRsmbWLmnH4WMKlwpin8&fields=' + thi
>Why? Igor and a couple of others build some pretty decent Spring>support now? It's all in HEAD, and there has to be a proper build for>it made, but I think we now have Spring integration that most people
>are happy with.I'm looking forward to see a real final solution to the spring integration pro
My opinions are similar to Christian : - How much faster or easier it would be to use wicket - Spring/Hibernate Integration (almost on everybody's list) - Testability - Performance comparisonI guess you might as well get ready for some complaints :
- Lack of good and thorough documentation - Not s
onBeginRequest() happens before rendering, so whats the problem with putting code there ? And Sometimes I am forced to do this, for example if I have to access Authentication specific data (like username, etc) which should only be done after checkAccess() ensures there is an authenticated user. I h
I've ran into these questions many times, working with checkAccess(), Spring integration, etc. Just wondering if anybody has come up with some good idea's :1 - What's the best method for doing page initilization outside the page constructor ? Is overriding onBeginRequest() and adding components the
e, or various tag attributes change frequently i'm
looking for a more abstract way of validating the markup than just a
string equality check.
Regards,
Iman
On 10/30/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
On 10/30/05, Iman RahmatiZadeh <[EMAIL PROTECTED]> wrote:> A
Argh ! Unit testing is way too hard in wicket. I'm using a custom
implementation of WebSession in my application. The problem arises when
I use the MockWebApplication class for testing, which creates and uses
WebSession for tests and my page classes which depend on my
implementation of WebSession c
58 matches
Mail list logo