RE: Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax
There is a problem with IE/ExternalInterface if movie is added to DOM f.ex appendChild JavaScript functions are called but they do not return any value. This is clearly MS problem but could IE specific function in wicket-ajax.js be adjusted somehow ? Simple test case has var flashMovie = 'http://fpdownload.. // Works in IE and FF document.getElementById("testdiv").innerHTML = flashMovie; // ExternalInterface.call calls JS but does not return value in IE. Works in FF var tempDiv = document.createElement("div"); tempDiv.innerHTML = flashMovie; document.body.appendChild(tempDiv); Here is complete code (ajax.swf can be found in zip files) http://pastebin.com/fbc0aa9a Here is AS3 code in ajax.fla http://pastebin.com/d4efd47b -Heikki -Original Message- From: Mikko Pukki [mailto:mikko.pu...@syncrontech.com] Sent: 4. syyskuuta 2009 15:33 To: users@wicket.apache.org Subject: Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax Hi, This example demonstrates that ExternalInterface fails with IE only if movie is fetched via Wicket/Ajax. ajaxtest.zip: (http://download.syncrontech.com/public/ajaxtest.zip) Page "first.html" fetches "second.html" page via Ajax. Second.html has Flash movie that calls JavaScript methods with ExternalInterface and produces output "Start..." "ExternalInterface.available:true" "ExternalInterface.objectID:testId" "fromJs:text from js (first.html)" This works both FF 3.5 and IE 7/IE8 quickstart_noname.zip: (http://download.syncrontech.com/public/quickstart_noname.zip) Same demonstration with wicket. This fails with IE "Start..." "ExternalInterface.available:true" "ExternalInterface.objectID:null" "fromJs:null" ObjectId is null and JavaScript call does not return any value. We are aware about EI/IE problems in past, but any of those does not seem to fit here. Wicket 1.4.1, Flash Player 10, IE 7/8, FF 3.5 Has anyone encountered any similar behavior and/or has found any workaround? Should I create a Jira issue? -- Mikko Pukki Syncron Tech Oy Laserkatu 6 53850 Lappeenranta +358 400 757 178 - 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: Update ListView using ajax
Hmm,.. can you post your markup? this code does work with my own markup.. did you use or did you use .. do you see something in wicket-ajax-debug panel? any error-message? any ajax-response? > ...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. if this does not work with wicket 1.4.1, then it does not work with any wicket version.. 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: StackOverFlow (Start.java) Jetty
What is AjaxFallbackLinkExtension? ** Martin 2009/9/6 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: > > My Link > > 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
Re: Update ListView using ajax
hello, here is the codes: final Form form = new Form("search"); add(form); final TextField query = new TextField("query", new PropertyModel(this, "search") ); form.add(query); List results = null; final WebMarkupContainer resultcontainer = new WebMarkupContainer("resultcontainer"); add(resultcontainer.setOutputMarkupId(true)); final ListView files = new ListView("files", results) { @Override protected void populateItem(ListItem item) { final CustomFileDescription fileDesc = item.getModelObject(); item.setModel(new CompoundPropertyModel(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 List 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
StackOverFlow (Start.java) Jetty
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: My Link 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: Wicket Stuff Core 1.4.1 Release[ing]
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 > Thomerson 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 > >> Thomerson 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 > >> >> Thomerson 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 > >> >> >> > >> >> >> > >> >> >> >
Re: Wicket Stuff Core 1.4.1 Release[ing]
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 Thomerson 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 >> Thomerson 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 >> >> Thomerson 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: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>
Re: [announce] wicket 1.4.x branched
So, where do you plan what you'll actually build? Jörn On Fri, Aug 28, 2009 at 1:17 AM, Igor Vaynberg 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 > Zaefferer 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 Vaynberg >> 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: How to set the http response code for an error page
Thanks! On Sun, Sep 6, 2009 at 4:15 PM, Jeremy Levy 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 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
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
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 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
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: Update ListView using ajax
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