Re: [Wicket-user] Fwd: FW: UI Framework selection

2007-01-20 Thread Scott Swank
Mighty slick, and much appreciated.

On 1/20/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> An example:
>
> Map variables = new HashMap CharSequence>(7);
> variables.put("javaScriptId", javaScriptId);
> variables.put("backGroundElementId", backgroundElementId);
> variables.put("imageElementId", imageElementId);
> variables.put("leftUp", settings.getLeftUp());
> variables.put("rightDown", settings.getRightDown());
> variables.put("tick", settings.getTick());
> variables.put("formElementId", element.getId());
>
> add(TextTemplateHeaderContributor.forJavaScript(Slider.class,
> "init.js", Model.valueOf(variables)));
>
> Where init.js is:
>
> var ${javaScriptId};
> function init${javaScriptId}() {
>${javaScriptId} =
> YAHOO.widget.Slider.getHorizSlider("${backGroundElementId}",
> "${imageElementId}", ${leftUp}, ${rightDown}, ${tick});
>${javaScriptId}.onChange = function(offsetFromStart) {
> document.getElementById("${formElementId}").value = 
> offsetFromStart;
> }
> }
>
>
> Eelco
>
> On 1/19/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> > Very kind, thank you.  So JavaScriptTemplate defines foo as a
> > document-level object?  Nice.  Much appreciated.
> >
> > Scott
> >
> > On 1/19/07, Nathan Hamblen <[EMAIL PROTECTED]> wrote:
> > > What, you're deciding between Wicket and JSF and no one has answered
> > > your question? Unacceptable!
> > >
> > > JavaScriptTemplate is good for passing variables into Javascript. You
> > > can use a cache buster to make sure it gets loaded each time. So, with
> > > that approach you would have a plain onclick="oldJavaScript(foo);" in
> > > your page template because foo has already been set in the external js
> > > template.
> > >
> > > A quicker and dirtier approach is to use an AttributeModifier for
> > > "onclick" to patch together the full script call during page generation.
> > >  Using an anonymous subclass model: new AbstractReadOnlyModel() { ...
> > > getObject(...) { return "oldJavaScript(" + foo + ");"; }} And so on.
> > >
> > > Nathan
> > >
> > >
> > > > What sort of options are there for embedding simple scalar values into
> > > > an html page, particularly into the parameters of an existing
> > > > javascript method?  I'm looking for something along the lines of:
> > > >
> > > > onclick=oldJavaScript();
> > > >
> > > > Which is then rendered as
> > > >
> > > > onclick=oldJavaScript(1234);
> > >
> > >
> > >
> > > -
> > > 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 topics through brief surveys - and earn cash
> > > http://www.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
> > >
> >
> >
> > --
> > Scott Swank
> > reformed mathematician
> >
> > -
> > 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 topics through brief surveys - and earn cash
> > http://www.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
> >
>
> -
> 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 topics through brief surveys - and earn cash
> http://www.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
>


-- 
Scott Swank
reformed mathematician

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Fwd: FW: UI Framework selection

2007-01-20 Thread Eelco Hillenius
An example:

Map variables = new HashMap(7);
variables.put("javaScriptId", javaScriptId);
variables.put("backGroundElementId", backgroundElementId);
variables.put("imageElementId", imageElementId);
variables.put("leftUp", settings.getLeftUp());
variables.put("rightDown", settings.getRightDown());
variables.put("tick", settings.getTick());
variables.put("formElementId", element.getId());

add(TextTemplateHeaderContributor.forJavaScript(Slider.class,
"init.js", Model.valueOf(variables)));

Where init.js is:

var ${javaScriptId};
function init${javaScriptId}() {
   ${javaScriptId} =
YAHOO.widget.Slider.getHorizSlider("${backGroundElementId}",
"${imageElementId}", ${leftUp}, ${rightDown}, ${tick});
   ${javaScriptId}.onChange = function(offsetFromStart) {
document.getElementById("${formElementId}").value = 
offsetFromStart;
}
}


