Hah got your Attention there, though sadly enough its
only abstractmodels.
Im not sure when getObject are supposed to be called(what
triggers a call).
The following I can see are that my model are called
on page construct(which makes sense to me). But on form submit the model are
ca
Yeah, that should be doable. Only thing is that the tree has to use
bookmarkable links for the selection and fold/unfold items, and - if
you really want your tree to be independent from any prior session
state - you have to implement that tree such that it can construct
itself in the proper state w
It inherited that problem from Swing's Tree component. Don't ask me
why, but even though there is this TreeNode interface, Swing's Tree is
not really usuable with anything else than DefaultMutableTreeNode.
Unless I missed something.
Eelco
On 7/13/06, Арву Оетук <[EMAIL PROTECTED]> wrote:
> When
I see. With wicket 2.0 it should be possible to build a page like this.
With 1.2 it's not. I guess you can make your own tree subclassing
WicketTree and replace links on nodes with bookmarkable links, but that
won't really help you since the page will still be stored in session.
-Matej
David L
I switched to the
AjaxCheckBox, but my markup still says:
Wicket java:
cb_HeleLandet
= new AjaxCheckBox("hele_landet", new PropertyModel(
reportModel
> Anyway, It's not possible with wicket to store state of tree in url, and
> I doubt it ever will be. URL length is limited so it wouldn't work for
> bigger trees. And wicket is managing state for whole pages, so it makes
> no sense to "ad-hoc" store state of tree in URL either.
In my case, th
I did(myForm_sammen.setOutputMarkupId(true))... However further testing
showed,that it was as Igor wrote. Actually got an ajax post when on blur
occurred.
Thanks though for the reply
Regards Nino
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martij
In wicket 2.0 you can create pages that are not stored in session
(stateless pages).
Anyway, It's not possible with wicket to store state of tree in url, and
I doubt it ever will be. URL length is limited so it wouldn't work for
bigger trees. And wicket is managing state for whole pages, so it
> But this is something different. Bookmarkable urls doesn't mean that
> there is no session. You have to store the state of tree somewhere.
What I mean is that the state of the tree is determined by the URL
parameter. I don't need to store the state anywhere else.
I'd like to do away with sessi
David Leangen wrote:
> Hello!
>
>> so what you want is instead of url doing this:
>>
>> /mytree
>>
>> /app?wicket:interface=
>>
>> to do this
>> /mytree
>>
>> /mytree?wicket:interface=
>>
>> is this correct? and if so...
>
> Yes, that's exactly correct!
>
>> i proposed this awhile bac
Hello!
> so what you want is instead of url doing this:
>
> /mytree
>
> /app?wicket:interface=
>
> to do this
> /mytree
>
> /mytree?wicket:interface=
>
> is this correct? and if so...
Yes, that's exactly correct!
> i proposed this awhile back, and i think we decided not to proceed
Actually, I've been thinking about this "hybrid" urls for a while (also
discussed it with igor) and I think it's something we should have. I'm
probably going to refactor current request encoding/decoding stuff so I
plan to address this there.
-Matej
Igor Vaynberg wrote:
> the sharedresourcetar
the sharedresourcetarget is not the link url it is the node image's url. the link url will be represented by a ListenerInterfaceRequestTarget.so what you want is instead of url doing this:/mytree
/app?wicket:interface=to do this/mytree/mytree?wicket:interface=is this correct? and if so...i
I did some digging, and this is about as far as I got for now:
When determining how to render the link for each node in the tree,
eventually WebRequestCodingStrategy.encode(RequestCycle, IRequestTarget)
is called.
Tracing a little further the following call is made:
WebRequestCodingStrategy.p
usually what i do when i have a reusable piece of code that impacts navigation is create abstract event handlesabstract class EditUserForm extends Form { abstract void onSave(User user);
abstract void onCancel();}if you are talking about page boundaries insterad of component
My apologies if this is a topic that's been covered before on this list.
I did a search on the admin page for URL, IPageLink, ILinkListener, etc,
but came up with nothing. Perhaps the search engine is wanting...
Anyhow, we're currently evaluating Wicket for use in developing a fairly
large websi
Can you send more information?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Арв?EОе
> тук
> Sent: 13 July 2006 20:59
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] tree model
>
>
> When I use class which implement TreeNode, I
probably because this call:AjaxFormValidatingBehavior.addToAllFormComponents(form,
"onchange");will only modify form components in the hierarchy - since your second tab is not in the hierarchy until you switch to it the form components in it are not affectedyou have to make this call as part of the
imho any exception that occurs inside idataprovider is unrecoverable so a runtime exception would be appropriate.if we introduce throws Exception then a lot of classes have to also include that and it will get messy
just wrap the exception with a runtimeexception-IgorOn 7/13/06, Michael Welter <[EM
also onchange on the checkboxes is delayed until the onblur event so you are better off using onclick, and there is of course a wicket.ajax.markup.html.form.AjaxCheckBox ready for you as well-Igor
On 7/13/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
Did you do myForm_sammen.setOutputMarkupId(tru
Hi,
I am having a problem setting values in a model via the
panels on a TabbedPanel.
I have a page which contains a form containing a TabbedPanel
with two AbstractTab panels.
Each of these panels contains a single Textbox.
I want to use the same model for the whole form so have
ca
hello
freinds
we have implemented autocomplete text feild ,
and we have to implement another _javascript_ file to its also
we have to set UTF-8 to it,
ie showing that particular format to that component.
wating for reply
--
Regards
Ketan D.Gote
---
hello
freinds
we have implemented autocomplete text feild ,
we have to set UTF-8 to it,
ie showing that particular format to that component.
wating for reply-- RegardsKetan D.Gote
-
Using Tomcat but need to do more? Need to s
In my class that implements IDataProvider, I perform database I/O.
However, there is no way to pass an exception back to the caller.
Would it be possible to change the signatures for the interator function
in IDataProvider to include "throws Exception"? Is there a better way
to signal an excep
Did you do myForm_sammen.setOutputMarkupId(true) in your page constructor?
Martijn
On 7/13/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> Hi
>
> Im currently working on a checkbox that needs to do some stuff on a onchange
> request.
>
> However it looks as the AJAX call never is made, I have other
Hi
Im currently working on a checkbox that needs to do some stuff on a onchange
request.
However it looks as the AJAX call never is made, I have other ajax calls on the
page that works just fine (also using the onchange modifier)
When looking at the below code it should work fine it seems t
When I use class which implement TreeNode, I got ClassCastException. Tree use
only DefaultMutableTreeNode.
Wich way I can use?
-Original Message-
From: Michael Welter <[EMAIL PROTECTED]>
To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net
Date: Thu, 13 Jul 2006 03:33:53
my error..URL path = ImageClass.class.getResource("seeds.jpg");
BufferedImage nimg = ImageIO.read(path.openStream());does the trickOn 7/13/06, Ayodeji Aladejebi <
[EMAIL PROTECTED]> wrote:
PackageResourceReference pack = new PackageResourceReference(ImageClass.class,"myimage.jpg");
URL path = nul
see log4j.properties
On 7/13/06, Tymur Porkuyan <[EMAIL PROTECTED]> wrote:
> I would like to turn off some loggers (especially the one in the
> CryptedUrlWebRequestCodingStrategy). How can I do it?
>
> Thanks in advance.
>
>
> ---
I would like to turn off some loggers (especially the one in the
CryptedUrlWebRequestCodingStrategy). How can I do it?
Thanks in advance.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff
PackageResourceReference pack = new PackageResourceReference(ImageClass.class,"myimage.jpg");
URL path = null; try {
path = ((WebApplication)getApplication()).getWicketServlet().getServletContext().getResource(urlFor(pack).toString());
} catch (MalformedURLE
Hi,
I'd like to update a TextField in a Form that is connected to a
DatePicker. But somehow this does not work.
My first impression is that DatePicker winns over the setOutputMarkupId
method in setting the id atribute of the TextField.
Could that be true and is it a bug or a feature, esp. is there
Absolutely! The ability to drill-down into a data structure without
having to instantiate the entire structure in memory.
Арву Оетук wrote:
> Hi all.
> I want use big tree model.
> But I don't want load all tree in memory.
> Is it possible use TreeNode instead DefaultMutableTreeNode?
> Or other
Hi all.
I want use big tree model.
But I don't want load all tree in memory.
Is it possible use TreeNode instead DefaultMutableTreeNode?
Or other way exists?
Dmitry.
-
Using Tomcat but need to do more? Need to support web ser
Found it! Thank you!
this.visitFormComponents( new FormComponent.IVisitor()
{
public void formComponent(FormComponent
formComponent)
{
Thank you very much! It works when you use (Wicket 1.2):
super("class", true, new Model("error"), " ");
I didn't understand how you can use an IVisitor from a base page.
2006/7/13, Martijn Dashorst <[EMAIL PROTECTED]>:
> Giving your web designers a better ride, you could do:
>
> su
How would I go about getting the Tree component to "listen" to my mount
point? I mounted the page and would like to do away with the use of
sessions, but when I click on a node, I "lose" the mount point on the
page.
This is how the link is created:
protected Link createNodeLink(final DefaultMu
Giving your web designers a better ride, you could do:
super("class", true, "error", " ");
and have your designer do the css thing for you:
.error {
background-color : red;
}
.error:after {
content : "!!!";
color : red;
font-weight: bolder;
}
(last one doesn't work in IE though
Thank you all.
As pointed out, I was only missing the pom.xml file in the immediate
parent directory.
On Thu, 2006-07-13 at 00:03 -0700, Aaron Hiniker wrote:
> I had the same problem... I eventually checked out the entire wicket
> svn instead of just the wicket core.. ie do a checkout on
>
>
I used this AttributeAppender technique as well (although I tested for component#hasErrorMessage() instead ) and you can use an IVisitor from a base page to add this behavior to all of your form components automatically
Aaron
On Wed, 2006-07-12 at 23:52 -0700, Igor Vaynberg wrote:
dont
Sure, that would be welcome. Thanks,
Eelco
On 7/13/06, David Leangen <[EMAIL PROTECTED]> wrote:
>
> Ok, thank you!
>
> Do you think I should submit a patch to add this explanation to the
> javadoc?
>
>
>
> On Thu, 2006-07-13 at 08:29 +0200, Eelco Hillenius wrote:
> > Hello,
> >
> > It is not nec
Ok, thank you!
Do you think I should submit a patch to add this explanation to the
javadoc?
On Thu, 2006-07-13 at 08:29 +0200, Eelco Hillenius wrote:
> Hello,
>
> It is not necessary in from 1.2 on to pre-register shared resources.
> The big reason to loose that requirement - besides conveni
I had the same problem... I eventually checked out the entire wicket svn instead of just the wicket core.. ie do a checkout on
https://svn.sourceforge.net/svnroot/wicket/branches/WICKET_1_2/
vs
https://svn.sourceforge.net/svnroot/wicket/branches/WICKET_1_2/wicket
Then "mvn install" on the W
43 matches
Mail list logo