Re: [Wicket-user] Skin effect in wicket

2007-05-29 Thread Marc-Andre Houle

The two way I know of :

1. It can be done using variation :
http://cwiki.apache.org/WICKET/multiple-markups-per-page.html

2. Also possible by using a Header contributor for CSS...
http://wicketframework.org/apidocs/wicket/behavior/HeaderContributor.html

Have fun

Marc

On 5/29/07, Javed [EMAIL PROTECTED] wrote:



I want to give skin effect to my web application. This means, can I have
option to select different html (look and feel) at the runtime depending
on
the selected skin usinging the java file (page)?

if there is any provision in wicket, please let me know.

Thanks in advance.
--
View this message in context:
http://www.nabble.com/Skin-effect-in-wicket-tf3833465.html#a10852794
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] session authentication

2007-05-10 Thread Marc-Andre Houle

http://wicketstuff.org/wicket13/signin

and

http://wicketstuff.org/wicket13/signin2

These are the best place to look!

Marc

On 5/10/07, eddmosphere [EMAIL PROTECTED] wrote:



Hi there!

I having a bit of trouble implementing session authentication in my
application. That is, I haven't quite figured out how to control
authentication page access.

I would really appreciate if someone could send me a simple application
with
a Login Page that provides access to a Welcome Page and a log out link -
not
allowing further access to the Welcome Page. Maybe the Login Page could
have
a link to the Welcome Page without submitting login/password (just for
testing purpose). I hope I explained my problem well.

Thanks in advance,
Edd
--
View this message in context:
http://www.nabble.com/session-authentication-tf3723063.html#a10418039
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] session authentication

2007-05-10 Thread Marc-Andre Houle

You can also download the source code of the examples to make some
modification to see exactly what is happening...

There not that much, I'm sure you'll get it...

Marc

On 5/10/07, eddmosphere [EMAIL PROTECTED] wrote:



Thanks for the reply, Marc

I've seen the examples, but didn't understand what were the basic steps to
take..I'm confused whether to use wicket auth-roles, annotations,
SignInPanel, SignInPage, etc etc.. :/

I'll take a better look ate the examples ;)


Thanks again,
Edd



Marc-Andre Houle wrote:

 http://wicketstuff.org/wicket13/signin

 and

 http://wicketstuff.org/wicket13/signin2

 These are the best place to look!

 Marc

 On 5/10/07, eddmosphere [EMAIL PROTECTED] wrote:


 Hi there!

 I having a bit of trouble implementing session authentication in my
 application. That is, I haven't quite figured out how to control
 authentication page access.

 I would really appreciate if someone could send me a simple application
 with
 a Login Page that provides access to a Welcome Page and a log out link
-
 not
 allowing further access to the Welcome Page. Maybe the Login Page could
 have
 a link to the Welcome Page without submitting login/password (just for
 testing purpose). I hope I explained my problem well.

 Thanks in advance,
 Edd
 --
 View this message in context:
 http://www.nabble.com/session-authentication-tf3723063.html#a10418039
 Sent from the Wicket - User mailing list archive at Nabble.com.



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
View this message in context:
http://www.nabble.com/session-authentication-tf3723063.html#a10421069
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] available application locales

2007-04-04 Thread Marc-Andre Houle

Add a Link, in the onClick method, add the code to set the local setting for
this session.  That's it.
add(new Link(french_wicket_tag)
{
public void onClick()
{
getSession().setLocale(Locale.FRENCH);
}
});
a hreh=# wicket:id=french_wicket_tagFrench version\a

Maybe there is something I didn't understand in the question, but it seem's
really just that.

On 4/4/07, Jan Kriesten [EMAIL PROTECTED] wrote:



hi,

i'm quite new to wicket and am impressed. :-)

i just stumbled over the i18n/l10n questions, which are relevant in most
of our
projects. if anyone could enlighten me how the following can be resolved
with
wickets:

we have a database driven approach localizing our application. so there is
a
config telling the app, which languages are available. all pages are
available
in all configured languages, a nav-link is available on any page to switch
language.

this said, how can i dynamically create links to a specific language of
the same
page? can i define/map distinct url-path to languages (e.g.
/en/index.html,
/de/index.html)?

thanks for your time! :-)

--- jan.


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] complex user case

2007-04-02 Thread Marc-Andre Houle

I think the use case is doable with wicket.  But I'm really not a guru in
Javascript and CSS (That is why I like wicket, it is done for me.), but the
functionality can need you to implement your own component. (I don't know
enough of the autocomplete field to know if is can suite your demands...)

Nothing is impossible, it depends on your skills(Javascript + CSS) and the
amount of time you want to invest in it...

On 4/2/07, richard schmidt [EMAIL PROTECTED] wrote:


I have had a look at the  AutoCompleteTextField component and although it
looks promising, it will require some extended functionality.

In particular if the getChoices(String input) method only returns one
choice, then that value should be entered into the test field.

What is the best approach to do this?

Should I extend the AutoCompleteTextField to change AutoCompleteBehavior
behaviour (presumably by changing the OnRequest(..) method somehow .

Or should I add some Javascript magic to my Html Page (for me Javascript
is pure magic!)


What comes close is Wicket's autocompletion field. It works just like
google's autocompletion. It is quite flexible and easy to use.

Regards,
Erik.





-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] XSD / Validation

2007-03-30 Thread Marc-Andre Houle

I think one of your answer can be found in this thread...

http://www.nabble.com/XHTML-ContentType-problem-tf3362030.html#a9352755

On 3/29/07, Johannes Schneider [EMAIL PROTECTED] wrote:


Hi,

I am new to Wicket and want to use XHTML and validate the files. I use
IntelliJ Idea but I could not succeed in validating. I run into two
problems:
- I did not find any wicket.xsd? I just found a DTD, but I don't know
how I should use it.
- How can I switch the file extension to xhtml (at the moment Wicket
only searches for .html). This would allow me to easily set up
IntelliJ to validate only the *.xhtml files.


Thanks for your help.

Johannes Schneider
--
Johannes Schneider
Im Lindenwasen 15
72810 Gomaringen

Fon +49 7072 9229972
Fax +49 7072 50
[EMAIL PROTECTED]
http://www.johannes-schneider.info

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] HTML problem with Opera

2007-03-27 Thread Marc-Andre Houle

Found the problem Opera don't like coordinates that look like 80.0 and
must be only 80.

Thanks to anybody who could have look and think about this issue! :)

Marc

On 3/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


Ok, It is not wicket related but since I don't know where to ask this and
the Opera forum seems a little bit desert, I'm trying within this community
that have a lot of bright big brained developers! :)
Here is the problem, We generate image, and we also generate image map to
make it possible to click on the image and mange everything using Javascript
(Look pretty cool in fact! :)
The problem is that Opera don't seem's to interpret incorrectly the image
map and does not work.

Someone got an idea what it can be?
I include a sample html and gif file (No need for a web server, just place
the two file side by side in the same folder and open it, you'll understand
what is happening.)
If someone got an idea, I'm open to try anything...

Marc


-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Marc-Andre Houle

lblArticleContent.setEscapeModelString(false);

On 3/27/07, Ralf Eichinger [EMAIL PROTECTED] wrote:


I'm developing a cms.
I want to output a html-string inside a wicket-page.
when I do like this:

Label lblArticleContent = new Label(lblArticleContent,
article.getHtmlContent());
add(lblArticleContent);

I get my html encoded like this:
lt;h1gt;Willkommen auf der Startseite!lt;/h1gt;lt;pgt;Hier kommt Ihr
Text...lt;/pgt;

Do I have to set something to not encode my html output?
Do I have to use another component than Label?

greetings
ralf

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] HTML problem with Opera

2007-03-26 Thread Marc-Andre Houle

Ok, It is not wicket related but since I don't know where to ask this and
the Opera forum seems a little bit desert, I'm trying within this community
that have a lot of bright big brained developers! :)
Here is the problem, We generate image, and we also generate image map to
make it possible to click on the image and mange everything using Javascript
(Look pretty cool in fact! :)
The problem is that Opera don't seem's to interpret incorrectly the image
map and does not work.

Someone got an idea what it can be?
I include a sample html and gif file (No need for a web server, just place
the two file side by side in the same folder and open it, you'll understand
what is happening.)
If someone got an idea, I'm open to try anything...

Marc










 
 
 

image.gif
Description: GIF image
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Newbie needs help to generate dynamic content

2007-03-22 Thread Marc-Andre Houle

Are you sure you have add the TextField in the ajaxTarget of the selection
change?
Maybe you can past us some code to look at it...

On 3/22/07, Nicolai Dymosz [EMAIL PROTECTED] wrote:


Hi All,

inside of a form  i have CheckBox and a TextField. In Java code i
implemented the onSelectionChanged Method for the CheckBox. The call of the
onSelectionChanged Method works fine. I changed the value of the TextField
Model, but the page doesnt't show the change. Can anybody help me?

Regards Nico



-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] attach/detach refactor in 1.x branch

2007-03-22 Thread Marc-Andre Houle

1.X is not the same as a future 1.2.6?  I am right to think it is only
useful for 1.3 adopters?

On 3/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


i have just backported the attach/detach refactor into 1.x branch from
trunk

what this means for you, if you dont already know, is that any time you
override onattach()/ondetach() you must call super. if you do not you will
get a runtime exception.

the reasons for this are in the mailing list archives if you are
interested.

-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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Marc-Andre Houle

Maybe this can help you.  At least, I hope...

http://cwiki.apache.org/WICKET/using-frames.html

Marc

On 3/20/07, Michel Wichers [EMAIL PROTECTED] wrote:


Hi guys,

I'm currently developing a page with two frames. The left frame
SelectionFrame contains an extensions Tree and the right frame Main
contains any Contents.

What i now want to do is to respond to the Contents Frame by clicking on
some special tree nodes.

e.g.:
...
@Override
protected void onNodeLinkClicked(AjaxRequestTarget target,
TreeNode node)
{
IConfigurationPage userObj = (IConfigurationPage)
((DefaultMutableTreeNode) node).getUserObject();
setResponsePage(new ConfigMainPage(userObj));
}
...

If you know any easy solution it would be great to share that with me.
Any help would be appreciated.


cheers!

Michel



-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Marc-Andre Houle

Now I understand what you mean.  Not sure it is possible, maybe someone with
more frame and PageMap experience will be able to answer you

In our application, instead of using real frame, we use Dojo which let you
display a page with resizable panel that look like frame.  So we display one
page containing multiple dojo panel.  Maybe that can make your life easier?

Marc

On 3/20/07, Michel Wichers [EMAIL PROTECTED] wrote:


Hello Marc,

thanks for the quick response. I've read that and also scanned the
wicket examples for frames where a base frame class is used which  holds
the target frames...

But i was wondering if there is a easier way to solve this since i do
not need to refresh the top page which holds the two frames
SelectionFrame and Main.

What about a Link which has an Attribute a  target=Main ... Is
there a way to change the target of the internal AJAX link?

Thanks in advance.

Michel



Marc-Andre Houle schrieb:
 Maybe this can help you.  At least, I hope...

 http://cwiki.apache.org/WICKET/using-frames.html

 Marc

 On 3/20/07, *Michel Wichers* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi guys,

 I'm currently developing a page with two frames. The left frame
 SelectionFrame contains an extensions Tree and the right frame
 Main
 contains any Contents.

 What i now want to do is to respond to the Contents Frame by
 clicking on
 some special tree nodes.

 e.g.:
 ...
 @Override
 protected void onNodeLinkClicked(AjaxRequestTarget
target,
 TreeNode node)
 {
 IConfigurationPage userObj = (IConfigurationPage)
 ((DefaultMutableTreeNode) node).getUserObject();
 setResponsePage(new ConfigMainPage(userObj));
 }
 ...

 If you know any easy solution it would be great to share that with
me.
 Any help would be appreciated.


 cheers!

 Michel




-
 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.phpp=sourceforgeCID=DEVDEV
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto: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.phpp=sourceforgeCID=DEVDEV
 

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Best regards / Mit freundlichen Grüßen
Michel Wichers
_
Ponton Consulting GmbH voice:  +49.40.69213-340
http://www.ponton-consulting.de/   fax:+49.40.69213-355
Dorotheenstrasse 60mobile: +49.175.566 9970
D-22301 Hamburgmailto:[EMAIL PROTECTED]
_

HRB 81480, AG Hamburg, Managing Director: Dr. Michael Merz
Ponton Consulting is a Member of C1 Group (www.c1-group.com)
_



-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Marc-Andre Houle

Nope, we started before the wicket-stuf/dojo project  So we ad the JS
and make the stuff directly... (In fact, it is just making div look
correctly for Dojo)

On 3/20/07, Michel Wichers [EMAIL PROTECTED] wrote:


Hello Marc,

thanks for the Dojo information i will check that out for our
requirements.

Have you used any Dojo-Wicket framework stuff for this?

Thanks!

Michel

Zitat von Marc-Andre Houle [EMAIL PROTECTED]:

 Now I understand what you mean.  Not sure it is possible, maybe someone
with
 more frame and PageMap experience will be able to answer you

 In our application, instead of using real frame, we use Dojo which let
you
 display a page with resizable panel that look like frame.  So we display
one
 page containing multiple dojo panel.  Maybe that can make your life
easier?

 Marc

 On 3/20/07, Michel Wichers [EMAIL PROTECTED] wrote:

 Hello Marc,

 thanks for the quick response. I've read that and also scanned the
 wicket examples for frames where a base frame class is used
which  holds
 the target frames...

 But i was wondering if there is a easier way to solve this since i do
 not need to refresh the top page which holds the two frames
 SelectionFrame and Main.

 What about a Link which has an Attribute a  target=Main ... Is
 there a way to change the target of the internal AJAX link?

 Thanks in advance.

 Michel



 Marc-Andre Houle schrieb:
 Maybe this can help you.  At least, I hope...

 http://cwiki.apache.org/WICKET/using-frames.html

 Marc

 On 3/20/07, *Michel Wichers* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi guys,

 I'm currently developing a page with two frames. The left frame
 SelectionFrame contains an extensions Tree and the right frame
 Main
 contains any Contents.

 What i now want to do is to respond to the Contents Frame by
 clicking on
 some special tree nodes.

 e.g.:
 ...
 @Override
 protected void onNodeLinkClicked(AjaxRequestTarget
 target,
 TreeNode node)
 {
 IConfigurationPage userObj = (IConfigurationPage)
 ((DefaultMutableTreeNode) node).getUserObject();
 setResponsePage(new ConfigMainPage(userObj));
 }
 ...

 If you know any easy solution it would be great to share that with
 me.
 Any help would be appreciated.


 cheers!

 Michel





-
 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.phpp=sourceforgeCID=DEVDEV
 

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto: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.phpp=sourceforgeCID=DEVDEV



 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 --
 Best regards / Mit freundlichen Grüßen
 Michel Wichers
 _
 Ponton Consulting GmbH voice:  +49.40.69213-340
 http://www.ponton-consulting.de/   fax:+49.40.69213-355
 Dorotheenstrasse 60mobile: +49.175.566 9970
 D-22301 Hamburgmailto:[EMAIL PROTECTED]
 _

 HRB 81480, AG Hamburg, Managing Director: Dr. Michael Merz
 Ponton Consulting is a Member of C1 Group (www.c1-group.com)
 _




-
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Marc-Andre Houle

You got an example here even if the code is missing, maybe there is a way of
using it...

http://www.demay-fr.net:8080/WCD13/app/?wicket:bookmarkablePage=wicket-0%3Awicket.contrib.dojo.examples.SplitContainerSample

Marc

On 3/20/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


Nope, we started before the wicket-stuf/dojo project  So we ad the JS
and make the stuff directly... (In fact, it is just making div look
correctly for Dojo)

On 3/20/07, Michel Wichers [EMAIL PROTECTED] wrote:

 Hello Marc,

 thanks for the Dojo information i will check that out for our
 requirements.

 Have you used any Dojo-Wicket framework stuff for this?

 Thanks!

 Michel

 Zitat von Marc-Andre Houle  [EMAIL PROTECTED]:

  Now I understand what you mean.  Not sure it is possible, maybe
 someone with
  more frame and PageMap experience will be able to answer you
 
  In our application, instead of using real frame, we use Dojo which let
 you
  display a page with resizable panel that look like frame.  So we
 display one
  page containing multiple dojo panel.  Maybe that can make your life
 easier?
 
  Marc
 
  On 3/20/07, Michel Wichers [EMAIL PROTECTED] wrote:
 
  Hello Marc,
 
  thanks for the quick response. I've read that and also scanned the
  wicket examples for frames where a base frame class is used
 which  holds
  the target frames...
 
  But i was wondering if there is a easier way to solve this since i do
  not need to refresh the top page which holds the two frames
  SelectionFrame and Main.
 
  What about a Link which has an Attribute a  target=Main ... Is
  there a way to change the target of the internal AJAX link?
 
  Thanks in advance.
 
  Michel
 
 
 
  Marc-Andre Houle schrieb:
  Maybe this can help you.  At least, I hope...
 
  http://cwiki.apache.org/WICKET/using-frames.html
 
  Marc
 
  On 3/20/07, *Michel Wichers*  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Hi guys,
 
  I'm currently developing a page with two frames. The left frame
  SelectionFrame contains an extensions Tree and the right frame
  Main
  contains any Contents.
 
  What i now want to do is to respond to the Contents Frame by
  clicking on
  some special tree nodes.
 
  e.g.:
  ...
  @Override
  protected void onNodeLinkClicked(AjaxRequestTarget
  target,
  TreeNode node)
  {
  IConfigurationPage userObj =
 (IConfigurationPage)
  ((DefaultMutableTreeNode) node).getUserObject();
  setResponsePage(new ConfigMainPage(userObj));
  }
  ...
 
  If you know any easy solution it would be great to share that
 with
  me.
  Any help would be appreciated.
 
 
  cheers!
 
  Michel
 
 
 
 
 
 -
  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.phpp=sourceforgeCID=DEVDEV
  
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  mailto: 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.phpp=sourceforgeCID=DEVDEV
 
 
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
  --
  Best regards / Mit freundlichen Grüßen
  Michel Wichers
  _
  Ponton Consulting GmbH voice:  +49.40.69213-340
  http://www.ponton-consulting.de/   fax:+49.40.69213-355
  Dorotheenstrasse 60mobile: +49.175.566 9970
  D-22301 Hamburgmailto:[EMAIL PROTECTED]
  _
 
  HRB 81480, AG Hamburg, Managing Director: Dr. Michael Merz
  Ponton Consulting is a Member of C1 Group ( www.c1-group.com)
  _
 
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Marc-Andre Houle

