Re: Update ListView using ajax

2009-09-06 Thread Michael Mosmann
Am Sonntag, den 06.09.2009, 01:05 +0800 schrieb Eman Nollase:
 Hello,
 
 For no apparent reason the listview is not updating when i targeted it. im
 using wicket 1.4.1.

The ListView ist replaced with it's childs. Therefore you can not update
the ListView. The simple solution to this is a WebMarkupContainer around
the ListView.

mm:)

-- 
Michael Mosmann http://www.wicket-praxis.de/blog/


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



Re: Update ListView using ajax

2009-09-06 Thread freak182

Hello,

i think i already put it in the webmarkupcontainer and target the
markupcontainer.


michael mosmann wrote:
 
 Am Sonntag, den 06.09.2009, 01:05 +0800 schrieb Eman Nollase:
 Hello,
 
 For no apparent reason the listview is not updating when i targeted it.
 im
 using wicket 1.4.1.
 
 The ListView ist replaced with it's childs. Therefore you can not update
 the ListView. The simple solution to this is a WebMarkupContainer around
 the ListView.
 
 mm:)
 
 -- 
 Michael Mosmann http://www.wicket-praxis.de/blog/
 
 
 -
 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://www.nabble.com/Update-ListView-using-ajax-tp25310457p25317613.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: How to set the http response code for an error page

2009-09-06 Thread Jeremy Levy
Add the following to your error page, change the error as required:

@Override
protected void configureResponse() {
super.configureResponse();

 
getWebRequestCycle().getWebResponse().getHttpServletResponse().setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
}

@Override
public boolean isVersioned() {
return false;
}

@Override
public boolean isErrorPage() {
return true;
}




On Sat, Sep 5, 2009 at 2:15 PM, Arie Fishler arie@gmail.com wrote:

 I have a custom error page that I set like explained in the wiki
 http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html

 Stillthe page returns http 200. How do I set it to a specific error
 code?

 Thanks,
 Arie




-- 
Jeremy Levy

See my location in real-time:
http://seemywhere.com/jeremy


Re: Update ListView using ajax

2009-09-06 Thread Michael Mosmann
Hi,

 i think i already put it in the webmarkupcontainer and target the
 markupcontainer.

ok.. 
my fault.. sorry.

can you post some more code.. i am not sure to see the full picture yet.

 For no apparent reason the listview is not updating when i targeted it. im
 using wicket 1.4.1.

does it work without ajax?

mm:)



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



Re: How to set the http response code for an error page

2009-09-06 Thread Arie Fishler
Thanks!

On Sun, Sep 6, 2009 at 4:15 PM, Jeremy Levy jel...@gmail.com wrote:

 Add the following to your error page, change the error as required:

@Override
protected void configureResponse() {
super.configureResponse();


  
 getWebRequestCycle().getWebResponse().getHttpServletResponse().setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
}

@Override
public boolean isVersioned() {
return false;
}

@Override
public boolean isErrorPage() {
return true;
 }




 On Sat, Sep 5, 2009 at 2:15 PM, Arie Fishler arie@gmail.com wrote:

  I have a custom error page that I set like explained in the wiki
  http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html
 
  Stillthe page returns http 200. How do I set it to a specific error
  code?
 
  Thanks,
  Arie
 



 --
 Jeremy Levy

 See my location in real-time:
 http://seemywhere.com/jeremy



Re: [announce] wicket 1.4.x branched

2009-09-06 Thread Jörn Zaefferer
So, where do you plan what you'll actually build?

Jörn

On Fri, Aug 28, 2009 at 1:17 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
 thats the right place to look for users want, not for what we are
 going to build.

 -igor

 On Thu, Aug 27, 2009 at 3:53 PM, Jörn
 Zaeffererjoern.zaeffe...@googlemail.com wrote:
 Is this the right place to look for planned features for 1.5?
 http://cwiki.apache.org/WICKET/wicket-15-wish-list.html

 Jörn

 On Thu, Aug 20, 2009 at 5:10 PM, Igor Vaynbergigor.vaynb...@gmail.com 
 wrote:
 Wicket 1.4.x has been branched and now lives in
 https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x
 Trunk is now what will become 1.5.0.

 Trunk may be broken in the early days of development and contain a lot
 of API breaks, so if you are following bleeding edge you may want to
 do so on the 1.4.x branch for a while.

 -igor

 -
 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: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-06 Thread Jörn Zaefferer
