How Wicket handle AJAX?And does anybody had success integrating it with know-frameworks like DWR (my best choice to do ajax stuff).Regards,Bruno-- Bruno Borges - SCJP 1.4
[EMAIL PROTECTED]
e could put all information together and submit to the Wiki.Thank you!-- Bruno Borges - SCJP
1.4[EMAIL PROTECTED]
us have themavailable to link from your pages.
com.foo.Index.html
and directories:src/webapp/style/style.csssrc/webapp/prototype/prototype.jssrc/webapp/WEB-INF/web.xmlsrc/main/java/com/foo/Index.html
src/main/java/com/foo/Index.javaNot complete, but a start.MartijnOn 3/17/06, Bruno Borges <[EMAIL
o complete: class PetShopApp extends WebApplication {
public String getPagesRootPath() { return "/WEB-INF/html/"; }}
Regards,Bruno Borges
Date: Mon, 20 Mar 2006 08:56:30 +0100From: "Dirk Markert" <[EMAIL PROTECTED]>To: wicket-user@lists.sourceforge.net
Subje
to say: Designers, access the "source" folder and edit only the html files and don't mess up with the directories. They must have some independence :)Regards,
-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4
Sun Certified Web Component Developer for 1.4
ht I had read that somewhere in the wiki, once upon a time.
>>> On 3/29/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:> >> please see wicket-example customresourceloading
>> Juergen>> On 3/29/06, Bruno Borges <[EMAIL PROTECTED]> wrote:> > I don't li
Navomatic example, I didn't want to update the entirely page.Regards,-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for
1.4Sun Certified Web Component Developer for 1.4
__Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for
1.4Sun Certified Web Component Developer for 1.4
Oh, one mistake in the code I sent.- The id for newUserLink I'm using is "newUser";
Everything works: AjaxLink replacing the div, the panel, submit, etc. Only the datePicker JS isn't working!Regards,On 5/4/06,
Bruno Borges <[EMAIL PROTECTED]> wrote:
I'm trying to
hday"
DatePickerSettings settings = new DatePickerSettings();settings.setIfFormat("%d/%m/%Y");settings.setWeekNumbers(false);DatePicker datePicker = new DatePicker("datePicker", fieldBirthday , settings);
add(datePicker);}}I can say for sure: the datepicker component was
Igor, I'm not sure if browsers support the "update head" thing (probably not), but one "first step" solution is to notify the component that it is been added through Ajax, so the component must generate a "load" function and return that function name to the Ajax call, so the Ajax JS can call that f
I found some links that might be of great interest!dynamic load _javascript_ from _javascript_
http://www.activewidgets.com/_javascript_.forum.6114.15/dynamic-load-_javascript_-from-_javascript_.htmlDojo Package System
http://dojo.jot.com/WikiHome/Documents/DojoPackageSystem_javascript_ Includeshtt
How to set up an initial Date in a DatePicker object?I want to use DatePicker for birthday property, but I want it to load with a date 10 years before current year. How can I achieve this?Regards,--
Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component
odel object for different properties?} {String name = user.getName
();// Why name is still null ?}
}
Am I missing something here? Where in the docs has some reference for Property Models ?-- Bruno Borges
[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component Developer for 1.4
et-wiki.org.uk/wiki/index.php/Models
-IgorOn 5/4/06,
Bruno Borges <[EMAIL PROTECTED]> wrote:
Isn't this code correct?class UserForm extends Form {
User user = new User(); // POJO Bean
{...BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(user);add(new TextField("name&q
Looks like there's no problem adding styles. http://www.dynamicdrive.com/forums/archive/index.php/t-3459.htmlThis URL is not quite what it should be for, but demonstrates how CSS's can be changed without reloading a page. And I'm sure the same way new .js files can be added to a Head section dynami
on the Panel and the Label gets updated when I click on the AjaxLink, but not the images.Do I have to do something extra to let images update or does Wicket doesn't support updating images by Ajax?
Thanks in advance.Evert
-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component Developer for
1.4
/** * Mark each form component on this form invalid. */ protected final void markFormComponentsValid();
Change from "invalid" to "valid". wicket.markup.html.form.Form classWhere is the best place to put this kind of information? (I'm sure wicket-user isn
only one? Instead of letting FeedbackPanel display one message for each field in my form, I want to put a message like "Please fill all required fields.". But I don't wanna check each field manually in the validate() method.
Regards,-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java
ne quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component Developer for
1.4
fields!"Isn't some way to remove messages, depending on the key of that message? This way, it would be easy to clear messages that were loaded from
RequiredValidator key. On 5/7/06, Igor Vaynberg <[EMAIL PROTECTED]
> wrote:
On 5/7/06, Bruno Borges <[EMAIL PROTECTED]
> wrote:
onent's validation of required check failed. this lets you filter out all the pesky required messages from the feedbackpanel
-Igor
-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component Developer for
1.4
Why can't I mount my pages so they all can be bookmarkable from "/" ?Just a note: the WicketServlet is under url-pattern = /site, so my pages would be bookmarkable like "/site/Index".Regards,
-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certifie
lways mounted on /if you want to mount something onto /site/index then you need to mount on /index not /
mount("/index",
Index.class);btw, your url mapping should be /site/* not just /site-Igor
On 5/8/06, Bruno Borges <
[EMAIL PROTECTED]> wrote:Why can't I mount my pages
orings we did. if so, then we should fix it.
-Igor
On 5/8/06, Bruno Borges <[EMAIL PROTECTED]> wrote:
Yeah, it's /site/*, I just cutted off the unnecessary info. Sorry... :DSo, how about something like:mountByClassName(String underPath, PackageName pkg);this would be the same as loop
I simple create an Image object which loads the image relative> from the webcontext root, and how do I add a random parameter so that the> browser
> > > will allways reload the image.> > >> > > Thanks,> > > Evert> > >> > >> > > 2006/5/7,
llian format
} catch(Exception e) {} // never throwsreturn new UncheckedMaskConverter(zipFormat);}};Isn't a better way to to this? --
Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component Developer for 1.4
I have changed the TypeValidator message, in several ways:foo/pkg/ MyWebApplication.properties MyWebApplication.java Application.propertiesfoo/pkg/pages FooPage.properties FooPage.html
FooPage.javaNone of these have worked. :/-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java
Should work. Can you see if you can reproduce in a wicket quickstart?Martijn
On 5/9/06, Bruno Borges <
[EMAIL PROTECTED]> wrote:I have changed the TypeValidator message, in several ways:
foo/pkg/ MyWebApplication.properties MyWebApplication.java Application.propertiesfoo/pkg/pages F
What's the difference between these two components and where they fit better?-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for
1.4Sun Certified Web Component Developer for 1.4
not. What could be better in your eyes?We will overhaul the converter interface in the next version so that it should be simpler.
johanOn 5/9/06,
Bruno Borges <[EMAIL PROTECTED]> wrote:
This is the only way I know (better: I learned from Wiki/Docs/Examples) on how to use MaskConverter:T
n Apache> > > Geronimo> > > > >> > >> >>
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 <http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
>> <
e to create an anon class. You can return there a normal class
> or a inner class if you want.>>> johan>> On 5/9/06, Bruno Borges <[EMAIL PROTECTED]> wrote:> >> > I really don't like the idea of having too many properties that must be
> "get"
user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for
1.4Sun Certified Web Component Developer for 1.4
d on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
___
Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component Developer for
1.4
er v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Bruno Borges
[EMAIL P
I still get english messages, that comes from Application.properties. My tought was that, overriding the default locale, I would get portuguese messages.Regards-- Bruno Borges
[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component Developer for 1.4
since the browser is sending a locale that will be used.-Igor
On 5/11/06,
Bruno Borges <[EMAIL PROTECTED]> wrote:
Shouldn't these calls override any locale the user is sending at the request (from the browser)? getApplicationSettings().setDefaultLocale(new Locale("pt
defaults to the server's locale -which is not the locale that is set as the default for Wicket.
EelcoOn 5/11/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:> no, the default locale is used when we cannot figure out what the user's
> local is afaik. since the browser is sen
settings and anything else youmight want to do.
Having just one way of doing things attracts more to me, and theconvenience win is minimal for the corner case of fixing a locale foran application.EelcoOn 5/11/06, Bruno Borges <
[EMAIL PROTECTED]> wrote:> Wouldn't be useful to have a
o
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user--
Bruno Borges[EMAIL PROTECTED]Sun Certified Java Pro
ry in theWIKI or something.EelcoOn 5/12/06, Bruno Borges <
[EMAIL PROTECTED]> wrote:> Just one question:>> How to authenticate an user and right after that create a session with a> Locale coming from the... database, for example? Remembering that the
> ISessionFactory is call
0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for
1.4Sun Certified Web Component Developer for 1.4
I just had an idea: how about require the programmer to inform the current page instance to "register" all Ajax components he pretends to use, _before_ using them? This way the Ajax component could return to the page everything it's going to need and then the page can load .js, .css, whatever in th
I don't think wicket has support for what you are asking for, but I can think in one possibility which is the use of Velocity to pre-render the html before wicket. On 5/14/06,
Yuri Magrisso <[EMAIL PROTECTED]> wrote:
Hi,Is there a way to define a parameter in the HTML markup, which is not specific
everything is fine... just a lazy monday... ;)On 5/15/06, Frank Silbermann <[EMAIL PROTECTED]
> wrote:I received an unusually low number of posts this weekend from the Wicket
user group, and none today. Is the mailing list down? If not, have Ibeen dropped from the list?---
when it is set.It is only initialized when the session is created.so session.setLocale(userLocale) works fine.And i would make my own Session so that you don't have to do setAttribute() but just call: setUser(user)
johanOn 5/12/06, Bruno Borges <
[EMAIL PROTECTED]> wrote:
Eelco, the
Looks like this last message I sent didn't reach the mailing list. Sending again... :P-- Forwarded message --From: Bruno Borges <
[EMAIL PROTECTED]>Date: May 12, 2006 11:34 AMSubject: Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLinkTo:
/12/06, Bruno Borges <[EMAIL PROTECTED]> wrote:
Just one question:How to authenticate an user and right after that create a session with a Locale coming from the... database, for example? Remembering that the ISessionFactory is called from the (Custom)WebApplication that has no knowledge about
How Wicket will handle if I have a html withHere comes the News PanelBut there's no Panel("newsPanel") object?
I know that with default's configuration, it will throw an exception, but if I setIResourceSettings.useDefaultOnMissingResource(true);What will happen? Will the still be printed out or wi
Will Wicket take care of cleaning up the HttpSession sometimes in a while?I mean, we create lots of components, for lots of pages the User is accessing. How Wicket know which objects must be removed and with which frequency it will do that?
How this mechanism works? I'm worry about large projects.T
Looks like setting visible false at a ListView instance isn't working properly.The html printed out by wicket is something like this:
...
...
...
And that's the reason Ajax can't set visible(false) at the listView component.You guys will probably say that I should put my ListVi
nd target that to set visible and so on. Because in html you need to target one thing (id)On 5/17/06,
Bruno Borges <[EMAIL PROTECTED]> wrote:
Looks like setting visible false at a ListView instance isn't working properly.The html printed out by wicket is something like this:
...
e added to a container where he is the only child??to require that looks stupid to me.
Maybe we could some do "see" it as one object by generating an markup id for every listview html component..."listview1", "listview2" and then target that as one thing. But that is
one thing we might try is to add an isvisible check to
internalOnAttach() so that lsitview does not create children if it is
not visible. johan what do you think?Igor, the problem is that we need to make possible the call for setVisible(false), just like any other component... _after_ the component
"listview", .> >> > listviewContainer.add (listview);> >> > > > wicket:id="listview">blah> >> > ... target.addComponent(listviewcontainer);> >> > this has the added advantage of hiding the listview's container, b
work. And yes I'm adding it to a target, the same way I do for a Label which works fine without adding it to a parent component.
On 5/18/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
Bruno Borges wrote:> One thing at a time:>> 1) setVisible works, when not doing through Ajax component
w.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Bruno Borges
Summa Technologies Inc.
www.summa-tech.
You can do it with a runtime include
But watch out for conflicts between HTMLs and you will need to do some hacks
like substring code inside tag only. Something like that. Possible it
is, but isn't out of the box. :D
"Everything is possible."
[]'s
--
Bruno Borges
Su
I made a post on my blog about how to do a conditional current menu using
Generics and Page Inheritance. Take a look!
http://bborges.blogspot.com/2007/06/wicket-current-menu-with-generics.html
[]'s!
--
Bruno Borges
Summa Technologies Inc.
www.summa-tech.com
(11) 8565-7739
(11) 3055-206
Martjin, how about call "svn update mail_signature" ?Wicket 1.2 released
!! Write Ajax applications without touching _javascript_!On 5/24/06, Martijn Dashorst <
[EMAIL PROTECTED]> wrote:
It just happens that tomorrow is a national holiday in the Netherlands... so... I might take you up on that offe
I don't know how to name it, but "Shuttle" was the name I've seen people using to specify this kind of component:
| Item 1 | >> | Item 3 |
| Item 2 | > | Item 4 || |
| || | < | |
|| << ||Where:
>> : move all right>
What could be the issues if two or more Wicket applications are deployed in the same Web Application? (two wicket servlets in web.xml; /app1, /app2)How easy is to integrate them?How should we modularize our applications so a huge project can have modules with teams working independently but not tot
4/06, Igor Vaynberg <[EMAIL PROTECTED]
> wrote:take a look at wicket-examples - every example is its own wicket application/servlet and it works like a charm.
integration i dont know about, depends on what you mean by integration :)-Igor
On 6/14/06, Bruno Borges <[EMAIL PROTECTED]
> wrote:
Wh
n i dont know about, depends on what you mean by integration :)>>>> -Igor>>>>>> On 6/14/06, Bruno Borges <
[EMAIL PROTECTED]> wrote:>>> What could be the issues if two or more Wicket applications are deployed>> in the same Web Application?>>&
Hi all.I'm coding a Modal Feedback Panel, but I need to call a function after the page is loaded to resize the div to fill the entire window.What's the best solution to define a _javascript_ function for a component that extends Panel, and it's called after the Page containing that component to be
It's just like in JFC Swing.You can't add the same JButton's instance into several JPanels... ;)[]'sOn 7/10/06, Johan Compagner <
[EMAIL PROTECTED]> wrote:use a listview if you want repeating stuff
But what do you mean exactly with the same panel?The same instance? That is not possible. A instance
The Personalized Home's Google webpage has a support for dynamic panels, in which the user can add, remove and positionate the panels around the page.www.google.com/ig
How could that be implemented using Wicket? :)[]'s-- Bruno BorgesSumma Technologies Inc.www.summa-tech.com(11) 8565-7739 - (11) 384
How to set the default operation when ENTER is pressed any field in the form? There's a form with 4 buttons (in html and in java) that simply send user to others pages, and the normal button to submit data with no corresponding button in Java, only in the html.
Thanks-- Bruno BorgesSumma Technolog
Is it possible to use LDMs and Trees?I find quite difficult to understand how to put them toguether. Could anyone give some hint? :)Thanks-- Bruno BorgesSumma Technologies Inc.
www.summa-tech.com(11) 8565-7739 - (11) 3846-1622
Will this patch be available in WICKET_1_2 ?:DOn 8/17/06, Eelco Hillenius <[EMAIL PROTECTED]
> wrote:Thanks. I submitted that change. Please anyone, whenever you feel like
you have to implement some hack to get a Wicket component workingproperly, send this list a note so that we can either confirm
71 matches
Mail list logo