From a user base standpoint, I am just waiting for core developer to decide

something...

On 3/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


On 3/14/07, Anders Peterson [EMAIL PROTECTED] wrote:
 Don't poll too much - just decide on something. The core development
 team is relatively small isn't it... /Anders

But the user base isn't anymore.

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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-08 Thread Marc-Andre Houle

Who will build the first vote engine using wicket so we will not have to
vote in the mailling list directly? :)

On 3/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


We've gathered a lot of opinions by now (more are still welcome
though!) and I think we should let this sink in for a bit.

There are a couple of projects being built on 2.0 (see the replies in
this thread, but also
http://www.mail-archive.com/general@lists.ops4j.org/msg00240.html),
but so far, people who reacted seem to be understanding and flexible
to go with us if we would decide to revert the constructor change.

It looks like quite a few people, more than I expected in fact,
weren't that crazy about the constructor refactor in the first place,
though some people like it better in general (me being one of them
though I see disadvantages as well, but also
http://www.mail-archive.com/general@lists.ops4j.org/msg00402.html).
Based on the replies in this thread, it seems that people find add
more intuitive and like the flexibility that gives you over the
tighter model of 2.0

I propose to start a real vote on what to do with the constructor
change somewhere next week. Until then, please feel free to keep
venting your opinions on this thread.

Regards,

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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-07 Thread Marc-Andre Houle

Here, we are using 1.2.x in production.  Thinking of passing to 1.3, but the
rewrite would take way too much time to go with 2.0.

For us, it was a no brainer decision, why would we want to upgrade with that
much effort for peanuts (Not T-Bones).  I don't think big production
environment will stop using 1.x anytime soon and the port to 2.0 will be too
complicated for many software.

My 2 cents as a user.

Marc

On 3/7/07, Jonathan Locke [EMAIL PROTECTED] wrote:




I don't think you'll find that discussion thread because that
decision was something I made before there was much if any
discussion.  The reason it's the way it currently is has to do with
two things: (1) in the code you suggested, the parent has to
maintain a map from component name to component rather
than just a list or array of components, and maps are less space
efficient (which matters to scalability) and (2) without passing
the id into the component constructor, components have no
name of their own, which is at the very least some small violation
of OO principles which suggest that data be as local and hidden
as possible.  It would have been possible in the past to still keep
a list or array of children and only assign a name to a component
when it's added, but that would have (1) broken a lot of code for
not much reason and (2) had a certain magical non-intuitiveness
to a user (since they would never have explicitly named the
component they constructed, only added it to the parent container
with the name...) leaving them to not look for getName() or to
expect that might be null unless they set it.  It could be that I
made the wrong decision here, but it's a bridge we crossed
years ago.

jon


Aaron Hiniker-2 wrote:

 A little off-topic, but when I first started using wicket, I always
 thought it
 would be more intuitive to do something like:

 panel.add( myComponent, myComponent );

 Which leaves the constructors clean, and makes it very easy to
 choose/pass around components, because the markup id doesn't need to be
 known except by the parent thats actually attaching the component.  I
 can't remember why things never ended up that way... I'll have to search
 for that discussion thread.


--
View this message in context:
http://www.nabble.com/IMPORTANT%3A-your-opinion-on-the-constructor-change-in-2.0-tf3358738.html#a9352056
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Fwd: removeComponent?

2007-03-05 Thread Marc-Andre Houle

Make sure that you populate your list in the onAttach instead of the
constructor.  Most of the time, that was my error.  Or, make sure your model
is updated at the redraw

-- Forwarded message --
From: Jason Roelofs [EMAIL PROTECTED]
Date: Mar 5, 2007 11:25 AM
Subject: [Wicket-user] removeComponent?
To: wicket-user@lists.sourceforge.net

How do I tell Wicket to clear out an object who's underlying implementation
(db record, in this case) was just deleted? Current flow:

- Delete link clicked, sends Ajax request
- onClick deletes the object from DB, tells to redraw entire list of
objects
- my now deleted object still gets rendered
- Click on Delete link again, throws error because of course, the guy
doesn't actually exist

Is there some caching going on that I can clear?

Thanks

Jason

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket exemples down

2007-03-05 Thread Marc-Andre Houle

Wicket exemple is down :
http://www.wicket-library.com/wicket-examples

I got a proxy error.
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket exemples down

2007-03-05 Thread Marc-Andre Houle

Thanks.  Will it be the new standard example server.

I use it often just to get simple idea most of the time! :)

On 3/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


wicketstuff.org/wicket13

-igor


On 3/5/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:

 Wicket exemple is down :
 http://www.wicket-library.com/wicket-examples

 I got a proxy error.


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] xhtml compliant TabbedPanel

2007-02-27 Thread Marc-Andre Houle

I think you can just extends AjaxTabbedPanel and provide your own markup if
you want.  It is what I have done with lot of wicket component...  Not done
it for now on AjaxTabPanel, but it can be done.

On 2/27/07, Ivo van Dongen [EMAIL PROTECTED] wrote:


Hi,

We ran into a little problem with the (Ajax)TabbedPanel. The markup is
defined as:

*wicket:panel*
*div class=
**tab-row***
*ul*
*li wicket:id=**
tabs***
*a href=**#** wicket:id=**
linkspan wicket:id=**title***[[tab title]]
*/span**/a*
*/li*
*/ul*
*
/div*
*span wicket:id=**panel** class=**tab-panel
***[panel]*/span*
*/wicket:panel*



This leads us ito problems because a span tag is an inline element and
shouldn't contain any block level elements. Our designer is having
difficulties creating a consistent layout with it and we would like to be as
accesible as possible. Is there a reason why the panels are using a span?

Can I override the markup somehow (bij extending)? Perhaps this can be
changed to a div ?

Thanks in advance,
Ivo

--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket classes shared by multiple mark ups

2007-02-27 Thread Marc-Andre Houle

Here is the wiki article about this :
http://cwiki.apache.org/WICKET/multiple-markups-per-page.html

On 2/27/07, Chris Colman [EMAIL PROTECTED] wrote:


I'm new to wicket. I'm just wondering if it's possible for multiple
markups to share common wicket Java classes?

My aim with this is to provide different appearances and layouts by
having
multiple sets of CSS and the markup but reusing the same Wicket classes
that provide the content. Is this possible?

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ajax refresh of a RenderedDynamicImageRessource

2007-02-27 Thread Marc-Andre Houle

Some wise person said : Don't act like a fool if you don't want to be taken
for a fool.
I can add :Don't post to a mailing list at the end of a working day! :)
First, I was not adding the correct resource to my image, and secondly,
after a little search, I got the fact that Using directly
DynamicImageRessource was a better for my need.

Thanks a lot if you have checked, but finally, the problem was only me! :)

On 2/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


I have to display a custom build Image generated by another API.  The way
I hae thought of it right now is by extending RenderedDynamicImageResource.
Here is the way I work with it :
Create a panel containing an Image with the blank ressource.  Then,
clicking on a link, I refresh the panel, which should also refresh the image
to reflect the change.  The problem is that whatever happen, the render of
the graph is not called.  I mean, I set Height and width correctly, but the
image does not rerender.  It is possible that RenderedDynamicImageRessource
is not Ajax ready and if so, what can I use?

Here is the panel :
public GraphToDiplay(String id) {
super(id);
_graphImageRessource = new GraphImageRessource();
Image graph = new NonCachingImage(graph, new
ProcessGraphImageRessource());
graph.setOutputMarkupId (true);
add(graph);
}
public void onAttach()
{
Graph graph = getGraph();
_graphImageRessource.setGraph (graph);
}
Here is the Ressource :
public ProcessGraphImageRessource()
{
super(3, 3);
}
public void setGraph(Graph graph)
{
_graph = graph;
setWidth(graph.getWidth ());
setHeight(graph.getHeight ());
invalidate();
System.out.println(Setting height{ + graph.getHeight () + } and
width{ + graph.getWidth () + });
}
protected boolean render (Graphics2D graphics2D)
{
System.out.println(Rendering);
if(_graph != null)
{
if(_graph.getWidth () == this.getWidth ()  _graph.getHeight
() == this.getHeight ())
{
System.out.println(Suppose to paint this graph now...);
_graph.paintVisibleContent (graphics2D);
return true;
}
else
{
this.setWidth (_graph.getWidth ());
this.setHeight(_graph.getHeight ());
return false;
}
}
else
{
return true;
}
}


Thanks in advance

Marc

-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] error page recommendation

2007-02-26 Thread Marc-Andre Houle

getApplicationSettings ().setInternalErrorPage (InternalErrorPage.class);

On 2/26/07, Xavier Hanin [EMAIL PROTECTED] wrote:


Hi,

Is there any recommended way to handle errors in wicket? Is it possible to
use wicket to display an error page?

- Xavier

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Ajax refresh of a RenderedDynamicImageRessource

2007-02-26 Thread Marc-Andre Houle

I have to display a custom build Image generated by another API.  The way I
hae thought of it right now is by extending RenderedDynamicImageResource.
Here is the way I work with it :
Create a panel containing an Image with the blank ressource.  Then, clicking
on a link, I refresh the panel, which should also refresh the image to
reflect the change.  The problem is that whatever happen, the render of the
graph is not called.  I mean, I set Height and width correctly, but the
image does not rerender.  It is possible that RenderedDynamicImageRessource
is not Ajax ready and if so, what can I use?

Here is the panel :
   public GraphToDiplay(String id) {
   super(id);
   _graphImageRessource = new GraphImageRessource();
   Image graph = new NonCachingImage(graph, new
ProcessGraphImageRessource());
   graph.setOutputMarkupId (true);
   add(graph);
   }
   public void onAttach()
   {
   Graph graph = getGraph();
   _graphImageRessource.setGraph (graph);
   }
Here is the Ressource :
   public ProcessGraphImageRessource()
   {
   super(3, 3);
   }
   public void setGraph(Graph graph)
   {
   _graph = graph;
   setWidth(graph.getWidth ());
   setHeight(graph.getHeight ());
   invalidate();
   System.out.println(Setting height{ + graph.getHeight () + } and
width{ + graph.getWidth () + });
   }
   protected boolean render (Graphics2D graphics2D)
   {
   System.out.println(Rendering);
   if(_graph != null)
   {
   if(_graph.getWidth () == this.getWidth ()  _graph.getHeight ()
== this.getHeight ())
   {
   System.out.println(Suppose to paint this graph now...);
   _graph.paintVisibleContent (graphics2D);
   return true;
   }
   else
   {
   this.setWidth (_graph.getWidth ());
   this.setHeight(_graph.getHeight ());
   return false;
   }
   }
   else
   {
   return true;
   }
   }


Thanks in advance

Marc
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] No java source in wicket example

2007-02-23 Thread Marc-Andre Houle

Just grab this  while checking something in example at
http://wicketstuff.org/wicket13/ .
When clicking on source file, the pop-up display but you only have html an
properties.  There is no java class file.

Thought it was worth letting the administrator know! :)
Marc
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] No java source in wicket example

2007-02-23 Thread Marc-Andre Houle

https://issues.apache.org/jira/browse/WICKET-319

On 2/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


That's worth a JIRA report so Martijn can fix it :)

Eelco

On 2/23/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
 Just grab this  while checking something in example at
 http://wicketstuff.org/wicket13/ .
 When clicking on source file, the pop-up display but you only have
html an
 properties.  There is no java class file.

 Thought it was worth letting the administrator know! :)
 Marc


-
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket dev job in the LA Area

2007-02-22 Thread Marc-Andre Houle

Not that bad, now your resume is open to everybody! :)

On 2/22/07, cowwoc [EMAIL PROTECTED] wrote:



Ugh! Sorry for mistakenly posting this to the entire list :(

Gili

cowwoc wrote:
 Hi Daniel,

   I apologize if you get this email twice, as a power-out knocked
out my
 computer the last time I sent this out so I'm not sure whether you got
 it or not :)

   I've attached my CV to this email. I am interested in applying for
the
 Senior Software Engineer position and I would appreciate you giving more
 background on the position such as:

 1) Contractor or Full-Time? The former appeals to me strictly from a
 tax-deduction point of view :)

 2) Typical working hours? 40, 50, 60 hours a week?

 3) Size and makeup of the team I'd be working with.

 4) Working environment at Fox. What is the feel like? What kind of
 benefits does Fox offer? What are the career advancement opportunities
 like at Fox?

 Thank you,
 Gili

 Daniel Gould wrote:
 Hopefully a job listing isn't out-of-place on wicket-user (if so, I
 appologize).

 We are looking for two great wicket developers at FIM Labs, a
newly-formed
 new product research and development group at Fox Interactive
Media.  We're
 building a high-profile site witin MySpace using Wicket, and have a
bunch of
 other interesting projects going on.

 We're a small group that maintains a startup culture while still having
 access to the resources of Fox (MySpace, FoxSports.com, IGN,
 AmericanIdol.com, etc).  Or focus is on new social web
applications.  Right
 now, our group has one Software Engineer and one Sr. Software Engineer
 position open.

 We're in the LA area, but we'd be willing to relocate the right person.

 While we normally go though HR, feel free to send resumes for this
position
 to me (Daniel dot Gould at fox com) and I will forward them along to
HR.

 The job listing is below; that said, we care far more about smart
people who
 can pick things up than any laundry list of tools and languages.  (The
HR
 folks normally attach all the info about benefits, free movies on the
Fox
 lot, lunch at our building, stuff about being an equal oppt'y employer,
and
 all that to the bottom of these, but I wanted to send this out to the
wicket
 community right away, so if you need the even more official version,
let me
 know.)



-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] span tag inside a tag

2007-02-22 Thread Marc-Andre Houle

a href=ShowCategory.html wicket:id=NameLinkspan
wicket:id=nameCategory name/span/a

Page link lnk = new PageLink(NameLink, new ShowCategory(category))
lnk.add(new Label(name, category.getName()));
item.add(lnk);

On 2/22/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote:


Hi

I am tryiung to display a listview, where it must substitute the name of
the page and a link for that page:

HTML:
ul wicket:id=CategoryList
  lispan wicket:id=idCategoryID/span: span
 wicket:id=name
a href=ShowCategory.html
wicket:id=NameLinkCategoryName/a/span,
span wicket:id=descriptionCategoryDescription/span/li
/ul

Java:
add(new ListView(CategoryList, subcategories) {
protected void populateItem(ListItem item) {
Category category = (Category) item.getModelObject ();
item.add(new Label(id, category.getId().toString()));
item.add(new Label(name, category.getName()));
item.add(new Label(description, category.getDescription
()));
item.add(new PageLink(NameLink, new
ShowCategory(category)));
}
});

But i get this error:
WicketMessage: Expected close tag for 'span wicket:id=name' Possible
attempt to embed component(s) 'a href= ShowCategory.html
wicket:id=NameLink' in the body of this component which discards its body
[markup = file:/D:/Java/Wicketiki/build/web/WEB-INF/html/ShowCategory.html,
index = 15, current = 'a href= ShowCategory.html wicket:id=NameLink'
(line 19, column 5)]

I understand the error, but how can i do what i want?

Thanks in advance.

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Pass popup parameters from parent page

2007-02-20 Thread Marc-Andre Houle

In fact, the code I added earlier is only appending a parameters for your
pop up page named searchField.
So, in the constructor of the pop-up, only use PageParameters and grab the
parameters there.


On 2/20/07, serban.balamaci [EMAIL PROTECTED] wrote:



Thanks for the answer, but how can the searchfield value be retrieved in
the
popup?
And will it actually hold the value in the control or the url string of
the
component?



Marc-Andre Houle wrote:

 here is the way I have done it :
 popupSettings.setTarget (href +  + 'searchfield=' + document. +
 searchForm.getId () + . + textField.getId () + .value);

 On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

 there is a lot of javascript out there that shows you how to read the
 currently selected item out of a select box

 -igor


 On 2/19/07, serban.balamaci [EMAIL PROTECTED] wrote:
 
 
  Hi.
 
  I need to open a popup page that displays information that is related
 to
  parameters in the parent page. For example, a popuppage with a list
