Eelco Hillenius wrote:
It was, but I could never find enough time to finish it, and the
longer it was in there, the less happy I was with the result.
Were you using it? Sorry if removing it caused inconvenience, but it
just wasn't finished.
I used it once, but planning to use it more. Can we
yeah, some people dont grok IDataProvider at first, here is the simplest way i know how to explain what it does,
following class will take a list and make it a data provider
public class ListDataProvider implements IDataProvider
{
private List list;
public ListDataProvider(List list)
{
Hi,Suppose these files:folder1/page1.html
folder2/page1.htmlIn both folders has page1.html identical wicket tags, the content however can differ.Does this require replicating the same wicket java files in both folders ?Or can I setup a wicket library, similar to a JSP tag library ?
Cheers,-- John
Hi,
I'm having a problem with wicket's ajax stuff where an ajax request
fired by previous page hits the web server after user has clicked a link
which has already transferred him to next page.
This might be a problem in my application, but I'm seeking for ideas
to solve this.
From web
use variation.So create Page1.java and Page1.html and Page1_var.htmlthen return the right variation when you want page2 (== page1_var)johanOn 5/22/06,
John Zoetebier [EMAIL PROTECTED] wrote:
Hi,Suppose these files:folder1/page1.html
folder2/page1.htmlIn both folders has page1.html identical
I guess this is because in 1.2 pagemap behaves like stack. Johan?
-Matej
Ari Suutari wrote:
Hi,
I'm having a problem with wicket's ajax stuff where an ajax request
fired by previous page hits the web server after user has clicked a link
which has already transferred him to next page.
This
hey igor...how is it going...du u think it needs more touches? should i go ahead and refactor it to wicket.extensions.collapsingpanel or something?On 5/21/06,
Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
Well here is the file...give it a try again. they are functional now and look at the quick
For my current application I need to write a component that
will edit a Map.
Ive tried a dozen of different approaches and all of
them end up becoming ugly hacks.
Would anyone help me write a proper component for editing
Map objects?
My scenario is:
The map: MapNetwork,
Hi Igor
I have something to
admit, i’ve been running on RC3 and not RC4. While creating a quickstart
project that contained my erroneous pages I upgraded to RC4 and that seems to
have solved the problem. Although I’ve also isolated my control might also have
piece in the
On 5/22/06, Johan Compagner [EMAIL PROTECTED] wrote:
use variation.So create Page1.java and Page1.html and Page1_var.htmlthen return the right variation when you want page2 (== page1_var)johan
The way I read this is that Page1.java needs to know the name of page1_var.However that is not what I
I cannot figure out any workaround myself. UnversionedBehaviorListener seems to
use -1 as
page version number, would it make any sense to try to alter PageMap so that
if version is -1 the page stack is not cleared ?
Ari S.
- Original Message -
From: Matej Knopp [EMAIL PROTECTED]
So what request comes first?The ajax request should always do -1 (so latest release)So if the request from the new page did come first then the ajax request shouild work on that new page.If the ajax request did come a bit earlier then there shouldn't be a problem at all because
the last reqest
then i don't get your situationWhat do you exactly want then? What is the relation between Page1 and Page2?When do you want to use Page1.html and when are you trying to use Page2.html?(for the same java code.)
johanOn 5/22/06, John Zoetebier [EMAIL PROTECTED] wrote:
On 5/22/06, Johan Compagner
I believe the scenario can be like this:
You are on page A.
You click on ajax link on page A.
Before the request is completed, you go to page B (non ajax link). This
is little tricky, because during ajax request the session is locked, but
I guess it can happen (the ajax request is still
The access log in my first e-mail was in chronological order, ie.
user clicks a link on first page (this page has also ajax stuff active) and the
java code in onClick transfers to new page by calling setResponsePage(new
HelpPage()).
But after the link click there still arrives one late ajax call
If I modify the PageMap.java like this:
final Page get(final int id, int versionNumber)
{
final IPageMapEntry entry =
(IPageMapEntry)session.getAttribute(attributeForId(id));
if (entry != null)
{
if (versionNumber == -1) {
Access a = peekAccess();
The problem is that i don't know if -1 is always used only for that.internally it is LATEST_VERSION.So i don't know if we really can do that everytime. Just don't touch anything. if page -1 is asked for.
johanOn 5/22/06, Ari Suutari [EMAIL PROTECTED] wrote:
If I modify the PageMap.java like
What we can do is put it in the wicket-contrib-examples project of
wicket-stuff, and I can give you access to wicket-stuff. I won't have
time to contribute to the beanpanel directly on a short term. And one
of the additional reasons for me removing beanpanel was that Jonathan
said he wanted to
I'm using the getString(String key) method in a few Components, to access
localized Strings from the properties file.
When testing the components with WicketTester, how do i point WicketTester
to the properties file i want it to use?
--
View this message in context:
i think what you need is something similar to how tabbed view works.have a IMapKeyEditor { Panel getEditorForKey(String key, Map map); }then you iterate over keys and create links that when clicked use the provided impl of IMapKeyEditor to create a new panel that has the formcomponents to edit
i wont be able to do code review for a little while, my son was born friday evening, so a little short on time :) if i can get to it in time then we will put it into 1.2, if not we will put it into 1.2.1. will let you know when i reviewed it. of course if someone else from the core team wants to
aawwh!! lovely baby boyOn 5/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
i wont be able to do code review for a little while, my son was born friday evening, so a little short on time :) if i can get to it in time then we will put it into 1.2, if not we will put it into 1.2.1. will let you know
Ok, this makes more sense than the example in wicket-examples. However, what if the List I'm passing in is actually wrapped in a LoadableDetachableModel?
Congrats on the baby, by the way!!
Thanks again.
On Sun, 2006-05-21 at 22:39 -0700, Igor Vaynberg wrote:
yeah, some people dont grok
On 5/22/06, VGJ [EMAIL PROTECTED] wrote:
Ok, this makes more sense than the example in wicket-examples. However, what if the List I'm passing in is actually wrapped in a LoadableDetachableModel?that should be ok because dataview will check if the idataprovider impl you passed in also
Ha! I feel like I'm going around in circles w/ my questions, sorry for that. More importantly, I suppose, is; If I pass an IModel instead of a List, how do I get the ListProduct from the IModel to implement the methods in the IDataProvider derived class?
I had asked this once before but it
The code in examples looks screwy to me too, since it defines wicket:id=rows for the GridView control and wicket:id=cols as the columns...yet in the class there is no mention of cols anywhere. Is this some built-in object?
I'm obviously getting an exception because I've setup rows and cols
I really don't see the problem, but this is my code:Page class:add(new GridView(someList, someList) { // ...}.setColumns(2));Markup: table cellpadding=10 cellspacing=0 width=100%
tr wicket:id=someList td wicket:id=cols width=50% valign=top
cols objects are generated by the gridview, whatever components you add to the gridview in populate have to go inside the cols
-Igor
On 5/22/06, VGJ [EMAIL PROTECTED] wrote:
The code in examples looks screwy to me too, since it defines
wicket:id=rows for the GridView control and
gridview doesnt take an IModel, it takes an IDataProvider which is like a more specific IModel.
what does your detachable model look like? i can h\elp you translate it to dataprovider.
-Igor
On 5/22/06, VGJ [EMAIL PROTECTED] wrote:
Ha! I feel like I'm going around in circles w/ my
Yeah, that's what I figured given the example, however that's where my
problem lies. The items I'm adding in populateItem in the GridView
can't be found, I'm getting the hierarchy problem exception.
Here's what I'm doing in the page as an overview:
1. List Product Categories (ListView)
2. for
I marked everything w/ bold comments in the reply I just sent
regarding the hierarchy problem I'm having.
On 5/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
gridview doesnt take an IModel, it takes an IDataProvider which is like a
more specific IModel.
what does your detachable model look
and committed?johanOn 5/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
problem is, not every ajax behavior uses version -1. i guess we need to have the ability to tag a request as process-only-if-page-is-active-Igor
On 5/22/06,
Ari Suutari [EMAIL PROTECTED]
wrote:If I modify the PageMap.java like
Hi
I am learning Markup Inheritance .
According to this article : http://www.javalobby.org/java/forums/t69357.html
In the Base.html
div id=body
wicket:child /
/div
I want the child content surrounded by a BoxBorder , so I change to :
span wicket:id = bodyBorder
maybe you havent heard the big news that leaves me very little free time. so maybe a bachelor such as yourself can work on it until i have some more free time :)-IgorOn 5/22/06,
Johan Compagner [EMAIL PROTECTED] wrote:
and committed?johanOn 5/22/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:
please see this threadhttp://www.nabble.com/Border+and+markup+inheritance+problem-t1639150.html#a4475258for explanation why this happens and solutions
-IgorOn 5/22/06, smallufo [EMAIL PROTECTED] wrote:
HiI am learning Markup Inheritance .According to this article :
where is the populateEmptyItem you are supposed to implement for the gridview? this method populate left over cells and is probably what is causing the hierarchy mismatch.also here is how to implement detachable idataprovider:
class mydataprovider implemetns IDataProvider, IDetachable { private
It's in there, right below the populateItem method, sorry for not including it. I added it to the code sample I posted earlier, see below. I've been over this for hours and according to the example, I'm doing it right. The only difference is; my GridView is nested in a ListView...not sure what
ok, riddle me this, Batman.
I changed it to just look like:
item.add(new GridView(name, provider)
{
};
Whereas before, I was creating the GridView, *then* adding it to the top-level ListView in two separate steps.
I'm sure my hierarchy before was right because I can simply change what I
Another lead, and perhaps the source of the problem:
If I have setRows() set on the control...it doesn't render how I want but the hierarchy exception goes away. If I set setColumns() on the control...ka-boom.
Obviously the control is messing itself up on account of my messed up HTML?
On
do you want to stick this into wicket-quickstart and let me take a look? it is the most efficient way i can find the problem-IgorOn 5/22/06, VGJ
[EMAIL PROTECTED] wrote:
ok, riddle me this, Batman.
I changed it to just look like:
item.add(new GridView(name, provider)
{
};
Whereas
im taking a stab in the dark here, butif you call setColumns(1) then the chances are you are going to have an empty cell that needs to be populated and your populateEmptyItem method is not reproducing the hierarchy properly.
as i said, if you can mock enough of this in wicket-quickstart i can help
Sure, how? Maybe I'm misunderstanding? I can't stick the whole app
in there, however. Maybe I could just send you both of the entire
files (java + html)?
I've found that if I set it to 1 column, it renders w/o an exception.
If I set it to 3 columns, it bombs. When it does render, I see one
On 5/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
im taking a stab in the dark here, but
if you call setColumns(1) then the chances are you are going to have an
empty cell that needs to be populated and your populateEmptyItem method is
not reproducing the hierarchy properly.
You beat me to
download wicket-quickstart projecthack Index page to reproduce the problemi dont need your entire app, just looking at the code youve sent all i need from your app is maybe the category object, then instead of calling product proxy create the list of cats yourself.
then zip up quickstart into a
I have been...the method fires.Do all the controls that exist inpopulateItem also need to exist in populateEmptyItem??Would
missing controls explain the screwed-up hierarchy?yes, because the same markup is used to render an empty cell and a populated cell. so populateEmptyItem has to reproduce the
Reply-To: cecarl
http://straitgateministry.net/
345-page ONE NATION UNDER ISRAEL Almost FREE (see end)
Published by Truths Press
ENABLING WAR: HOW A BIBLE PUBLISHER CORRUPTED CHRIST'S WORDS
Why Celebrity leaders accept a form of Judaism and call it Christianity
By Charles E. Carlson (Director of
I went ahead and created a hidden component for each of the ones that appear in populateItem, set the column count to 3, and still got the exception on the *same* control. That's when I called it quits! :D
I'll pick up the fight tomorrow. Thanks Igor.
On Mon, 2006-05-22 at 18:01 -0700, Igor
Just so you know, Moo's accordian does not work in IE 5.5. That's the main reason I chose not to use it with my site. There are still plenty of people using Win2k with IE 5.5. When I switched to Scriptaculous, all was good. The switchover was pretty painless. Here is basically how I did it:
var
Congrats Igor.On 5/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
i wont be able to do code review for a little while, my son was born friday evening, so a little short on time :) if i can get to it in time then we will put it into 1.2, if not we will put it into 1.2.1. will let you know when i
Can you guys add some sort of Capcha authentication to the mailing list
subscription so we don't get this sort of antisemitism by spam in the
future?
Thanks,
Gili
[EMAIL PROTECTED] wrote:
Reply-To: cecarl
http://straitgateministry.net/
345-page ONE NATION UNDER ISRAEL Almost FREE
You can alter locale in webSession, for example:wicketTester.getWicketSession().setLocale(new Locale(fa_IR));On 5/22/06, BramB
[EMAIL PROTECTED] wrote:
I'm using the getString(String key) method in a few Components, to accesslocalized Strings from the properties file.When testing the components
the reason i suggested moo is because it is small and scruptaculous is
rather large, so if you only use it for accordian its kind of a waste.
i think what we need is to put into extensions things that include the
major js files like dojo and scriptaculous, that way other components
can reuse
thank you
-Igor
On 5/22/06, Andrew Berman [EMAIL PROTECTED] wrote:
Congrats Igor.On 5/22/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:
i wont be able to do code review for a little while, my son was
born friday evening, so a little short on time :) if i can get to it in
time then we will put it
you actually read that? rofl
-Igor
On 5/22/06, cowwoc [EMAIL PROTECTED] wrote:
Can you guys add some sort of Capcha authentication to the mailing listsubscription so we don't get this sort of antisemitism by spam in thefuture?Thanks,Gili
[EMAIL PROTECTED] wrote: Reply-To: cecarl
All, I have implemented testing file upload in WicketTester/FormTester.for example:byte[] bytesOfGif = new byte[]{1,2,3,4,5} ;formTester.upload(myUploadField, bytesOfGif , myImage.gif
); formTester.submit() ;the implementation is simple and limited (not support event such as onUploadStarted...
i think the test environment should be improved. wickettester is great, but it is also very limited - because it itself is a subclass of app it is difficult to test apps that rely on their own application objects.a better way i think would be to have a more complete mock environment that would
Scriptaculous is not really that big unless you use all of its script components. To do the effects I show above you only need to include effects.js and prototype.js. The big guy is prototype, but it's such a valuable library anyway who cares. I agree that dojo and scriptaculous should be included
do you know where in svn this donation lives? i would like to take a look.-IgorOn 5/22/06, Andrew Berman
[EMAIL PROTECTED] wrote:Scriptaculous is not really that big unless you use all of its script components. To do the effects I show above you only need to include
effects.js and prototype.js.
i am sorry , i speak about programming but about read pages from internet
, i want a app notify me that a page that i bookmark it, updated so app
itself when i am online , download page
On Sat, 20 May 2006 21:58:54 +0430, Eelco Hillenius
[EMAIL PROTECTED] wrote:
That's not
59 matches
Mail list logo