[Wicket-user] mount question
Hi, I'm trying to mount some pages so the URL is more user friendly. Now, what I have to do for resources like images and css?. I have a images directory in the root of webapp and the css file is in the root to. One thing is move all at the same level of a java class and mount there. Other can be use a wicket resource and replace the path to the file in the html template. Is any other more simple that not implies modify the html templates?. Thanks in advice. PS: the wiki show examples of mountSharedResource but I don't known if this is what I need. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax
Me again :). I update the page http://cwiki.apache.org/confluence/ display/WICKET/Creating+a+FormComponentAjaxBehavior but a cannot attach any image (.jpg) and the quickstart project (.tar.gz), I don't know if is a permission problem or what. Anyone can help me? On 05-03-2007, at 16:03, Igor Vaynberg wrote: i was able to create it here: http://cwiki.apache.org/confluence/display/WICKET/Creating+a +FormComponentAjaxBehavior -igor On 3/5/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, if you try to add a new page you can see A new page you were adding on Mar 02, 2007 12:15 called Creating a FormComponent AjaxBehavior was not saved. Do you want to resume editing or discard it? that my page, but a can't resume or discard it. On 05-03-2007, at 15:22, Igor Vaynberg wrote: where is the link to the page? or are you not able to create it at all? wiki is open to anyone to edit as long as you create a login. -igor On 3/5/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, I'm trying to post in the wiki but in the middle of the process I try to save and appears a message telling me that I don't have permissions. The page is Creating a FormComponent AjaxBehavior. Anyone can help me? On 28-02-2007, at 15:17, Eelco Hillenius wrote: would be cool if you could create a wiki page explaining how you built it. not only is it a cool component, but outlining the process will help others a lot. I second that. Eelco - - --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - - --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV___ _ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax
Hi, I'm trying to post in the wiki but in the middle of the process I try to save and appears a message telling me that I don't have permissions. The page is Creating a FormComponent AjaxBehavior. Anyone can help me? On 28-02-2007, at 15:17, Eelco Hillenius wrote: would be cool if you could create a wiki page explaining how you built it. not only is it a cool component, but outlining the process will help others a lot. I second that. Eelco -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax
Hi, if you try to add a new page you can see A new page you were adding on Mar 02, 2007 12:15 called “Creating a FormComponent AjaxBehavior” was not saved. Do you want to resume editing or discard it? that my page, but a can't resume or discard it. On 05-03-2007, at 15:22, Igor Vaynberg wrote: where is the link to the page? or are you not able to create it at all? wiki is open to anyone to edit as long as you create a login. -igor On 3/5/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, I'm trying to post in the wiki but in the middle of the process I try to save and appears a message telling me that I don't have permissions. The page is Creating a FormComponent AjaxBehavior. Anyone can help me? On 28-02-2007, at 15:17, Eelco Hillenius wrote: would be cool if you could create a wiki page explaining how you built it. not only is it a cool component, but outlining the process will help others a lot. I second that. Eelco - - --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax
Hi, the alerticon contains the tooltip, just pass the mouse over the image and show the message. On 28-02-2007, at 7:05, Vincent Demay wrote: Hi manuel, Confluence about wicket-contrib-dojo is unfortunatly not up to date, but there are also some cool validation methods in wicket- contrib-dojo (1.X-SNAPSHOT because it is the most maintained). You can take a look at live exemple (comes from svn repo : wicket- contrib-dojo-example (https://wicket-stuff.svn.sourceforge.net/ svnroot/wicket-stuff)) : http://www.demay-fr.net:8080/WCD13/app/ (end of the first column) I will try to update confluence documentation asap but I don't have enought time for the moment. What you did is interesting, I thought about writing something like that but with a tooltip on the alerticon instead of a classical feedbackPanel -- Vincent Demay http://www.demay-fr.net/blog Manuel Alejandro de Brito Fontes a écrit : Hi, I'm using wicket to build a prototype and found interesting the content of this: http://wicketstuff.org/confluence/display/STUFFWIKI/ DojoFeedbackIndicator and http://wicketstuff.org/confluence/ display/STUFFWIKI/DojoValidationAjaxHandler My problem was that the validation only works until I submit the form, the indicator only appears after the submit of the form and the message of the caption contains all the errors of the feedback. So I create a validation that not depends on dojo, indicate the error of the validation, show the alerticon on fail and persist after the submit of the form. If is useful to someone, here attach a quick-start. To use it add the behavior to any field, i.e.: Form field.add (new FormFieldValidator(ClientEvent.event)); The code works on 2.0-SNAPSHOT (I don't use 1.x, so I don't known the API changes). PS: Thanks for so powerful and flexible framework and sorry for my bad english. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] FormComponent mask
Hi, I have a question about field mask, It's possible do something like this: http://www.zapatec.com/website/ajax/zpform/demo/mask.html or similar to http://java.sun.com/docs/books/tutorial/uiswing/ components/formattedtextfield.html in wicket? I miss something in the documentation?. I only found the IConverter interface doing override of the method getConverter(Class? type) in a TextField declaration. The problem is that getConverter() modify my model and I don't want that. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] FormComponent mask
Yes, I'ts simple, the problem is when I modify the content of the textfield the value of the object is with the mask, not the value behind. For instance, I have a textfield that only accept integer numbers (thats is easy with new PatternValidator( \\d+ ) ), now I want that the user enter the number 100 and in the event onblur occur apply a mask to the number, i.e 1,000,000 or when I write the number going applying the mask inline. All that works perfect with javascript, but the problem is what happens behind that. The number is not 100 it's 1,000,000, so if exist a validation between two fields i'm screw, I have to know if the field contains a mask or not. In addition if I do formcomponent.validate() and formcomponent.isValid () returns false. The explication is confused or I'm confused? On 28-02-2007, at 16:04, Igor Vaynberg wrote: zapatec do it with javascript, which is really the only way to go about it. once you figure out the javascript it is trivial to hook it into wicket. -igor On 2/28/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, I have a question about field mask, It's possible do something like this: http://www.zapatec.com/website/ajax/zpform/demo/mask.html or similar to http://java.sun.com/docs/books/tutorial/uiswing/components/ formattedtextfield.htmlin wicket? I miss something in the documentation?. I only found the IConverter interface doing override of the method getConverter(Class? type) in a TextField declaration. The problem is that getConverter() modify my model and I don't want that. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Field validation + FeedbackIndicator + Ajax
Hi, I'm using wicket to build a prototype and found interesting the content of this:http://wicketstuff.org/confluence/display/STUFFWIKI/DojoFeedbackIndicator and http://wicketstuff.org/confluence/display/STUFFWIKI/DojoValidationAjaxHandlerMy problem was that the validation only works until I submit the form, the indicator only appears after the submit of the form and the message of the caption contains all the errors of the feedback.So I create a validation that not depends on dojo, indicate the error of the validation, show the alerticon on fail and persist after the submit of the form.If is useful to someone, here attach a quick-start.To use it add the behavior to any field, i.e.: Form field.add(new FormFieldValidator(ClientEvent.event));The code works on 2.0-SNAPSHOT (I don't use 1.x, so I don't known the API changes).PS: Thanks for so powerful and flexible framework and sorry for my bad english. wicket-quickstart.tar.gz Description: GNU Zip compressed data - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] TextTemplateHeaderContributor
Thanks for the reply. That works perfect, my fault. I think that add (...) belongs to 1.x, and no that is a IBehavior. One detail about add(TextTemplateHeaderContributor.forCss ( Spinner.class,Spinner.css, new Model( (Serializable) cssMap ) )); is that the code is incorporated in the head of the html writing the code. I create an alternative new StyleSheetReference( this, spinnerCSS, new ResourceReference( Spinner.css, spinnerCSS.css ) { private static final long serialVersionUID = -5001445753978421349L; @Override protected Resource newResource() { final PackagedTextTemplate template = new PackagedTextTemplate( Spinner.class, Spinner.css ); template.interpolate( cssMap ); final Resource oResult = new Resource() { private static final long serialVersionUID = 0L; @Override public IResourceStream getResourceStream() { return new StringResourceStream ( template.asString() ); } }; return oResult; } } and wicket:head link type=text/css wicket:id=spinnerCSS/link /wicket:head in the markup. Is not simple like TextTemplateHeaderContributor, but in the renderer html is more clean. Again, thanks for the reply. On 19-11-2006, at 2:10, Eelco Hillenius wrote: Did you add that to your page or component? add(TextTemplateHeaderContributor.forCss( Spinner.class, Spinner.css, new Model( (Serializable) cssMap ) )); (notice the add call) If you want to see this in action, take a look at wicket-contrib-yui(-examples) in the wicket-stuff repo (https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket- contrib-yui) and check out the Slider component. Eelc On 11/17/06, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, I'm trying to do something similar like this (http://chillenious.wordpress.com/tag/wicket/page/2/) but instead of a dynamic javascript, i want to modify a css style. The next code is similar to the previous page: MapString, CharSequence cssMap = new MiniMapString, CharSequence( 1 ); cssMap.put( fieldWidth, txtWidth ); TextTemplateHeaderContributor.forCss( Spinner.class, Spinner.css, new Model( (Serializable) cssMap ) ); That works perfect, because if I print the content of the template, the ${fieldWidth} is replaced by 12. System.out.println(TextTemplateHeaderContributor.forCss( Spinner.class, Spinner.css, new Model( (Serializable) cssMap ) )); But I don't see the code in the header. I'm missing something?. I'm using 2.0-SNAPSHOT (checkout from today) Thanks in advice. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] Any fool can write code that a computer can understand. Good programmers write code that humans can understand. --- Martin Fowler, Refactoring: Improving the Design of Existing Code - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] TextTemplateHeaderContributor
Hi, I'm trying to do something similar like this (http:// chillenious.wordpress.com/tag/wicket/page/2/) but instead of a dynamic javascript, i want to modify a css style. The next code is similar to the previous page: MapString, CharSequence cssMap = new MiniMapString, CharSequence ( 1 ); cssMap.put( fieldWidth, txtWidth ); TextTemplateHeaderContributor.forCss( Spinner.class, Spinner.css, new Model( (Serializable) cssMap ) ); That works perfect, because if I print the content of the template, the ${fieldWidth} is replaced by 12. System.out.println(TextTemplateHeaderContributor.forCss ( Spinner.class, Spinner.css, new Model( (Serializable) cssMap ) )); But I don't see the code in the header. I'm missing something?. I'm using 2.0-SNAPSHOT (checkout from today) Thanks in advice. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Table question
Hi, Im trying to create a table (AjaxFallbackDefaultDataTable) with a column that display a modal window that permit modify the row content. That works perfect, modify the data and the table updates the table content.My problem is that the column in question display a text "cell" and i want to display an image. I don't find any example of this, so i try to do it. So extend the AjaxLink and add an Image instance, but the cell only contains a MarkupFragment [td wicket:id="cells", , [span wicket:id="cell", [cell], /span], , /td]obviously the html that i create in the component that extends AjaxLink is useless.Sorry if I'm complicating the things, I'm a newbie :)Thanks in advice.PS: Sorry for my bad english too.- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Table question
Thanks for the reply. You suggest that "what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment."Ok, i understand that, but the column don't read my own markup in a panel.I only get Markup with path '' not found in fragment: cellCan show me an example?Thanks in advice.On 18-10-2006, at 13:01, Igor Vaynberg wrote:the problem is that the markup is span wicket:id="item"/span ... you cannot attach an image to a span tag, you need markup with an img tag.-IgorOn 10/18/06, Marc-Andre Houle [EMAIL PROTECTED] wrote: Why not adding directly an Image or a NonCachableImage instead of a Label? Does it really need a panel or a fragment for that?Marc On 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment.see how PropertyColumn works...but instead of a label you add your panel that contains the image-Igor On 10/18/06, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, Im trying to create a table (AjaxFallbackDefaultDataTable) with a column that display a modal window that permit modify the row content. That works perfect, modify the data and the table updates the table content. My problem is that the column in question display a text "cell" and i want to display an image. I don't find any example of this, so i try to do it. So extend the AjaxLink and add an Image instance, but the cell only contains a MarkupFragment [td wicket:id="cells", , [span wicket:id="cell", [cell], /span], , /td] obviously the html that i create in the component that extends AjaxLink is useless. Sorry if I'm complicating the things, I'm a newbie :) Thanks in advice. PS: Sorry for my bad english too. -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Manuel Alejandro de Brito Fontes[EMAIL PROTECTED]Any fool can write code that a computer can understand.Good programmers write code that humans can understand." --- Martin Fowler, Refactoring: Improving the Design of Existing Code - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Table question
I forget to mention that I'm using 2.0-SNAPSHOT On 18-10-2006, at 13:25, Manuel Alejandro de Brito Fontes wrote: Thanks for the reply. You suggest that what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment. Ok, i understand that, but the column don't read my own markup in a panel. I only get Markup with path '' not found in fragment: cell Can show me an example? Thanks in advice. On 18-10-2006, at 13:01, Igor Vaynberg wrote: the problem is that the markup is span wicket:id=item/ span ... you cannot attach an image to a span tag, you need markup with an img tag. -Igor On 10/18/06, Marc-Andre Houle [EMAIL PROTECTED] wrote: Why not adding directly an Image or a NonCachableImage instead of a Label? Does it really need a panel or a fragment for that? Marc On 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment. see how PropertyColumn works...but instead of a label you add your panel that contains the image -Igor On 10/18/06, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, Im trying to create a table (AjaxFallbackDefaultDataTable) with a column that display a modal window that permit modify the row content. That works perfect, modify the data and the table updates the table content. My problem is that the column in question display a text cell and i want to display an image. I don't find any example of this, so i try to do it. So extend the AjaxLink and add an Image instance, but the cell only contains a MarkupFragment [td wicket:id=cells, , [span wicket:id=cell, [cell], / span], , /td] obviously the html that i create in the component that extends AjaxLink is useless. Sorry if I'm complicating the things, I'm a newbie :) Thanks in advice. PS: Sorry for my bad english too. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642_ __ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] Any fool can write code that a computer can understand. Good programmers write code that humans can understand. --- Martin Fowler, Refactoring: Improving the Design of Existing Code Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] Any fool can write code that a computer can understand. Good programmers write code that humans can understand. --- Martin Fowler, Refactoring: Improving the Design of Existing Code - 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
[Wicket-user] Component communication
I am new to wicket. So far i don't have problems creating simple pages.So i see the AjaxFallbackDefaultDataTable example and I like start sing it. Doing basic operations works great, remove rows without problems (as example).After that i think that it can be possible encapsulate the table and no repeat that code again.So, what the problem?I have one page that contains a table (the encapsulated) and a SortableDataProvider for the table. One column in the table contains an AjaxLink.I expect that when a press a column in a row eliminate the content from the table and execute one spring service (declared in the page, no in the table) that delete the record from a database.Anyone can help me to understand how can i do that?PS: The Spring integration works fine and if I write all the code in one page the access to the dao delete the record. In the mailing list I see posted a question about inter-component updates (http://www.nabble.com/Wicket-way-of-doing-%28inter-%29component-updates--tf2139401.html#a5904185) but no clear answer come out.- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user