of
  streets, and in the parent i would have a combo with counties ids,
name
  and
  only the street in that county would be shown in the popup. The
problem
  is
  that i would not want to make an unnecesary trip back to the server,
 but
  by
  not doing so the model behind the combo of counties is not updated,
and
  an
  invocation on the onClick method of the link and calling
  combo.getModelObject does not return what was selected, since no data
 is
  passed to the server.
 
  I guess that the problem could be solved by using javascript, but i
  tried
  and found no solutions to how i could pass the parameters without
  forcing
  the user to first submit the form and then open the popup.
 
  Can it even be done?
 
  Thanks.
  --
  View this message in context:
 

http://www.nabble.com/Pass-popup-parameters-from-parent-page-tf3252580.html#a9041563
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 

-
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
View this message in context:
http://www.nabble.com/Pass-popup-parameters-from-parent-page-tf3252580.html#a9056928
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Pass popup parameters from parent page

2007-02-19 Thread Marc-Andre Houle

here is the way I have done it :
popupSettings.setTarget (href +  + 'amp;searchfield=' + document. +
searchForm.getId () + . + textField.getId () + .value);

On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


there is a lot of javascript out there that shows you how to read the
currently selected item out of a select box

-igor


On 2/19/07, serban.balamaci [EMAIL PROTECTED] wrote:


 Hi.

 I need to open a popup page that displays information that is related to
 parameters in the parent page. For example, a popuppage with a list of
 streets, and in the parent i would have a combo with counties ids, name
 and
 only the street in that county would be shown in the popup. The problem
 is
 that i would not want to make an unnecesary trip back to the server, but
 by
 not doing so the model behind the combo of counties is not updated, and
 an
 invocation on the onClick method of the link and calling
 combo.getModelObject does not return what was selected, since no data is
 passed to the server.

 I guess that the problem could be solved by using javascript, but i
 tried
 and found no solutions to how i could pass the parameters without
 forcing
 the user to first submit the form and then open the popup.

 Can it even be done?

 Thanks.
 --
 View this message in context:
 
http://www.nabble.com/Pass-popup-parameters-from-parent-page-tf3252580.html#a9041563
 Sent from the Wicket - User mailing list archive at Nabble.com.



 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE on wicket:component

2007-02-14 Thread Marc-Andre Houle

Didn't know about it before, so can't see a possible use case where it is
necessary

+1 remove.

On 2/14/07, Frank Bille [EMAIL PROTECTED] wrote:


On 2/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:

 On 2/14/07, Ryan Holmes [EMAIL PROTECTED] wrote:
  As a long-time Tapestry user (but very new Wicket user), I have a few
  thoughts about in-line component declaration.
 
  1.) Even in a framework like Tapestry where the idiom is fully
  supported, it can lead to complex and difficult to maintain
  templates. In fact, it's generally discouraged in Tapestry for those
  reasons.
 
  2.) Providing a fundamentally different, optional way to declare
  components in Wicket seems more like an unnecessary increase in ways
  to do it rather than a useful increase in flexibility.
 
  3) The tooling support issue should not be underestimated. The author
  of the Spindle plugin for Tapestry eventually gave up on updating it
  for Tapestry 4 precisely because there were so many ways in which
  components could be defined (in the template, in the XML spec file or
  in Java via annotations). While experienced Tapestry users can get
  along just fine without that plugin, it was a big selling point for
  new users.

 It's good to read this from a 'regular user', and from actual
 experience. I'm changing my vote to:

 +1 for removing it.



Yes that really nails it and also express how I feel about it. (can we
remove wicket:link as well now we're at it ;o)

+1 remove it

Frank

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] MarkupWriter

2007-02-12 Thread Marc-Andre Houle

I don't think there is something for that in wicket, but
1. You can use a Label and setEscapeMarkupId(false);
2. You can use simple Label and add a SimpleAttributeModifier.


On 2/12/07, Robert . [EMAIL PROTECTED] wrote:


Hi,

I have been using Tapestry before and kinda enjoyed using the
IMarkupWriter by doing things like
writer.begin(div);
writer.attribute(id, abc);
writer.println(text);
writer.end();

Is there an equivalent way of doing this in Wicket?

Robert

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] MarkupWriter

2007-02-12 Thread Marc-Andre Houle

On 2/12/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


I don't think there is something for that in wicket, but
1. You can use a Label and setEscapeMarkupId(false);



Oops, setEscapeModelStrings

2. You can use simple Label and add a SimpleAttributeModifier.



On 2/12/07, Robert . [EMAIL PROTECTED] wrote:

 Hi,

 I have been using Tapestry before and kinda enjoyed using the
 IMarkupWriter by doing things like
 writer.begin(div);
 writer.attribute(id, abc);
 writer.println(text);
 writer.end();

 Is there an equivalent way of doing this in Wicket?

 Robert


 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Prompt dialog with form submit in ajax

2007-02-07 Thread Marc-Andre Houle

I wanted to make a prompt dialog that use Ajax.  When you click on the
button, it prompt you for a string and than submit the form so we can use
it.

I search a lot in the source code and I found a way to make that with
AjaxEventBehavior.

I submit my behavior to the list just to have opinion of core developer on :
Is this the correct way of making that kind of stuff
I have absolutely no experience with javascript, so maybe there is a better
way of making this kind of thing.  Thanks to tell me if I just work for
nothing since method XYZ can make the trick easier! :)

Marc


PromptDialogAjaxFormSubmitBehaviour.java
Description: Binary data
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Prompt dialog with form submit in ajax

2007-02-07 Thread Marc-Andre Houle

In fact, I don't care if it is core developper or anybody else, every
opinion is welcome! :)

On 2/7/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


I wanted to make a prompt dialog that use Ajax.  When you click on the
button, it prompt you for a string and than submit the form so we can use
it.

I search a lot in the source code and I found a way to make that with
AjaxEventBehavior.

I submit my behavior to the list just to have opinion of core developer on
: Is this the correct way of making that kind of stuff
I have absolutely no experience with javascript, so maybe there is a
better way of making this kind of thing.  Thanks to tell me if I just work
for nothing since method XYZ can make the trick easier! :)

Marc


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-31 Thread Marc-Andre Houle

Why not simply use AjaxSubmitLink or AjaxSubmitButton ? It will submit all
the form, evidently, but you can do which ever action you want in the
onClick handler?  Am I missing something?

Marc

On 1/31/07, Erik van Oosten [EMAIL PROTECTED] wrote:


Hello Conny,

You could use the 'onclick' event, however, you won't get the value of
the text input. So, you probably need to submit the form. For this links
are not intended, you need a submit buttons. With css you can style the
button as a link again (if you really must :) ). Wicket won't support
something that can not be supported.

Please read the class comment of Wicket's Form class for a lot of
information on form processing.

Regards,
 Erik.

Conny Kühne wrote:
 Thanks for the quick response. Unfortunately I don't quite understand
 how to achieve the functionality with
 ajaxformcomponentupdatingbehavior. More precise, I don't know which
 event to attache to it. I don't want to
 call the availability check onBlur but only when the link is clicked.



 2007/1/30, Igor Vaynberg  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]:

 see ajaxformcomponentupdatingbehavior

 -igor


 On 1/30/07, *Conny Kühne*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi,

 my scenario is as follows:

 I have a registration form (non ajax) and want to add a link
 that checks the availability of the username
 (i.e., if it has already been taken) via ajax.

 So I need a way to get the value of a form field without
 submitting the form. Ideally the value of the form field
 should be read (or it's model updated) when the ajax link is
 clicked.

 Is there a convinient way to achieve this behavior.

 Best regards,
 Conny



--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] in-progress indicator

2007-01-29 Thread Marc-Andre Houle

I don't know if it can help, but for us, we added this code in our base page
to make the cursor change when there is an ajax call in progress :
   script language=Javascript type=text/javascript
   Wicket.Ajax.registerPreCallHandler(function() {
document.getElementById(main).style.cursor='progress'; });
   Wicket.Ajax.registerPostCallHandler(function() {
document.getElementById(main).style.cursor='auto'; });
   Wicket.Ajax.registerFailureHandler(function() {
document.getElementById(main).style.cursor='auto'; });
   /script

On 1/28/07, Frank Bille [EMAIL PROTECTED] wrote:


You are welcome to add it to the wiki :)

Frank

On 1/28/07, Ivo van Dongen [EMAIL PROTECTED] wrote:

 Thanks, works like a charm! I didn't find a tabbed panel variant that
 uses the indicating links by the way. I've added it below, perhaps someone
 finds it usefull.

 package org.webical.web.components.ajax.tabs ;

 import java.util.List;

 import wicket.ajax.AjaxRequestTarget;
 import wicket.extensions.ajax.markup.html.IndicatingAjaxLink;
 import wicket.extensions.ajax.markup.html.tabs.AjaxTabbedPanel;
 import wicket.markup.html.WebMarkupContainer ;

 /**
  * Adds indicating behavior to the tabbed panel
  * @author ivo
  *
  */
 public class IndicatingAjaxTabbedPanel extends AjaxTabbedPanel {
 private static final long serialVersionUID = 1L;

 /**
  * @param id the components id
  * @param tabs the tabs to show
  */
 public IndicatingAjaxTabbedPanel(String id, List tabs) {
 super(id, tabs);
 }

 /**
  * Adds an IndicatingAjaxLink
  * @see
 wicket.extensions.ajax.markup.html.tabs.AjaxTabbedPanel#newLink(
 java.lang.String, int)
  */
 @Override
 protected WebMarkupContainer newLink(String linkId, final int index)
 {

 return new IndicatingAjaxLink(linkId) {
 private static final long serialVersionUID = 1L;

 /**
  * Copied from code
 wicket.extensions.ajax.markup.html.tabs.AjaxTabbedPanel /code
  * @see wicket.ajax.markup.html.AjaxLink#onClick(
 wicket.ajax.AjaxRequestTarget)
  */
 @Override
 public void onClick(AjaxRequestTarget target) {
 setSelectedTab(index);

 if(target != null) {
 target.addComponent(IndicatingAjaxTabbedPanel.this);
 }

 onAjaxUpdate(target);
 }

 };

 }
 }

 On 1/28/07, Martijn Dashorst  [EMAIL PROTECTED] wrote:
 
  We have an AjaxIndicatingLink (or something similarly named) component
 
  that displays an indicator next to the link. I believe it is in the
  extensions project. You can take that and use it directly or use it to
  add the desired functionality to your own components.
 
  Martijn
 
  On 1/28/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
   I agree, but what I meant to ask is how to go about this? I thought
  of using
   an AjaxCallDecorator, but that would mean that it must be added to
  each
   component that makes an ajax call. I was wondering if somebody had
  an easier
   idea.
  
  
   On 1/28/07, Carfield Yim  [EMAIL PROTECTED] wrote:
I personally think gmail presentation is simple and user friendly
   
On 1/28/07, Ivo van Dongen  [EMAIL PROTECTED] wrote:
 Hi,

 We're adding some Ajax support to our pages and some of the
  components
   can
 take a long time to load. To the user it is not clear if
  anything is
 happening so we want to add a sign that a request is in
  progress,
   something
 like an animated gif. This should pop-up on each XMLhttpRequest
  and
 disappear when the call is completed. What would be a good way
  to
   accomplish
 this?

 Thanks in advance,
 Ivo van Dongen


  
  -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
  

Re: [Wicket-user] Page Expired

2007-01-26 Thread Marc-Andre Houle

