Re: building tons of ajax links

2009-12-09 Thread Per Lundholm
... or do not use ajax ... what happens when you click ... are you not taken
to a search result ... might as well redraw the page.

/Per

On Thu, Dec 10, 2009 at 7:47 AM, Douglas Ferguson <
doug...@douglasferguson.us> wrote:

> I'm supporting some code that builds an ajax link per "tag" aka. tag cloud.
>
> When there are tons of tags, this can take quite some time.
> My guess is all the overhead in having wicket build all the callbacks for
> each link.
>
> Is there a way to implement a group of ajax links that share the same
> callback?
>
> D/
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
Yes.. servlet container model limits where resources can be fetched online.

**
Martin

2009/12/10 McIlwee, Craig :
> Really?  I've never written applets before, is there some limitation that 
> would prevent it from being fetched as a shared resource?  If not then add a 
> wicket:id attribute to the applet tag, create a Label with the same wicket 
> ID, and then use an AttributeModifier to create the code attribute on the 
> applet tag.
>
> Craig
>  _
>
> From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
> To: users@wicket.apache.org
> Sent: Wed, 09 Dec 2009 12:28:13 -0500
> Subject: Re: Very Basic Hello World - Applet
>
>> but 1 little question ... when i complie the code... instead of manually
>  > copy pasting it to my WEBAPP folder.. can i give it as a path (like
>  > /myproject/src/main/webapp/HelloWorld.class) ...
>
>  No. But you can tweak your build configuration (maven, ant) to copy it
>  automatically.
>
>  **
>  Martin
>
>
>  > And thank u to every1 who helped me out.
>  > :handshake::handshake::handshake:
>  >
>  >
>  > MartinM wrote:
>  >>
>  >> COmpile HelloWorld.java applet into HelloWorld.class and put it into
>  >> the webapp directory and write:
>  >>
>  >> 
>  >> 
>  >> 
>  >> 
>  >>
>  >>
>  >> 2009/12/9 local_shamil :
>  >>>
>  >>> Ok cool the image works fine...
>  >>>
>  >>> i just added this and it came out "  Picture.JPG   "
>  >>>
>  >>> now i need to insert an applet ..
>  >>>
>  >>> this is my HelloWorld.java code >>
>  >>>
>  >>> import java.applet.Applet;
>  >>> import java.awt.Graphics;
>  >>>
>  >>> public class HelloWorld extends Applet {
>  >>>    public void paint(Graphics g) {
>  >>>        g.drawString("Hello world!", 50, 25);
>  >>>    }
>  >>> }
>  >>>
>  >>> and my HelloWolrd.HTML code
>  >>>
>  >>> 
>  >>> 
>  >>>  A Simple Program 
>  >>> 
>  >>> 
>  >>>
>  >>> Here is the output of my program:
>  >>> 
>  >>> 
>  >>> 
>  >>> 
>  >>>
>  >>> and i have entered these 2 in the "COM.MYCOMPANY" Package but in your
>  >>> applet code it says
>  >>>
>  >>>    >>>                WIDTH=600 HEIGHT=600>
>  >>>        
>  >>>
>  >>> What does archive="/xyz.jar" do ?? should i create a jar of my
>  >>> HelloWorld.java class and have it in the WEBAPP folder ??
>  >>>
>  >>>
>  >>>
>  >>>
>  >>>
>  >>>
>  >>>
>  >>> MartinM wrote:
>  
>  > Guys i am a bit confused now...
>  
>   Take it slow :)
>  
>  > I am trying to have an Applet displayed in a wicket website...
>  
>   That's fine. It is just like displaying an IMAGE in a html page. The
>   applet has nothing to do with wicket.
>  
>  > should i create a JAR as HelloWorld.jar and put it in to the WEBAPP
>  > folder
>  
>   NO.
>  
>   Just make a quickstart WORK and try to make IMAGE ( ) work with
>   the image in webapp/ directory.
>  
>   Then put your applet.class file into the webapp/directory and add the
>    html tag next to your   tag.
>  
>   Restart if necessary. Furthermore: it should work even from file
>   system without wicket running. Remember: applet has nothing to do with
>   wicket.
>  
>   **
>   Martin
>  > MartinM wrote:
>  >>
>  >> The jar is a library for the applet code. Baybe you do not need it.
>  >>
>  >> **
>  >> Martin
>  >>
>  >> 2009/12/9 local_shamil :
>  >>>
>  >>> Ok... this is the code i used to create my Maven Wicket project
>  >>>
>  >>> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
>  >>> -DarchetypeArtifactId=wicket-archetype-quickstart
>  >>> -DarchetypeVersion=1.4.3
>  >>> -DgroupId=com.mycompany -DartifactId=myproject "
>  >>>
>  >>> and i used the above example to create
>  >>> 
> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
>  >>> my applet
>  >>>
>  >>> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
>  >>> file
>  >>> in the com.mycompany pakage..
>  >>>
>  >>> have i done correctly up to this point ??
>  >>>
>  >>> then i dont undestand what archive="/xyz.jar"  that u have quoted in
>  >>> your
>  >>> reply ... Should i have to create a HelloWorl.jar file and have it in
>  >>> the
>  >>> com.mycompany  package ??
>  >>>
>  >>> Please help ... :( :(
>  >>> --
>  >>> View this message in context:
>  >>> 
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
>  >>> Sent from the Wicket - User mailing list archive at Nabble.com.
>  >>>
>  >>>
>  >>> -
>  >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>  >>> For additional commands, e-mail: users-h...@wicket.apache.org
>  >>>
>  >>>
>  >>
>  >> -
>  >> To unsubscribe, e-mail: u

Re: Very Basic Hello World - Applet

2009-12-09 Thread bht
And then there is:

http://java.com/js/deployJava.js";>

// See
http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html
deployJava.setInstallerType('kernel');
deployJava.runApplet({code:'path/YourClass.class',archive:'../jars/YourJar.jar',width:100,height:100},{legacy_lifecycle:"true"},'1.4');


That is all you need to know to get your applet running.

Regards

Bernard

On Wed, 9 Dec 2009 21:53:51 +0600, you wrote:

>I need to know how to set-up a simple hello world applet to Wicket , i have
>almost browsed the entire web, and clueless of how to find it .. can some
>one please help me out... or point me to a relevant site ..


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread bht
Q: An applet tag does not get its archive attribute value resolved in
the output HTML in the same way
   as img src attributes. How can I fix this?
A: See
org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler
   This currently only supports the attributes "href", "src",
"background".
   Solution: Add applet tag as WebMarkupContainer with behavior to
rewrite the attribute.
WebMarkupContainer clockContainer = new
WebMarkupContainer("clock");
clockContainer.add(new AbstractBehavior() {
private static final long serialVersionUID = 1L;
@Override
public void onComponentTag(Component component,
ComponentTag tag)
{
// Modify the relevant attribute
String attrName = "archive";
IValueMap valueMap = tag.getAttributes();
String attrValue = valueMap.getString(attrName);
// We don't need the generalised checking as in
//
org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler:
//if ((attrValue != null) &&
(attrValue.startsWith("/") == false) &&
//(attrValue.indexOf(":") < 0) &&
!(attrValue.startsWith("#")))
if(attrValue != null){
IRequestCodingStrategy coder = RequestCycle.get()
.getProcessor()
.getRequestCodingStrategy();
valueMap.put(attrName,
coder.rewriteStaticRelativeUrl(attrValue));
}// if
}
});
add(clockContainer);


On Wed, 9 Dec 2009 21:53:51 +0600, you wrote:

>I need to know how to set-up a simple hello world applet to Wicket , i have
>almost browsed the entire web, and clueless of how to find it .. can some
>one please help me out... or point me to a relevant site ..


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



building tons of ajax links

2009-12-09 Thread Douglas Ferguson
I'm supporting some code that builds an ajax link per "tag" aka. tag cloud.

When there are tons of tags, this can take quite some time. 
My guess is all the overhead in having wicket build all the callbacks for each 
link.

Is there a way to implement a group of ajax links that share the same callback? 

D/
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread zlus...@gmail.com

Hi,

Check that session cookies are not mixed up between the application 
servers. I had PageExpired exceptions when testing the same application 
on the very same browser with WebLogic and Tomcat, and that was caused 
by that both servers are using the JSESSIONID cookie, but with different 
paths, so actually there was two JSESSIONID cookies appearing in the 
browser. And because wrong cookie was picked up the session was always 
recreated, which was causing PageExpired exceptions. The easy solution 
was to configure WebLogic to use an other cookie name, and after that 
everything worked fine. For testing just clear the cookies in your 
browser before/when switching between app servers.

Cheers,
Zoltan

Early Morning írta:

Well yes, ideally, but it is easier to not use such a heavy appserver when
developing, so we make do with an internal QA deployment on Glassfish :) In
any case, I was more wondering about the differences between how appservers
handle wicket page versions and the like, since I'd like to understand why
such differences exist. In any case, I'll check for serialization errors
first. Thanks!


Regards,

Ces

On Thu, Dec 10, 2009 at 5:52 AM,  wrote:

  

Hi,

It is usually easier to have identical development and production
platforms. If then you get an error as you describe, you usually catch
it in development before it reaches production.

So why don't you develop with GlassFish?


Bernard



On Thu, 10 Dec 2009 02:36:49 +0800, you wrote:



Hi all,

Currently I have a problem with my application wherein when I press the
  

Back


button of the browser and navigate to a new page, I get a Page Expired
  

error


consistently. However, this only happens when my application is deployed
  

in


Glassfish, but not when I run it using Jetty. Any suggestions for what I
should check?

Related to that, I also experienced an error wherein there was a
target.add(form) in the onSubmit method of the button, which caused an
Exception in Glassfish whenever the feedback panel within the form was
  

added


because the page could not be constructed; however In Jetty, the same code
caused no errors. The fix (removing target.add(form)) was simple enough,
  

but


I was hoping someone could enlighten me regarding how different appservers
handle wicket page versions, etc. Is there a resource I can look up for
this? Thanks!


Regards,

Ces
  

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread Early Morning
Well yes, ideally, but it is easier to not use such a heavy appserver when
developing, so we make do with an internal QA deployment on Glassfish :) In
any case, I was more wondering about the differences between how appservers
handle wicket page versions and the like, since I'd like to understand why
such differences exist. In any case, I'll check for serialization errors
first. Thanks!


Regards,

Ces

On Thu, Dec 10, 2009 at 5:52 AM,  wrote:

> Hi,
>
> It is usually easier to have identical development and production
> platforms. If then you get an error as you describe, you usually catch
> it in development before it reaches production.
>
> So why don't you develop with GlassFish?
>
>
> Bernard
>
>
>
> On Thu, 10 Dec 2009 02:36:49 +0800, you wrote:
>
> >Hi all,
> >
> >Currently I have a problem with my application wherein when I press the
> Back
> >button of the browser and navigate to a new page, I get a Page Expired
> error
> >consistently. However, this only happens when my application is deployed
> in
> >Glassfish, but not when I run it using Jetty. Any suggestions for what I
> >should check?
> >
> >Related to that, I also experienced an error wherein there was a
> >target.add(form) in the onSubmit method of the button, which caused an
> >Exception in Glassfish whenever the feedback panel within the form was
> added
> >because the page could not be constructed; however In Jetty, the same code
> >caused no errors. The fix (removing target.add(form)) was simple enough,
> but
> >I was hoping someone could enlighten me regarding how different appservers
> >handle wicket page versions, etc. Is there a resource I can look up for
> >this? Thanks!
> >
> >
> >Regards,
> >
> >Ces
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Very Basic Hello World - Applet

2009-12-09 Thread McIlwee, Craig
Really?  I've never written applets before, is there some limitation that would 
prevent it from being fetched as a shared resource?  If not then add a 
wicket:id attribute to the applet tag, create a Label with the same wicket ID, 
and then use an AttributeModifier to create the code attribute on the applet 
tag.

Craig
  _  

From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
To: users@wicket.apache.org
Sent: Wed, 09 Dec 2009 12:28:13 -0500
Subject: Re: Very Basic Hello World - Applet