Eelco

On 1/19/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> Very kind, thank you.  So JavaScriptTemplate defines foo as a
> document-level object?  Nice.  Much appreciated.
>
> Scott
>
> On 1/19/07, Nathan Hamblen <[EMAIL PROTECTED]> wrote:
> > What, you're deciding between Wicket and JSF and no one has answered
> > your question? Unacceptable!
> >
> > JavaScriptTemplate is good for passing variables into Javascript. You
> > can use a cache buster to make sure it gets loaded each time. So, with
> > that approach you would have a plain onclick="oldJavaScript(foo);" in
> > your page template because foo has already been set in the external js
> > template.
> >
> > A quicker and dirtier approach is to use an AttributeModifier for
> > "onclick" to patch together the full script call during page generation.
> >  Using an anonymous subclass model: new AbstractReadOnlyModel() { ...
> > getObject(...) { return "oldJavaScript(" + foo + ");"; }} And so on.
> >
> > Nathan
> >
> >
> > > What sort of options are there for embedding simple scalar values into
> > > an html page, particularly into the parameters of an existing
> > > javascript method?  I'm looking for something along the lines of:
> > >
> > > onclick=oldJavaScript();
> > >
> > > Which is then rendered as
> > >
> > > onclick=oldJavaScript(1234);
> >
> >
> >
> > -
> > 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 topics through brief surveys - and earn cash
> > http://www.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
> >
>
>
> --
> Scott Swank
> reformed mathematician
>
> -
> 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 topics through brief surveys - and earn cash
> http://www.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
>

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] How to run wicket-quickstart?

2007-01-20 Thread Igor Vaynberg

there is a class called Start that comes with quickstart, just launch that
class as a java app and it will startup jetty, etc

-igor


On 1/20/07, Zhang Hailong <[EMAIL PROTECTED]> wrote:


Hi all,

I'm new to Wicket. I have downloaded wicket-quickstart-1.2.4. I tried to
follow the Quickstart Guide 
(http://wicketframework.org/wicket-quickstart/eclipse.html
), but it's seems that the content of my package is different from the
guide.
So, how to use the Quickstart?

Thanks in advance.


Regareds,
Hailong Zhang

-
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 topics through brief surveys - and earn cash
http://www.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



-
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 topics through brief surveys - and earn cash
http://www.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


[Wicket-user] custom (per component) resource loading improvement in 1.3

2007-01-20 Thread Eelco Hillenius
FYI, I checked in this http://issues.apache.org/jira/browse/WICKET-224
yesterday. For those of you having to deal with custom markup loading
this is quite an improvement, as the improvement (or rather backport)
means that you can now get your templates from a dynamic location. The
previous situation was that caching prevented to use truly dynamic
resources, but now you can mark resources so that they won't get
cached.

Eelco

-
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 topics through brief surveys - and earn cash
http://www.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


[Wicket-user] status wicket-stuff projects

2007-01-20 Thread Eelco Hillenius
Last weekend and today I have been working on updating the 1.3 (for
Wicket 1.x/ 1.3) and trunk (for Wicket 2.0) branches of the
wicket-stuff repository. I couldn't get all projects working right;
the dojo-examples project has too many breaks and there is a
dependency problem with the tinymce projects, but most projects
compile for their respective version. Of course, I wouldn't mind if
the people working on those projects would give things an extra check
:)

Anyway, most projects should be release ready, so when the site is
done, doing a release of a bunch of those projects shouldn't be too
hard.

Eelco

-
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 topics through brief surveys - and earn cash
http://www.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


[Wicket-user] integrate Wicket stuff examples projects

2007-01-20 Thread Eelco Hillenius
I just filed http://issues.apache.org/jira/browse/WICKET-227, which we
are considering because of an offline discussion we had on how to cut
down on maintenance for the core projects.