Like Erik say, probably that using a different page map will help you (Got
something like that when I didn't use the proper page map name someday.)

Give a look to the wiki under this page :
http://cwiki.apache.org/WICKET/using-frames.html

Marc

On 1/26/07, Erik van Oosten [EMAIL PROTECTED] wrote:


Hi Sajeev,

You should probably use another pagemap for each frame. This can be as
simple as adding the pageMapName attribute to the initial frame URL.

Regards,
 Erik.

sunraider wrote:
 Hi,

 I am using Frames in my application, I have three framesets one with
header
 second with tree (Wicket Tree) and three with content. I get page
expired
 quite often when the user does series of actions on the content frame
and
 then click on the link in the tree.

 I have read through many posts in the forum but I am unable to get a
 solution to this problem. Can someone help me on this?

 Thanks,
 Sajeev


--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Marc-Andre Houle

I though I had found the correct solution when I have seen a pop-up button
in the linkomatic example (
http://www.wicket-library.com/wicket-examples/linkomatic).

But, it was nearly only a button with a BookmarkablePageLink.  Right now, I
want a SubmitLink to open up a pop-up after some processing a text field.
Can it be done?  I checked and SubmitLink is a child of
wicket.markup.html.form.Buttonfile:///D:/API/wicket/wicket%201.2.4/wicket/markup/html/form/Button.htmlwhich
does not have a method to set popup setting.

Is there a quick way of doing this?

Thanks

Marc
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Marc-Andre Houle

It make sense, but I need the textField value before calling the javascript
since there will be a page paramters to add.

I'm not sure I understand how I'm going to make that so it can be done
correctly...

Marc

On 1/25/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


create the url to the popup using requestcycle.urlfor and then output
javascript that will open the popup using window.open

-igor


On 1/25/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:

 I though I had found the correct solution when I have seen a pop-up
 button in the linkomatic example ( 
http://www.wicket-library.com/wicket-examples/linkomatic
 ).

 But, it was nearly only a button with a BookmarkablePageLink.  Right
 now, I want a SubmitLink to open up a pop-up after some processing a text
 field.  Can it be done?  I checked and SubmitLink is a child of
 wicket.markup.html.form.Button which does not have a method to set popup
 setting.

 Is there a quick way of doing this?

 Thanks

 Marc


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Marc-Andre Houle

This seem's good but not exactly what I wanted.  Too complicated and it make
a refresh of the page (I used some ajax and then, it does not reload
exactly the same.)  I continued searching and find that I could do this
and since it work fine, why not :
popupSettings.setTarget (href +  + 'amp;searchfield=' + document. +
searchForm.getId () + . + textField.getId () + .value);

I don't know if it will be broke sometime (probably) but at least, it work
for now.

Thanks.

Marc

On 1/25/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


class popperupper extends abstractbehavior implements iheadercontributor {
  // some logic to only output the script once
}

button { onsubmit() { TextField tf=; String value=tf.getModelObject();
add(new popperupper()); }}

-igor



On 1/25/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:

 It make sense, but I need the textField value before calling the
 javascript since there will be a page paramters to add.

 I'm not sure I understand how I'm going to make that so it can be done
 correctly...

 Marc

 On 1/25/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
  create the url to the popup using requestcycle.urlfor and then output
  javascript that will open the popup using window.open
 
  -igor
 
 
  On 1/25/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
 
   I though I had found the correct solution when I have seen a pop-up
   button in the linkomatic example ( 
http://www.wicket-library.com/wicket-examples/linkomatic
   ).
  
   But, it was nearly only a button with a BookmarkablePageLink.  Right
   now, I want a SubmitLink to open up a pop-up after some processing a text
   field.  Can it be done?  I checked and SubmitLink is a child of
   wicket.markup.html.form.Button which does not have a method to set
   popup setting.
  
   Is there a quick way of doing this?
  
   Thanks
  
   Marc
  
  
   -
   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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket:head with page

2007-01-24 Thread Marc-Andre Houle

In the wiki, there is a gotcha that look like this :
Adding wicket:head to a Page

wicket:head is intended for panels and borders only. Do not add this to a
page.

The problem is : it is exactly what I wanted to do.  I got a child class
that need to add some css/javascript to the header of the page.  Is it
because our design is too pour or just that this is not true anymore or what
else?  I wanted to have a little more detailed about that.

Thanks

Marc

P.S. : I'll make sure to copy the details into the wiki after :)
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Custom exception page

2007-01-24 Thread Marc-Andre Houle

There is always the classic :
getApplicationSettings ().setInternalErrorPage (MyCustomErrorPage.class);

But that will not give you the exception thrown.

On 1/24/07, Apaar Trivedi [EMAIL PROTECTED] wrote:


Hi all, I am trying to make a custom exception page.

I have created a class which overrides the onRuntimeException method in
RequestCycle and wicket does not seem to be using.  Do I need to tell it
to use this class, somehow?  Is there anything else I can do?  Basically
I need a custom error page which can display the exception being thrown.

Thanks

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:head with page

2007-01-24 Thread Marc-Andre Houle

Yeah, I know, I also implemented something and It work.  But since it is in
the gotcha part of the wiki, this mean that we should not do this.  But
since it work, I don't know why...

Marc

On 1/24/07, Otan [EMAIL PROTECTED] wrote:


The following works for me:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd 
html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=
http://www.wicketframework.org;
head
title~/title
wicket:head
script language=javascript type=text/javascript
alert(' Content of the wicket:head gets contributed into
the final page.');
/script
/wicket:head
/head
body
wicket:extend
This is a child markup and here is its content. Notice that I
have a wicket:head above.
/wicket:extend
/body
/html



On 25/01/07, Marc-Andre Houle [EMAIL PROTECTED]  wrote:

 In the wiki, there is a gotcha that look like this :
 Adding wicket:head to a Page

 wicket:head is intended for panels and borders only. Do not add this
 to a page.

 The problem is : it is exactly what I wanted to do.  I got a child class
 that need to add some css/javascript to the header of the page.  Is it
 because our design is too pour or just that this is not true anymore or what
 else?  I wanted to have a little more detailed about that.

 Thanks

 Marc

 P.S. : I'll make sure to copy the details into the wiki after :)



 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:head with page

2007-01-24 Thread Marc-Andre Houle

Wiki : Yes it is if you create an account.

The comment of igor in the mailling list archive is directly related to what
I want to do.

What I want to know is : Why is it not in the wiki, should I update the
wiki?  I don't want to disturb developer because they surely have something
else to do, but I would like to clear this thing out in my head...

Marc

On 1/24/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:


On Wed, 24 Jan 2007, Marc-Andre Houle wrote:
 In the wiki, there is a gotcha that look like this :
 Adding wicket:head to a Page

 wicket:head is intended for panels and borders only. Do not add this
to a
 page.

 The problem is : it is exactly what I wanted to do.  I got a child class
 that need to add some css/javascript to the header of the page.  Is it
 because our design is too pour or just that this is not true anymore or
what
 else?  I wanted to have a little more detailed about that.

I think that it might be outdated, I take that you mean

  http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html

And here there seems to be the same issue

  http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html

Maybe there should be the same point about markup
inheritance as here:


http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg17430.html

 P.S. : I'll make sure to copy the details into the wiki after :)

Is it publicly editable?

--
Timo Rantalaiho
Reaktor Innovations OyURL: http://www.ri.fi/ 

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:head with page

2007-01-24 Thread Marc-Andre Houle

Yeah, but when you have big chunk and everything, you don't necessary want
this to be in the Java world.  At least, that what I think since I want all
my decoration in html and all my logic in java...

On 1/24/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


On 1/24/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
 In the wiki, there is a gotcha that look like this :
 Adding wicket:head to a Page

 wicket:head is intended for panels and borders only. Do not add this
to a
 page.

 The problem is : it is exactly what I wanted to do.  I got a child class
 that need to add some css/javascript to the header of the page.  Is it
 because our design is too pour or just that this is not true anymore or
what
 else?  I wanted to have a little more detailed about that.
 Thanks

The WIKI entry was wrong or at least outdated. I changed it. Note that
can can use add(HeaderContributor.forJavaScript(..)) etc for the same
thing.

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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Marc-Andre Houle

Is anything new about this?
I also want to know how it is about this issue :
https://issues.apache.org/jira/browse/WICKET-206

Thanks.

Marc

On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote:


yes i see it, will look it at asap

On 1/22/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:

 I think the mail didn't pass through sf.net.  So, I try again.

 Marc

 On 1/16/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:
 
  Here is the example.
  Open two tabs with the same page, in each one of them, click on page
  2, and see the page map being the same :)
 
  Marc
 
  P.S. : I included only the source directory since it would be too big
  to include everything!  Just change the src directory of a quickstart
  project.
 
  On 1/16/07, Johan Compagner  [EMAIL PROTECTED] wrote:
 
  
   Now, the output look like this :
I access the index page first time :
index Page map is :null
  
  
   correct.
  
   I access the index page from another tab :
index Page map is :null
index Page map is :wicket-0
  
  
   correct.
   First is rendered in default pagemap.
   Then we detect a new window and do a bookmarkable redirect to a
   wicket generated pagemap. (wicket-0)
  
  
   I access Page2 from the whatever link (I mean, the two tabs have the
same result :
Page 2 map is :null
  
  
   When you click on the link in the window that has wicket=0 pagemap
   It should give you that pagemap there. If that is not the case can
   you make a quickstart app?
  
   johan
  
  
  
   -
   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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Marc-Andre Houle

Ok, I got news about the first page expired problem.  Problems with page map
that I said before and in the JIRA issue are still there, but the page
expire is gone.  Here is why :
In the pop up, I created a bookmarkable page link like this :

String parentPageMap = wicket:default;
if(pp != null)
{
   parentPageMap = (String)pp.get (parent_page_map);
}
Class pageClass = SomePage.class;
BookmarkablePageLink bpl = new BookmarkablePageLink(link, pageClass);
bpl.setPageMap (PageMap.forName (parentPageMap));
bpl.add(new SimpleAttributeModifier(target, parentPageMap));
add(bpl);

The problem with this, it is that it create a new page map.  So, because
there is a new pagemap, the session expire when I try to access things from
the session.

I posted because it is pratical to have an archive that describe solutions
found! :)  It was entirely my fault, but, anyway!



On 1/24/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


Is anything new about this?
I also want to know how it is about this issue :
https://issues.apache.org/jira/browse/WICKET-206

Thanks.

Marc

On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote:

 yes i see it, will look it at asap

 On 1/22/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:
 
  I think the mail didn't pass through sf.net.  So, I try again.
 
  Marc
 
  On 1/16/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:
  
   Here is the example.
   Open two tabs with the same page, in each one of them, click on page
   2, and see the page map being the same :)
  
   Marc
  
   P.S. : I included only the source directory since it would be too
   big to include everything!  Just change the src directory of a quickstart
   project.
  
   On 1/16/07, Johan Compagner  [EMAIL PROTECTED] wrote:
  
   
Now, the output look like this :
 I access the index page first time :
 index Page map is :null
   
   
correct.
   
I access the index page from another tab :
 index Page map is :null
 index Page map is :wicket-0
   
   
correct.
First is rendered in default pagemap.
Then we detect a new window and do a bookmarkable redirect to a
wicket generated pagemap. (wicket-0)
   
   
I access Page2 from the whatever link (I mean, the two tabs have
 the same result :
 Page 2 map is :null
   
   
When you click on the link in the window that has wicket=0 pagemap
It should give you that pagemap there. If that is not the case can
you make a quickstart app?
   
johan
   
   
   

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Marc-Andre Houle

pp refer to page parameters that I get in the pop up

Here is the context :
The bookmarkable page link will be open in the window that open the pop up.

This code is in the pop-up.
The problem is when I have done that :

bpl.setPageMap (PageMap.forName (parentPageMap));

It will create a new page map wicket:default.  This will lead the main
window to reload correctly with the correct page class, but it will be
linked with the new page map named : wicket:default.

So, the correct way of doing this, it is that when the pagemap name is null,
fetch the pagemap using null, but window.name value will be wicket:default,
so, we have to set the target value to something else than the pagemap name
which is null.

It is hard to explain the why of that, but that is the problem I got.  Sorry
for being unclear.

Marc

On 1/24/07, Johan Compagner [EMAIL PROTECTED] wrote:




On 1/24/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:

 Ok, I got news about the first page expired problem.  Problems with page
 map that I said before and in the JIRA issue are still there, but the page
 expire is gone.  Here is why :
 In the pop up, I created a bookmarkable page link like this :

 String parentPageMap = wicket:default;
 if(pp !=
 null)
 {
 parentPageMap = (String)pp.get (parent_page_map
 );
 }
 Class
  pageClass = SomePage.class;
 BookmarkablePageLink bpl = new BookmarkablePageLink(link, pageClass);
 bpl.setPageMap (PageMap.forName (parentPageMap));

 bpl.add(new
  SimpleAttributeModifier(target, parentPageMap));
 add(bpl);

 The problem with this, it is that it create a new page map.  So, because
 there is a new pagemap, the session expire when I try to access things from
 the session.


i am lost with that last sentence,  what do you mean with this? When does
the session expire?

and what is this code:

if(pp !=
null)
{
parentPageMap = (
String)pp.get (parent_page_map);
}

johan



-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE: IModel and 'model object' name change

2007-01-23 Thread Marc-Andre Houle

If it is user opinion wanted, for what I am it is -1.

I would be please with the change if I used wicket for a home hobby of
making something easy.  But the problem is that I'm working in a production
environment.  Every thing that will make 2.0  migration harder will make
sure that it will not get used soon in the industry.

The arguments are good, but I don't think it is worth it.

Marc

On 1/23/07, Otan [EMAIL PROTECTED] wrote:


On 23/01/07, Jonathan Locke [EMAIL PROTECTED] wrote:

 ...  in fact, that term is actually ambiguous since the object
 implementing IModel might be informally understood to be the model
 object
 (which is not what we mean)...



You're very right. This is the major contributor to my confusion about
models when I was first studying Wicket. I don't want to vote because I'm no
one here and my vote is nothing. I just want to voice my opinion: I think
the solution would be for the wiki and book writers to give more weight and
clear explanations about models and relieve newbies from this confusion.


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] SURVEY: Are you using Page.before/afterCallComponent

2007-01-23 Thread Marc-Andre Houle

never seen it before.

On 1/22/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


You better not look at it either as we're thinking about removing it! :)

Eelco


On 1/22/07, Ingram Chen [EMAIL PROTECTED] wrote:
 never use it! (what is that ? :-p

 On 1/23/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  are you using Page.before/afterCallComponent? and if so what is the
 usecase?

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tracking session expire exception

2007-01-22 Thread Marc-Andre Houle

I think the mail didn't pass through sf.net.  So, I try again.

Marc

On 1/16/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


Here is the example.
Open two tabs with the same page, in each one of them, click on page 2,
and see the page map being the same :)

Marc

P.S. : I included only the source directory since it would be too big to
include everything!  Just change the src directory of a quickstart project.

On 1/16/07, Johan Compagner [EMAIL PROTECTED] wrote:


 Now, the output look like this :
  I access the index page first time :
  index Page map is :null


 correct.

 I access the index page from another tab :
  index Page map is :null
  index Page map is :wicket-0


 correct.
 First is rendered in default pagemap.
 Then we detect a new window and do a bookmarkable redirect to a wicket
 generated pagemap. (wicket-0)


 I access Page2 from the whatever link (I mean, the two tabs have the
  same result :
  Page 2 map is :null


 When you click on the link in the window that has wicket=0 pagemap
 It should give you that pagemap there. If that is not the case can you
 make a quickstart app?

 johan



 -
 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.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user







page_map_src.iamzip
Description: Binary data
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Possible bug in IE7 with AjaxEventBehavior

2007-01-22 Thread Marc-Andre Houle

I was developing from home for my work last week and since I'm not a Windows
fan, I developed under OsX using Firefox, everything was great.  Today, I
got an issue with AjaxEventBehavior.  It seem's that the event is not
generated the same way between firefox and IE7.  Can somebody tell me how I
can achieve the thing I want to do (When something is selected, check if it
represent something special immediately).  I'll paste a demo code right here
but here is what it do :

When I select a radio button, I change a variable and display it.
Under firefox, When the radio button is clicked, I got an event telling me
so inside the proper object
Under IE7, it call the event when I'm changing of radio button (1 is
selected, I go to 2) and is called from the last object (in this case, 1)

So, for example, making something appear when a radio button is selected is
a feature that will not work on IE7 since it will appear when I quit this
option, not when I enter it.  Is there a possible fix for this ??

Here is the quick start code :
---
Markup :
---
div wicket:id=RadioGroup
   div wicket:id=ListView
   input type=radio wicket:id=radio/span
wicket:id=label/span
   /div
/div
Selected radio button : span wicket:id=selection/span
---
Java :
---
final RadioGroup radioGroup = new RadioGroup(RadioGroup, new Model());
final Label selectionLabel = new Label(selection, new PropertyModel(this,
selection));
selectionLabel.setOutputMarkupId (true);
ListView listView=new ListView(ListView, RadioList) {
   protected void populateItem (final ListItem item)
   {
   Radio radio = new Radio(radio, item.getModel());
   radio.add (new AjaxEventBehavior(onchange)
   {
   protected void onEvent (AjaxRequestTarget target)
   {
   System.out.println(Selected :  + item.getModelObject ());
   setSelection (item.getModelObjectAsString ());
   target.addComponent (selectionLabel);
   }
   });
   item.add(radio);
   item.add(new Label(label, (String)item.getModelObject ()));
   }
};
radioGroup.add (listView);
add(radioGroup);
add(selectionLabel);
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Possible bug in IE7 with AjaxEventBehavior

2007-01-22 Thread Marc-Andre Houle

Thanks a lot Igor, your the master! It work exactly as it should :)

And see, the object of the email : Ie7 bug, not wicket bug! :)  Maybe it is
not clear, but that was what I thought when I type it.

Marc

On 1/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


and btw this is not a wicket bug, just different browser behavior

-igor


On 1/22/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:

 use onclick instead of onchange

 -igor


 On 1/22/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:

  I was developing from home for my work last week and since I'm not a
  Windows fan, I developed under OsX using Firefox, everything was great.
  Today, I got an issue with AjaxEventBehavior.  It seem's that the event is
  not generated the same way between firefox and IE7.  Can somebody tell me
  how I can achieve the thing I want to do (When something is selected, check
  if it represent something special immediately).  I'll paste a demo code
  right here but here is what it do :
 
  When I select a radio button, I change a variable and display it.
  Under firefox, When the radio button is clicked, I got an event
  telling me so inside the proper object
  Under IE7, it call the event when I'm changing of radio button (1 is
  selected, I go to 2) and is called from the last object (in this case, 1)
 
  So, for example, making something appear when a radio button is
  selected is a feature that will not work on IE7 since it will appear when I
  quit this option, not when I enter it.  Is there a possible fix for this ??
 
  Here is the quick start code :
  ---
  Markup :
  ---
  div wicket:id=RadioGroup
  div wicket:id=ListView
  input type=radio wicket:id=radio/span
  wicket:id=label/span
  /div
  /div
  Selected radio button : span wicket:id=selection/span
  ---
  Java :
  ---
  final RadioGroup radioGroup = new RadioGroup(RadioGroup, new
  Model());
  final Label selectionLabel = new Label(selection, new
  PropertyModel(this, selection));
  selectionLabel.setOutputMarkupId (true);
  ListView listView=new ListView(ListView, RadioList) {
  protected void populateItem (final ListItem item)
  {
  Radio radio = new Radio(radio, item.getModel());
  radio.add (new AjaxEventBehavior(onchange)
  {
  protected void onEvent (AjaxRequestTarget target)
  {
  System.out.println(Selected :  + item.getModelObject());
  setSelection (item.getModelObjectAsString ());
  target.addComponent (selectionLabel);
  }
  });
  item.add(radio);
  item.add(new Label(label, (String)item.getModelObject ()));
  }
  };
  radioGroup.add (listView);
  add(radioGroup);
  add(selectionLabel);
 
 
  -
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Making disappear a section

2007-01-17 Thread Marc-Andre Houle

Just to know if I'm the only one who think it should be a good idea that,
when outputmarkupId is true, the frame of the component is still there so
it can be reprinted using ajax and without having the overhead of managing
to add a new component and setting each one of them to the correct
visibility.