So jquery-parent was build, which just references jquery and
jquery-examples - neither of which were build. Whats the point of
that?

Also, how can we get wicketstuff-merged-resources included in the next release?

Jörn

On Mon, Aug 31, 2009 at 10:20 PM, Jeremy
Thomersonjer...@wickettraining.com wrote:
 I have the credentials and think that I will definitely be trying this on
 the next release :)

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



 On Mon, Aug 31, 2009 at 3:16 PM, Martijn Dashorst 
 martijn.dasho...@gmail.com wrote:

 Perhaps it's more beneficial to do the actual release local on the
 machine? I'm sure Johan can provide you with the credentials to do so.

 Martijn

 On Mon, Aug 31, 2009 at 9:27 PM, Jeremy
 Thomersonjer...@wickettraining.com wrote:
  It's mostly uploading and then merging the POMs on the remote server.
  The
  build isn't actually that bad (maybe 15 or 20 minutes for the release
  procedure, including tagging, etc).
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  On Mon, Aug 31, 2009 at 2:14 PM, Nicolas Melendez 
 nmelen...@getsense.com.ar
  wrote:
 
  very slow build :)
 
  On Mon, Aug 31, 2009 at 9:07 PM, Jeremy
  Thomersonjer...@wickettraining.com wrote:
   Wicket Stuff Core 1.4.1 is now released:
  
   [INFO] BUILD SUCCESSFUL
   [INFO]
  
 
   [INFO] Total time: 204 minutes 20 seconds
   [INFO] Finished at: Mon Aug 31 14:04:09 CDT 2009
   [INFO] Final Memory: 218M/929M
   [INFO]
  
 
  
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
   On Mon, Aug 31, 2009 at 10:38 AM, Jeremy Thomerson 
   jer...@wickettraining.com wrote:
  
   That was only in the event that we really needed an interim release.
   The
   plan still is that we will release to match Wicket releases.
  
   PS - I have to try to start the deploy over again:
  
       [INFO] Retrieving previous metadata from wicketstuff-org-maven
          [INFO] Uploading repository metadata for: 'artifact
   org.wicketstuff:sitemap-xml'
           [INFO] Uploading project information for sitemap-xml 1.4.1
          Uploading: scpexe://
  
 
 wicketstuff.org/home/wicket/tomcat/webapps/maven/repository/org/wicketstuff/sitemap-xml/1.4.1/sitemap-xml-1.4.1-sources.jar
       [INFO]
  
 
          [ERROR] BUILD ERROR
           [INFO]
  
 
          [INFO] Error deploying artifact: Error executing command for
   transfer
  
      Exit code 255 - Write failed: Connection timed out
  
          [INFO]
  
 
           [INFO] For more information, run Maven with the -e switch
          [INFO]
  
 
           [INFO] Total time: 601 minutes 35 seconds
          [INFO] Finished at: Mon Aug 31 10:33:31 CDT 2009
           [INFO] Final Memory: 221M/902M
          [INFO]
  
 
           [INFO]
  
 
   [ERROR] BUILD ERROR
  
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
  
   On Mon, Aug 31, 2009 at 3:36 AM, Maarten Bosteels
  mbosteels@gmail.com
   wrote:
Hi Jeremy,
   
Great to see another release of Wicket Stuff Core !!
   
Some weeks ago you suggested :
 I think that the best solution is that we have 1.4.1.X where X is
  our
release number.
   
Did you change your mind about this ?
   
http://www.mail-archive.com/users@wicket.apache.org/msg40780.html
   
Regards,
Maarten
   
   
On Mon, Aug 31, 2009 at 8:03 AM, Jeremy Thomerson 
   jer...@wickettraining.com
wrote:
   
I successfully built Wicket Stuff Core 1.4.1 today.  It is in the
(very very slow) process of doing a release:perform (currently
uploading all of the necessary files to wicketstuff repo).
  Hopefully
by the time you read this, your project will be available as
 1.4.1.