> but 1 little question ... when i complie the code... instead of manually
  > copy pasting it to my WEBAPP folder.. can i give it as a path (like
  > /myproject/src/main/webapp/HelloWorld.class) ...
  
  No. But you can tweak your build configuration (maven, ant) to copy it
  automatically.
  
  **
  Martin
  
  
  > And thank u to every1 who helped me out.
  > :handshake::handshake::handshake:
  >
  >
  > MartinM wrote:
  >>
  >> COmpile HelloWorld.java applet into HelloWorld.class and put it into
  >> the webapp directory and write:
  >>
  >> 
  >> 
  >> 
  >> 
  >>
  >>
  >> 2009/12/9 local_shamil :
  >>>
  >>> Ok cool the image works fine...
  >>>
  >>> i just added this and it came out "  Picture.JPG   "
  >>>
  >>> now i need to insert an applet ..
  >>>
  >>> this is my HelloWorld.java code >>
  >>>
  >>> import java.applet.Applet;
  >>> import java.awt.Graphics;
  >>>
  >>> public class HelloWorld extends Applet {
  >>>public void paint(Graphics g) {
  >>>g.drawString("Hello world!", 50, 25);
  >>>}
  >>> }
  >>>
  >>> and my HelloWolrd.HTML code
  >>>
  >>> 
  >>> 
  >>>  A Simple Program 
  >>> 
  >>> 
  >>>
  >>> Here is the output of my program:
  >>> 
  >>> 
  >>> 
  >>> 
  >>>
  >>> and i have entered these 2 in the "COM.MYCOMPANY" Package but in your
  >>> applet code it says
  >>>
  >>>  >>WIDTH=600 HEIGHT=600>
  >>>
  >>>
  >>> What does archive="/xyz.jar" do ?? should i create a jar of my
  >>> HelloWorld.java class and have it in the WEBAPP folder ??
  >>>
  >>>
  >>>
  >>>
  >>>
  >>>
  >>>
  >>> MartinM wrote:
  
  > Guys i am a bit confused now...
  
   Take it slow :)
  
  > I am trying to have an Applet displayed in a wicket website...
  
   That's fine. It is just like displaying an IMAGE in a html page. The
   applet has nothing to do with wicket.
  
  > should i create a JAR as HelloWorld.jar and put it in to the WEBAPP
  > folder
  
   NO.
  
   Just make a quickstart WORK and try to make IMAGE ( ) work with
   the image in webapp/ directory.
  
   Then put your applet.class file into the webapp/directory and add the
    html tag next to your   tag.
  
   Restart if necessary. Furthermore: it should work even from file
   system without wicket running. Remember: applet has nothing to do with
   wicket.
  
   **
   Martin
  > MartinM wrote:
  >>
  >> The jar is a library for the applet code. Baybe you do not need it.
  >>
  >> **
  >> Martin
  >>
  >> 2009/12/9 local_shamil :
  >>>
  >>> Ok... this is the code i used to create my Maven Wicket project
  >>>
  >>> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
  >>> -DarchetypeArtifactId=wicket-archetype-quickstart
  >>> -DarchetypeVersion=1.4.3
  >>> -DgroupId=com.mycompany -DartifactId=myproject "
  >>>
  >>> and i used the above example to create
  >>> 