Maybe not all the type of component, but particularly container can be of
that style. (Like setting invisible a fragment at startup and make it appear
when you click something.

Anyway, my 2 cents about that.

Marc


On 1/16/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


Just to let know a possible reader, do not override isVisible.  It is what
make me search a long time about this to find out that if you say in
isVisible something that you don't want, it will make your
fragment/panel/whateverContainer disapear like before.

So, thats it, don't override isVisible if it is not necessary (Or like me
becaus eyou don't want to modify some existing lazy code...)

Thanks

Marc

On 1/16/07, Erik van Oosten [EMAIL PROTECTED] wrote:

 Martijn's example works only with JavaScript but needs no server
 roundtrip.
 Igor's and my version also works without JavaScript but does need to
 make a call to the server.

 My version is probably more useful when you need to switch more things
 in and out. Now I reread your question, this does not seem to be the
 case. So either of the Martijn and Igor solutions are appropriate.

 Erik.


 Marc-Andre Houle wrote:
  Every one of you seem's to have a different answer, but I'm not sure
  which one is the best...

 --
 Erik van Oosten
 http://day-to-day-stuff.blogspot.com/


 -

 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Making disappear a section

2007-01-17 Thread Marc-Andre Houle

yeah, I didn't think of it like that.

On 1/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


leaving the frame means leaving the html tags, and that means the
component might not be fully hidden as expected if, for example, it has a
css border

-igor


On 1/17/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:

 Just to know if I'm the only one who think it should be a good idea
 that, when outputmarkupId is true, the frame of the component is still
 there so it can be reprinted using ajax and without having the overhead of
 managing to add a new component and setting each one of them to the correct
 visibility.

 Maybe not all the type of component, but particularly container can be
 of that style. (Like setting invisible a fragment at startup and make it
 appear when you click something.

 Anyway, my 2 cents about that.

 Marc


 On 1/16/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:
 
  Just to let know a possible reader, do not override isVisible.  It is
  what make me search a long time about this to find out that if you say in
  isVisible something that you don't want, it will make your
  fragment/panel/whateverContainer disapear like before.
 
  So, thats it, don't override isVisible if it is not necessary (Or like
  me becaus eyou don't want to modify some existing lazy code...)
 
  Thanks
 
  Marc
 
  On 1/16/07, Erik van Oosten [EMAIL PROTECTED] wrote:
  
   Martijn's example works only with JavaScript but needs no server
   roundtrip.
   Igor's and my version also works without JavaScript but does need to
   make a call to the server.
  
   My version is probably more useful when you need to switch more
   things
   in and out. Now I reread your question, this does not seem to be the
   case. So either of the Martijn and Igor solutions are appropriate.
  
   Erik.
  
  
   Marc-Andre Houle wrote:
Every one of you seem's to have a different answer, but I'm not
   sure
which one is the best...
  
   --
   Erik van Oosten
   http://day-to-day-stuff.blogspot.com/
  
  
   -
  
   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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ApacheCon Europe 2007

2007-01-17 Thread Marc-Andre Houle

I agree with that, maybe make a webcast (or even a podcast for me to listen
during the job on my ipod!) of some of the talk (I'm interested in the talk
about future 2, 2.1, 3) and reel life problem.

That would be really nice to have and would make us think we are not that
far away...

Marc

On 1/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:


Hi

For the ones not lucky enough to be able to attend this apachecon, I
think you would be excellent to have the slides of the demo or even
some webcasts.

BTW, I really appreciate Martijn suggestions of content, especially this
part :
- what were the top 3 problems you had
  - what were the top 3 benefits you received
It's most interesting and important for people outside of the wicket area.
:)

Cheers,
ZedroS

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Making disappear a section

2007-01-16 Thread Marc-Andre Houle

I try to find something to help me but I haven't found what was needed for
now.
I want to update a Panel via ajax.  When you click on an array, it will
display some information.  You click back on the arrow and it will mask the
thing.  You click again, everything is back.

You know, like when you click, the arrow is oriented in the button and new
advanced feature become visible.
I tried to use the isVisible tag, but the problem is that it really make it
invisible to ajax to update after I set the isVisible to false.  It there
something else I should do?  Also, right now I'm doing it only on a label,
is it possible to make disapear a complete block of something?  I tried
with fragment (what seem's to me the better start) but the ajax framework
does not found the fragment when it is set to setVisible(false).

Surely something exist, but I don't see it...

Marc
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Making disappear a section

2007-01-16 Thread Marc-Andre Houle

Every one of you seem's to have a different answer, but I'm not sure which
one is the best...

So, the solution I decided to use is a mix.  I still use my fragment,
override the isVisible method. (So it can be used to know if it is visible
or not.)  I can't override setVisible(), but created a method named
toggleVisibility() which is setting visibility for each child of this
fragment...It is not as clean as I would have wanted, but at least, now,
the fragment can disappear ant some markup are still there to be updated.

Thanks a lot...

Marc

On 1/16/07, Erik van Oosten [EMAIL PROTECTED] wrote:


Another option is to:
- attach a AjaxFallbackLink to the arrow,
- override the onClick method,
- in the method replace the component you want to hide with the one you
want to show:
  compToHide.replaceWith(compToShow);
- then finish the method with:
   if (target != null) { target.addComponent(compToShow); }

You now have changed the page structure. Upon the re-render the new
component is displayed (non-ajax browser). But in the last step you
enable an Ajaxified replace as well.

I recently wrote an article about this on my blog:

http://day-to-day-stuff.blogspot.com/2007/01/backward-compatible-ajax-development.html

Have fun,
Erik.


Martijn Dashorst wrote:
 For individual elements, where you don't mind having all markup
 already in the source of the page:

 Hiding:
 ajaxrequesttarget.appendJavaScript(document.getElementById(' +
 component.getMarkupId() + ').style.display = 'none';);

 Showing:
 ajaxrequesttarget.appendJavaScript(document.getElementById(' +
 component.getMarkupId() + ').style.display = '';);

 Otherwise, put everything in the panel, and update the whole panel
 whilst setting the visibility flags of the child components:

 class MyPanel extends Panel {
 private WebMarkupContainer normalView;
 private WebMarkupContainer detailedView;
 private AjaxLink showDetails;
 private AjaxLink hideDetails;

 MyPanel() {
 ...
 add(showDetails = new AjaxLink(showDetails) {
 onClick(AjaxRequestTarget t) {
 normalView.setVisible(false);
 hideDetails.setVisible(true);
 detailedView.setVisible(true);
 setVisible(false);
 t.addComponent(MyPanel.this);
 }});

 The rest is left as an exercise to the reader.

 Martijn


--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Making disappear a section

2007-01-16 Thread Marc-Andre Houle

Just to let know a possible reader, do not override isVisible.  It is what
make me search a long time about this to find out that if you say in
isVisible something that you don't want, it will make your
fragment/panel/whateverContainer disapear like before.

So, thats it, don't override isVisible if it is not necessary (Or like me
becaus eyou don't want to modify some existing lazy code...)

Thanks

Marc

On 1/16/07, Erik van Oosten [EMAIL PROTECTED] wrote:


Martijn's example works only with JavaScript but needs no server
roundtrip.
Igor's and my version also works without JavaScript but does need to
make a call to the server.

My version is probably more useful when you need to switch more things
in and out. Now I reread your question, this does not seem to be the
case. So either of the Martijn and Igor solutions are appropriate.

Erik.


Marc-Andre Houle wrote:
 Every one of you seem's to have a different answer, but I'm not sure
 which one is the best...

--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle

Is there somebody here that had to track in his application why the session
expire?  I'm in need of some hint on how to efficiently find the damn
thing that have made the session expire abruptly.
Surely somebody have done something about that! :)

Marc
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle

While asking this, I found maybe why the page expire, but not sure.  It is
due to the use of pagemap to communicate from a pop-up to the current
window.  I'll try to explain what is happening :

I log in my application, I click the link to open the pop-up.  When clicking
on the link, I'm tring to add a pageparameters to the pop-up to pass the
pagemap name.
Presently, the log say that about updating pagemap :

In the pop up, I add a link to update the main window to display something
different.  I get the page map from parameters.  If page map is null, it is
because this session currently does not have a name and by default, the
first name used by wicket is : wicket-default.  If there is nothing, this is
what I enter.

Then, when I click this link, it load the page in the correct window.  This
is what is printed in the log file when updating page map :

Then, if I click on normal bookmarkable link, it work, but the first
ajaxlink I click will made the session to expire.  Nothing can be done, it
even didn't pass in the onClick method of the ajaxLink.  There is no other
error in the log, only loadingthe expired page

Marc

On 1/15/07, Nino Wael [EMAIL PROTECTED] wrote:


 Hmm, we had to track something similar. Could you describe what happens?



Our thing was something that was caused by clearing the pagemap and the
same time referencing to the cleared page. Also we have a problem where we
loose our session's id.



Regards Nino


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Marc-Andre Houle
*Sent:* 15. januar 2007 15:35
*To:* wicket-user@lists.sourceforge.net
*Subject:* [Wicket-user] Tracking session expire exception



Is there somebody here that had to track in his application why the
session expire?  I'm in need of some hint on how to efficiently find the
damn thing that have made the session expire abruptly.
Surely somebody have done something about that! :)

Marc

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle

Damn It, I forgot to past thing in the post 

Before loading the pop up :
2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-18080-3)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=popuppagemap, access=[]]
2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-18080-3)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=null, access=[[Access id=0, version=0], [Access id=1,
version=0]]]

After loading the pop-up :
2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=popuppagemap, access=[]]
2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=null, access=[[Access id=0, version=0], [Access id=1,
version=0]]]
2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=wicket:default, access=[]]


I think my problem is about page-map and session, but I'm not sure of
anything
Marc

On 1/15/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


While asking this, I found maybe why the page expire, but not sure.  It is
due to the use of pagemap to communicate from a pop-up to the current
window.  I'll try to explain what is happening :

I log in my application, I click the link to open the pop-up.  When
clicking on the link, I'm tring to add a pageparameters to the pop-up to
pass the pagemap name.
Presently, the log say that about updating pagemap :

In the pop up, I add a link to update the main window to display something
different.  I get the page map from parameters.  If page map is null, it is
because this session currently does not have a name and by default, the
first name used by wicket is : wicket-default.  If there is nothing, this is
what I enter.

Then, when I click this link, it load the page in the correct window.
This is what is printed in the log file when updating page map :

Then, if I click on normal bookmarkable link, it work, but the first
ajaxlink I click will made the session to expire.  Nothing can be done, it
even didn't pass in the onClick method of the ajaxLink.  There is no other
error in the log, only loadingthe expired page

Marc

On 1/15/07, Nino Wael [EMAIL PROTECTED] wrote:

  Hmm, we had to track something similar. Could you describe what
 happens?



 Our thing was something that was caused by clearing the pagemap and the
 same time referencing to the cleared page. Also we have a problem where we
 loose our session's id.



 Regards Nino


  --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] * On Behalf Of *Marc-Andre
 Houle
 *Sent:* 15. januar 2007 15:35
 *To:* wicket-user@lists.sourceforge.net
 *Subject:* [Wicket-user] Tracking session expire exception



 Is there somebody here that had to track in his application why the
 session expire?  I'm in need of some hint on how to efficiently find the
 damn thing that have made the session expire abruptly.
 Surely somebody have done something about that! :)

 Marc


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle

I think I found something.

first of all : Pop-up communication with pagemap is a nightmare.  I think
the problem was that it loaded using a specific pagemap in the correct
window but when trying to use ajaxLink, it didn't use the correct page map
and then failed to find the associated session. (Not sure at all...)

The solution I found presently to avoid the session expire is to use the
bookmarkable link without passing to it a pagemap and just setting the
target field of the link to the pagemap name.

Now, the problem is : when using the same instance of Firefox, every time I
load the application, it always use the same window name, which is
wicket:default.  Is it possible to set a particular pagemap when the user
login or set a window.name when the user log in?

Marc

On 1/15/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


Damn It, I forgot to past thing in the post 

Before loading the pop up :
2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-18080-3)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=popuppagemap, access=[]]
2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-18080-3)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=null, access=[[Access id=0, version=0], [Access id=1,
version=0]]]

After loading the pop-up :
2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=popuppagemap, access=[]]
2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4)
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=null, access=[[Access id=0, version=0], [Access id=1,
version=0]]]
2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4 )
[Session  ] updateSession(): Attaching session to PageMap
[PageMap name=wicket:default, access=[]]


I think my problem is about page-map and session, but I'm not sure of
anything
Marc

On 1/15/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:

 While asking this, I found maybe why the page expire, but not sure.  It
 is due to the use of pagemap to communicate from a pop-up to the current
 window.  I'll try to explain what is happening :

 I log in my application, I click the link to open the pop-up.  When
 clicking on the link, I'm tring to add a pageparameters to the pop-up to
 pass the pagemap name.
 Presently, the log say that about updating pagemap :

 In the pop up, I add a link to update the main window to display
 something different.  I get the page map from parameters.  If page map is
 null, it is because this session currently does not have a name and by
 default, the first name used by wicket is : wicket-default.  If there is
 nothing, this is what I enter.

 Then, when I click this link, it load the page in the correct window.
 This is what is printed in the log file when updating page map :

 Then, if I click on normal bookmarkable link, it work, but the first
 ajaxlink I click will made the session to expire.  Nothing can be done, it
 even didn't pass in the onClick method of the ajaxLink.  There is no other
 error in the log, only loadingthe expired page

 Marc

 On 1/15/07, Nino Wael  [EMAIL PROTECTED] wrote:

   Hmm, we had to track something similar. Could you describe what
  happens?
 
 
 
  Our thing was something that was caused by clearing the pagemap and
  the same time referencing to the cleared page. Also we have a problem where
  we loose our session's id.
 
 
 
  Regards Nino
 
 
   --
 
  *From:* [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] * On Behalf Of *Marc-Andre
  Houle
  *Sent:* 15. januar 2007 15:35
  *To:* wicket-user@lists.sourceforge.net
  *Subject:* [Wicket-user] Tracking session expire exception
 
 
 
  Is there somebody here that had to track in his application why the
  session expire?  I'm in need of some hint on how to efficiently find the
  damn thing that have made the session expire abruptly.
  Surely somebody have done something about that! :)
 
  Marc
 
 
  -
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle

Let's make a demo of what I presently don't understand :
In a quickstart, have a page that only do this :
   System.out.println (index Page map is : + getPageMap
().getName ());
   add(new Link(page2)
   {

   public void onClick ()
   {
   setResponsePage(Page2.class);
   }
   });
In the page 2, the only thing you do is :
   System.out.println (Page 2 map is : + getPageMap ().getName ());

Now, the output look like this :
I access the index page first time :
index Page map is :null
I access the index page from another tab :
index Page map is :null
index Page map is :wicket-0
I access Page2 from the whatever link (I mean, the two tabs have the same
result :
Page 2 map is :null

So, now, I confused, what is this PageMap suppose to say in this case?  Two
window, same Pagemap and than, same window.name (Always this same problem
about window name in the pop up!)...

Sorry, I feel like being an asshole always asking for the same thing.  If
I'm not getting it with this, I just tell my boss to put this feature up is
ass and I'll do a search result ala google! :)

Marc
On 1/15/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


I don't understand how this can help.  Can you give me an example?
And BTW, is there somewhere documentation on PageMap.  I'm not sure I
really grasp all the concept aroud this.  I tough that page map made sure
that in one instance in your application server, you have only one
name/session pair.  In my application, if I create new firefox tabs, it will
have the same page map name (which is null).  Also, I though that the
window.name value was always synced with the pagemap name.

In fact, more I advance, less I'm sure to know :)

Marc

On 1/15/07, Nick Heudecker [EMAIL PROTECTED] wrote:

 You can subclass HttpSessionStore and provide your own implementation of
 onUnbind(String).  Then, use your new HttpSessionStore from your application
 subclass:

 public ISessionStore newSessionStore() {
 return new MySessionStore();
 }

 On 1/15/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:
 
  I think I found something.
 
  first of all : Pop-up communication with pagemap is a nightmare.  I
  think the problem was that it loaded using a specific pagemap in the correct
  window but when trying to use ajaxLink, it didn't use the correct page map
  and then failed to find the associated session. (Not sure at all...)
 
  The solution I found presently to avoid the session expire is to use
  the bookmarkable link without passing to it a pagemap and just setting the
  target field of the link to the pagemap name.
 
  Now, the problem is : when using the same instance of Firefox, every
  time I load the application, it always use the same window name, which is
  wicket:default.  Is it possible to set a particular pagemap when the user
  login or set a window.name when the user log in?
 
  Marc
 
  On 1/15/07, Marc-Andre Houle [EMAIL PROTECTED]  wrote:
  
   Damn It, I forgot to past thing in the post 
  
   Before loading the pop up :
   2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-18080-3)
   [Session  ] updateSession(): Attaching session to PageMap
   [PageMap name=popuppagemap, access=[]]
   2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-18080-3)
   [Session  ] updateSession(): Attaching session to PageMap
   [PageMap name=null, access=[[Access id=0, version=0], [Access id=1,
   version=0]]]
  
   After loading the pop-up :
   2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4)
   [Session  ] updateSession(): Attaching session to PageMap
   [PageMap name=popuppagemap, access=[]]
   2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4)
   [Session  ] updateSession(): Attaching session to PageMap
   [PageMap name=null, access=[[Access id=0, version=0], [Access id=1,
   version=0]]]
   2007-01-15 10:37:21,493 DEBUG ( http-0.0.0.0-18080-4 )
   [Session  ] updateSession(): Attaching session to PageMap
   [PageMap name=wicket:default, access=[]]
  
  
   I think my problem is about page-map and session, but I'm not sure
   of anything
   Marc
  
   On 1/15/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:
   
While asking this, I found maybe why the page expire, but not
sure.  It is due to the use of pagemap to communicate from a pop-up to 
the
current window.  I'll try to explain what is happening :
   
I log in my application, I click the link to open the pop-up.
When clicking on the link, I'm tring to add a pageparameters to the 
pop-up
to pass the pagemap name.
Presently, the log say that about updating pagemap :
   
In the pop up, I add a link to update the main window to display
something different.  I get the page map from parameters.  If page map 
is
null, it is because this session currently does not have a name and by
default, the first name used by wicket is : wicket-default

[Wicket-user] From pop-up, page link to change the parent wihtout changing the popup

2007-01-12 Thread Marc-Andre Houle

It is difficult to explain but the functionality is simple.
You got a field to search. and a link to make advanced search.  When making
an advance search, we want to open a pop-up window to get more searching
functionality.  When the search is done, we display a list of item
corresponding to this search.  When clicking the object, we want to change
the page that is behind without closing the pop up to be able to modify the
search and continue seeing the list of node.

Is there something available in the wicket framework to do something like
that?  I mean, from the pop-p, modifying the page in the background?

Marc
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] From pop-up, page link to change the parent wihtout changing the popup

2007-01-12 Thread Marc-Andre Houle

Oh, and thanks in advance if there is an answer to that!
Marc

On 1/12/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


It is difficult to explain but the functionality is simple.
You got a field to search. and a link to make advanced search.  When
making an advance search, we want to open a pop-up window to get more
searching functionality.  When the search is done, we display a list of item
corresponding to this search.  When clicking the object, we want to change
the page that is behind without closing the pop up to be able to modify the
search and continue seeing the list of node.

Is there something available in the wicket framework to do something like
that?  I mean, from the pop-p, modifying the page in the background?

Marc

-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] From pop-up, page link to change the parent wihtout changing the popup

2007-01-12 Thread Marc-Andre Houle

Now, my popup code look like this :
   String parentPageMap = wicket:default;
   if(pp != null)
   {
   parentPageMap = (String)pp.get (parent_page_map);
   }
   Class pageClass = PagingFactory.getInstance ().getPageClass (
NodeTypeConstants.RULE);
   add(new BookmarkablePageLink(nodeLink, pageClass).setPageMap (
PageMap.forName (parentPageMap)).setParameter (WebPageConstants.PARAM_ID,
4EEFDEDD-D4CB-5CBC-5E95-46DD6FE10B29));