I think we can do much the same for the Wicket-stuff projects. There
are a couple of projects with their own example projects. This makes
sense when projects are new and you can expect lots of changes in a
short while, but for a couple of these examples projects we could
consider merging them with the existing wicket-contrib-examples
project. The advantage of that is that it is easier to update them for
API breaks in the core projects (I seem to be the main one doing that
so far), but also in this way it is much easier for people to get an
idea what is in the wicket-stuff projects. Also, my hunch is that it
increases chances of others getting involved in one of the projects.

On the list to merge would be:
* wicket-contrib-jasperreports
* wicket-contrib-dojo-examples (though it doesn't seem to be
maintained anymore, so it actually might make sense to add a few
examples from scratch)
* wicket-contrib-yui-examples
* wicket-contrib-tinymce-examples (doesn't build now due to a dependency issue)
* wicket-contrib-scriptaculous
* wicket-contrib-beanpanels (create examples from scratch?)

Some other wicket-stuff project already have been integrated.

WDYT? Any volunteers?

Eelco

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-20 Thread Jean-Baptiste Quenot
* Filippo Diotalevi:

> On 1/20/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
>
> > On 1/20/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
> >
> > > I  don't understand  the whole  issue: the  idea is  to move
> > > wicket-stuff outside  of Sourceforge?   Why is  the provided
> > > URL just an ip address?
>
> Yeah, I ported quite all the  contents of the old website in the
> new one.

I noticed  that, that will be  much easier now to  begin improving
the existing pages.

> There's also a Jira installation ready to be used.

I  just added  the Wicket  Contrib  Dojo project.   Seems to  work
great.
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
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 topics through brief surveys - and earn cash
http://www.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


Video Aulas, cursos em v�deo. Aprenda a fazer tudo com video cursos

2007-01-20 Thread Marcia Ribeiro
Video Aulas para download, cursos em vídeo. Vários assuntos. Aprenda a
fazer sushi, curso de Yoga em vído, video aula de sedução, video curso de
massagem sensual:

http://www.gueb.de/videocursosbrasil

Video cursos de informática, ginástica, artes marciais. Tudo em cursos
para download. Vídeos com entrega imediata. Aulas práticas e
demonstrativas. Plataforma para e learning. Ensino a distancia.
Treinamentos, cursos, congressos, seminarios, video  digital com
transmissão ao vivo, aulas.

http://www.gueb.de/videocursosbrasil

Comercializa vídeos de aulas  de música, incluindo guitarra, baixo,
bateria, flauta, gaita, pandeiro, canto, dança e harmonia. Encontre no
nosso site cursos de Várias áreas para sua escolha e aprimoramento:

http://www.gueb.de/videocursosbrasil

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Multiple sessions from one client

2007-01-20 Thread Igor Vaynberg

what we need of course is the window scope weve discussed before :) but we
wont have that till 3.0

-igor


On 1/20/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


Did anyone try my suggestion of using the pagemap name as a partial
key for the objects you want to store in the session dependent of the
window? I think that should work well enough.

Eelco


On 1/20/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> But then in wicket we should have support for that,
> that you can say: no url encoding for this page at all in this request.
> So that the login page will be completely sessionless when it comes back
in
> and after that you will have 2 jsessionid's in the 2 browsers yes.
>
> But Wicket should be able to abstract this completely, for example
> can't we set a cookie where we store the pagemap/session name?
> And that cookie tells use which wicket session too take within the
> httpsession?
>
> johan
>
>
>
>
>
> On 1/20/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> > Erik van Oosten wrote:
> > > Short answer: NO.
> > >
> > > Long answer: mostly no, but it strongly depends on the browser.
> > >
> > > Solution: do not use the session (is against Wicket matra anyway)
but
> > > maintain state in the Wicket components. Make sure that your
components
> > > are versioned (defaults to on).
> > >
> > Yeah, but this is not a solution always (if you have to for example
> > allow two different users to be logged in for some reason). Only thing
> > I can think of that could work is to disable session cookies (if the
> > container allows it) and use jsessionid in url only. This way you can
> > have different session in every browser window.
> >
> > -Matej
> > > Regards,
> > >  Erik.
> > >
> > >
> > > Johannes Fahrenkrug wrote:
> > >> Is it possible to have multiple sessions from the same client?
> > >>
> > >
> >
> >
> >
>
-
> > 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 topics through brief surveys - and earn cash
> >
>
http://www.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
> >
>
>
>
-
> 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 topics through brief surveys - and earn cash
>
http://www.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
>
>
>