Here are a couple that seem to have already made it up:
   
   
   
  
 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-core/1.4.1/
   
 http://wicketstuff.org/maven/repository/org/wicketstuff/gmap2/1.4.1/
   
   
  
 
 http://wicketstuff.org/maven/repository/org/wicketstuff/calendarviews-parent/1.4.1/
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
 -
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
   
   
   
  
  
  
 
  -
  To unsubscribe, 

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-06 Thread Jeremy Thomerson
First, jquery was built.  They don't follow the naming conventions like they
should, so you have to look into the pom to realize that it's actually
wicketstuff-jquery [1].

Second, regarding merged resources - there's a link on the wiki [2] that
explains how.  Please make sure to follow all conventions and run mvn clean
install as well as mvn site:site on all of wicketstuff-core when you are
done.  If you can't build everything or you can't generate sites, please
don't commit.  I just comment out projects that can't easily be fixed and
built when building releases.

[1]
http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-jquery/1.4.1/
[2]
http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Core+-+Migration+Guide

Best regards,

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



On Sun, Sep 6, 2009 at 11:22 AM, Jörn Zaefferer 
joern.zaeffe...@googlemail.com wrote:

 So jquery-parent was build, which just references jquery and
 jquery-examples - neither of which were build. Whats the point of
 that?

 Also, how can we get wicketstuff-merged-resources included in the next
 release?

 Jörn

 On Mon, Aug 31, 2009 at 10:20 PM, Jeremy
 Thomersonjer...@wickettraining.com wrote:
  I have the credentials and think that I will definitely be trying this on
  the next release :)
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  On Mon, Aug 31, 2009 at 3:16 PM, Martijn Dashorst 
  martijn.dasho...@gmail.com wrote:
 
  Perhaps it's more beneficial to do the actual release local on the
  machine? I'm sure Johan can provide you with the credentials to do so.
 
  Martijn
 
  On Mon, Aug 31, 2009 at 9:27 PM, Jeremy
  Thomersonjer...@wickettraining.com wrote:
   It's mostly uploading and then merging the POMs on the remote server.
   The
   build isn't actually that bad (maybe 15 or 20 minutes for the release
   procedure, including tagging, etc).
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
   On Mon, Aug 31, 2009 at 2:14 PM, Nicolas Melendez 
  nmelen...@getsense.com.ar
   wrote:
  
   very slow build :)
  
   On Mon, Aug 31, 2009 at 9:07 PM, Jeremy
   Thomersonjer...@wickettraining.com wrote:
Wicket Stuff Core 1.4.1 is now released:
   
[INFO] BUILD SUCCESSFUL
[INFO]
   
  
[INFO] Total time: 204 minutes 20 seconds
[INFO] Finished at: Mon Aug 31 14:04:09 CDT 2009
[INFO] Final Memory: 218M/929M
[INFO]
   
  
   
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
On Mon, Aug 31, 2009 at 10:38 AM, Jeremy Thomerson 
jer...@wickettraining.com wrote:
   
That was only in the event that we really needed an interim
 release.
The
plan still is that we will release to match Wicket releases.
   
PS - I have to try to start the deploy over again:
   
[INFO] Retrieving previous metadata from wicketstuff-org-maven
   [INFO] Uploading repository metadata for: 'artifact
org.wicketstuff:sitemap-xml'
[INFO] Uploading project information for sitemap-xml 1.4.1
   Uploading: scpexe://
   
  
 
 wicketstuff.org/home/wicket/tomcat/webapps/maven/repository/org/wicketstuff/sitemap-xml/1.4.1/sitemap-xml-1.4.1-sources.jar
[INFO]
   
  
   [ERROR] BUILD ERROR
[INFO]
   
  
   [INFO] Error deploying artifact: Error executing command
 for
transfer
   
   Exit code 255 - Write failed: Connection timed out
   
   [INFO]
   
  
[INFO] For more information, run Maven with the -e switch
   [INFO]
   
  
[INFO] Total time: 601 minutes 35 seconds
   [INFO] Finished at: Mon Aug 31 10:33:31 CDT 2009
[INFO] Final Memory: 221M/902M
   [INFO]
   
  
[INFO]
   
  
[ERROR] BUILD ERROR
   
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
   