But it still update only the popup  I don't know if it is me that is
dumb and don't understand what you are saying, but I though that it should
have done the trick.
Is it possible to set the pageMap name for the currentSession?  Maybe I
should do that?  I'm downloading wicket code right now to try to understand
what window.name was suppose to be! :)


On 1/12/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


gah

looks like we have some not-so-good code working here

basically the thing that generates the window.name attr does this:

String name = getPageMap().getName();
if (name == null)
{
name = wicket:default;
}

but wicket:default is not externalized anywhere.

so for now you can just use that same trick yourself, wicket:default
string should remain pretty stable.

and also add an rfe to expose that somehow, perhaps through
WebPage.getWindowName()

-igor



On 1/12/07, Marc-Andre Houle  [EMAIL PROTECTED] wrote:

 and that should be the pagename of the page that is opening the popup.
 wicket sets window.name=pagemapname

 How can I know the pagename of the page opening the popup?
 getPageMap().getName() return null.

 On 1/12/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
 
  To take the PageMap, I'm doing a Page.getPageMap().  Why is this
  pagemap have a null name?  how can I set that name?
 
  Thanks in advance.
 
  Marc
 
  On 1/12/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  
   On 1/12/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
   
I've try what you talk about.  I have the impresion that there is
only the String representation of the page map that is pass.  Should I 
pass
the pageMap Name?  and then, how to pass it since it is null?  Here is 
the
code and the error generated.
  
  
   yeah just pass the pagemap name.
  
   P.S. : Igor, you rock!  With you, there is always a way to pass
around problems! :)
  
  
   thanks :)
  
   -igor
  
  
   Caller

PopupSettings popupSettings = new   PopupSettings(
PageMap.forName (popuppagemap)).setHeight(500).setWidth(500);
PageParameters popupparameters = new PageParameters();
popupparameters.put(parent_page_map, getPage().getPageMap ());
System.out.println(popupparameters.get (parent_page_map));
add(new BookmarkablePageLink (basicSearchLink, SearchPopUp.class,
popupparameters).setPopupSettings(popupSettings));

   
   
PopUp

public SearchPopUp (PageParameters pp)
{
PageMap parentPageMap = (PageMap)pp.get
(parent_page_map);
Class pageClass = PagingFactory.getInstance().getPageClass (
NodeTypeConstants.RULE);
add(new BookmarkablePageLink(nodeLink,
pageClass).setPageMap (parentPageMap).setParameter (
WebPageConstants.PARAM_ID,
4EEFDEDD-D4CB-5CBC-5E95-46DD6FE10B29));
}
--
   
The system.out of the pagemap give me this :
[PageMap name=null, access=[[Access id=0, version=0], [Access
id=1, version=0]]]
   
And when creating the searchPopUp, it generate this error :
Can't instantiate page using constructor public
com.interfacing.epc.portal.view.search.SearchPopUp(
wicket.PageParameters) and argument parent_page_map = [PageMap
name=null, access=[[Access id=0, version=0], [Access id=1, version=0]]]
wicket.WicketRuntimeException: Can't instantiate page using
constructor public
com.interfacing.epc.portal.view.search.SearchPopUp(
wicket.PageParameters) and argument parent_page_map = [PageMap
name=null, access=[[Access id=0, version=0], [Access id=1, version=0]]]
at wicket.session.DefaultPageFactory.newPage(
DefaultPageFactory.java:175)
at wicket.session.DefaultPageFactory.newPage(
DefaultPageFactory.java:96)
at
wicket.request.target.component.BookmarkablePageRequestTarget.newPage(
BookmarkablePageRequestTarget.java:271)
at
wicket.request.target.component.BookmarkablePageRequestTarget.getPage
(BookmarkablePageRequestTarget.java:286)
at

wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(
BookmarkablePageRequestTarget.java:205)
at
wicket.request.compound.DefaultEventProcessorStrategy.processEvents

Re: [Wicket-user] no cursor in the modal window

2007-01-11 Thread Marc-Andre Houle

I got this issue using wicket 1.2.2, but it was resolved in 1.2.3.
Mayby you can try to force reload the page (CTRL-F5) to make sure CSS have
been updated.

On 1/11/07, Prashant Khanal [EMAIL PROTECTED] wrote:


I am using wicket-extensions 1.2.3 ans wicket 1.2.3
Do i need to upgrade to newer one

--- Matej Knopp [EMAIL PROTECTED] wrote:

 What version of wicket are you using? This is a
 known issue with firefox
 and older wicket-extensions. Try to upgrade.

 -Matej

 Prashant Khanal wrote:
  hello all
  i found no cursor in the modal window. Is it the
  default behavior.How to make cursor appear in the
  input field of the modal window?
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 

-
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user







Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ApacheCon Europe 2007

2007-01-10 Thread Marc-Andre Houle

If i wasn't in Montreal/Quebec/Canada, I would definitely go with something
like drinking beer!  Damn it, Europe is too far away to get there and get
back in one day and not paying for an airplane ticket!

Eh, too bad :)

Marc

On 1/9/07, Martijn Dashorst [EMAIL PROTECTED] wrote:


As you all probably know, the Apache conference Apache Con Europe 2007
is getting closer (read more about it here: http://apachecon.com)

We can try to organize a couple of get to gethers. I already submitted
an Introduction to Wicket presentation (it still has to be accepted).
We are also preparing an Introductory course (3 hours) for the monday.

I want to propose to put in a birds of a feather for the Wicket
community. Birds of a feather are typically held in the evening.

I was wondering if you come, and what you would expect of such a get
together. Ideas could be:
- discuss 2.0/2.1/3.0 roadmap
- get some real applications shown
- discuss other projects, such as wicket stuff
- discuss the future of the wicket 1.x branch
- ask the core team

Or more mundane things such as drinking beer. Any thoughts?

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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket presentation

2007-01-04 Thread Marc-Andre Houle

I think the best selling point for wicket to be shown on a 10 minute
presentation (remember it is really quick 10 minutes!) is markup
inheritance, API extensibility (Like extending the Link or Label class),
Model and POJO + HTML completely separated.  With that, I think you are
complete for the time you have.

My 2 cents.

Marc

On 1/4/07, Korbinian Bachl [EMAIL PROTECTED] wrote:


 you could show a component wich holds the suckerfish CSS example (HTML,
JS + CSS markup + Java Logic) and then show how easy it is to put this
into any existing HTML file / template at any position you like...

or show how neat a self-calling panel component is to e.g: create a tree
structure in markup by nesting itself.

or a download link using the usualylink + onClick to show how secure it
is

or show the possibility to have 100% secure URLs using encrypted URL...

or... well, i can imagine dozens of things that are hard/ impossible with
struts / jsp and are done within minutes in wicket by just using the power
of java itself

Regards

 --
*Von:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *Im Auftrag von *Nino Wael
*Gesendet:* Donnerstag, 4. Januar 2007 14:16
*An:* wicket-user@lists.sourceforge.net
*Betreff:* [Wicket-user] wicket presentation

 Hi im doing a wicket presentation for our consultants team, on this first
teaser I have about ten minutes.





I plan to talk something about markup inheritance(the stuff with panels
and borders, which are very nice), and the POJO concept.



Also wickets model concept and that you don't have to think about the
tedious tasks like printing html and setting the correct radio to be
selected. I guess that part will be a big eye opener for some of themJ



Which features should I show?





The crowd will maximum have knowledge of struts or simple jsp pages.







Regards Nino


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Why I recommended Wicket...

2006-12-21 Thread Marc-Andre Houle

I really like the guy who say : which one is the better, emacs or VI.  This
is the exact same point here and I like the irony of making this statement
in that post!

Even if I never touch to tapestry, I think it should be good enough.  Why in
open source (In general, it's not my first mailling list) there is always a
battle of me bing more powerfull than you.  Is nobody can accept that things
are great and complementory.
Anyway, was just a little tired this morning to see those kind of thread,
but since I continue to post on them, I'm surely not better than anyone
else! :)

Marc

On 12/20/06, karthik Guru [EMAIL PROTECTED] wrote:


someone else picked it up too  ;-)
http://www.nabble.com/Can-you-comment-on-this--tf2858705.html

regards
Karthik

On 12/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote:

 And InfoQ picked up this thread:
 http://www.infoq.com/news/2006/12/wicket-vs-springmvc-and-jsf

 Martijn
 --
 Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket

 Wicket 1.2.3 is as easy as 1-2-3. 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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
-- karthik --
-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ending up on the page that holds the Panel with the link I just clicked on (how about that for a catchy subject?)

2006-11-28 Thread Marc-Andre Houle

Probably you init the panel in the constructor, maybe try to initialize the
panel in the onAttach() method.  When using this method, it reload the data
every time the page is refreshed.

Marc

On 11/28/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:


Igor,

Thank you for your help. I've tried exactly that already. The problem
was that the address panel didn't show the new address when the
back-Page was opened after editing the address.
Any ideas how to make it show the updated address?

- Johannes

Igor Vaynberg wrote:

 in the address panel

 changelink.onclick() { setresponsepage(new EditAddrPage(getPage(),
 addr)); }

 in edit address page

 EditAddrPage { EditAddrPage(final Page back, Addr addr) {
 saveLink.onclick() { savechange(); setresponstpage(back); }}}

 -igor



 On 11/27/06, *Johannes Fahrenkrug* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi,

 I have a best practice question: I have a page with several
panels,
 each of them having a few Labels. This page shows a summary of the
 customer infos. Each panel has a Change link that opens a page to
 change the data. Since the panels can be embedded in different
 pages, I
 want to go back to the page I came from after submitting the page on
 which I can change the data.
 For example: I'm on the summary page, see a typo in the address,
 click
 the change link within the address panel. A page that allows me to
 change the address opens, I change the address, click Save and
 want to
 end up on the summary page on which I clicked Change again. Of
 course
 the contents of the address panel should show the updated address
 then.

 What's the best way to do this?

 Thank you!

 - Johannes


-

 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.phpp=sourceforgeCID=DEVDEV
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto: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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Authorization startegy redirect but keep parameters

2006-11-17 Thread Marc-Andre Houle

Indeed, it was what I was searching for.  The answer have probably seems too
simple for what I was wanting!

Thanks a lot Erik, it was a matter of copy/pasting to make it work and sorry
because I didn't understand you.  Also a big thanks for the explanation from
Igor since it is what made me understand the hint.

Everything seems so magical in Wicket.  Damn life is good!

Marc

On 11/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote:


this is exactly what continueToOriginalDestination() coupled with
RestartResponseAtInterceptPage exceptions do.

user access url A which results in the construction of page B
authoraization strategy kicks in when B is being constructed - and you
throw a RestartResponseAtInterceptPage(C) exception.
page C is shown with a login form, in the onsubmit() when you call
continueToOriginalDestination() wicket should go back to url A

-igor


On 11/16/06, Marc-André Houle [EMAIL PROTECTED] wrote:

 In fact, the current result is going to the admin page and trashing
 the original URL while what I want was to save the original URL.
 This way, after the login, I will be able to redirect to what the
 user wanted first before the login.

 I'm not sure if I am clear enough on what I want.  The lobal thing
 is : I'm not in a page, from what I know, the Authorization strategy
 is used before the page get created at all.  But I still need the
 original URL and I don't know where to take it since I'm not in a
 Paage context.

 If there is something not clear, tell me and I'l try to explain again.

 Thanks

 Marc
 Le 06-11-16 à 16:01, Erik van Oosten a écrit :

  Hello Marc,
 
  It is indeed very easy once you know where to look :)
  Once the user is authenticated in the Login page you do something
  like this:
 
  if (!continueToOriginalDestination()) {
 setResponsePage(Application.get().getHomePage());
  }
 
  This will set the response page only when you got here directly.
  Otherwise it will use the original URL that was requested while the
  RestartResponseAtInterceptPageException was thrown in your code below.

 
  Does this solve your problem, or did I misread something?
 
   Erik.
 
 
  Marc-Andre Houle schreef:
  Hello group, it is again me for another question! :)
 
  I'm trying to build an Authorization strategy around
  AbstractPageAuthorizationStrategy.
  For now, the authorization strategy is really simple as you will see
  in this copy-paste of code :
  protected boolean isPageAuthorized(Class pageClass)
  {
  if(instanceOf(pageClass, BaseSecurePage.class) 
  ((PortalSession)Session.get()).getSessionId () ==
  null)
  {
  throw new
  RestartResponseAtInterceptPageException(Login.class);
  }
  if(instanceOf (pageClass, BaseAdminPage.class ))
  {
  return ((PortalSession)Session.get()).isUserAdmin ();
  }
  return true;
  }
 
  For now, there was no problem at all and everything is perfect. But
  the problem is, my boss want our application to support node linking
  when not logged in.  you know, like you click on the link, the
  application tell you to log in and after your log in you are
  redirected to the correct page.
  Seem's prety simple, load the class to get a page, add to this page
  the parameters used before the trigger of the authorization strategy.
  The problem is : I can't find a way to discover the page parameters.
 
  It is not accessible from the session nor the application (At least,
  from what my search in the api have done).  So for now, I'm stuck
  with
  a login page that do not know where to redirect after the login.
 
  Can somebody help me with that?
 
  Thanks in advance for the answer and really sorry if it is so
  obvious.
 
  Marc
 
 
  --
  Erik van Oosten
  http://day-to-day-stuff.blogspot.com/
 
 
  --

  ---
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash

[Wicket-user] Non case sensitive nice URL

2006-11-16 Thread Marc-Andre Houle

I use nice URL to mount some page in the usual way :
mountBookmarkablePage(/Organization, Organization.class);

That is great, but it will make an error if a user enter the url by hand and
decide to not use case sensitive.  I mean, I can mount organization without
the capital letter, but it would make the same error if the user use Capital
after that.

Is there a way of using Nice URL that is not case sensitive?

Thanks

Marc
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Non case sensitive nice URL

2006-11-16 Thread Marc-Andre Houle

Thanks a lot!

That was really quick!  I love the wicket community/developers...  It is so
proactive.

A really big thanks!

Marc

On 11/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote:


https://issues.apache.org/jira/browse/WICKET-82

-igor


On 11/16/06, Marc-Andre Houle [EMAIL PROTECTED] wrote:

 I use nice URL to mount some page in the usual way :
 mountBookmarkablePage(/Organization, Organization.class);

 That is great, but it will make an error if a user enter the url by hand
 and decide to not use case sensitive.  I mean, I can mount organization
 without the capital letter, but it would make the same error if the user use
 Capital after that.

 Is there a way of using Nice URL that is not case sensitive?

 Thanks

 Marc


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AjaxTabbedPanel with notification on tab change

2006-11-14 Thread Marc-Andre Houle
Hello all.I got a challenge to resolve for our application to work how we want it to. We got a An AjaxTabbedPanel containing different Form to edit some preference. The problem is, when the user is in edit mode, he can modify thing. The problem is, when the user modify something without saving it, we want to be able to notify the user something have changed and have not been save. then he can save or simply don't, but it is is choice.
What would be available solution ?Save on change of the form is not a correct solution and there seem's to be no way of adding this kind of thing directly to the AjaxTabbedPanel.Thanks in advance.
Marc
-
SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now.
Check out Slashdot's new job board. Browse through tons of technical jobs
posted by companies looking to hire people just like you.
http://jobs.slashdot.org/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxTabbedPanel with notification on tab change

2006-11-14 Thread Marc-Andre Houle
Thanks a lot. It look exactly like what I was expecting.MarcOn 11/14/06, Matej Knopp [EMAIL PROTECTED] wrote:
Hi.you will have to override newLink() method of AjaxTabbedPanel to modify
the link. Also this could help youhttp://jroller.com/page/karthikg?entry=modelling_client_side_form_modificationsIt's about doing a behavior for detecting client form changes.
-MatejMarc-Andre Houle wrote: Hello all. I got a challenge to resolve for our application to work how we want it to.We got a An AjaxTabbedPanel containing different Form to edit some
 preference.The problem is, when the user is in edit mode, he can modify thing.The problem is, when the user modify something without saving it, we want to be able to notify the user something have changed
 and have not been save.then he can save or simply don't, but it is is choice. What would be available solution ? Save on change of the form is not a correct solution and there seem's to
 be no way of adding this kind of thing directly to the AjaxTabbedPanel. Thanks in advance. Marc 
 - SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs
 posted by companies looking to hire people just like you. http://jobs.slashdot.org/ 
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now.
Check out Slashdot's new job board. Browse through tons of technical jobsposted by companies looking to hire people just like you.http://jobs.slashdot.org/___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now.
Check out Slashdot's new job board. Browse through tons of technical jobs
posted by companies looking to hire people just like you.
http://jobs.slashdot.org/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxTabbedPanel with notification on tab change