-
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 topics through brief surveys - and earn cash
http://www.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

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Multiple sessions from one client

2007-01-20 Thread Eelco Hillenius
Did anyone try my suggestion of using the pagemap name as a partial
key for the objects you want to store in the session dependent of the
window? I think that should work well enough.

Eelco


On 1/20/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> But then in wicket we should have support for that,
> that you can say: no url encoding for this page at all in this request.
> So that the login page will be completely sessionless when it comes back in
> and after that you will have 2 jsessionid's in the 2 browsers yes.
>
> But Wicket should be able to abstract this completely, for example
> can't we set a cookie where we store the pagemap/session name?
> And that cookie tells use which wicket session too take within the
> httpsession?
>
> johan
>
>
>
>
>
> On 1/20/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> > Erik van Oosten wrote:
> > > Short answer: NO.
> > >
> > > Long answer: mostly no, but it strongly depends on the browser.
> > >
> > > Solution: do not use the session (is against Wicket matra anyway) but
> > > maintain state in the Wicket components. Make sure that your components
> > > are versioned (defaults to on).
> > >
> > Yeah, but this is not a solution always (if you have to for example
> > allow two different users to be logged in for some reason). Only thing
> > I can think of that could work is to disable session cookies (if the
> > container allows it) and use jsessionid in url only. This way you can
> > have different session in every browser window.
> >
> > -Matej
> > > Regards,
> > >  Erik.
> > >
> > >
> > > Johannes Fahrenkrug wrote:
> > >> Is it possible to have multiple sessions from the same client?
> > >>
> > >
> >
> >
> >
> -
> > 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 topics through brief surveys - and earn cash
> >
> http://www.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
> >
>
>
> -
> 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 topics through brief surveys - and earn cash
> http://www.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
>
>
>

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Setting html-tags properties

2007-01-20 Thread Peter Thomas

Thanks Igor, I did as you said - got the source also out of the Maven2 repo
(easier :) and it is working now with this one line in app init() as
follows:

WicketMessageTagHandler.enable = true;

Thanks for your help,

Peter.

On 1/21/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


the code i wrote was against 1.3, im not sure how it is different against
1.2.x, you have 1.2.4 source code right (i dont have it checked out)? just
look at how other filters are registered there.

-igor


On 1/20/07, Peter Thomas <[EMAIL PROTECTED]> wrote:

> Thanks Igor,
>
> I'm using 1.2.4 - and now a bit confused with these compilation
> problems:
>
> 1) doesn't WicketMessageTagHandler needs a ContainerInfo in the
> constructor.  Where is the best place to get that from?
>
> 2) and the super.initMarkupFilters(parser) line does not compile either.
>
> I see that as per apidocs, the compile problem is expected:
>
>
> 
http://wicket.sourceforge.net/apidocs/wicket/markup/parser/filter/WicketMessageTagHandler.html
>
> However from SVN I see that what you provided should work.
>
>
> 
http://svn.sourceforge.net/viewvc/wicket/trunk/wicket/src/java/wicket/markup/MarkupParserFactory.java?view=markup
>
> What am I missing?
>
> Thanks,
>
> Peter.
>
> On 1/20/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >
> > application.init() {
> >super.init();
> >getmarkupsettings.setmarkupparserfactory(new MarkupParserFactory()
> > {
> > protected void initMarkupFilters(final MarkupParser
> > parser)
> > {
> >  super.initMarkupFilters (parser);
> >   parser.registermarkupfilter(new wicketmessagetaghandler());
> > }
> >
> >
> > -igor
> >
> >
> > On 1/20/07, Peter Thomas < [EMAIL PROTECTED]> wrote:
> >
> > >  make sure you have WicketMessageTagHandler added to markupparser.
> > > >
> > > > -igor
> > > >
> > >
> > > I had the same question - but now how exacty do I add 
WicketMessageTagHandler
> > > to markupparser ?  I am trying to do this in the application but 
WicketMessageTagHandler
> > > needs a ContainerInfo.  Help!
> > >
> > > - Peter
> > >
> > >
-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Setting html-tags properties

2007-01-20 Thread Igor Vaynberg

the code i wrote was against 1.3, im not sure how it is different against
1.2.x, you have 1.2.4 source code right (i dont have it checked out)? just
look at how other filters are registered there.

-igor


On 1/20/07, Peter Thomas <[EMAIL PROTECTED]> wrote:


Thanks Igor,

I'm using 1.2.4 - and now a bit confused with these compilation problems:

1) doesn't WicketMessageTagHandler needs a ContainerInfo in the
constructor.  Where is the best place to get that from?

2) and the super.initMarkupFilters(parser) line does not compile either.

I see that as per apidocs, the compile problem is expected:


http://wicket.sourceforge.net/apidocs/wicket/markup/parser/filter/WicketMessageTagHandler.html

However from SVN I see that what you provided should work.


http://svn.sourceforge.net/viewvc/wicket/trunk/wicket/src/java/wicket/markup/MarkupParserFactory.java?view=markup

What am I missing?

Thanks,

Peter.

On 1/20/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> application.init() {
>super.init();
>getmarkupsettings.setmarkupparserfactory(new MarkupParserFactory() {
> protected void initMarkupFilters(final MarkupParser
> parser)
> {
>  super.initMarkupFilters (parser);
>   parser.registermarkupfilter(new wicketmessagetaghandler());
> }
>
>
> -igor
>
>
> On 1/20/07, Peter Thomas < [EMAIL PROTECTED]> wrote:
>
> >  make sure you have WicketMessageTagHandler added to markupparser.
> > >
> > > -igor
> > >
> >
> > I had the same question - but now how exacty do I add 
WicketMessageTagHandler
> > to markupparser ?  I am trying to do this in the application but 
WicketMessageTagHandler
> > needs a ContainerInfo.  Help!
> >
> > - Peter
> >
> >
>
>
>

-
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 topics through brief surveys - and earn cash
http://www.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



-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Setting html-tags properties

2007-01-20 Thread Peter Thomas

Thanks Igor,

I'm using 1.2.4 - and now a bit confused with these compilation problems:

1) doesn't WicketMessageTagHandler needs a ContainerInfo in the
constructor.  Where is the best place to get that from?

2) and the super.initMarkupFilters(parser) line does not compile either.

I see that as per apidocs, the compile problem is expected:

http://wicket.sourceforge.net/apidocs/wicket/markup/parser/filter/WicketMessageTagHandler.html

However from SVN I see that what you provided should work.

http://svn.sourceforge.net/viewvc/wicket/trunk/wicket/src/java/wicket/markup/MarkupParserFactory.java?view=markup

What am I missing?

Thanks,

Peter.

On 1/20/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


application.init() {
   super.init();
   getmarkupsettings.setmarkupparserfactory(new MarkupParserFactory() {
protected void initMarkupFilters(final MarkupParser
parser)
{
 super.initMarkupFilters (parser);
  parser.registermarkupfilter(new wicketmessagetaghandler());
}


-igor


On 1/20/07, Peter Thomas < [EMAIL PROTECTED]> wrote:

> make sure you have WicketMessageTagHandler added to markupparser.
> >
> > -igor
> >
>
> I had the same question - but now how exacty do I add WicketMessageTagHandler
> to markupparser ?  I am trying to do this in the application but 
WicketMessageTagHandler
> needs a ContainerInfo.  Help!
>
> - Peter
>
>



-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Setting html-tags properties

2007-01-20 Thread Igor Vaynberg

application.init() {
  super.init();
  getmarkupsettings.setmarkupparserfactory(new MarkupParserFactory() {
   protected void initMarkupFilters(final MarkupParser parser)
   {
super.initMarkupFilters(parser);
 parser.registermarkupfilter(new wicketmessagetaghandler());
   }


-igor


On 1/20/07, Peter Thomas <[EMAIL PROTECTED]> wrote:


make sure you have WicketMessageTagHandler added to markupparser.
>
> -igor
>

I had the same question - but now how exacty do I add WicketMessageTagHandler
to markupparser ?  I am trying to do this in the application but 
WicketMessageTagHandler
needs a ContainerInfo.  Help!

- Peter

On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
>
> yes you can :)
>
> -igor
>
>
> On 1/19/07, Erik van Oosten <[EMAIL PROTECTED] > wrote:
> >
> > Wauw!
> >
> > Can also do that with more properties?
> > Something like  > value="hereSomething" wicket:message="value=key,type=key2"/> ?
> >
> > Erik.
> >
> > Igor Vaynberg wrote:
> > >  > value="hereSomething"
> > > wicket:message="value=key"/>
> > >
> > > make sure you have WicketMessageTagHandler added to markupparser.
> > >
> > > -igor
>
>
-
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 topics through brief surveys - and earn cash
http://www.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



-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-20 Thread Filippo Diotalevi
On 1/20/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> On 1/20/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
> > I don't understand the whole issue: the idea is to move
> > wicket-stuff outside of Sourceforge?  Why is the provided URL just
> > an ip address?

Yeah, I ported quite all the contents of the old website in the new
one. There's also a Jira installation ready to be used.
Feel free to contribute enhancing the pages I created.

Hopefully we'll have a domain name soon, so we'll be able to make the switch.

--
  filippo

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-20 Thread Martijn Dashorst
> And what about wicketstuff.org then?  We could register it right
> now and point it to the afore-mentioned IP address.

done. will take a week or so to process

Martijn

-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-20 Thread Jean-Baptiste Quenot
* Martijn Dashorst:

> Hosting  the  important stuff  ourselves  is  beneficial to  the
> projects: JIRA  is   much  better   than  the   sf.net  tracker,
> confluence ditto.

Big +1, good initiative.

> The IP address is because we're still debating what to do with the
> wicketframework.org domain @dev list.

And what about wicketstuff.org then?  We could register it right
now and point it to the afore-mentioned IP address.

See 
http://www.nabble.com/Vote%3A-take-wicketframework.org-off-of-sf.net-servers-and-onto-our-own-box-tf3037015.html#a8440414
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-20 Thread Martijn Dashorst
On 1/20/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
> I don't understand the whole issue: the idea is to move
> wicket-stuff outside of Sourceforge?  Why is the provided URL just
> an ip address?

No, just the website and issue management. sf.net doesn't support
confluence as a wiki (it is java based) and sf.net's infrastructure is
built to hosts 100,000 projects. So the performance is typically very
bad... Hosting the important stuff ourselves is beneficial to the
projects: JIRA is much better than the sf.net tracker, confluence
ditto.

The IP address is because we're still debating what to do with the
wicketframework.org domain @dev list.

Martijn

> --
>  Jean-Baptiste Quenot
> aka  John Banana   Qwerty
> http://caraldi.com/jbq/
>
> -
> 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 topics through brief surveys - and earn cash
> http://www.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
>


-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-20 Thread Jean-Baptiste Quenot
* Eelco Hillenius:

> Sounds good to me. But rather than starting with a list of all project
> that are in wicket-stuff now, maybe we should make a list here of the
> projects people are willing to support (and thus write a piece about
> in this new site).
> 
> I'd be happy to write a short intro about:
> 
> * wicket-contrib-examples
> * wicket-contrib-yui
> * wicket-contrib-yui-examples
> * wicket-contrib-velocity
> * wicket-contrib-freemarker
> * wicket-contrib-data
> * wicket-contrib-data-hibernate-3.0
> 
> (though if Jean-Baptiste wants to write about velocity/freemarker that
> would be great too)

Ehem, I'm catching up on wicket-users, since the last weeks were
very busy.

I don't understand the whole issue: the idea is to move
wicket-stuff outside of Sourceforge?  Why is the provided URL just
an ip address?
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Multiple sessions from one client

2007-01-20 Thread Johan Compagner

But then in wicket we should have support for that,
that you can say: no url encoding for this page at all in this request.
So that the login page will be completely sessionless when it comes back in
and after that you will have 2 jsessionid's in the 2 browsers yes.

But Wicket should be able to abstract this completely, for example
can't we set a cookie where we store the pagemap/session name?
And that cookie tells use which wicket session too take within the
httpsession?

johan




On 1/20/07, Matej Knopp <[EMAIL PROTECTED]> wrote:


Erik van Oosten wrote:
> Short answer: NO.
>
> Long answer: mostly no, but it strongly depends on the browser.
>
> Solution: do not use the session (is against Wicket matra anyway) but
> maintain state in the Wicket components. Make sure that your components
> are versioned (defaults to on).
>
Yeah, but this is not a solution always (if you have to for example
allow two different users to be logged in for some reason). Only thing
I can think of that could work is to disable session cookies (if the
container allows it) and use jsessionid in url only. This way you can
have different session in every browser window.

-Matej
> Regards,
>  Erik.
>
>
> Johannes Fahrenkrug wrote:
>> Is it possible to have multiple sessions from the same client?
>>
>


-
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 topics through brief surveys - and earn cash
http://www.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

-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Setting html-tags properties

2007-01-20 Thread Peter Thomas


make sure you have WicketMessageTagHandler added to markupparser.

-igor



I had the same question - but now how exacty do I add WicketMessageTagHandler
to markupparser ?  I am trying to do this in the application but
WicketMessageTagHandler
needs a ContainerInfo.  Help!

- Peter

On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


yes you can :)

-igor


On 1/19/07, Erik van Oosten <[EMAIL PROTECTED]> wrote:
>
> Wauw!
>
> Can also do that with more properties?
> Something like  value="hereSomething" wicket:message="value=key,type=key2"/> ?
>
> Erik.
>
> Igor Vaynberg wrote:
> >  > wicket:message="value=key"/>
> >
> > make sure you have WicketMessageTagHandler added to markupparser.
> >
> > -igor


-
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 topics through brief surveys - and earn cash
http://www.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


[Wicket-user] How to run wicket-quickstart?

2007-01-20 Thread Zhang Hailong

Hi all,

I'm new to Wicket. I have downloaded wicket-quickstart-1.2.4. I tried to
follow the Quickstart Guide (
http://wicketframework.org/wicket-quickstart/eclipse.html), but it's seems
that the content of my package is different from the guide.
So, how to use the Quickstart?

Thanks in advance.


Regareds,
Hailong Zhang
-
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 topics through brief surveys - and earn cash
http://www.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


Re: [Wicket-user] Multiple sessions from one client

2007-01-20 Thread Matej Knopp
Erik van Oosten wrote:
> Short answer: NO.
> 
> Long answer: mostly no, but it strongly depends on the browser.
> 
> Solution: do not use the session (is against Wicket matra anyway) but 
> maintain state in the Wicket components. Make sure that your components 
> are versioned (defaults to on).
> 
Yeah, but this is not a solution always (if you have to for example 
allow two different users to be logged in for some reason). Only thing 
I can think of that could work is to disable session cookies (if the 
container allows it) and use jsessionid in url only. This way you can 
have different session in every browser window.

-Matej
> Regards,
>  Erik.
> 
> 
> Johannes Fahrenkrug wrote:
>> Is it possible to have multiple sessions from the same client?
>>   
> 


-
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 topics through brief surveys - and earn cash
http://www.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