On Mon, Aug 31, 2009 at 3:36 AM, Maarten Bosteels
   mbosteels@gmail.com
wrote:
 Hi Jeremy,

 Great to see another release of Wicket Stuff Core !!

 Some weeks ago you suggested :
  I think that the best solution is that we have 1.4.1.X where X
 is
   our
 release number.

 Did you change your mind about this ?


 http://www.mail-archive.com/users@wicket.apache.org/msg40780.html

 Regards,
 Maarten


 On Mon, Aug 31, 2009 at 8:03 AM, Jeremy 

StackOverFlow (Start.java) Jetty

2009-09-06 Thread David Brown
Hello, I have class (a.java) that extends WebPage and has the usual Wicket HTML 
counterpart (a.html). The extended WebPage class' constructor, a(), creates a 
WebMarkupContainer wrapper instance transparent resolver with the name: 
wrapper. Before I add(wrapper) I add an AjaxFallBackLink:

add(new AjaxFallbackLinkExtension(myLink));

In the HTML page: a.html I reference the link within the tag: wicket:extend

a href=# wicket:id=myLinkMy Link/a

When I navigate to the page with this link the link is displayed but when I 
click the link the only evidence that shows the link was clicked is in the log 
file: RESPONSE 200.

What is missing?

Regards, David.

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



Re: Update ListView using ajax

2009-09-06 Thread freak182

hello,

here is the codes:

final FormVoid form = new FormVoid(search);
add(form);

final TextFieldString query = new TextFieldString(query, new
PropertyModelString(this, search) );
form.add(query);

ListCustomFileDescription results = null;
final WebMarkupContainer resultcontainer = new
WebMarkupContainer(resultcontainer);
add(resultcontainer.setOutputMarkupId(true));

final ListViewCustomFileDescription files = new
ListViewCustomFileDescription(files, results)
{
@Override
protected void populateItem(ListItemCustomFileDescription item)
{
final CustomFileDescription fileDesc = item.getModelObject();
item.setModel(new 
CompoundPropertyModelCustomFileDescription(fileDesc));
item.add(new Label(name));
item.add(new Label(lastModified));
}
};
//files.setReuseItems(true);
resultcontainer.add(files);

final IndicatingAjaxButton buttquery = new 
IndicatingAjaxButton(submit,
form)
{

@Override
protected void onSubmit(AjaxRequestTarget target, Form? form)
{
final ListCustomFileDescription results =
fileSearchService.search(query.getDefaultModelObjectAsString());
System.out.println(results.size());
files.setDefaultModelObject(results);
target.addComponent(resultcontainer);
}
};
form.add(buttquery);

...and im pretty sure that i already some code in previous version of wicket
and it work..but i dont know what im missing right now. maybe worst case i
will do is to go back to old version of wicket but i want the latest
version.

Thanks a lot.
Cheers.


michael mosmann wrote:
 
 Hi,
 
 i think i already put it in the webmarkupcontainer and target the
 markupcontainer.
 
 ok.. 
 my fault.. sorry.
 
 can you post some more code.. i am not sure to see the full picture yet.
 
 For no apparent reason the listview is not updating when i targeted it.
 im
 using wicket 1.4.1.
 
 does it work without ajax?
 
 mm:)
 
 
 
 -
 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://www.nabble.com/Update-ListView-using-ajax-tp25310457p25324461.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: StackOverFlow (Start.java) Jetty

2009-09-06 Thread Martin Makundi
What is AjaxFallbackLinkExtension?

**
Martin

2009/9/6 David Brown dbr...@sexingtechnologies.com:
 Hello, I have class (a.java) that extends WebPage and has the usual Wicket 
 HTML counterpart (a.html). The extended WebPage class' constructor, a(), 
 creates a WebMarkupContainer wrapper instance transparent resolver with the 
 name: wrapper. Before I add(wrapper) I add an AjaxFallBackLink:

 add(new AjaxFallbackLinkExtension(myLink));

 In the HTML page: a.html I reference the link within the tag: wicket:extend

 a href=# wicket:id=myLinkMy Link/a

 When I navigate to the page with this link the link is displayed but when I 
 click the link the only evidence that shows the link was clicked is in the 
 log file: RESPONSE 200.

 What is missing?

 Regards, David.

 -
 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