2006-11-14 Thread Marc-Andre Houle
Thanks for the answer. The link you give me was exactly the kind of thing I was searching for. I'll probably need to update the _javascript_ so it will not grab window.onload and window.onbeforeunload but the wicket event.
Any idea how I can grab these in _javascript_?Would it be something like this : Wicket.Ajax.registerPreCallHandler(function() { document.getElementById(main).style.cursor='progress'; });
Because since we already use it, there would be thing to change to overwrite it.Thanks in advance for the help.MarcOn 11/14/06, Marc-Andre Houle
 [EMAIL PROTECTED] wrote:Thanks a lot. It look exactly like what I was expecting.
MarcOn 11/14/06, Matej Knopp 
[EMAIL PROTECTED] wrote:
Hi.you will have to override newLink() method of AjaxTabbedPanel to modify

the link. Also this could help youhttp://jroller.com/page/karthikg?entry=modelling_client_side_form_modifications
It's about doing a behavior for detecting client form changes.
-MatejMarc-Andre Houle wrote: Hello all. I got a challenge to resolve for our application to work how we want it to.We got a An AjaxTabbedPanel containing different Form to edit some
 preference.The problem is, when the user is in edit mode, he can modify thing.The problem is, when the user modify something without saving it, we want to be able to notify the user something have changed
 and have not been save.then he can save or simply don't, but it is is choice. What would be available solution ? Save on change of the form is not a correct solution and there seem's to
 be no way of adding this kind of thing directly to the AjaxTabbedPanel. Thanks in advance. Marc 
 - SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs
 posted by companies looking to hire people just like you. http://jobs.slashdot.org/
 
 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now.
Check out Slashdot's new job board. Browse through tons of technical jobsposted by companies looking to hire people just like you.
http://jobs.slashdot.org/___
Wicket-user mailing listWicket-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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] set image source

2006-11-06 Thread Marc-Andre Houle
Add in your html an img wicket:id=something/in your Java, add a simple webComponent, to the web component add a simpleAttributemodifier for the src attribute.At least, that would look something like this if I have to do it.
MarcOn 11/6/06, ryan mckinley [EMAIL PROTECTED] wrote:
Hello-How do you set the src attribute on an image? The examples are great if I want to load an image from a local resource, but how would i set the source to an absolute URL (on another server?)The options I see are:
1) extend Resource...2) add an html label: Label imgLabel = new Label(imgLabel, img src="">http://absoluteurl...\ /);
 imgLabel.setEscapeModelStrings(false);  add(imgLabel);neither seems like the right choice for such a straightforward task... Thanks againRyan

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [Fwd: Emory Utilities]

2006-11-03 Thread Marc-Andre Houle
I don't know lot about licence, but it seem's it can be used as you want : Licence link found on this page : http://dcl.mathcs.emory.edu/util/index.phpLink to the licence : 
http://creativecommons.org/licenses/publicdomainOn 11/3/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:It looks nice, but I can't find what licence they use, and I
wouldn't want to have an extra dependency for Wicket (so it would onlybe ok if we would include the class in our project). Furthermore, theJAR reloading problem only exists when in development mode. When you
turn on deployment mode - which everyone *should* do anyway forproduction systems - the JAR reloading problem goes away.EelcoOn 11/3/06, cowwoc [EMAIL PROTECTED]
 wrote: Cross-post from the JINI mailing list that might be of some interest to the wicket development team. Can't you use this to fix the JAR reloading problem you discussed earlier?
 Gili  Original Message  Seems like some of these classes (especially the URIClassLoader that fixes some URLCLassLoader issues wrt reloading of classes) may be of
 use in the community. Anybody have any experience or thoughts about these utilities? http://dcl.mathcs.emory.edu/util/features.php
 Dennis - Using Tomcat but need to do more? Need to support web services, security? Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Attribute of the http request

2006-11-02 Thread Marc-Andre Houle
I all, I got a pretty simple question. I got an attribute in the HttpServletRequest that is accessed this way : RequestCycle rc = getPage().getRequestCycle ();WebRequest req = (WebRequest)rc.getRequest ();
Object o  = req.getHttpServletRequest ().getAttribute (attribute);The documentation of wicket say to not use, as possible, this way. The problem is that this attribute is set by a servlet Filter, not by another Wicket page. So it is really in the request and I can't do anything about it.
I have found that there is a getAttribute method in the session. Does it do the same thing as what I want?Marc
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Attribute of the http request

2006-11-02 Thread Marc-Andre Houle
thanks!On 11/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
no, getattribute on session retrieves session attributes not request attributes, i guess you are stuck doing it how you are doing now-igor
On 11/2/06, 
Marc-Andre Houle [EMAIL PROTECTED] wrote:

I all, I got a pretty simple question. I got an attribute in the HttpServletRequest that is accessed this way : RequestCycle rc = getPage().getRequestCycle ();WebRequest req = (WebRequest)rc.getRequest ();


Object o  = req.getHttpServletRequest ().getAttribute (attribute);The documentation of wicket say to not use, as possible, this way. The problem is that this attribute is set by a servlet Filter, not by another Wicket page. So it is really in the request and I can't do anything about it.
I have found that there is a getAttribute method in the session. Does it do the same thing as what I want?Marc

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Modal window with form

2006-10-26 Thread Marc-Andre Houle
Problem solved in the latest build.Thanks a lot.On 10/26/06, Marc-André Houle [EMAIL PROTECTED] wrote:
Yeah, sorry to not have said it before, I use wicket 1.2.2.How long until 1.2.3?If it is a matter of days, I'll wait to
integrate with our application.If long, I'll check the svn versionwith the example I submitted here.MarcLe 06-10-26 à 03:13, Matej Knopp a écrit : Can you please use the latest SVN version (or wait until 
1.2.3 is out) to see if any of those issues persist? -Matej Marc-Andre Houle wrote: I got problems with a form in a Modal Window. In IE, it is not possible to pass from one field to the other with
 the tab key. Step to reproduce :- get the quickstart package from the wicket site- Replace source file with what is given in this mail
- Build, deploy, open in IE, click to open the modal window- Try to navigate in the form using the tab and shift-tab key. Is it a browser limitation or it is in the way wicket implement the
 modal window? Also, related to this issue, when you are in Firefox, it is impossible to see the cursor in the edit box.The tab key work, but there
 is no cursor associated. Thanks in advance. Marc - ---
 Show modal dialog with panel - --- field1:
 field2: - --- -
  Using Tomcat but need to do more? Need to support web services, security? Get stuff done 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? cmd=lnkkid=120709bid=263057dat=121642
 - --- ___ Wicket-user mailing list
 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
 -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done 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? cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Modal window with form

2006-10-25 Thread Marc-Andre Houle
I got problems with a form in a Modal Window.In IE, it is not possible to pass from one field to the other with the tab key.Step to reproduce : - get the quickstart package from the wicket site

- Replace source file with what is given in this mail- Build, deploy, open in IE, click to open the modal window- Try to navigate in the form using the tab and shift-tab key.Is it a browser limitation or it is in the way wicket implement the modal window?
Also, related to this issue, when you are in Firefox, it is
impossible to see the cursor in the edit box. The tab key
work, but there is no cursor associated.Thanks in advance.Marc
Title: QuickStart




		Show modal dialog with panel





Index.java
Description: Binary data

 
field1:



field2:








ModalPanel.java
Description: Binary data
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Table question

2006-10-18 Thread Marc-Andre Houle
Why not adding directly an Image or a NonCachableImage instead of a Label? Does it really need a panel or a fragment for that?MarcOn 10/18/06, Igor Vaynberg
 [EMAIL PROTECTED] wrote:
what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment.see how PropertyColumn works...but instead of a label you add your panel that contains the image-Igor

On 10/18/06, Manuel Alejandro de Brito Fontes 
[EMAIL PROTECTED] wrote:

Hi, Im trying to create a table (AjaxFallbackDefaultDataTable) with a column that display a modal window that permit modify the row content. That works perfect,modify the data and the table updates the table content.
My problem is that the column in question display a text cell and i want to display an image. I don't find any example of this, so i try to do it.So extend the AjaxLink and add an Image instance, but the cell only contains a MarkupFragment
[td wicket:id=cells,, [span wicket:id=cell, [cell], /span],, /td]
obviouslythe html that i create in the component that extends AjaxLink is useless.
Sorry if I'm complicating the things, I'm a newbie :)

Thanks in advice.
PS: Sorry for my bad english too.

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Table question

2006-10-18 Thread Marc-Andre Houle
Thanks!On 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
the problem is that the markup is span wicket:id=item/span ... you cannot attach an image to a span tag, you need markup with an img tag.-Igor
On 10/18/06, 
Marc-Andre Houle [EMAIL PROTECTED] wrote:

Why not adding directly an Image or a NonCachableImage instead of a Label? Does it really need a panel or a fragment for that?Marc
On 10/18/06, Igor Vaynberg
 [EMAIL PROTECTED] wrote:


what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment.see how PropertyColumn works...but instead of a label you add your panel that contains the image-Igor



On 10/18/06, Manuel Alejandro de Brito Fontes 


[EMAIL PROTECTED] wrote:

Hi, Im trying to create a table (AjaxFallbackDefaultDataTable) with a column that display a modal window that permit modify the row content. That works perfect,modify the data and the table updates the table content.
My problem is that the column in question display a text cell and i want to display an image. I don't find any example of this, so i try to do it.So extend the AjaxLink and add an Image instance, but the cell only contains a MarkupFragment
[td wicket:id=cells,, [span wicket:id=cell, [cell], /span],, /td]
obviouslythe html that i create in the component that extends AjaxLink is useless.
Sorry if I'm complicating the things, I'm a newbie :)



Thanks in advice.
PS: Sorry for my bad english too.

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list



Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list


Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Ajax refresh feedback

2006-10-17 Thread Marc-Andre Houle
I have checked what is avalaible from the Ajax exemple and I also searched the API to see if there is something to make the browser make a little feedback during an ajax call.I want the browser to react like if something is happening during an ajax Call. The fact is : when the server is loaded and the response time is high, I don't want the user to think everything is death. I want the user to think something is happening, the answer will be there shortly.
For this, there are IndicatingAjaxLink and the same for submit button. But, in our application, there is a lot of different Ajax call then simple link. Like we have an AJAX tree with links, we use the AjaxPagingNavigator and Ajax tab panel. All those, I'm not sure I want to reimplement them.
What I am looking for is maybe something a little like Gmail. When you change from one place to the other, it is an ajax call and the page does not relad completly. But the browser give sign that it is loading something like if it were a click on a normal link. I'm not sure I am clear on this, but for me, it would be something really interesting to have a way identical for each ajax call to tell the user the page is currently refreshing.
Is there something like that that exist right now?Marc
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Marc-Andre Houle
I was looking at Gmail and I think my example is bad. I think I just said another stupid thing and gmail is actually changing all the page.Anyway, the question is the same, is there a way to make a feedback for all ajax call.
On 10/17/06, Marc-Andre Houle [EMAIL PROTECTED] wrote:
I have checked what is avalaible from the Ajax exemple and I also searched the API to see if there is something to make the browser make a little feedback during an ajax call.I want the browser to react like if something is happening during an ajax Call. The fact is : when the server is loaded and the response time is high, I don't want the user to think everything is death. I want the user to think something is happening, the answer will be there shortly.
For this, there are IndicatingAjaxLink and the same for submit button. But, in our application, there is a lot of different Ajax call then simple link. Like we have an AJAX tree with links, we use the AjaxPagingNavigator and Ajax tab panel. All those, I'm not sure I want to reimplement them.
What I am looking for is maybe something a little like Gmail. When you change from one place to the other, it is an ajax call and the page does not relad completly. But the browser give sign that it is loading something like if it were a click on a normal link. I'm not sure I am clear on this, but for me, it would be something really interesting to have a way identical for each ajax call to tell the user the page is currently refreshing.
Is there something like that that exist right now?Marc


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Marc-Andre Houle
Thanks, it is what I was looking for. I'm not sure I am ready to dive directly into _javascript_ like that, but to know it is possible is interesting.Thanks a lot for the quick answer.Marc
On 10/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
yesyou need to write your own _javascript_ - wicket has hooks thereseeWicket.Ajax.registerPre/PostCallHandlerandWicket.Ajax.registerFailureHandlerin wicket-ajax.jsyou can use those to toggle visibility of some page-wide loading... indicator
-IgorOn 10/17/06, Marc-Andre Houle 
[EMAIL PROTECTED] wrote:
I was looking at Gmail and I think my example is bad. I think I just said another stupid thing and gmail is actually changing all the page.Anyway, the question is the same, is there a way to make a feedback for all ajax call.
On 10/17/06, Marc-Andre Houle 

[EMAIL PROTECTED] wrote:
I have checked what is avalaible from the Ajax exemple and I also searched the API to see if there is something to make the browser make a little feedback during an ajax call.I want the browser to react like if something is happening during an ajax Call. The fact is : when the server is loaded and the response time is high, I don't want the user to think everything is death. I want the user to think something is happening, the answer will be there shortly.
For this, there are IndicatingAjaxLink and the same for submit button. But, in our application, there is a lot of different Ajax call then simple link. Like we have an AJAX tree with links, we use the AjaxPagingNavigator and Ajax tab panel. All those, I'm not sure I want to reimplement them.
What I am looking for is maybe something a little like Gmail. When you change from one place to the other, it is an ajax call and the page does not relad completly. But the browser give sign that it is loading something like if it were a click on a normal link. I'm not sure I am clear on this, but for me, it would be something really interesting to have a way identical for each ajax call to tell the user the page is currently refreshing.
Is there something like that that exist right now?Marc



-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Marc-Andre Houle
I can be wrong, but here is the way we have done it here : -In the page, place all your DOJO goodies like this : div dojo:type=LayoutContainer div dojo:type=ContentPane 
 span wicket:id=panel1panel contents come here/span /div div dojo:type=ContentPane span wicket:id=panel2panel contents come here/span /div
 /div/div-Then create the page that will contains the panel.Refer to this example for panel code : 
http://www.wicket-library.com/wicket-examples/compref;jsessionid=D1C83C080C31EFFBCC6AD04549613098?wicket:bookmarkablePage=:wicket.examples.compref.PanelPageThere is multiple way of doing this, but I think that panel are the way that is the best for this kind of thing. If you want, you can also use page, but I'm not the best to explain how...
On 10/13/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
Hi,dont refer to the navomatic example, as this is a special contruction.If you need a usualy a href= "" to a wicket page then use insteadfollowing:HMTL Markup:a wicket:id=myLink href="" desc/a
and in Java-Page use:Link myLink = new Link(myLink) {public void onClick() {setResponsePage(Target.class);}};add(myLink);
where Target.class is the class of the page to be calledRegards,Korbinian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] Im Auftrag von [EMAIL PROTECTED]
 Gesendet: Freitag, 13. Oktober 2006 16:21 An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] newbie: wicket + dojo LayoutContainer
 Hi, I'm trying to integrate Wicket with dojo for a web application. I have looked at the wicket-contrib-dojo-examples, but i believe it does not cover what I'm looking for at the moment, so here
 goes: I'm trying to use dojo's LayoutContainer with multiple nested dojo ContentPanes as (dojo attribs not relevant to this post are removed): div dojo:type=LayoutContainer
div dojo:type=ContentPane href="">div dojo:type=ContentPane href=""> /div
 What I would like to know is how to link the values for HEAD_PAGE_URL and BODY_PAGE_URL which would point to standard wicket pages. I have looked at the linkomatic examples and
 all of those require an anchor tag to generate the link. In my case I only want the href that will point to the wicket Page class. Or is there some other way to achieve this?
 Thanks, ~ amol -- --- Using Tomcat but need to do more? Need to support web
 services, security? Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Marc-Andre Houle
Another time, I don't think I'm the best to answer that, but I assumed this from expereience : http://localhost:8080/web-application?wicket:bookmarkablePage=:org.exemple.foo.Class
Change the host, web-application is the name of the application you used, and the last part is the same as if you do import on your class. This is the Class name Class in package org.exemple.foo.
This is from what I have seen in my application. If I change the last part, I get a direct access to other pages. Don't know if it is the correct way of doing this.Marc
On 10/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Marc,That is indeed something that would work for my case.Unfortunately however, we have other cases where weload pages using dojo's custom widgets which requiressetting the url to the template page (which in our
case could be dynamic, hence it would be a wicketPage).So I would still be interested in knowing how togenerate the link pointing to a Wicket Page. Issomething like this even possible?Thanks,
~ amol--- Marc-Andre Houle [EMAIL PROTECTED] wrote: I can be wrong, but here is the way we have done it here : -In the page, place all your DOJO goodies like this
 : div dojo:type=LayoutContainer div dojo:type=ContentPane span wicket:id=panel1panel contents come here/span/div
 div dojo:type=ContentPane span wicket:id=panel2panel contents come here/span/div /div /div
 -Then create the page that will contains the panel. Refer to this example for panel code :
http://www.wicket-library.com/wicket-examples/compref;jsessionid=D1C83C080C31EFFBCC6AD04549613098?wicket:bookmarkablePage=:wicket.examples.compref.PanelPage There is multiple way of doing this, but I think
 that panel are the way that is the best for this kind of thing.If you want, you can also use page, but I'm not the best to explain how... On 10/13/06, Korbinian Bachl
 [EMAIL PROTECTED] wrote:   Hi,   dont refer to the navomatic example, as this is a special contruction.
   If you need a usualy a href= "" to a wicket page then use instead  following:   HMTL Markup:  a wicket:id=myLink href="" desc/a
   and in Java-Page use:  Link myLink = new Link(myLink) {  public void onClick() {  setResponsePage(Target.class);  }
  };  add(myLink);   where Target.class is the class of the page to be called   Regards,   Korbinian 