http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
  >>> my applet
  >>>
  >>> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
  >>> file
  >>> in the com.mycompany pakage..
  >>>
  >>> have i done correctly up to this point ??
  >>>
  >>> then i dont undestand what archive="/xyz.jar"  that u have quoted in
  >>> your
  >>> reply ... Should i have to create a HelloWorl.jar file and have it in
  >>> the
  >>> com.mycompany  package ??
  >>>
  >>> Please help ... :( :(
  >>> --
  >>> View this message in context:
  >>> 
http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
  >>> Sent from the Wicket - User mailing list archive at Nabble.com.
  >>>
  >>>
  >>> -
  >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  >>> For additional commands, e-mail: users-h...@wicket.apache.org
  >>>
  >>>
  >>
  >> -
  >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  >> For additional commands, e-mail: users-h...@wicket.apache.org
  >>
  >>
  >>
  >
  > --
  > View this message in context:
  > 
http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
  > 

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread TahitianGabriel

You can use your own images or use the one that are within the
wicket-examples into the 'images' directory.



fachhoch wrote:
> 
> are these images available with wicket distribution ? even the wicket
> examples page does not have these images ?
> 
> 

-- 
View this message in context: 
http://old.nabble.com/add-asc-or-desc-icon-indicator-for-sorting-in-ajaxFallbackDefaultDatatable-tp26719310p26720205.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread fachhoch

if I do it with css can I add  accessibility information , if a page uses
image  I can add accessibility information using alt attribute , 
what in case of image from css ?


igor.vaynberg wrote:
> 
> you can do it via css, afair wicket will already set some css classes
> on the th to indicate the sort direction.
> 
> -igor
> 
> On Wed, Dec 9, 2009 at 3:04 PM, tubin gen  wrote:
>> I use AjaxFallbackDefaultDatatable   ,please tell me if I can add an icon
>> for sortable column  indicating asc or desc
>>
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/add-asc-or-desc-icon-indicator-for-sorting-in-ajaxFallbackDefaultDatatable-tp26719310p26719932.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread fachhoch

are these images available with wicket distribution ? even the wicket
examples page does not have these images ?

TahitianGabriel wrote:
> 
> You can use CSS like this :
> 
> tr.headers th.wicket_orderUp a {
> background : url(../images/arrow_up.png) no-repeat right;
> }
> 
> tr.headers th.wicket_orderDown a {
> background : url(../images/arrow_down.png) no-repeat right;
> }
> 
> tr.headers th.wicket_orderNone a {
> background : url(../images/arrow_off.png) no-repeat right;
> }
> 
> Regards,
> Gabriel.
> 
> 
> fachhoch wrote:
>> 
>> I use AjaxFallbackDefaultDatatable   ,please tell me if I can add an icon
>> for sortable column  indicating asc or desc
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/add-asc-or-desc-icon-indicator-for-sorting-in-ajaxFallbackDefaultDatatable-tp26719310p26719912.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Questions about Serialization...

2009-12-09 Thread Lionel Port
Probably the answer to the original question is just use
HttpSessionStore. Its similar issue to when deploying to GAE where you
don't have a disk to serialise to.

regards,
Lionel

On Thu, Dec 10, 2009 at 4:13 AM, Marat Radchenko
 wrote:
>>  I wasn't using Model in this precise case. I thought using Model was a best
>>  practice, to save memory.
> Choosing proper model isn't (almost always) about performance, it's
> about logic. You _have_ to use plain serializing model for data that
> isn't stored anywhere else. You _have_ to use LDM in cases when it is
> a logical error to operate on outdated data backed by db storage.
>
>> Indeed I understand that using Mdel is mandatory,
>>  if you want avoid strange behaviour. IMHO using LoadableDetachableModel is
>>  an extra cost, (cpu, time, design) not necessary for simpler cases.
> On the other side, LDM usually reduces page size -> allows faster
> serilization. But anyway, you decide what model to use based on
> application logic requirements. The only choice that is _mostly_
> driven by performance conciderations is AbstractReadonlyModel vs. LDM.
> But still, sometimes application logic makes it inappropriate to use
> LDM since its value has to change during request.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread Igor Vaynberg
you can do it via css, afair wicket will already set some css classes
on the th to indicate the sort direction.

-igor

On Wed, Dec 9, 2009 at 3:04 PM, tubin gen  wrote:
> I use AjaxFallbackDefaultDatatable   ,please tell me if I can add an icon
> for sortable column  indicating asc or desc
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread TahitianGabriel

You can use CSS like this :

tr.headers th.wicket_orderUp a {
background : url(../images/arrow_up.png) no-repeat right;
}

tr.headers th.wicket_orderDown a {
background : url(../images/arrow_down.png) no-repeat right;
}

tr.headers th.wicket_orderNone a {
background : url(../images/arrow_off.png) no-repeat right;
}

Regards,
Gabriel.


fachhoch wrote:
> 
> I use AjaxFallbackDefaultDatatable   ,please tell me if I can add an icon
> for sortable column  indicating asc or desc
> 
> 

-- 
View this message in context: 
http://old.nabble.com/add-asc-or-desc-icon-indicator-for-sorting-in-ajaxFallbackDefaultDatatable-tp26719310p26719402.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread tubin gen
I use AjaxFallbackDefaultDatatable   ,please tell me if I can add an icon
for sortable column  indicating asc or desc


Palette adding choices

2009-12-09 Thread Jeffrey Schneller
I have a palette defined with a set of available choices.  I can move
those choices to the right into the selected choices.  On my page I have
a modal popup that can be launched to add a custom choice.  The choice
is added to the available choices in the palette but the selected
choices are reset.  How do I keep the selected choices set and add the
new choice to remaining available choices.  I have done a Google search
but don't have the correct keywords to find anything useful.  The key
pieces of code are below.  Thanks.

 

Private List definedOptions = new ArrayList();

 

// code found in constructor of page

final Palette palette = new Palette("options", new
Model((Serializable)definedOptions), renderer, 10, true);

palette.setMarkupId("palette");

palette.setOutputMarkupId(true);

palette.setOutputMarkupPlaceholderTag(true);

add(palette);

 

// code found in the onclick of the AjaxLink on the page

definedOptions.add(opt);

target.addComponent(palette);

 

 



Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread bht
Hi,

It is usually easier to have identical development and production
platforms. If then you get an error as you describe, you usually catch
it in development before it reaches production.

So why don't you develop with GlassFish?


Bernard



On Thu, 10 Dec 2009 02:36:49 +0800, you wrote:

>Hi all,
>
>Currently I have a problem with my application wherein when I press the Back
>button of the browser and navigate to a new page, I get a Page Expired error
>consistently. However, this only happens when my application is deployed in
>Glassfish, but not when I run it using Jetty. Any suggestions for what I
>should check?
>
>Related to that, I also experienced an error wherein there was a
>target.add(form) in the onSubmit method of the button, which caused an
>Exception in Glassfish whenever the feedback panel within the form was added
>because the page could not be constructed; however In Jetty, the same code
>caused no errors. The fix (removing target.add(form)) was simple enough, but
>I was hoping someone could enlighten me regarding how different appservers
>handle wicket page versions, etc. Is there a resource I can look up for
>this? Thanks!
>
>
>Regards,
>
>Ces


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: unreachable john.mattu...@td.com

2009-12-09 Thread TahitianGabriel

Same thing for me yesterday when I've posted :

john.mattu...@td.com
Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1]

-- 
View this message in context: 
http://old.nabble.com/unreachable-john.mattucci%40td.com-tp26706274p26715839.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread Igor Vaynberg
make sure there are no serialization errors in your glassfish log...

-igor

On Wed, Dec 9, 2009 at 10:36 AM, Early Morning  wrote:
> Hi all,
>
> Currently I have a problem with my application wherein when I press the Back
> button of the browser and navigate to a new page, I get a Page Expired error
> consistently. However, this only happens when my application is deployed in
> Glassfish, but not when I run it using Jetty. Any suggestions for what I
> should check?
>
> Related to that, I also experienced an error wherein there was a
> target.add(form) in the onSubmit method of the button, which caused an
> Exception in Glassfish whenever the feedback panel within the form was added
> because the page could not be constructed; however In Jetty, the same code
> caused no errors. The fix (removing target.add(form)) was simple enough, but
> I was hoping someone could enlighten me regarding how different appservers
> handle wicket page versions, etc. Is there a resource I can look up for
> this? Thanks!
>
>
> Regards,
>
> Ces
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread Early Morning
Hi all,

Currently I have a problem with my application wherein when I press the Back
button of the browser and navigate to a new page, I get a Page Expired error
consistently. However, this only happens when my application is deployed in
Glassfish, but not when I run it using Jetty. Any suggestions for what I
should check?

Related to that, I also experienced an error wherein there was a
target.add(form) in the onSubmit method of the button, which caused an
Exception in Glassfish whenever the feedback panel within the form was added
because the page could not be constructed; however In Jetty, the same code
caused no errors. The fix (removing target.add(form)) was simple enough, but
I was hoping someone could enlighten me regarding how different appservers
handle wicket page versions, etc. Is there a resource I can look up for
this? Thanks!


Regards,

Ces


Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
However not for registered users, so somebody made an account and gave that
to the BOT, i'll put on captcha for everyone even if you are signed in, even
if its really annoying :(

2009/12/9 nino martinez wael 

> seems captcha are on
>
>
> 2009/12/9 nino martinez wael 
>
>> ahh so you suspect it's a spam server somewhere.. I can see theres almost
>> too many users for me to clean up, are there some way of bulk/batch
>> modifying? And who will setup CAPTCHA?
>>
>> 2009/12/9 James Carman 
>>
>> Perhaps with CAPTCHA?
>>>
>>> http://confluence.atlassian.com/display/DOC/Spam+Prevention+via+Captcha
>>>
>>> On Wed, Dec 9, 2009 at 12:48 PM, nino martinez wael
>>>  wrote:
>>> > I'll commence cleaning, however can we avoid this again?
>>> >
>>> > 2009/12/9 nino martinez wael 
>>> >
>>> >> OMG it's been flooded by crap! Thats really low!
>>> >>
>>> >>
>>> >> http://wicketstuff.org/confluence/display/~advantage_carb_blocker
>>> 
>>> >> http://wicketstuff.org/confluence/display/~buy_cheapest_fml_forte
>>> 
>>> >>
>>> >> 2009/12/9 Vytautas Racelis 
>>> >>
>>> >> This thing does not look compatible with wicket stuff also
>>> >>>
>>> >>>
>>> >>>
>>> http://wicketstuff.org/confluence/display/~family+incest+orgy+free+3d+incest+taboo+sex+movies/Home
>>> <
>>> http://wicketstuff.org/confluence/display/%7Efamily+incest+orgy+free+3d+incest+taboo+sex+movies/Home
>>> >
>>> >>>
>>> >>> it's on first page of wicket stuff
>>> >>>
>>> >>> http://wicketstuff.org/confluence/dashboard.action
>>> >>>
>>> >>>
>>> >>> Johan Compagner wrote:
>>> >>>
>>>  somehow the disks where full again
>>>  i deleted as much logging as i can and some old stuff
>>>  so we should be able to go on
>>> 
>>>  Biggest problem is as always but nobody seems to be able to fix that
>>>  shitty
>>>  maven:
>>> 
>>> 
>>> 
>>> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>>> 
>>>  It still generates unique snapshots.. Why cant nobody fix that
>>> stupid
>>>  maven
>>>  build behavior..
>>> 
>>>  johan
>>> 
>>> 
>>>  On Wed, Dec 9, 2009 at 10:31, Stefan Blanke <
>>> stefbla...@googlemail.com
>>>  >wrote:
>>> 
>>>   Hi,
>>> >
>>> > does somebody know what happened to wicketstuff.org?
>>> >
>>> >
>>> >
>>> > I get the following error message:
>>> >
>>> >
>>> >
>>> > You cannot access Confluence at present. Look at the table below to
>>> > identify
>>> > the reasons
>>> >
>>> > Database is being updated by an instance which is not part of the
>>> > current
>>> > cluster. You should check network connections between cluster
>>> nodes,
>>> > especially multicast traffic.
>>> >
>>> >
>>> >
>>> > Best regards,
>>> >
>>> > Stefan
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> 
>>> >>>
>>> >>> --
>>> >>> Regards,
>>> >>> Vytautas Racelis
>>> >>> ---
>>> >>> phone:+370-600-34389
>>> >>> www.xaloon.org
>>> >>> www.leenle.com
>>> >>>
>>> >>>
>>> >>> -
>>> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> >>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> >>>
>>> >>>
>>> >>
>>> >
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
seems captcha are on

2009/12/9 nino martinez wael 

> ahh so you suspect it's a spam server somewhere.. I can see theres almost
> too many users for me to clean up, are there some way of bulk/batch
> modifying? And who will setup CAPTCHA?
>
> 2009/12/9 James Carman 
>
> Perhaps with CAPTCHA?
>>
>> http://confluence.atlassian.com/display/DOC/Spam+Prevention+via+Captcha
>>
>> On Wed, Dec 9, 2009 at 12:48 PM, nino martinez wael
>>  wrote:
>> > I'll commence cleaning, however can we avoid this again?
>> >
>> > 2009/12/9 nino martinez wael 
>> >
>> >> OMG it's been flooded by crap! Thats really low!
>> >>
>> >>
>> >> http://wicketstuff.org/confluence/display/~advantage_carb_blocker
>> 
>> >> http://wicketstuff.org/confluence/display/~buy_cheapest_fml_forte
>> 
>> >>
>> >> 2009/12/9 Vytautas Racelis 
>> >>
>> >> This thing does not look compatible with wicket stuff also
>> >>>
>> >>>
>> >>>
>> http://wicketstuff.org/confluence/display/~family+incest+orgy+free+3d+incest+taboo+sex+movies/Home
>> <
>> http://wicketstuff.org/confluence/display/%7Efamily+incest+orgy+free+3d+incest+taboo+sex+movies/Home
>> >
>> >>>
>> >>> it's on first page of wicket stuff
>> >>>
>> >>> http://wicketstuff.org/confluence/dashboard.action
>> >>>
>> >>>
>> >>> Johan Compagner wrote:
>> >>>
>>  somehow the disks where full again
>>  i deleted as much logging as i can and some old stuff
>>  so we should be able to go on
>> 
>>  Biggest problem is as always but nobody seems to be able to fix that
>>  shitty
>>  maven:
>> 
>> 
>> 
>> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>> 
>>  It still generates unique snapshots.. Why cant nobody fix that stupid
>>  maven
>>  build behavior..
>> 
>>  johan
>> 
>> 
>>  On Wed, Dec 9, 2009 at 10:31, Stefan Blanke <
>> stefbla...@googlemail.com
>>  >wrote:
>> 
>>   Hi,
>> >
>> > does somebody know what happened to wicketstuff.org?
>> >
>> >
>> >
>> > I get the following error message:
>> >
>> >
>> >
>> > You cannot access Confluence at present. Look at the table below to
>> > identify
>> > the reasons
>> >
>> > Database is being updated by an instance which is not part of the
>> > current
>> > cluster. You should check network connections between cluster nodes,
>> > especially multicast traffic.
>> >
>> >
>> >
>> > Best regards,
>> >
>> > Stefan
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> 
>> >>>
>> >>> --
>> >>> Regards,
>> >>> Vytautas Racelis
>> >>> ---
>> >>> phone:+370-600-34389
>> >>> www.xaloon.org
>> >>> www.leenle.com
>> >>>
>> >>>
>> >>> -
>> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >>> For additional commands, e-mail: users-h...@wicket.apache.org
>> >>>
>> >>>
>> >>
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
ahh so you suspect it's a spam server somewhere.. I can see theres almost
too many users for me to clean up, are there some way of bulk/batch
modifying? And who will setup CAPTCHA?

2009/12/9 James Carman 

> Perhaps with CAPTCHA?
>
> http://confluence.atlassian.com/display/DOC/Spam+Prevention+via+Captcha
>
> On Wed, Dec 9, 2009 at 12:48 PM, nino martinez wael
>  wrote:
> > I'll commence cleaning, however can we avoid this again?
> >
> > 2009/12/9 nino martinez wael 
> >
> >> OMG it's been flooded by crap! Thats really low!
> >>
> >>
> >> http://wicketstuff.org/confluence/display/~advantage_carb_blocker
> 
> >> http://wicketstuff.org/confluence/display/~buy_cheapest_fml_forte
> 
> >>
> >> 2009/12/9 Vytautas Racelis 
> >>
> >> This thing does not look compatible with wicket stuff also
> >>>
> >>>
> >>>
> http://wicketstuff.org/confluence/display/~family+incest+orgy+free+3d+incest+taboo+sex+movies/Home
> <
> http://wicketstuff.org/confluence/display/%7Efamily+incest+orgy+free+3d+incest+taboo+sex+movies/Home
> >
> >>>
> >>> it's on first page of wicket stuff
> >>>
> >>> http://wicketstuff.org/confluence/dashboard.action
> >>>
> >>>
> >>> Johan Compagner wrote:
> >>>
>  somehow the disks where full again
>  i deleted as much logging as i can and some old stuff
>  so we should be able to go on
> 
>  Biggest problem is as always but nobody seems to be able to fix that
>  shitty
>  maven:
> 
> 
> 
> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
> 
>  It still generates unique snapshots.. Why cant nobody fix that stupid
>  maven
>  build behavior..
> 
>  johan
> 
> 
>  On Wed, Dec 9, 2009 at 10:31, Stefan Blanke <
> stefbla...@googlemail.com
>  >wrote:
> 
>   Hi,
> >
> > does somebody know what happened to wicketstuff.org?
> >
> >
> >
> > I get the following error message:
> >
> >
> >
> > You cannot access Confluence at present. Look at the table below to
> > identify
> > the reasons
> >
> > Database is being updated by an instance which is not part of the
> > current
> > cluster. You should check network connections between cluster nodes,
> > especially multicast traffic.
> >
> >
> >
> > Best regards,
> >
> > Stefan
> >
> >
> >
> >
> >
> >
> >
> 
> >>>
> >>> --
> >>> Regards,
> >>> Vytautas Racelis
> >>> ---
> >>> phone:+370-600-34389
> >>> www.xaloon.org
> >>> www.leenle.com
> >>>
> >>>
> >>> -
> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >>> For additional commands, e-mail: users-h...@wicket.apache.org
> >>>
> >>>
> >>
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread James Carman
Perhaps with CAPTCHA?

http://confluence.atlassian.com/display/DOC/Spam+Prevention+via+Captcha

On Wed, Dec 9, 2009 at 12:48 PM, nino martinez wael
 wrote:
> I'll commence cleaning, however can we avoid this again?
>
> 2009/12/9 nino martinez wael 
>
>> OMG it's been flooded by crap! Thats really low!
>>
>>
>> http://wicketstuff.org/confluence/display/~advantage_carb_blocker
>> http://wicketstuff.org/confluence/display/~buy_cheapest_fml_forte
>>
>> 2009/12/9 Vytautas Racelis 
>>
>> This thing does not look compatible with wicket stuff also
>>>
>>>
>>> http://wicketstuff.org/confluence/display/~family+incest+orgy+free+3d+incest+taboo+sex+movies/Home
>>>
>>> it's on first page of wicket stuff
>>>
>>> http://wicketstuff.org/confluence/dashboard.action
>>>
>>>
>>> Johan Compagner wrote:
>>>
 somehow the disks where full again
 i deleted as much logging as i can and some old stuff
 so we should be able to go on

 Biggest problem is as always but nobody seems to be able to fix that
 shitty
 maven:


 http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/

 It still generates unique snapshots.. Why cant nobody fix that stupid
 maven
 build behavior..

 johan


 On Wed, Dec 9, 2009 at 10:31, Stefan Blanke >>> >wrote:

  Hi,
>
> does somebody know what happened to wicketstuff.org?
>
>
>
> I get the following error message:
>
>
>
> You cannot access Confluence at present. Look at the table below to
> identify
> the reasons
>
> Database is being updated by an instance which is not part of the
> current
> cluster. You should check network connections between cluster nodes,
> especially multicast traffic.
>
>
>
> Best regards,
>
> Stefan
>
>
>
>
>
>
>

>>>
>>> --
>>> Regards,
>>> Vytautas Racelis
>>> ---
>>> phone:+370-600-34389
>>> www.xaloon.org
>>> www.leenle.com
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
I'll commence cleaning, however can we avoid this again?

2009/12/9 nino martinez wael 

> OMG it's been flooded by crap! Thats really low!
>
>
> http://wicketstuff.org/confluence/display/~advantage_carb_blocker
> http://wicketstuff.org/confluence/display/~buy_cheapest_fml_forte
>
> 2009/12/9 Vytautas Racelis 
>
> This thing does not look compatible with wicket stuff also
>>
>>
>> http://wicketstuff.org/confluence/display/~family+incest+orgy+free+3d+incest+taboo+sex+movies/Home
>>
>> it's on first page of wicket stuff
>>
>> http://wicketstuff.org/confluence/dashboard.action
>>
>>
>> Johan Compagner wrote:
>>
>>> somehow the disks where full again
>>> i deleted as much logging as i can and some old stuff
>>> so we should be able to go on
>>>
>>> Biggest problem is as always but nobody seems to be able to fix that
>>> shitty
>>> maven:
>>>
>>>
>>> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>>>
>>> It still generates unique snapshots.. Why cant nobody fix that stupid
>>> maven
>>> build behavior..
>>>
>>> johan
>>>
>>>
>>> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke >> >wrote:
>>>
>>>  Hi,

 does somebody know what happened to wicketstuff.org?



 I get the following error message:



 You cannot access Confluence at present. Look at the table below to
 identify
 the reasons

 Database is being updated by an instance which is not part of the
 current
 cluster. You should check network connections between cluster nodes,
 especially multicast traffic.



 Best regards,

 Stefan







>>>
>>
>> --
>> Regards,
>> Vytautas Racelis
>> ---
>> phone:+370-600-34389
>> www.xaloon.org
>> www.leenle.com
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
OMG it's been flooded by crap! Thats really low!


http://wicketstuff.org/confluence/display/~advantage_carb_blocker
http://wicketstuff.org/confluence/display/~buy_cheapest_fml_forte

2009/12/9 Vytautas Racelis 

> This thing does not look compatible with wicket stuff also
>
>
> http://wicketstuff.org/confluence/display/~family+incest+orgy+free+3d+incest+taboo+sex+movies/Home
>
> it's on first page of wicket stuff
>
> http://wicketstuff.org/confluence/dashboard.action
>
>
> Johan Compagner wrote:
>
>> somehow the disks where full again
>> i deleted as much logging as i can and some old stuff
>> so we should be able to go on
>>
>> Biggest problem is as always but nobody seems to be able to fix that
>> shitty
>> maven:
>>
>>
>> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>>
>> It still generates unique snapshots.. Why cant nobody fix that stupid
>> maven
>> build behavior..
>>
>> johan
>>
>>
>> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke > >wrote:
>>
>>  Hi,
>>>
>>> does somebody know what happened to wicketstuff.org?
>>>
>>>
>>>
>>> I get the following error message:
>>>
>>>
>>>
>>> You cannot access Confluence at present. Look at the table below to
>>> identify
>>> the reasons
>>>
>>> Database is being updated by an instance which is not part of the current
>>> cluster. You should check network connections between cluster nodes,
>>> especially multicast traffic.
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Stefan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
> --
> Regards,
> Vytautas Racelis
> ---
> phone:+370-600-34389
> www.xaloon.org
> www.leenle.com
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: How to tackle Ajax "Flooding"

2009-12-09 Thread smallufo
Wow , thanks for this great tip ...

But I have problem applying to Gmap2 :
I hope when user clicks the map , the map won't be able to receive any
requests until the onClick() finishes...
But it seems this doesn't work...
Is there anything I missed ?

gmap2.add(new ClickListener()
{
  @Override
  protected void onClick(AjaxRequestTarget target, GLatLng latLng, GOverlay
overlay)
  {
// high computation ...
  }

  @Override
  protected IAjaxCallDecorator getAjaxCallDecorator()
  {
return new IAjaxCallDecorator()
{
  @Override
  public CharSequence decorateScript(CharSequence script)
  { return "this.enabled=false;"+script; }

  @Override
  public CharSequence decorateOnSuccessScript(CharSequence script)
  { return script+";this.enabled=true;"; }

  @Override
  public CharSequence decorateOnFailureScript(CharSequence script)
  { return script+";this.enabled=true;"; }
};
  }
});



2009/8/31 Igor Vaynberg 

> add(new ajaxbutton("button") {
>  getajaxcalldecorator() {
> return new iajaxcalldecorator() {
> decoratescript(script) { "return this.enabled=false;"+script; }
> decorateonfailurescript(script) { return
> script+";this.enabled=true;";}
> decorateonsuccessscript(script) { return
> script+";this.enabled=true;";}
> }
>  }
> }
>
> doesnt look like a lot of javascript to me. further you can factor it
> out into a separate class and reuse it all over the place.
>
> -igor
>
>
> On Mon, Aug 31, 2009 at 5:40 AM, Tom Wollert
> wrote:
> > The only idea I can come up with is to keep state of my model on client
> > side, but that would require alot of javascript :/
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil



MartinM wrote:
> 
> 
> No. But you can tweak your build configuration (maven, ant) to copy it
> automatically.
> 
> 

I am using maven  i'll start working on it thanks loads 

-- 
View this message in context: 
http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26714185.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
> but 1 little question ... when i complie the code... instead of manually
> copy pasting it to my WEBAPP folder.. can i give it as a path (like
> /myproject/src/main/webapp/HelloWorld.class) ...

No. But you can tweak your build configuration (maven, ant) to copy it
automatically.

**
Martin


> And thank u to every1 who helped me out.
> :handshake::handshake::handshake:
>
>
> MartinM wrote:
>>
>> COmpile HelloWorld.java applet into HelloWorld.class and put it into
>> the webapp directory and write:
>>
>> 
>> 
>> 
>> 
>>
>>
>> 2009/12/9 local_shamil :
>>>
>>> Ok cool the image works fine...
>>>
>>> i just added this and it came out "  Picture.JPG   "
>>>
>>> now i need to insert an applet ..
>>>
>>> this is my HelloWorld.java code >>
>>>
>>> import java.applet.Applet;
>>> import java.awt.Graphics;
>>>
>>> public class HelloWorld extends Applet {
>>>    public void paint(Graphics g) {
>>>        g.drawString("Hello world!", 50, 25);
>>>    }
>>> }
>>>
>>> and my HelloWolrd.HTML code
>>>
>>> 
>>> 
>>>  A Simple Program 
>>> 
>>> 
>>>
>>> Here is the output of my program:
>>> 
>>> 
>>> 
>>> 
>>>
>>> and i have entered these 2 in the "COM.MYCOMPANY" Package but in your
>>> applet code it says
>>>
>>>  >>                WIDTH=600 HEIGHT=600>
>>>        
>>>
>>> What does archive="/xyz.jar" do ?? should i create a jar of my
>>> HelloWorld.java class and have it in the WEBAPP folder ??
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> MartinM wrote:

> Guys i am a bit confused now...

 Take it slow :)

> I am trying to have an Applet displayed in a wicket website...

 That's fine. It is just like displaying an IMAGE in a html page. The
 applet has nothing to do with wicket.

> should i create a JAR as HelloWorld.jar and put it in to the WEBAPP
> folder

 NO.

 Just make a quickstart WORK and try to make IMAGE ( ) work with
 the image in webapp/ directory.

 Then put your applet.class file into the webapp/directory and add the
  html tag next to your   tag.

 Restart if necessary. Furthermore: it should work even from file
 system without wicket running. Remember: applet has nothing to do with
 wicket.

 **
 Martin
> MartinM wrote:
>>
>> The jar is a library for the applet code. Baybe you do not need it.
>>
>> **
>> Martin
>>
>> 2009/12/9 local_shamil :
>>>
>>> Ok... this is the code i used to create my Maven Wicket project
>>>
>>> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
>>> -DarchetypeArtifactId=wicket-archetype-quickstart
>>> -DarchetypeVersion=1.4.3
>>> -DgroupId=com.mycompany -DartifactId=myproject "
>>>
>>> and i used the above example to create
>>> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
>>> my applet
>>>
>>> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
>>> file
>>> in the com.mycompany pakage..
>>>
>>> have i done correctly up to this point ??
>>>
>>> then i dont undestand what archive="/xyz.jar"  that u have quoted in
>>> your
>>> reply ... Should i have to create a HelloWorl.jar file and have it in
>>> the
>>> com.mycompany  package ??
>>>
>>> Please help ... :( :(
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713627.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mai

Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil

Guess What ... it worked ..


Thanks loads ...

but 1 little question ... when i complie the code... instead of manually
copy pasting it to my WEBAPP folder.. can i give it as a path (like
/myproject/src/main/webapp/HelloWorld.class) ...

And thank u to every1 who helped me out.
:handshake::handshake::handshake:


MartinM wrote:
> 
> COmpile HelloWorld.java applet into HelloWorld.class and put it into
> the webapp directory and write:
> 
> 
> 
> 
> 
> 
> 
> 2009/12/9 local_shamil :
>>
>> Ok cool the image works fine...
>>
>> i just added this and it came out "  Picture.JPG   "
>>
>> now i need to insert an applet ..
>>
>> this is my HelloWorld.java code >>
>>
>> import java.applet.Applet;
>> import java.awt.Graphics;
>>
>> public class HelloWorld extends Applet {
>>    public void paint(Graphics g) {
>>        g.drawString("Hello world!", 50, 25);
>>    }
>> }
>>
>> and my HelloWolrd.HTML code
>>
>> 
>> 
>>  A Simple Program 
>> 
>> 
>>
>> Here is the output of my program:
>> 
>> 
>> 
>> 
>>
>> and i have entered these 2 in the "COM.MYCOMPANY" Package but in your
>> applet code it says
>>
>>  >                WIDTH=600 HEIGHT=600>
>>        
>>
>> What does archive="/xyz.jar" do ?? should i create a jar of my
>> HelloWorld.java class and have it in the WEBAPP folder ??
>>
>>
>>
>>
>>
>>
>>
>> MartinM wrote:
>>>
 Guys i am a bit confused now...
>>>
>>> Take it slow :)
>>>
 I am trying to have an Applet displayed in a wicket website...
>>>
>>> That's fine. It is just like displaying an IMAGE in a html page. The
>>> applet has nothing to do with wicket.
>>>
 should i create a JAR as HelloWorld.jar and put it in to the WEBAPP
 folder
>>>
>>> NO.
>>>
>>> Just make a quickstart WORK and try to make IMAGE ( ) work with
>>> the image in webapp/ directory.
>>>
>>> Then put your applet.class file into the webapp/directory and add the
>>>  html tag next to your   tag.
>>>
>>> Restart if necessary. Furthermore: it should work even from file
>>> system without wicket running. Remember: applet has nothing to do with
>>> wicket.
>>>
>>> **
>>> Martin
 MartinM wrote:
>
> The jar is a library for the applet code. Baybe you do not need it.
>
> **
> Martin
>
> 2009/12/9 local_shamil :
>>
>> Ok... this is the code i used to create my Maven Wicket project
>>
>> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
>> -DarchetypeArtifactId=wicket-archetype-quickstart
>> -DarchetypeVersion=1.4.3
>> -DgroupId=com.mycompany -DartifactId=myproject "
>>
>> and i used the above example to create
>> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
>> my applet
>>
>> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
>> file
>> in the com.mycompany pakage..
>>
>> have i done correctly up to this point ??
>>
>> then i dont undestand what archive="/xyz.jar"  that u have quoted in
>> your
>> reply ... Should i have to create a HelloWorl.jar file and have it in
>> the
>> com.mycompany  package ??
>>
>> Please help ... :( :(
>> --
>> View this message in context:
>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>

 --
 View this message in context:
 http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713627.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> -
> To unsubscribe, e-mail: users-unsub

Re: Questions about Serialization...

2009-12-09 Thread Marat Radchenko
>  I wasn't using Model in this precise case. I thought using Model was a best
>  practice, to save memory.
Choosing proper model isn't (almost always) about performance, it's
about logic. You _have_ to use plain serializing model for data that
isn't stored anywhere else. You _have_ to use LDM in cases when it is
a logical error to operate on outdated data backed by db storage.

> Indeed I understand that using Mdel is mandatory,
>  if you want avoid strange behaviour. IMHO using LoadableDetachableModel is
>  an extra cost, (cpu, time, design) not necessary for simpler cases.
On the other side, LDM usually reduces page size -> allows faster
serilization. But anyway, you decide what model to use based on
application logic requirements. The only choice that is _mostly_
driven by performance conciderations is AbstractReadonlyModel vs. LDM.
But still, sometimes application logic makes it inappropriate to use
LDM since its value has to change during request.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
COmpile HelloWorld.java applet into HelloWorld.class and put it into
the webapp directory and write:







2009/12/9 local_shamil :
>
> Ok cool the image works fine...
>
> i just added this and it came out "  Picture.JPG   "
>
> now i need to insert an applet ..
>
> this is my HelloWorld.java code >>
>
> import java.applet.Applet;
> import java.awt.Graphics;
>
> public class HelloWorld extends Applet {
>    public void paint(Graphics g) {
>        g.drawString("Hello world!", 50, 25);
>    }
> }
>
> and my HelloWolrd.HTML code
>
> 
> 
>  A Simple Program 
> 
> 
>
> Here is the output of my program:
> 
> 
> 
> 
>
> and i have entered these 2 in the "COM.MYCOMPANY" Package but in your
> applet code it says
>
>                  WIDTH=600 HEIGHT=600>
>        
>
> What does archive="/xyz.jar" do ?? should i create a jar of my
> HelloWorld.java class and have it in the WEBAPP folder ??
>
>
>
>
>
>
>
> MartinM wrote:
>>
>>> Guys i am a bit confused now...
>>
>> Take it slow :)
>>
>>> I am trying to have an Applet displayed in a wicket website...
>>
>> That's fine. It is just like displaying an IMAGE in a html page. The
>> applet has nothing to do with wicket.
>>
>>> should i create a JAR as HelloWorld.jar and put it in to the WEBAPP
>>> folder
>>
>> NO.
>>
>> Just make a quickstart WORK and try to make IMAGE ( ) work with
>> the image in webapp/ directory.
>>
>> Then put your applet.class file into the webapp/directory and add the
>>  html tag next to your   tag.
>>
>> Restart if necessary. Furthermore: it should work even from file
>> system without wicket running. Remember: applet has nothing to do with
>> wicket.
>>
>> **
>> Martin
>>> MartinM wrote:

 The jar is a library for the applet code. Baybe you do not need it.

 **
 Martin

 2009/12/9 local_shamil :
>
> Ok... this is the code i used to create my Maven Wicket project
>
> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart
> -DarchetypeVersion=1.4.3
> -DgroupId=com.mycompany -DartifactId=myproject "
>
> and i used the above example to create
> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
> my applet
>
> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
> file
> in the com.mycompany pakage..
>
> have i done correctly up to this point ??
>
> then i dont undestand what archive="/xyz.jar"  that u have quoted in
> your
> reply ... Should i have to create a HelloWorl.jar file and have it in
> the
> com.mycompany  package ??
>
> Please help ... :( :(
> --
> View this message in context:
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713627.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread nmelen...@getsense.com.ar
do that :
I'd say get your applet working in a non-wicket, java webapp (with a
static HTML page) first.  Then, wicketize it.

then make  panel using your working applet html and add it to a WebPage with
it own html

NM

On Wed, Dec 9, 2009 at 1:37 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:

> > Guys i am a bit confused now...
>
> Take it slow :)
>
> > I am trying to have an Applet displayed in a wicket website...
>
> That's fine. It is just like displaying an IMAGE in a html page. The
> applet has nothing to do with wicket.
>
> > should i create a JAR as HelloWorld.jar and put it in to the WEBAPP
> folder
>
> NO.
>
> Just make a quickstart WORK and try to make IMAGE () work with
> the image in webapp/ directory.
>
> Then put your applet.class file into the webapp/directory and add the
>  html tag next to your  tag.
>
> Restart if necessary. Furthermore: it should work even from file
> system without wicket running. Remember: applet has nothing to do with
> wicket.
>
> **
> Martin
> > MartinM wrote:
> >>
> >> The jar is a library for the applet code. Baybe you do not need it.
> >>
> >> **
> >> Martin
> >>
> >> 2009/12/9 local_shamil :
> >>>
> >>> Ok... this is the code i used to create my Maven Wicket project
> >>>
> >>> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
> >>> -DarchetypeArtifactId=wicket-archetype-quickstart
> >>> -DarchetypeVersion=1.4.3
> >>> -DgroupId=com.mycompany -DartifactId=myproject "
> >>>
> >>> and i used the above example to create
> >>>
> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
> >>> my applet
> >>>
> >>> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
> >>> file
> >>> in the com.mycompany pakage..
> >>>
> >>> have i done correctly up to this point ??
> >>>
> >>> then i dont undestand what archive="/xyz.jar"  that u have quoted in
> your
> >>> reply ... Should i have to create a HelloWorl.jar file and have it in
> the
> >>> com.mycompany  package ??
> >>>
> >>> Please help ... :( :(
> >>> --
> >>> View this message in context:
> >>>
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
> >>> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>>
> >>>
> >>> -
> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >>> For additional commands, e-mail: users-h...@wicket.apache.org
> >>>
> >>>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >>
> >
> > --
> > View this message in context:
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil

Ok cool the image works fine...

i just added this and it came out "  Picture.JPG   " 

now i need to insert an applet .. 

this is my HelloWorld.java code >>

import java.applet.Applet;
import java.awt.Graphics;

public class HelloWorld extends Applet {
public void paint(Graphics g) {
g.drawString("Hello world!", 50, 25);
}
}

and my HelloWolrd.HTML code



 A Simple Program 



Here is the output of my program:





and i have entered these 2 in the "COM.MYCOMPANY" Package but in your
applet code it says

  
 

What does archive="/xyz.jar" do ?? should i create a jar of my
HelloWorld.java class and have it in the WEBAPP folder ??







MartinM wrote:
> 
>> Guys i am a bit confused now...
> 
> Take it slow :)
> 
>> I am trying to have an Applet displayed in a wicket website...
> 
> That's fine. It is just like displaying an IMAGE in a html page. The
> applet has nothing to do with wicket.
> 
>> should i create a JAR as HelloWorld.jar and put it in to the WEBAPP
>> folder
> 
> NO.
> 
> Just make a quickstart WORK and try to make IMAGE ( ) work with
> the image in webapp/ directory.
> 
> Then put your applet.class file into the webapp/directory and add the
>  html tag next to your   tag.
> 
> Restart if necessary. Furthermore: it should work even from file
> system without wicket running. Remember: applet has nothing to do with
> wicket.
> 
> **
> Martin
>> MartinM wrote:
>>>
>>> The jar is a library for the applet code. Baybe you do not need it.
>>>
>>> **
>>> Martin
>>>
>>> 2009/12/9 local_shamil :

 Ok... this is the code i used to create my Maven Wicket project

 " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
 -DarchetypeArtifactId=wicket-archetype-quickstart
 -DarchetypeVersion=1.4.3
 -DgroupId=com.mycompany -DartifactId=myproject "

 and i used the above example to create
 http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
 my applet

 So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
 file
 in the com.mycompany pakage..

 have i done correctly up to this point ??

 then i dont undestand what archive="/xyz.jar"  that u have quoted in
 your
 reply ... Should i have to create a HelloWorl.jar file and have it in
 the
 com.mycompany  package ??

 Please help ... :( :(
 --
 View this message in context:
 http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713627.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff.org Confluence error

2009-12-09 Thread Vytautas Racelis

This thing does not look compatible with wicket stuff also

http://wicketstuff.org/confluence/display/~family+incest+orgy+free+3d+incest+taboo+sex+movies/Home

it's on first page of wicket stuff

http://wicketstuff.org/confluence/dashboard.action

Johan Compagner wrote:

somehow the disks where full again
i deleted as much logging as i can and some old stuff
so we should be able to go on

Biggest problem is as always but nobody seems to be able to fix that shitty
maven:

http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/

It still generates unique snapshots.. Why cant nobody fix that stupid maven
build behavior..

johan


On Wed, Dec 9, 2009 at 10:31, Stefan Blanke wrote:


Hi,

does somebody know what happened to wicketstuff.org?



I get the following error message:



You cannot access Confluence at present. Look at the table below to
identify
the reasons

Database is being updated by an instance which is not part of the current
cluster. You should check network connections between cluster nodes,
especially multicast traffic.



Best regards,

Stefan











--
Regards,
Vytautas Racelis
---
phone:+370-600-34389
www.xaloon.org
www.leenle.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
> Guys i am a bit confused now...

Take it slow :)

> I am trying to have an Applet displayed in a wicket website...

That's fine. It is just like displaying an IMAGE in a html page. The
applet has nothing to do with wicket.

> should i create a JAR as HelloWorld.jar and put it in to the WEBAPP folder

NO.

Just make a quickstart WORK and try to make IMAGE () work with
the image in webapp/ directory.

Then put your applet.class file into the webapp/directory and add the
 html tag next to your  tag.

Restart if necessary. Furthermore: it should work even from file
system without wicket running. Remember: applet has nothing to do with
wicket.

**
Martin
> MartinM wrote:
>>
>> The jar is a library for the applet code. Baybe you do not need it.
>>
>> **
>> Martin
>>
>> 2009/12/9 local_shamil :
>>>
>>> Ok... this is the code i used to create my Maven Wicket project
>>>
>>> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
>>> -DarchetypeArtifactId=wicket-archetype-quickstart
>>> -DarchetypeVersion=1.4.3
>>> -DgroupId=com.mycompany -DartifactId=myproject "
>>>
>>> and i used the above example to create
>>> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
>>> my applet
>>>
>>> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
>>> file
>>> in the com.mycompany pakage..
>>>
>>> have i done correctly up to this point ??
>>>
>>> then i dont undestand what archive="/xyz.jar"  that u have quoted in your
>>> reply ... Should i have to create a HelloWorl.jar file and have it in the
>>> com.mycompany  package ??
>>>
>>> Please help ... :( :(
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: General questions regarding Wicket roadmap and plans

2009-12-09 Thread Jeremy Thomerson
+1000 to Martijn's comment.  I've released a few open source components -
and none are at the level to be sold.  Not because they can't be used - I do
use them in production.  But because there are a million use cases and I
have no desire, time, or monetary reason to accommodate those use cases.
Instead, if people contact me, I will either build them a custom component
for hire or will allow them to pay me to add features to an open source
one.

--
Jeremy Thomerson
http://www.wickettraining.com



On Fri, Dec 4, 2009 at 2:54 AM, Martijn Dashorst  wrote:

> The problem with pre built components is that they never, ever are
> exactly what you want or need. Maintaining such components for other
> people is what I call hell. We are in the business of creating the
> best Java web framework for building your own custom components with
> unprecedented ease. This takes enough time already.
>
> Anybody is welcome to build component libraries, open source or
> commercially. Our license allows for that and nobody would object to
> creative folks trying to earn a buck or two with their component
> (libraries).
>
> That this hasn't happened (yet) is mostly because it is so damned easy
> to create your own custom components according to your coding style
> that precisely fit in your application and perform exactly those task
> you intend them to. And conversely it is damned hard to create a
> finished, polished, released component. It is easy to start a
> component, but it is *work* to ship it.
>
> Martijn
>


Re: Very Basic Hello World - Applet

2009-12-09 Thread James Carman
I'd say get your applet working in a non-wicket, java webapp (with a
static HTML page) first.  Then, wicketize it.

On Wed, Dec 9, 2009 at 11:31 AM, local_shamil  wrote:
>
> Guys i am a bit confused now...
>
> I am trying to have an Applet displayed in a wicket website...
>
> What should i exactly do ..
>
> should i create a JAR as HelloWorld.jar and put it in to the WEBAPP folder
> ??
>
> in that case i will have the HelloWorld.java and HelloWorld.html in my
> "com.mycompany" package, and the HelloWorld.jar in the WEBAPP folder 
>
> I am new to wicket ... so please help ...
>
> and thanks for replying
>
>
> MartinM wrote:
>>
>> The jar is a library for the applet code. Baybe you do not need it.
>>
>> **
>> Martin
>>
>> 2009/12/9 local_shamil :
>>>
>>> Ok... this is the code i used to create my Maven Wicket project
>>>
>>> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
>>> -DarchetypeArtifactId=wicket-archetype-quickstart
>>> -DarchetypeVersion=1.4.3
>>> -DgroupId=com.mycompany -DartifactId=myproject "
>>>
>>> and i used the above example to create
>>> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
>>> my applet
>>>
>>> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
>>> file
>>> in the com.mycompany pakage..
>>>
>>> have i done correctly up to this point ??
>>>
>>> then i dont undestand what archive="/xyz.jar"  that u have quoted in your
>>> reply ... Should i have to create a HelloWorl.jar file and have it in the
>>> com.mycompany  package ??
>>>
>>> Please help ... :( :(
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil

Guys i am a bit confused now...

I am trying to have an Applet displayed in a wicket website...

What should i exactly do ..

should i create a JAR as HelloWorld.jar and put it in to the WEBAPP folder
??

in that case i will have the HelloWorld.java and HelloWorld.html in my
"com.mycompany" package, and the HelloWorld.jar in the WEBAPP folder  

I am new to wicket ... so please help ...

and thanks for replying


MartinM wrote:
> 
> The jar is a library for the applet code. Baybe you do not need it.
> 
> **
> Martin
> 
> 2009/12/9 local_shamil :
>>
>> Ok... this is the code i used to create my Maven Wicket project
>>
>> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
>> -DarchetypeArtifactId=wicket-archetype-quickstart
>> -DarchetypeVersion=1.4.3
>> -DgroupId=com.mycompany -DartifactId=myproject "
>>
>> and i used the above example to create
>> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
>> my applet
>>
>> So what i did was i added the "HelloWorld.java" and "HelloWorld.html"
>> file
>> in the com.mycompany pakage..
>>
>> have i done correctly up to this point ??
>>
>> then i dont undestand what archive="/xyz.jar"  that u have quoted in your
>> reply ... Should i have to create a HelloWorl.jar file and have it in the
>> com.mycompany  package ??
>>
>> Please help ... :( :(
>> --
>> View this message in context:
>> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26713212.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread Jeremy Thomerson
Wicket is deployed as a war in a servlet container (like Jetty or Tomcat).
It is not deployed as an applet.  Are you trying to ask how to use an applet
within Wicket?  Or how to deploy Wicket?

--
Jeremy Thomerson
http://www.wickettraining.com



On Wed, Dec 9, 2009 at 10:17 AM, local_shamil  wrote:

>
> Ok... this is the code i used to create my Maven Wicket project
>
> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4.3
> -DgroupId=com.mycompany -DartifactId=myproject "
>
> and i used the above example to create
> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
> my applet
>
> So what i did was i added the "HelloWorld.java" and "HelloWorld.html" file
> in the com.mycompany pakage..
>
> have i done correctly up to this point ??
>
> then i dont undestand what archive="/xyz.jar"  that u have quoted in your
> reply ... Should i have to create a HelloWorl.jar file and have it in the
> com.mycompany  package ??
>
> Please help ... :( :(
> --
> View this message in context:
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Very Basic Hello World - Applet

2009-12-09 Thread James Perry
Oh, I went to Southampton Uni'!  :-)

It depends how it is being deployed but the most simplest way is to
put your the applet in your 'webapp' folder.

Best,
James.

2009/12/9 local_shamil :
>
> Ok... this is the code i used to create my Maven Wicket project
>
> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4.3
> -DgroupId=com.mycompany -DartifactId=myproject "
>
> and i used the above example to create
> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
> my applet
>
> So what i did was i added the "HelloWorld.java" and "HelloWorld.html" file
> in the com.mycompany pakage..
>
> have i done correctly up to this point ??
>
> then i dont undestand what archive="/xyz.jar"  that u have quoted in your
> reply ... Should i have to create a HelloWorl.jar file and have it in the
> com.mycompany  package ??
>
> Please help ... :( :(
> --
> View this message in context: 
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
The jar is a library for the applet code. Baybe you do not need it.

**
Martin

2009/12/9 local_shamil :
>
> Ok... this is the code i used to create my Maven Wicket project
>
> " mvn archetype:create -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4.3
> -DgroupId=com.mycompany -DartifactId=myproject "
>
> and i used the above example to create
> http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
> my applet
>
> So what i did was i added the "HelloWorld.java" and "HelloWorld.html" file
> in the com.mycompany pakage..
>
> have i done correctly up to this point ??
>
> then i dont undestand what archive="/xyz.jar"  that u have quoted in your
> reply ... Should i have to create a HelloWorl.jar file and have it in the
> com.mycompany  package ??
>
> Please help ... :( :(
> --
> View this message in context: 
> http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil

Ok... this is the code i used to create my Maven Wicket project

" mvn archetype:create -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4.3
-DgroupId=com.mycompany -DartifactId=myproject "

and i used the above example to create 
http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/applet/index.html
my applet   

So what i did was i added the "HelloWorld.java" and "HelloWorld.html" file
in the com.mycompany pakage..

have i done correctly up to this point ??

then i dont undestand what archive="/xyz.jar"  that u have quoted in your
reply ... Should i have to create a HelloWorl.jar file and have it in the
com.mycompany  package ??

Please help ... :( :(
-- 
View this message in context: 
http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26712974.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Questions about Serialization...

2009-12-09 Thread Yves-Marie LAINÉ
Thanks you for the advices.

I wasn't using Model in this precise case. I thought using Model was a best
practice, to save memory. Indeed I understand that using Mdel is mandatory,
if you want avoid strange behaviour. IMHO using LoadableDetachableModel is
an extra cost, (cpu, time, design) not necessary for simpler cases.

I did't find out how to desactivate Serialization now, I use statefull
components, but not versioned pages. I don't use "new Page()" twice for the
same page in my application, I know exactly how many Page instance will be
created, and what is in. So I don't need page serialization to disk...

I will do differently, but I'm a bit sad. Maybe it's possible to create one
page and work with Panel replacement...

Regards

2009/12/9 Marat Radchenko 

> 2009/12/9 Yves-Marie LAINÉ :
> > (But put Serializable in Session doesn't mean to put Serialized in
> Session)
> Uh?
>
> > And it seems that wicket Serialize each Page one by one. This way if you
> > have a single object instance that you share between pages as object
> > property, after pages serialization, if you have ten page referencing
> your
> > object you will have ten copies of your object, while you think you have
> > only one.
> I guess, it just means you use default serialization strategy (you're
> using org.apache.wicket.model.Model, aren't you?) but expect it to do
> something custom.
>
> > It's a known serialization drawback. And it's what I want to get
> > arround, when Serialization is not needed.
> Use proper models. For example, HibernateObjectModel from databinder
> doesn't serialize whole persistent entity but just its primary key +
> class. So on subsequent requests object state is loaded again from db.
>
> Also, I think you skipped one of my points - wicket will _only_
> serialize page if there's stateful component on it. It is absolutely
> possible to use wicket without any serialization at all (although you
> must not use stateful components then). @StatelessComponent from
> wicket-devutils is an invaluable tool to enforce such practice.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
If you have an applet you can put it into wicket very easily:









2009/12/9 Shamil :
> I need to know how to set-up a simple hello world applet to Wicket , i have
> almost browsed the entire web, and clueless of how to find it .. can some
> one please help me out... or point me to a relevant site ..
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Very Basic Hello World - Applet

2009-12-09 Thread Shamil
I need to know how to set-up a simple hello world applet to Wicket , i have
almost browsed the entire web, and clueless of how to find it .. can some
one please help me out... or point me to a relevant site ..


Re: wicketstuff.org Confluence error

2009-12-09 Thread Johan Compagner
fine by me


On Wed, Dec 9, 2009 at 15:53, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> and should be fixed in maven 2.1.x:
>
> http://jira.codehaus.org/browse/MNG-3885
>
> Should we upgrade maven on teamcity, its running 2.0.9...?
>
> 2009/12/9 nino martinez wael 
>
> > Wondering if it could be something like this:
> >
> > http://jira.codehaus.org/browse/MDEPLOY-57
> >
> > Which version of maven are wicketstuff teamcity running?
> >
> >
> > 2009/12/9 nino martinez wael 
> >
> >> Ive done this, not sure if it fixes any thing:
> >>
> >> Trying to fix false problem added it to
> non
> >> snapshot repos aswell
> >>
> >> However it did look ok for snapshot versions, they had unique version
> set
> >> to false..
> >>
> >>
> >> 2009/12/9 nino martinez wael 
> >>
> >>> Yup, and theres two places on wicketstuff core it's not set, so it
> >>> default to true! Which are the opposite of what we want.. I'll fix it
> for
> >>> wicketstuff.. But what about Wicket itself, I dont have commit rights?
> >>>
> >>> 2009/12/9 Marat Radchenko 
> >>>
> >>> That's controlled with 
> 
>  2009/12/9 nino martinez wael :
>  > Yeah it seems strange, some project seems not to have the issue:
>  >
>  >
> 
> http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/
>  >
>  > While a core project does..
>  >
> 
> http://www.wicketstuff.org/maven/repository/org/wicketstuff/openlayers/1.4-SNAPSHOT/
>  >
>  > Heres something on the topic..
>  >
>  >
> 
> http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html
>  >
>  > I might be able to look at it tomorrow..
>  >
>  >
>  > 2009/12/9 Johan Compagner 
>  >
>  >> somehow the disks where full again
>  >> i deleted as much logging as i can and some old stuff
>  >> so we should be able to go on
>  >>
>  >> Biggest problem is as always but nobody seems to be able to fix
> that
>  shitty
>  >> maven:
>  >>
>  >>
>  >>
> 
> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>  >>
>  >> It still generates unique snapshots.. Why cant nobody fix that
> stupid
>  maven
>  >> build behavior..
>  >>
>  >> johan
>  >>
>  >>
>  >> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke <
>  stefbla...@googlemail.com
>  >> >wrote:
>  >>
>  >> > Hi,
>  >> >
>  >> > does somebody know what happened to wicketstuff.org?
>  >> >
>  >> >
>  >> >
>  >> > I get the following error message:
>  >> >
>  >> >
>  >> >
>  >> > You cannot access Confluence at present. Look at the table below
> to
>  >> > identify
>  >> > the reasons
>  >> >
>  >> > Database is being updated by an instance which is not part of the
>  current
>  >> > cluster. You should check network connections between cluster
>  nodes,
>  >> > especially multicast traffic.
>  >> >
>  >> >
>  >> >
>  >> > Best regards,
>  >> >
>  >> > Stefan
>  >> >
>  >> >
>  >> >
>  >> >
>  >> >
>  >> >
>  >>
>  >
> 
>  -
>  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>  For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> >>>
> >>
> >
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
and should be fixed in maven 2.1.x:

http://jira.codehaus.org/browse/MNG-3885

Should we upgrade maven on teamcity, its running 2.0.9...?

2009/12/9 nino martinez wael 

> Wondering if it could be something like this:
>
> http://jira.codehaus.org/browse/MDEPLOY-57
>
> Which version of maven are wicketstuff teamcity running?
>
>
> 2009/12/9 nino martinez wael 
>
>> Ive done this, not sure if it fixes any thing:
>>
>> Trying to fix false problem added it to non
>> snapshot repos aswell
>>
>> However it did look ok for snapshot versions, they had unique version set
>> to false..
>>
>>
>> 2009/12/9 nino martinez wael 
>>
>>> Yup, and theres two places on wicketstuff core it's not set, so it
>>> default to true! Which are the opposite of what we want.. I'll fix it for
>>> wicketstuff.. But what about Wicket itself, I dont have commit rights?
>>>
>>> 2009/12/9 Marat Radchenko 
>>>
>>> That's controlled with 

 2009/12/9 nino martinez wael :
 > Yeah it seems strange, some project seems not to have the issue:
 >
 >
 http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/
 >
 > While a core project does..
 >
 http://www.wicketstuff.org/maven/repository/org/wicketstuff/openlayers/1.4-SNAPSHOT/
 >
 > Heres something on the topic..
 >
 >
 http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html
 >
 > I might be able to look at it tomorrow..
 >
 >
 > 2009/12/9 Johan Compagner 
 >
 >> somehow the disks where full again
 >> i deleted as much logging as i can and some old stuff
 >> so we should be able to go on
 >>
 >> Biggest problem is as always but nobody seems to be able to fix that
 shitty
 >> maven:
 >>
 >>
 >>
 http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
 >>
 >> It still generates unique snapshots.. Why cant nobody fix that stupid
 maven
 >> build behavior..
 >>
 >> johan
 >>
 >>
 >> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke <
 stefbla...@googlemail.com
 >> >wrote:
 >>
 >> > Hi,
 >> >
 >> > does somebody know what happened to wicketstuff.org?
 >> >
 >> >
 >> >
 >> > I get the following error message:
 >> >
 >> >
 >> >
 >> > You cannot access Confluence at present. Look at the table below to
 >> > identify
 >> > the reasons
 >> >
 >> > Database is being updated by an instance which is not part of the
 current
 >> > cluster. You should check network connections between cluster
 nodes,
 >> > especially multicast traffic.
 >> >
 >> >
 >> >
 >> > Best regards,
 >> >
 >> > Stefan
 >> >
 >> >
 >> >
 >> >
 >> >
 >> >
 >>
 >

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


>>>
>>
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
Wondering if it could be something like this:

http://jira.codehaus.org/browse/MDEPLOY-57

Which version of maven are wicketstuff teamcity running?

2009/12/9 nino martinez wael 

> Ive done this, not sure if it fixes any thing:
>
> Trying to fix false problem added it to non
> snapshot repos aswell
>
> However it did look ok for snapshot versions, they had unique version set
> to false..
>
>
> 2009/12/9 nino martinez wael 
>
>> Yup, and theres two places on wicketstuff core it's not set, so it default
>> to true! Which are the opposite of what we want.. I'll fix it for
>> wicketstuff.. But what about Wicket itself, I dont have commit rights?
>>
>> 2009/12/9 Marat Radchenko 
>>
>> That's controlled with 
>>>
>>> 2009/12/9 nino martinez wael :
>>> > Yeah it seems strange, some project seems not to have the issue:
>>> >
>>> >
>>> http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/
>>> >
>>> > While a core project does..
>>> >
>>> http://www.wicketstuff.org/maven/repository/org/wicketstuff/openlayers/1.4-SNAPSHOT/
>>> >
>>> > Heres something on the topic..
>>> >
>>> >
>>> http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html
>>> >
>>> > I might be able to look at it tomorrow..
>>> >
>>> >
>>> > 2009/12/9 Johan Compagner 
>>> >
>>> >> somehow the disks where full again
>>> >> i deleted as much logging as i can and some old stuff
>>> >> so we should be able to go on
>>> >>
>>> >> Biggest problem is as always but nobody seems to be able to fix that
>>> shitty
>>> >> maven:
>>> >>
>>> >>
>>> >>
>>> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>>> >>
>>> >> It still generates unique snapshots.. Why cant nobody fix that stupid
>>> maven
>>> >> build behavior..
>>> >>
>>> >> johan
>>> >>
>>> >>
>>> >> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke <
>>> stefbla...@googlemail.com
>>> >> >wrote:
>>> >>
>>> >> > Hi,
>>> >> >
>>> >> > does somebody know what happened to wicketstuff.org?
>>> >> >
>>> >> >
>>> >> >
>>> >> > I get the following error message:
>>> >> >
>>> >> >
>>> >> >
>>> >> > You cannot access Confluence at present. Look at the table below to
>>> >> > identify
>>> >> > the reasons
>>> >> >
>>> >> > Database is being updated by an instance which is not part of the
>>> current
>>> >> > cluster. You should check network connections between cluster nodes,
>>> >> > especially multicast traffic.
>>> >> >
>>> >> >
>>> >> >
>>> >> > Best regards,
>>> >> >
>>> >> > Stefan
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >>
>>> >
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
Ive done this, not sure if it fixes any thing:

Trying to fix false problem added it to non
snapshot repos aswell

However it did look ok for snapshot versions, they had unique version set to
false..

2009/12/9 nino martinez wael 

> Yup, and theres two places on wicketstuff core it's not set, so it default
> to true! Which are the opposite of what we want.. I'll fix it for
> wicketstuff.. But what about Wicket itself, I dont have commit rights?
>
> 2009/12/9 Marat Radchenko 
>
> That's controlled with 
>>
>> 2009/12/9 nino martinez wael :
>> > Yeah it seems strange, some project seems not to have the issue:
>> >
>> >
>> http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/
>> >
>> > While a core project does..
>> >
>> http://www.wicketstuff.org/maven/repository/org/wicketstuff/openlayers/1.4-SNAPSHOT/
>> >
>> > Heres something on the topic..
>> >
>> >
>> http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html
>> >
>> > I might be able to look at it tomorrow..
>> >
>> >
>> > 2009/12/9 Johan Compagner 
>> >
>> >> somehow the disks where full again
>> >> i deleted as much logging as i can and some old stuff
>> >> so we should be able to go on
>> >>
>> >> Biggest problem is as always but nobody seems to be able to fix that
>> shitty
>> >> maven:
>> >>
>> >>
>> >>
>> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>> >>
>> >> It still generates unique snapshots.. Why cant nobody fix that stupid
>> maven
>> >> build behavior..
>> >>
>> >> johan
>> >>
>> >>
>> >> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke > >> >wrote:
>> >>
>> >> > Hi,
>> >> >
>> >> > does somebody know what happened to wicketstuff.org?
>> >> >
>> >> >
>> >> >
>> >> > I get the following error message:
>> >> >
>> >> >
>> >> >
>> >> > You cannot access Confluence at present. Look at the table below to
>> >> > identify
>> >> > the reasons
>> >> >
>> >> > Database is being updated by an instance which is not part of the
>> current
>> >> > cluster. You should check network connections between cluster nodes,
>> >> > especially multicast traffic.
>> >> >
>> >> >
>> >> >
>> >> > Best regards,
>> >> >
>> >> > Stefan
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>


Re: Data Provider

2009-12-09 Thread hill180
I used AjaxFallbackDefaultDataTable replacing DefaultDataTable, worked like
a charm.

Thanks!

joe

On Tue, Dec 8, 2009 at 10:45 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:

> Modal window can contain only ajax components. Are you using ajaxdatatable?
>
> **
> Martin
>
> 2009/12/9 hill180 :
> > Hello Group,
> >
> > Just a questions to get a point in the right direction.
> >
> > I have a Modal Window that opens when a Search AjaxLink is clicked.  All
> is
> > Good There.
> >
> > The modal Window is a form which has a datatable which autoupdates on
> > textfield.  No Problems there.
> >
> > The problem is the Navigation << < 1 2 3 4 5 6 > >>
> >
> > When I click on the Navigation, the Model window closes.  When I click on
> > the ajaxLink again, the Model opens at the page I clicked prior to the
> > window closing.
> >
> > odd, not sure if this is the wrong component to use, or if I need to set
> > some parameter to prevent the Model Window from closing.
> >
> > Thanks,
> >
> > joe.
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Data Provider

2009-12-09 Thread hill180
I am using DefaultDataTable, is there a component called ajaxdatatable?

joe

On Tue, Dec 8, 2009 at 10:45 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:

> Modal window can contain only ajax components. Are you using ajaxdatatable?
>
> **
> Martin
>
> 2009/12/9 hill180 :
> > Hello Group,
> >
> > Just a questions to get a point in the right direction.
> >
> > I have a Modal Window that opens when a Search AjaxLink is clicked.  All
> is
> > Good There.
> >
> > The modal Window is a form which has a datatable which autoupdates on
> > textfield.  No Problems there.
> >
> > The problem is the Navigation << < 1 2 3 4 5 6 > >>
> >
> > When I click on the Navigation, the Model window closes.  When I click on
> > the ajaxLink again, the Model opens at the page I clicked prior to the
> > window closing.
> >
> > odd, not sure if this is the wrong component to use, or if I need to set
> > some parameter to prevent the Model Window from closing.
> >
> > Thanks,
> >
> > joe.
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
Yup, and theres two places on wicketstuff core it's not set, so it default
to true! Which are the opposite of what we want.. I'll fix it for
wicketstuff.. But what about Wicket itself, I dont have commit rights?

2009/12/9 Marat Radchenko 

> That's controlled with 
>
> 2009/12/9 nino martinez wael :
> > Yeah it seems strange, some project seems not to have the issue:
> >
> >
> http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/
> >
> > While a core project does..
> >
> http://www.wicketstuff.org/maven/repository/org/wicketstuff/openlayers/1.4-SNAPSHOT/
> >
> > Heres something on the topic..
> >
> >
> http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html
> >
> > I might be able to look at it tomorrow..
> >
> >
> > 2009/12/9 Johan Compagner 
> >
> >> somehow the disks where full again
> >> i deleted as much logging as i can and some old stuff
> >> so we should be able to go on
> >>
> >> Biggest problem is as always but nobody seems to be able to fix that
> shitty
> >> maven:
> >>
> >>
> >>
> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
> >>
> >> It still generates unique snapshots.. Why cant nobody fix that stupid
> maven
> >> build behavior..
> >>
> >> johan
> >>
> >>
> >> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke  >> >wrote:
> >>
> >> > Hi,
> >> >
> >> > does somebody know what happened to wicketstuff.org?
> >> >
> >> >
> >> >
> >> > I get the following error message:
> >> >
> >> >
> >> >
> >> > You cannot access Confluence at present. Look at the table below to
> >> > identify
> >> > the reasons
> >> >
> >> > Database is being updated by an instance which is not part of the
> current
> >> > cluster. You should check network connections between cluster nodes,
> >> > especially multicast traffic.
> >> >
> >> >
> >> >
> >> > Best regards,
> >> >
> >> > Stefan
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread Marat Radchenko
That's controlled with 

2009/12/9 nino martinez wael :
> Yeah it seems strange, some project seems not to have the issue:
>
> http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/
>
> While a core project does..
> http://www.wicketstuff.org/maven/repository/org/wicketstuff/openlayers/1.4-SNAPSHOT/
>
> Heres something on the topic..
>
> http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html
>
> I might be able to look at it tomorrow..
>
>
> 2009/12/9 Johan Compagner 
>
>> somehow the disks where full again
>> i deleted as much logging as i can and some old stuff
>> so we should be able to go on
>>
>> Biggest problem is as always but nobody seems to be able to fix that shitty
>> maven:
>>
>>
>> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>>
>> It still generates unique snapshots.. Why cant nobody fix that stupid maven
>> build behavior..
>>
>> johan
>>
>>
>> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke > >wrote:
>>
>> > Hi,
>> >
>> > does somebody know what happened to wicketstuff.org?
>> >
>> >
>> >
>> > I get the following error message:
>> >
>> >
>> >
>> > You cannot access Confluence at present. Look at the table below to
>> > identify
>> > the reasons
>> >
>> > Database is being updated by an instance which is not part of the current
>> > cluster. You should check network connections between cluster nodes,
>> > especially multicast traffic.
>> >
>> >
>> >
>> > Best regards,
>> >
>> > Stefan
>> >
>> >
>> >
>> >
>> >
>> >
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
Yeah it seems strange, some project seems not to have the issue:

http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/

While a core project does..
http://www.wicketstuff.org/maven/repository/org/wicketstuff/openlayers/1.4-SNAPSHOT/

Heres something on the topic..

http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html

I might be able to look at it tomorrow..


2009/12/9 Johan Compagner 

> somehow the disks where full again
> i deleted as much logging as i can and some old stuff
> so we should be able to go on
>
> Biggest problem is as always but nobody seems to be able to fix that shitty
> maven:
>
>
> http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/
>
> It still generates unique snapshots.. Why cant nobody fix that stupid maven
> build behavior..
>
> johan
>
>
> On Wed, Dec 9, 2009 at 10:31, Stefan Blanke  >wrote:
>
> > Hi,
> >
> > does somebody know what happened to wicketstuff.org?
> >
> >
> >
> > I get the following error message:
> >
> >
> >
> > You cannot access Confluence at present. Look at the table below to
> > identify
> > the reasons
> >
> > Database is being updated by an instance which is not part of the current
> > cluster. You should check network connections between cluster nodes,
> > especially multicast traffic.
> >
> >
> >
> > Best regards,
> >
> > Stefan
> >
> >
> >
> >
> >
> >
>


Re: wicketstuff.org Confluence error

2009-12-09 Thread Johan Compagner
somehow the disks where full again
i deleted as much logging as i can and some old stuff
so we should be able to go on

Biggest problem is as always but nobody seems to be able to fix that shitty
maven:

http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/

It still generates unique snapshots.. Why cant nobody fix that stupid maven
build behavior..

johan


On Wed, Dec 9, 2009 at 10:31, Stefan Blanke wrote:

> Hi,
>
> does somebody know what happened to wicketstuff.org?
>
>
>
> I get the following error message:
>
>
>
> You cannot access Confluence at present. Look at the table below to
> identify
> the reasons
>
> Database is being updated by an instance which is not part of the current
> cluster. You should check network connections between cluster nodes,
> especially multicast traffic.
>
>
>
> Best regards,
>
> Stefan
>
>
>
>
>
>


Re: PageParameters and BookmarkablePageLink

2009-12-09 Thread Eyal Golan
OK. I understand.

Yes, I prefer passing it as an object.
So I switched the page LinkAttributesPage to have a constructor that accepts
the OBJECTS I need.
If I ever need it with URL, then I'll add the PageParameters and will get
the objects by keys.

Thanks,


Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P  Save a tree. Please don't print this e-mail unless it's really necessary


On Wed, Dec 9, 2009 at 2:23 PM, Bert  wrote:

> Hi,
>
> the parameter value (a ConfigurastionUser in your case) is converted
> to a String using
> toString(). Are you sure that you want to pass in that object and not
> an ID of it?
>
> Bert
>
> On Wed, Dec 9, 2009 at 12:57, Eyal Golan  wrote:
> > Hi,
> > I have a BookmarkablePageLink that I set parameters for it:
> > ...
> > String configurationName = "conf";
> > ConfigurastionUser firstEntity = getFirstEntity();
> > PageParameters parameters = new PageParameters();
> > parameters.add("configurationName", configurationName);
> > parameters.add("firstEntity", firstEntity);
> > Link link = new BookmarkablePageLink("link", LinkAttributesPage.class,
> > parameters);
> > ...
> >
> > And in LinkAttributesPage, I have:
> > public LinkAttributesPage(PageParameters parameters) {
> >  String confName = parameters.getString("configurationName");
> >  ConfigurationUser user = parameters.get("firstEntity");
> >  ...
> > }
> >
> > ConfigurationUser class is Serializable.
> > I get a ClassCastException for the firstEntity.
> > We use Wicket 1.3.6
> > Is this OK?
> >
> > My solution is to have a constructor for that page that accepts the
> correct
> > parameters, but I want to know if it's a bug in the PagePArameters or if
> I
> > am misusing it.
> >
> > Thanks
> >
> > Eyal Golan
> > egola...@gmail.com
> >
> > Visit: http://jvdrums.sourceforge.net/
> > LinkedIn: http://www.linkedin.com/in/egolan74
> >
> > P  Save a tree. Please don't print this e-mail unless it's really
> necessary
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: PageParameters and BookmarkablePageLink

2009-12-09 Thread Bert
Hi,

the parameter value (a ConfigurastionUser in your case) is converted
to a String using
toString(). Are you sure that you want to pass in that object and not
an ID of it?

Bert

On Wed, Dec 9, 2009 at 12:57, Eyal Golan  wrote:
> Hi,
> I have a BookmarkablePageLink that I set parameters for it:
> ...
> String configurationName = "conf";
> ConfigurastionUser firstEntity = getFirstEntity();
> PageParameters parameters = new PageParameters();
> parameters.add("configurationName", configurationName);
> parameters.add("firstEntity", firstEntity);
> Link link = new BookmarkablePageLink("link", LinkAttributesPage.class,
> parameters);
> ...
>
> And in LinkAttributesPage, I have:
> public LinkAttributesPage(PageParameters parameters) {
>  String confName = parameters.getString("configurationName");
>  ConfigurationUser user = parameters.get("firstEntity");
>  ...
> }
>
> ConfigurationUser class is Serializable.
> I get a ClassCastException for the firstEntity.
> We use Wicket 1.3.6
> Is this OK?
>
> My solution is to have a constructor for that page that accepts the correct
> parameters, but I want to know if it's a bug in the PagePArameters or if I
> am misusing it.
>
> Thanks
>
> Eyal Golan
> egola...@gmail.com
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>
> P  Save a tree. Please don't print this e-mail unless it's really necessary
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Fwd: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1]

2009-12-09 Thread Marat Radchenko
Please, unsubscribe him, I'm getting such reply for each email i send
to this maillist.

-- Forwarded message --
From:  
Date: 2009/12/8
Subject: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason
Code: 1, MAPI Diagnostic Code 1]
To: slonopotamusor...@gmail.com


Your message

 Subject: Re: Questions about Serialization...

was not delivered to:

 john.mattu...@td.com

because:

 Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1]



NOTICE OF CONFIDENTIALITY
This communication including any information transmitted with it is
intended only for the use of the addressees and is confidential.
If you are not an intended recipient or responsible for delivering
the message to an intended recipient, any review, disclosure,
conversion to hard copy, dissemination, reproduction or other use
of any part of this communication is strictly prohibited, as is the
taking or omitting of any action in reliance upon this communication.
If you receive this communication in error or without authorization
please notify us immediately by return e-mail or otherwise and
permanently delete the entire communication from any computer,
disk drive, or other storage medium.

If the above disclaimer is not properly readable, it can be found at
www.td.com/legal

AVERTISSEMENT DE CONFIDENTIALITE
Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement
aux destinataires susmentionnés,  est confidentiel.  Si vous
n'êtes pas le destinataire prévu ou un agent responsable de la
livraison de ce courriel, tout examen, divulgation, copie, impression,
reproduction, distribution, ou autre utilisation d'une partie de ce
courriel est strictement interdit de même que toute intervention ou
abstraction à cet égard.  Si vous avez reçu ce message par erreur ou
sans autorisation, veuillez en aviser immédiatement l'expéditeur par
retour de courriel ou par un autre moyen et supprimer immédiatement
cette communication entière de tout système électronique.

Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous
pouvez le consulter à www.td.com/francais/legale

Final-Recipient: rfc822;john.mattu...@td.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Notes;Invalid/unknown recipient [MAPI Reason Code:
1, MAPI Diagnostic Code 1]


-- Пересылаемое сообщение --
From: slonopotamusor...@gmail.com
To: 
Date: Tue, 8 Dec 2009 14:39:24 -0500
Subject: Re: Questions about Serialization...

2009/12/8 Yves-Marie LAINÉ :
> Hi,
>
> I'm new on the list, sorry if my question has already been asked. I didn't
> find the right answer on google.
>
> Is it possible tu use wicket without Page serialization ?
It is. Use only stateless components.

> Technically, is it possible to imagine a SimpleHttpSessionPageStore that
> don't serialize objects and keep them as they are in session, like it's done
> in others frameworks ?
Logic flaw: session contents CAN get serialized. Read Servlet spec,
you shouldn't put non-serializable stuff in session.

> But... I'm working on an app that consist of few pages, not versioned (no
> need of the back button support), because I need to keep page state through
> navigation, I keep pages references created, avoiding creation of a new page
> instance when back on a visited page.. I don't need to write anything on
> disk, the session space is enough.
Same flaw.

> This way, i wanted to share a data object instance between pages (as class
> member), for modification. But due to the Page Serialization the object
> identity is broken.
That just means your data object serialization is broken.

Sidenote: you can use HttpSessionStore (instead of
SecondLevelCacheSessionStore) to make wicket store everything in
session (but not in it's custom wicket on-disk store)

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



PageParameters and BookmarkablePageLink

2009-12-09 Thread Eyal Golan
Hi,
I have a BookmarkablePageLink that I set parameters for it:
...
String configurationName = "conf";
ConfigurastionUser firstEntity = getFirstEntity();
PageParameters parameters = new PageParameters();
parameters.add("configurationName", configurationName);
parameters.add("firstEntity", firstEntity);
Link link = new BookmarkablePageLink("link", LinkAttributesPage.class,
parameters);
...

And in LinkAttributesPage, I have:
public LinkAttributesPage(PageParameters parameters) {
  String confName = parameters.getString("configurationName");
  ConfigurationUser user = parameters.get("firstEntity");
  ...
}

ConfigurationUser class is Serializable.
I get a ClassCastException for the firstEntity.
We use Wicket 1.3.6
Is this OK?

My solution is to have a constructor for that page that accepts the correct
parameters, but I want to know if it's a bug in the PagePArameters or if I
am misusing it.

Thanks

Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P  Save a tree. Please don't print this e-mail unless it's really necessary


Re: Questions about Serialization...

2009-12-09 Thread Marat Radchenko
2009/12/9 Yves-Marie LAINÉ :
> (But put Serializable in Session doesn't mean to put Serialized in Session)
Uh?

> And it seems that wicket Serialize each Page one by one. This way if you
> have a single object instance that you share between pages as object
> property, after pages serialization, if you have ten page referencing your
> object you will have ten copies of your object, while you think you have
> only one.
I guess, it just means you use default serialization strategy (you're
using org.apache.wicket.model.Model, aren't you?) but expect it to do
something custom.

> It's a known serialization drawback. And it's what I want to get
> arround, when Serialization is not needed.
Use proper models. For example, HibernateObjectModel from databinder
doesn't serialize whole persistent entity but just its primary key +
class. So on subsequent requests object state is loaded again from db.

Also, I think you skipped one of my points - wicket will _only_
serialize page if there's stateful component on it. It is absolutely
possible to use wicket without any serialization at all (although you
must not use stateful components then). @StatelessComponent from
wicket-devutils is an invaluable tool to enforce such practice.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Questions about Serialization...

2009-12-09 Thread Yves-Marie LAINÉ
Yes, we are ok, we should put Serializable in session. (But put Serializable
in Session doesn't mean to put Serialized in Session)

And it seems that wicket Serialize each Page one by one. This way if you
have a single object instance that you share between pages as object
property, after pages serialization, if you have ten page referencing your
object you will have ten copies of your object, while you think you have
only one. It's a known serialization drawback. And it's what I want to get
arround, when Serialization is not needed.

I'will look for HttpSesssionStore.

Thanks.

2009/12/8 Marat Radchenko 

> 2009/12/8 Yves-Marie LAINÉ :
> > Hi,
> >
> > I'm new on the list, sorry if my question has already been asked. I
> didn't
> > find the right answer on google.
> >
> > Is it possible tu use wicket without Page serialization ?
> It is. Use only stateless components.
>
> > Technically, is it possible to imagine a SimpleHttpSessionPageStore that
> > don't serialize objects and keep them as they are in session, like it's
> done
> > in others frameworks ?
> Logic flaw: session contents CAN get serialized. Read Servlet spec,
> you shouldn't put non-serializable stuff in session.
>
> > But... I'm working on an app that consist of few pages, not versioned (no
> > need of the back button support), because I need to keep page state
> through
> > navigation, I keep pages references created, avoiding creation of a new
> page
> > instance when back on a visited page.. I don't need to write anything on
> > disk, the session space is enough.
> Same flaw.
>
> > This way, i wanted to share a data object instance between pages (as
> class
> > member), for modification. But due to the Page Serialization the object
> > identity is broken.
> That just means your data object serialization is broken.
>
> Sidenote: you can use HttpSessionStore (instead of
> SecondLevelCacheSessionStore) to make wicket store everything in
> session (but not in it's custom wicket on-disk store)
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


wicketstuff.org Confluence error

2009-12-09 Thread Stefan Blanke
Hi,

does somebody know what happened to wicketstuff.org?

 

I get the following error message: 

 

You cannot access Confluence at present. Look at the table below to identify
the reasons

Database is being updated by an instance which is not part of the current
cluster. You should check network connections between cluster nodes,
especially multicast traffic.

 

Best regards,

Stefan

 

 



Re: 2 ModalWIndows at once

2009-12-09 Thread Igor Vaynberg
i guess that may work, or add an ajax call back to the ondomready event

-igor

On Tue, Dec 8, 2009 at 11:54 PM, Stefan Lindner  wrote:
> Hi Igor,
>
> how can I make modal2 the child of modal1. Or how can I open modal2 
> automatically after modal1 was opened? Fake an ajax roundtrip with a self 
> updating timer?
>
> Stefan
>
> -Ursprüngliche Nachricht-
> Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
> Gesendet: Mittwoch, 9. Dezember 2009 08:45
> An: users@wicket.apache.org
> Betreff: Re: 2 ModalWIndows at once
>
> opening two modals doesnt really make sense unless one is the parent
> of the other...
>
> -igor
>
> On Tue, Dec 8, 2009 at 11:26 PM, Stefan Lindner  wrote:
>> I try to open two modal Windows at once
>>
>>        AjaxLink
>>                onClick(AjaxRequestTarget) {
>>                        modal1.show(target);
>>                        modal2.show(target);
>>                }
>>
>> Both modal windows are Pages, no panels. Both modal windows are opened
>> as expected, modal2 above modal1. But when I close modal2 in IE, modal1
>> does not get the focus, my applicationis no more responding at all. In
>> FF, Chrome, Safari it works. After closing modal2, modal1 gets the
>> focus.
>>
>> Is it forbidden to open 2 modal windows at once?
>>
>> Stefan
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: 2 ModalWIndows at once

2009-12-09 Thread Stefan Lindner
Solved. I took a look into AjaxLazyLoadPanel and used a 
AbstractDefaultAjaxBehavior.respond. Thank you all.

Stefan

-Ursprüngliche Nachricht-
Von: Stefan Lindner [mailto:lind...@visionet.de] 
Gesendet: Mittwoch, 9. Dezember 2009 08:54
An: users@wicket.apache.org
Betreff: AW: 2 ModalWIndows at once

Hi Igor,

how can I make modal2 the child of modal1. Or how can I open modal2 
automatically after modal1 was opened? Fake an ajax roundtrip with a self 
updating timer?

Stefan

-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] 
Gesendet: Mittwoch, 9. Dezember 2009 08:45
An: users@wicket.apache.org
Betreff: Re: 2 ModalWIndows at once

opening two modals doesnt really make sense unless one is the parent
of the other...

-igor

On Tue, Dec 8, 2009 at 11:26 PM, Stefan Lindner  wrote:
> I try to open two modal Windows at once
>
>        AjaxLink
>                onClick(AjaxRequestTarget) {
>                        modal1.show(target);
>                        modal2.show(target);
>                }
>
> Both modal windows are Pages, no panels. Both modal windows are opened
> as expected, modal2 above modal1. But when I close modal2 in IE, modal1
> does not get the focus, my applicationis no more responding at all. In
> FF, Chrome, Safari it works. After closing modal2, modal1 gets the
> focus.
>
> Is it forbidden to open 2 modal windows at once?
>
> Stefan
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org