[Wicket-user] Forms
I am receiving key/value objects in a List provided by my AttributeDataProvider. can vary from one Form to the next. Without having to allocate a for every possible key, I would like to put the key/value pairs up on a form in order for the user to be able to modify zero or more values. Is there a Component, like DataView, that will work in a form? Thanks, - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Tabbed Panel
I have a tabbed panel that extends to two lines, the "upper" row of tabs and the "lower" row. When a tab from the upper row is selected, all the tabs in the lower row shift to the right of the selected tab in the upper row. Is this the desired behavior? Shouldn't the tabs just stay in place when a tab is selected? On another note, is the "sliding doors" method of displaying tabs going to be implemented in Wicket? Thanks, -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tabbed Panel
If you have IE on Windows, please go to the tabbed panel example and verify that it works correctly (I don't have a Windows box handy and there's 30" of snow in my driveway). Thanks Martijn Dashorst wrote: > IE on OS/X is not supported anymore by MS or Apple. MS advises to use > Safari. IE on Mac is horrible when compared to IE on Win. > > Martijn > > On 10/26/06, Michael Welter <[EMAIL PROTECTED]> wrote: >> When navigating to the wicket example for tabbed panel using IE on OS/X, >> the tabs are stacked vertically. I get the same behavior in my application. >> >> I don't have a Windows box handy--does this happen with Windows/IE? >> >> Is this an IE problem or wicket? Is there a work-around? >> >> Thanks >> >> - >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Tabbed Panel
When navigating to the wicket example for tabbed panel using IE on OS/X, the tabs are stacked vertically. I get the same behavior in my application. I don't have a Windows box handy--does this happen with Windows/IE? Is this an IE problem or wicket? Is there a work-around? Thanks - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user]
I have an html table with several columns. One column is an audio recording: Title Description Text In some instances there is no audio recording. With no recording I send Label("recording",""), and this results in the display of the QuickTime logo with a question mark (the src tag is empty). Is there some way to manipulate the html in the case of no recording? I would like to be able to remove the tag altogether and just have an empty cell. Thanks - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Safari yes, Firefox no
Correction. The last two tags display the *Quicktime* icon rather than the audio controls. Michael Welter wrote: > No, refreshing the page in Firefox yields the Page Expired message. > > The tabbed panels don't work at all with IE. IE has the same Page > Expired problem. > > Everything works well in Safari. > > The page includes several tags. The > first two are properly painted with the audio controls (which work), but > the last two are improperly painted with the circular MS Media Player icon. > > The development platform is Mac OS/X. > > Thanks for your help. > > > Iman Rahmatizadeh wrote: >> Can you refresh the page ? Does it bring up the Page Expired again ? >> Try it with ie. I guess that shouldn't have any problems as well. >> >> On 10/18/06, Michael Welter <[EMAIL PROTECTED]> wrote: >>> This is a very strange problem. In Firefox, the page display is more or >>> less normal. However, if I display the source, I see the "Page Expired" >>> source. Clicking on any of the links on the page takes me to the "Page >>> Expired" page. >>> >>> Using Safari, I don't have this problem. >>> >>> Has anyone seen this before? >>> >>> Thanks, >>> >>> - >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job >>> easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> ___ >>> Wicket-user mailing list >>> Wicket-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>> >> - >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> > -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Safari yes, Firefox no
No, refreshing the page in Firefox yields the Page Expired message. The tabbed panels don't work at all with IE. IE has the same Page Expired problem. Everything works well in Safari. The page includes several tags. The first two are properly painted with the audio controls (which work), but the last two are improperly painted with the circular MS Media Player icon. The development platform is Mac OS/X. Thanks for your help. Iman Rahmatizadeh wrote: > Can you refresh the page ? Does it bring up the Page Expired again ? > Try it with ie. I guess that shouldn't have any problems as well. > > On 10/18/06, Michael Welter <[EMAIL PROTECTED]> wrote: >> This is a very strange problem. In Firefox, the page display is more or >> less normal. However, if I display the source, I see the "Page Expired" >> source. Clicking on any of the links on the page takes me to the "Page >> Expired" page. >> >> Using Safari, I don't have this problem. >> >> Has anyone seen this before? >> >> Thanks, >> >> - >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Safari yes, Firefox no
Firefox v1.5.0.7 Nick Heudecker wrote: > What version of Firefox are you using? > > On 10/17/06, *Michael Welter* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > This is a very strange problem. In Firefox, the page display is more or > less normal. However, if I display the source, I see the "Page > Expired" > source. Clicking on any of the links on the page takes me to the "Page > Expired" page. > > Using Safari, I don't have this problem. > > Has anyone seen this before? > > Thanks, > > - > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user > <https://lists.sourceforge.net/lists/listinfo/wicket-user> > > > > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > -------- > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Safari yes, Firefox no
This is a very strange problem. In Firefox, the page display is more or less normal. However, if I display the source, I see the "Page Expired" source. Clicking on any of the links on the page takes me to the "Page Expired" page. Using Safari, I don't have this problem. Has anyone seen this before? Thanks, - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicket-stuff contrib-gmap-examples won't run
I've installed gmap into Tomcat, but I get: wicket.WicketRuntimeException: Unable to load class with name: wicket.contrib.gmap.GMapInitializer Can anyone help with this? Thanks, -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Local inner class
I would like to do something like this: Border border = new Border( "border" ) { { BoxBorder nb = new BoxBorder( "navigationBorder" ); nb.add( new PageLink( "newClient",Insert.class )); nb.add( new PageLink( "home",Home.class )); nb.add( new PageLink( "signout",Signout.class )); add( nb ); add( new BoxBorder( "bodyBorder" )); add( new BoxBorder( "attributeBorder" )); } }; ... border.add(...); The resulting class file for this local inner class is $1.class. How do I structure the html for this? Thanks -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] qwicket
qicket-quickstart appears to focus on the IDEs (I'm a vi kinda guy). Must one use an IDE with quickstart? I was able to compile using Maven. I'm really interested in a wicket-spring-hibernate template. Is qwicket where I should be, or are there other options? Thanks, Gwyn Evans wrote: > I'm not all that familier with what qwicket produces, so can't be much > help. I don't recall anything particular when I tried it a while back, > but I was probably looking at the code rather than if it ran out of > the box. > > For an "all-in", out-of-the-box setup, you might want to have a look > at the 'official' wicket-quickstart, or if you've got a working Maven2 > environment, wicket-template, from the wicket-stuff project > > /Gwyn > > On 05/08/06, Michael Welter <[EMAIL PROTECTED]> wrote: >> I used the qwicket web page to generate a skeleton project. When I >> compiled, it was unable to get the jar files. I added the jars manually. >> >> When I move the war file to Tomcat and try to bring up the first page, I >> get 404 not found. >> >> Will the skeleton project run out of the box (at least the first page)? >> >> Thanks, >> >> -- >> Michael Welter >> Telecom Matters Corp. >> Denver, Colorado US >> +1.303.414.4980 >> [EMAIL PROTECTED] >> www.TelecomMatters.net >> >> - >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] qwicket
I used the qwicket web page to generate a skeleton project. When I compiled, it was unable to get the jar files. I added the jars manually. When I move the war file to Tomcat and try to bring up the first page, I get 404 not found. Will the skeleton project run out of the box (at least the first page)? Thanks, -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Paging DataView
I thought I saw a paging DataView with a search box. Does this component exist? Thanks, -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] IO Exceptions
In my class that implements IDataProvider, I perform database I/O. However, there is no way to pass an exception back to the caller. Would it be possible to change the signatures for the interator function in IDataProvider to include "throws Exception"? Is there a better way to signal an exception condition? Thanks, -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] tree model
Absolutely! The ability to drill-down into a data structure without having to instantiate the entire structure in memory. Арву Оетук wrote: > Hi all. > I want use big tree model. > But I don't want load all tree in memory. > Is it possible use TreeNode instead DefaultMutableTreeNode? > Or other way exists? > Dmitry. > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DataView (extentions)
Hello Frank, I have just begun developing an application using paged tables and IDataProvider. My environment is hibernate with thousands of items to display, so hopefully the laze instantiation will keep memory utilization low. Anyhow, I would like to take a peek at your code. If you don't mind, just tar the directory and attach to a personal email. Thanks, Mike Frank Silbermann wrote: > Several months ago I mentioned that I was developing classes based on > WicketExtensions' DataTable and SortableDataProvider to display > arbitrary SQL SELECT result sets, with arbitrary sorting capability > built-in. > > My approach is only appropriate for small result sets or for > prototyping, as the ResultSet's data is kept in the data provider > between page renderings: > > * > The developer overrides the method that generates the SQL query > string. If the generated text varies from one postback to the > next (or if an event sets a special flag), the data is replaced by > a new query to the database. > * > A general routine handles sorting events (column-header clicks) by > delegating to column type's default comparator and the built-in > ArrayList sorting capability. > * > A hook is provided where the developer can specify massaging of > the data between download and presentation, e.g. to compute and > add a summary row, to insert additional computed columns, or > to replace date or number objects by formatted strings (to bypass > DataTable's default rendering of these objects). > > (Perhaps someone can adapt some of my ideas to a more general solution > that doesn't keep result-set data in the DataProvider between postbacks.) > > My implementation consists of just a few hundred lines of code in four > classes, two of which are trivial javabeans. A few readers of this > group expressed interest; what would be the easiest way of sharing? I > suppose I could build a tiny jar file and attach it to an e-mail, but it > might be easier to discuss the implementation if I send a few e-mails, > each directly containing the source code for one or two classes. Would > that be an appropriate use of this mailing list? > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Its confirmed - Another !!Wicket Book!!
Is Eelco's book in English, and where can I find it? Thanks, karthik Guru wrote: > Thank you all! . > > Eelco > Hey, competition :) > > Eelco No! I dont think it exists :) and even if it does am definitely > not a part of it :) Wicket probably has competition from Tapestry, Echo, > Facelets and the like :). It is turning out to be great fun (and quite a > challenge) writing the book as Nick mentioned. I hope it will be in a > good shape by Aug/Sept time frame. > > thanks! > karthik > > > > > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Audio in Wicket
I have modeled an Audio class from the Image class. The Audio class extends WebComponent and implements IResourceListener. The component contains a byte[] aray containing the audio stream, and I am able to play audio from the web page. My question is: When are these components flushed from memory? Is there something I should do to make them available for garbage collection? Thanks, Johan Compagner wrote: If your Audio component implements IResourceListener and the audio component holds the byte[]/audio from db Resource. Then just map the the audio component The audio component has the onComponentTag implemented Where it writes out the src attribute to itself (the IResourceListener) url = urlFor(IResourceListener.INTERFACE); then: public void onResourceRequested() { resource.onResourceRequested (); } johan On 5/24/06, *Michael Welter* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I have a requirement to provide a web site that allows the customer to drill down into database detail. At the lowest level, the web page contains the normal text presentation along with zero to many "Play" buttons. Each button plays a different audio file of previously recorded speech. The user may or may not choose to listen to the audio. Everything is working except the "Play" buttons. Hibernate/Postgres is a joy, and Wicket is great! I've modeled the Audio and LocalizedAudioResource classes from Image and LocalizedImageResource. Audio implements IResourceListener. I have the audio streams in memory as a result of the drill down, and, for now, I'm just creating ByteArrayResource objects for each stream (after I get it working, I'll create a Resource class that performs a database fetch). BTW, an audio stream is a java.sql.Blob. I create the Audio object using the ByteArratResource object. The HTML tag is . The tag causes the browser to play the track with MediaPlayer or QuickTime. In LocalizedAudioResource I create a ResourceStreamRequestTarget object and pass that to component.urlFor( obj ). I'm to the point where I need to flesh-out the doEncode(RequestCycle,IRequestTarget) function within WebRequestCodingStrategy in order to create the URL. So here are some questions: Will the URL in the web page reference the ResourceStreamRequestTarget? What will that URL look like? Do I need to wrap the tag in a button or a link? Does anyone have any thoughts about the doEncode function? Sample code? Am I on the right track, or there an easier way to do this? Thanks for your help. Thanks to compagner and chillenious. -- Michael Welter Introspect Telephony Corp. Denver, Colorado US +1.303.674.2575 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.introspect.com <http://www.introspect.com> --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642> ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net <mailto:Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user -- Michael Welter Introspect Telephony Corp. Denver, Colorado US +1.303.674.2575 [EMAIL PROTECTED] www.introspect.com --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Audio in Wicket
Comments in RequestCycle.java refer to "registerSecureInterface", but no such method exists. Has that functionality been moved elsewhere? Thanks Michael Welter wrote: I'm getting this exception: ERROR - RequestCycle - method IResourceListener of interface wicket.IResourceListener targetted at component [Component id = recording, page = com.offendertechnologies.main.ViewResponse, path = 3:navomaticBorder:responses:0:recording.Audio, isVisible = true, isVersioned = true] threw an exception wicket.WicketRuntimeException: method IResourceListener of interface wicket.IResourceListener targetted at component [Component id = recording, page = com.offendertechnologies.main.ViewResponse, path = 3:navomaticBorder:responses:0:recording.Audio, isVisible = true, isVersioned = true] threw an exception at wicket.request.target.resource.ComponentResourceRequestTarget.respond(ComponentResourceRequestTarget.java:68) Does my Audio class need to be registered with wicket? Thanks, Mike Johan Compagner wrote: If your Audio component implements IResourceListener and the audio component holds the byte[]/audio from db Resource. Then just map the on the audio component The audio component has the onComponentTag implemented Where it writes out the src attribute to itself (the IResourceListener) url = urlFor(IResourceListener.INTERFACE); then: public void onResourceRequested() { resource.onResourceRequested (); } johan On 5/24/06, *Michael Welter* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I have a requirement to provide a web site that allows the customer to drill down into database detail. At the lowest level, the web page contains the normal text presentation along with zero to many "Play" buttons. Each button plays a different audio file of previously recorded speech. The user may or may not choose to listen to the audio. Everything is working except the "Play" buttons. Hibernate/Postgres is a joy, and Wicket is great! I've modeled the Audio and LocalizedAudioResource classes from Image and LocalizedImageResource. Audio implements IResourceListener. I have the audio streams in memory as a result of the drill down, and, for now, I'm just creating ByteArrayResource objects for each stream (after I get it working, I'll create a Resource class that performs a database fetch). BTW, an audio stream is a java.sql.Blob. I create the Audio object using the ByteArratResource object. The HTML tag is . The tag causes the browser to play the track with MediaPlayer or QuickTime. In LocalizedAudioResource I create a ResourceStreamRequestTarget object and pass that to component.urlFor( obj ). I'm to the point where I need to flesh-out the doEncode(RequestCycle,IRequestTarget) function within WebRequestCodingStrategy in order to create the URL. So here are some questions: Will the URL in the web page reference the ResourceStreamRequestTarget? What will that URL look like? Do I need to wrap the tag in a button or a link? Does anyone have any thoughts about the doEncode function? Sample code? Am I on the right track, or there an easier way to do this? Thanks for your help. Thanks to compagner and chillenious. -- Michael Welter Introspect Telephony Corp. Denver, Colorado US +1.303.674.2575 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.introspect.com <http://www.introspect.com> --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642> ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net <mailto:Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user -- Michael Welter Introspect Telephony Corp. Denver, Colorado US +1.303.674.2575 [EMAIL PROTECTED] www.introspect.com --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Audio in Wicket
I'm getting this exception: ERROR - RequestCycle - method IResourceListener of interface wicket.IResourceListener targetted at component [Component id = recording, page = com.offendertechnologies.main.ViewResponse, path = 3:navomaticBorder:responses:0:recording.Audio, isVisible = true, isVersioned = true] threw an exception wicket.WicketRuntimeException: method IResourceListener of interface wicket.IResourceListener targetted at component [Component id = recording, page = com.offendertechnologies.main.ViewResponse, path = 3:navomaticBorder:responses:0:recording.Audio, isVisible = true, isVersioned = true] threw an exception at wicket.request.target.resource.ComponentResourceRequestTarget.respond(ComponentResourceRequestTarget.java:68) Does my Audio class need to be registered with wicket? Thanks, Mike Johan Compagner wrote: If your Audio component implements IResourceListener and the audio component holds the byte[]/audio from db Resource. Then just map the the audio component The audio component has the onComponentTag implemented Where it writes out the src attribute to itself (the IResourceListener) url = urlFor(IResourceListener.INTERFACE); then: public void onResourceRequested() { resource.onResourceRequested (); } johan On 5/24/06, *Michael Welter* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I have a requirement to provide a web site that allows the customer to drill down into database detail. At the lowest level, the web page contains the normal text presentation along with zero to many "Play" buttons. Each button plays a different audio file of previously recorded speech. The user may or may not choose to listen to the audio. Everything is working except the "Play" buttons. Hibernate/Postgres is a joy, and Wicket is great! I've modeled the Audio and LocalizedAudioResource classes from Image and LocalizedImageResource. Audio implements IResourceListener. I have the audio streams in memory as a result of the drill down, and, for now, I'm just creating ByteArrayResource objects for each stream (after I get it working, I'll create a Resource class that performs a database fetch). BTW, an audio stream is a java.sql.Blob. I create the Audio object using the ByteArratResource object. The HTML tag is . The tag causes the browser to play the track with MediaPlayer or QuickTime. In LocalizedAudioResource I create a ResourceStreamRequestTarget object and pass that to component.urlFor( obj ). I'm to the point where I need to flesh-out the doEncode(RequestCycle,IRequestTarget) function within WebRequestCodingStrategy in order to create the URL. So here are some questions: Will the URL in the web page reference the ResourceStreamRequestTarget? What will that URL look like? Do I need to wrap the tag in a button or a link? Does anyone have any thoughts about the doEncode function? Sample code? Am I on the right track, or there an easier way to do this? Thanks for your help. Thanks to compagner and chillenious. -- Michael Welter Introspect Telephony Corp. Denver, Colorado US +1.303.674.2575 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.introspect.com <http://www.introspect.com> --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642> ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net <mailto:Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user -- Michael Welter Introspect Telephony Corp. Denver, Colorado US +1.303.674.2575 [EMAIL PROTECTED] www.introspect.com --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Audio in Wicket
I have a requirement to provide a web site that allows the customer to drill down into database detail. At the lowest level, the web page contains the normal text presentation along with zero to many "Play" buttons. Each button plays a different audio file of previously recorded speech. The user may or may not choose to listen to the audio. Everything is working except the "Play" buttons. Hibernate/Postgres is a joy, and Wicket is great! I've modeled the Audio and LocalizedAudioResource classes from Image and LocalizedImageResource. Audio implements IResourceListener. I have the audio streams in memory as a result of the drill down, and, for now, I'm just creating ByteArrayResource objects for each stream (after I get it working, I'll create a Resource class that performs a database fetch). BTW, an audio stream is a java.sql.Blob. I create the Audio object using the ByteArratResource object. The HTML tag is . The tag causes the browser to play the track with MediaPlayer or QuickTime. In LocalizedAudioResource I create a ResourceStreamRequestTarget object and pass that to component.urlFor( obj ). I'm to the point where I need to flesh-out the doEncode(RequestCycle,IRequestTarget) function within WebRequestCodingStrategy in order to create the URL. So here are some questions: Will the URL in the web page reference the ResourceStreamRequestTarget? What will that URL look like? Do I need to wrap the tag in a button or a link? Does anyone have any thoughts about the doEncode function? Sample code? Am I on the right track, or there an easier way to do this? Thanks for your help. Thanks to compagner and chillenious. -- Michael Welter Introspect Telephony Corp. Denver, Colorado US +1.303.674.2575 [EMAIL PROTECTED] www.introspect.com --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user