-Ursprüngliche Nachricht-   Von: [EMAIL PROTECTED]   [mailto:
[EMAIL PROTECTED]] Im Auftrag   von [EMAIL PROTECTED]   Gesendet: Freitag, 13. Oktober 2006 16:21
   An: wicket-user@lists.sourceforge.net   Betreff: [Wicket-user] newbie: wicket + dojo LayoutContainer Hi,
 I'm trying to integrate Wicket with dojo for a web   application. I have looked at the   wicket-contrib-dojo-examples, but i believe it does not cover
   what I'm looking for at the moment, so here   goes: I'm trying to use dojo's LayoutContainer with multiple nested   dojo ContentPanes as (dojo attribs not relevant
 to this post   are removed):   div dojo:type=LayoutContainer  div dojo:type=ContentPane
   href="">  div dojo:type=ContentPane   href="">   /div
 What I would like to know is how to link the values for   HEAD_PAGE_URL and BODY_PAGE_URL which would point to standard
   wicket pages. I have looked at the linkomatic examples and   all of those require an anchor tag to generate the link. In   my case I only want the href that will point
 to the wicket   Page class. Or is there some other way to achieve this? Thanks,   ~ amol  
--   ---   Using Tomcat but need to do more? Need to
 support web   services, security?   Get stuff done 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?cmd=lnkkid=120709bid=263057
  dat=121642   ___   Wicket-user mailing list   Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user 
-  Using Tomcat but need to do more? Need to support web services, security?  Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642  ___  Wicket-user mailing list  
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user  -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag

Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Marc-Andre Houle
IThere is always a faster way of doing thing in Wicket. This is why I keep reading this mailling list, Igor and Matj are always pointing new stuff!On 10/13/06, 
Marc-Andre Houle [EMAIL PROTECTED] wrote:
Another time, I don't think I'm the best to answer that, but I assumed this from expereience : 
http://localhost:8080/web-application?wicket:bookmarkablePage=:org.exemple.foo.Class
Change the host, web-application is the name of the application you used, and the last part is the same as if you do import on your class. This is the Class name Class in package org.exemple.foo.

This is from what I have seen in my application. If I change the last part, I get a direct access to other pages. Don't know if it is the correct way of doing this.Marc

On 10/13/06, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

Marc,That is indeed something that would work for my case.Unfortunately however, we have other cases where weload pages using dojo's custom widgets which requiressetting the url to the template page (which in our
case could be dynamic, hence it would be a wicketPage).So I would still be interested in knowing how togenerate the link pointing to a Wicket Page. Issomething like this even possible?Thanks,
~ amol--- Marc-Andre Houle [EMAIL PROTECTED] wrote: I can be wrong, but here is the way we have done it
 here : -In the page, place all your DOJO goodies like this
 : div dojo:type=LayoutContainer div dojo:type=ContentPane span wicket:id=panel1panel contents come here/span/div
 div dojo:type=ContentPane span wicket:id=panel2panel contents come here/span/div /div /div
 -Then create the page that will contains the panel. Refer to this example for panel code :

http://www.wicket-library.com/wicket-examples/compref;jsessionid=D1C83C080C31EFFBCC6AD04549613098?wicket:bookmarkablePage=:wicket.examples.compref.PanelPage There is multiple way of doing this, but I think
 that panel are the way that is the best for this kind of thing.If you want, you can also use page, but I'm not the best to explain how... On 10/13/06, Korbinian Bachl

 [EMAIL PROTECTED] wrote:   Hi,   dont refer to the navomatic example, as this is a
 special contruction.
   If you need a usualy a href= "" to a wicket page then use instead  following:   HMTL Markup:  a wicket:id=myLink href="" desc/a
   and in Java-Page use:  Link myLink = new Link(myLink) {  public void onClick() {  setResponsePage(Target.class);  }
  };  add(myLink);   where Target.class is the class of the page to be called   Regards,   Korbinian 
-Ursprüngliche Nachricht-   Von: [EMAIL PROTECTED]
   [mailto:
[EMAIL PROTECTED]] Im Auftrag   von 
[EMAIL PROTECTED]   Gesendet: Freitag, 13. Oktober 2006 16:21
   An: wicket-user@lists.sourceforge.net   Betreff: [Wicket-user] newbie: wicket + dojo
 LayoutContainer Hi,
 I'm trying to integrate Wicket with dojo for a web   application. I have looked at the   wicket-contrib-dojo-examples, but i believe it does not cover
   what I'm looking for at the moment, so here   goes: I'm trying to use dojo's LayoutContainer with multiple nested   dojo ContentPanes as (dojo attribs not relevant
 to this post   are removed):   div dojo:type=LayoutContainer  div dojo:type=ContentPane

   href="">  div dojo:type=ContentPane   href="">   /div

 What I would like to know is how to link the values for   HEAD_PAGE_URL and BODY_PAGE_URL which would point to standard

   wicket pages. I have looked at the linkomatic examples and   all of those require an anchor tag to generate the link. In   my case I only want the href that will point
 to the wicket   Page class. Or is there some other way to achieve this? Thanks,   ~ amol  

--   ---   Using Tomcat but need to do more? Need to
 support web   services, security?   Get stuff done 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?cmd=lnkkid=120709bid=263057
  dat=121642   ___   Wicket-user mailing list   
Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
-  Using Tomcat but need to do more? Need to support web services, security?  Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642  ___  Wicket-user mailing list  

Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
  -
 Using Tomcat but need to do more? Need to support web servi

Re: [Wicket-user] Refresh life cycle

2006-10-11 Thread Marc-Andre Houle
I'm sorry I didn't understand that. Probably that my brain decided to get stupid yesterday afternoon. I had made some test on something last week and was thinking that the onAttach method was not called when the refresh button in the browser was click.
Now everything is fine. Sorry for the unclear question. MarcOn 10/10/06, Matej Knopp [EMAIL PROTECTED]
 wrote:Marc-Andre Houle wrote: It is a matter of interogation I have and not directly related to a problem.
 While trying to find a good solution about the problem described there http://www.nabble.com/Refreshing-problem-with-ajax-component-tf2388856.html
 , I begin to try to figure what is happening when the user press refresh.I have checked the page about the wicket life-cycle 
http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle in the wiki, but it does not help me.What does it mean refresh of the page? Does it means to get a page withnon-bookmarkable url? (e.g
. wicket:interface=:3::)If this is a case, what wicket does is that it attaches all components(which in turn attach their models) and renders the page.Ajax call only attaches the component it interacts with and the
components that are going to render (not the whole page). What happen when a refresh of the page happen?Is wicket suppose to call onAttach again on every component?When using ajax thing, like
 tree or tab panel, how the page know where to reload what.I mean, the tab was changed using ajax call, the data is not stored somewhere. If you reload completly the page (like clicking on the link of the page
 where you are), it will not remember.What is the big difference.From all my last and not big experience with web development, refresh = another http GET is dumbly made and that's it.But it seem's I am wrong.
refresh = another http GET, nothing wrong in it.Except for when you press back button, the page is retrieved frombrowser cache, but that doesn't seem to be your case. So, since I don't know how wicket react to this, it can be nice for me
 to know! Thanks in advance. Marc  -
 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.phpp=sourceforgeCID=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 ITJoin SourceForge.net
's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done 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?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Refreshing problem with ajax component

2006-10-11 Thread Marc-Andre Houle
I've try to make a simple application with the same problem and it just work. So right now, I'm thinking the problem is in our application finally.The problem is solved by seting versionning to false, but I don't think it is really the good solution. I mean, it work, but it does not tell why it didn't work at first. I'll continue trying to debug what is happening.
MarcOn 10/10/06, Matej Knopp [EMAIL PROTECTED] wrote:
Anyway, there were couple of fixes concerning partial refresh of tree,you might consider trying a current snapshot of 1.2.-MatejMarc-Andre Houle wrote: The click is made on an object of the ajax tree and it is an ajax call.
 Setting versionning to false work, only if it is set to the page. I'll try to make a reproductible page containing the problem.Another question I may ask about refresh is : What is happening during a
 refresh.Somthing I want to do right now is to be able to refresh the ajax tree when there is a new element added using the refresh button. But it always display the old element if I press refresh, it will only
 put new element when I completly update the page. So, is it possible to refresh some of the part of the interface before making the display during a refresh? Thanks.
 Marc On 10/10/06, * Marc-Andre Houle* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 I'll have to make some test but it seem's a good path to follow, I'll check for that... thanks. Marc On 10/6/06, *Johan Compagner*  
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: that click on an item is an ajax request?
 That shouldnt make a page version as far as i know If you have a simple example please make a bug report . you should call: page.setVersioned(false) if you don't want that page to be versioned.
 Or better if you disable versioning on the tree (tree.setVersioned(false)) does the error then occur? johan On 10/3/06, *Marc-Andre Houle * 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: It seem's that I have a problem in my application similar to
 those one : http://www.nabble.com/AjaxTabbedPanel-is-broken-%28wicket-1.2.2%29-tf2176204.html#a6016987
 http://www.nabble.com/AjaxTabbedPanel-is-broken-%28wicket-1.2.2%29-tf2176204.html#a6016987
 https://sourceforge.net/tracker/?func=detailatid=684975aid=1549248group_id=119783
 https://sourceforge.net/tracker/?func=detailatid=684975aid=1549248group_id=119783
 My problem look like this : I open a page and load an Ajax Tree.I click on one item, I hit F5, I click on the same item, and I do another F5 and
 boom.The exemple doesn't seem's to have this problem. This is the error : Root cause: java.lang.IllegalStateException
: Cannot remove [MarkupContainer [Component id = 0, page = No Page, path = 0.Loop$LoopItem]] from null parent! at wicket.Component.remove
 (Component.java:1475) at wicket.version.undo.Add.undo(Add.java:81) at wicket.version.undo.ChangeList.undo(ChangeList.java:93) at 
wicket.version.undo.UndoPageVersionManager.undo(UndoPageVersionManager.java :217) at wicket.version.undo.UndoPageVersionManager.getVersion
(UndoPageVersionManager.java:167) at wicket.Page.getVersion(Page.java:586) at wicket.PageMap.get(PageMap.java:461) at wicket.Session.getPage (
Session.java:418) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveRenderedPage(DefaultRequestTargetResolverStrategy.java:215) at 
wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve (DefaultRequestTargetResolverStrategy.java:152) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve
(AbstractCompoundRequestCycleProcessor.java:48) at wicket.RequestCycle.step (RequestCycle.java :948) at wicket.RequestCycle.steps(RequestCycle.java
:1040) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java :216) at
 javax.servlet.http.HttpServlet.service (HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java :252) at org.apache.catalina.core.ApplicationFilterChain.doFilter
 (ApplicationFilterChain.java:173) at com.interfacing.epc.util.hibernate.HibernateSessionFilter.doFilter (HibernateSessionFilter.java
:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java :202) at org.apache.catalina.core.ApplicationFilterChain.doFilter
 (ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java :81) at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter
 (ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java :213) at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke (CustomPrincipalValve.java
:39

Re: [Wicket-user] Refreshing problem with ajax component

2006-10-10 Thread Marc-Andre Houle
I'll have to make some test but it seem's a good path to follow, I'll check for that...thanks.MarcOn 10/6/06, Johan Compagner 
[EMAIL PROTECTED] wrote:that click on an item is an ajax request?That shouldnt make a page version as far as i know
If you have a simple example please make a bug report .you should call: page.setVersioned(false)if you don't want that page to be versioned.
Or better if you disable versioning on the tree (tree.setVersioned(false)) does the error then occur?johanOn 10/3/06, 
Marc-Andre Houle
 [EMAIL PROTECTED] wrote:
It seem's that I have a problem in my application similar to those one : 
http://www.nabble.com/AjaxTabbedPanel-is-broken-%28wicket-1.2.2%29-tf2176204.html#a6016987
https://sourceforge.net/tracker/?func=detailatid=684975aid=1549248group_id=119783

My problem look like this : I open a page and load an Ajax Tree. I click on one item, I hit F5, I click on the same item, and I do another F5 and boom. The exemple doesn't seem's to have this problem.This is the error : 
Root cause:java.lang.IllegalStateException: Cannot remove [MarkupContainer [Component id = 0, page = No Page, path = 0.Loop$LoopItem]] from null parent! at wicket.Component.remove
(Component.java:1475) at wicket.version.undo.Add.undo(Add.java:81) at wicket.version.undo.ChangeList.undo(ChangeList.java:93) at wicket.version.undo.UndoPageVersionManager.undo(UndoPageVersionManager.java
:217) at wicket.version.undo.UndoPageVersionManager.getVersion(UndoPageVersionManager.java:167) at wicket.Page.getVersion(Page.java:586) at wicket.PageMap.get(PageMap.java:461) at wicket.Session.getPage
(Session.java:418) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveRenderedPage(DefaultRequestTargetResolverStrategy.java:215) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve
(DefaultRequestTargetResolverStrategy.java:152) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48) at wicket.RequestCycle.step(RequestCycle.java
:948) at wicket.RequestCycle.steps(RequestCycle.java:1040) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:216) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.interfacing.epc.util.hibernate.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:78)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke
(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run
(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595)
	
	
	
	
	
	

I would like to know if the bug have been adressed. In the first link, the person say something like disactivating page versionning. So to make a test, I have tried make this in applicationgetPageSettings ().setMaxPageVersions (0);
And then, redone the test. My problem with this is that it does not crash, but it take me to the Page expired page..So here are the real question : 1-Is it really a valid solution to disable page versionning? What are the implication. I have checked and I haven't found any documentation

Re: [Wicket-user] Refreshing problem with ajax component

2006-10-10 Thread Marc-Andre Houle
The click is made on an object of the ajax tree and it is an ajax call.Setting versionning to false work, only if it is set to the page.I'll try to make a reproductible page containing the problem. Another question I may ask about refresh is : What is happening during a refresh. Somthing I want to do right now is to be able to refresh the ajax tree when there is a new element added using the refresh button. But it always display the old element if I press refresh, it will only put new element when I completly update the page.
So, is it possible to refresh some of the part of the interface before making the display during a refresh?Thanks.MarcOn 10/10/06, 
Marc-Andre Houle [EMAIL PROTECTED] wrote:
I'll have to make some test but it seem's a good path to follow, I'll check for that...thanks.Marc
On 10/6/06, Johan Compagner 
[EMAIL PROTECTED] wrote:that click on an item is an ajax request?That shouldnt make a page version as far as i know
If you have a simple example please make a bug report .you should call: page.setVersioned(false)if you don't want that page to be versioned.
Or better if you disable versioning on the tree (tree.setVersioned(false)) does the error then occur?johanOn 10/3/06, 
Marc-Andre Houle
 [EMAIL PROTECTED] wrote:

It seem's that I have a problem in my application similar to those one : 
http://www.nabble.com/AjaxTabbedPanel-is-broken-%28wicket-1.2.2%29-tf2176204.html#a6016987
https://sourceforge.net/tracker/?func=detailatid=684975aid=1549248group_id=119783

My problem look like this : I open a page and load an Ajax Tree. I click on one item, I hit F5, I click on the same item, and I do another F5 and boom. The exemple doesn't seem's to have this problem.This is the error : 
Root cause:java.lang.IllegalStateException: Cannot remove [MarkupContainer [Component id = 0, page = No Page, path = 0.Loop$LoopItem]] from null parent! at wicket.Component.remove
(Component.java:1475) at wicket.version.undo.Add.undo(Add.java:81) at wicket.version.undo.ChangeList.undo(ChangeList.java:93) at wicket.version.undo.UndoPageVersionManager.undo(UndoPageVersionManager.java
:217) at wicket.version.undo.UndoPageVersionManager.getVersion(UndoPageVersionManager.java:167) at wicket.Page.getVersion(Page.java:586) at wicket.PageMap.get(PageMap.java:461) at 
wicket.Session.getPage(Session.java:418) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveRenderedPage(DefaultRequestTargetResolverStrategy.java:215) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve
(DefaultRequestTargetResolverStrategy.java:152) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48) at wicket.RequestCycle.step
(RequestCycle.java:948) at wicket.RequestCycle.steps(RequestCycle.java:1040) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java
:216) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.interfacing.epc.util.hibernate.HibernateSessionFilter.doFilter
(HibernateSessionFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke
(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744

[Wicket-user] Refresh life cycle

2006-10-10 Thread Marc-Andre Houle
It is a matter of interogation I have and not directly related to a problem.While trying to find a good solution about the problem described 
there , I begin to try to figure what is happening when the user press refresh. I have checked the page about the wicket life-cycle in the wiki, but it does not help me.
What happen when a refresh of the page happen? Is wicket suppose to call onAttach again on every component? When using ajax thing, like tree or tab panel, how the page know where to reload what. I mean, the tab was changed using ajax call, the data is not stored somewhere. If you reload completly the page (like clicking on the link of the page where you are), it will not remember. What is the big difference. From all my last and not big experience with web development, refresh = another http GET is dumbly made and that's it. But it seem's I am wrong.
So, since I don't know how wicket react to this, it can be nice for me to know!Thanks in advance.Marc
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


  1   2   >