Nabble Hint - Escaping Blocks of HTML in posts
I got this as a response from Nabble support regarding ways to escape blocks of HTML in posts without having to escape each individual and with lt; and gt;. You can now escape HTML by putting it between and . http://www.nabble.com/What-is-the-best-way-to-include-html-markup-in-froum-posts--tf4430044.html#a12985836 Hope people find this helpful. -Mike -- View this message in context: http://www.nabble.com/Nabble-Hint---Escaping-Blocks-of-HTML-in-posts-tf4551391.html#a12988641 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Nabble Hint - Escaping Blocks of HTML in Nabble Posts
I got this as a response from Nabble support regarding ways to escape blocks of HTML in posts without having to escape each individual and . http://www.nabble.com/What-is-the-best-way-to-include-html-markup-in-froum-posts--tf4430044.html#a12985836 You can now escape HTML by putting it between lt;rawgt; and lt;/rawgt; Hope people find this helpful. -Mike -- View this message in context: http://www.nabble.com/Nabble-Hint---Escaping-Blocks-of-HTML-in-Nabble-Posts-tf4551393.html#a12988643 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help - Best Practice - Mapping Database Constraint Violation to User Interface
Could someone provide a pointer/link as to the best mechanism to map DB constraint violations from Hibernate (or ORM layer) back to the user interface layer. I'm sure this has been solved but wasn't successful in searching for an answer. -Mike -- View this message in context: http://www.nabble.com/Help---Best-Practice---Mapping-Database-Constraint-Violation-to-User-Interface-tf4539361.html#a12955404 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Clustering Question - Can the 2nd Level Page Cache be shared in a clustered filesystem configuration?
While looking at load balancer options I was trying to see if the non session sticky mode was an option. Obviously there are a bunch of issues I hadn't considered such as threading mode and concurrent client access. It is clear I will stick with the original plan of session sticky mode. -mike Johan Compagner wrote: Why don't you want session sticky load balancing? How does none sticky sessions work then? If there are 2 request comming in then wicket makes sure that the page is access in one thread. So that the page is not changed by 2 threads at the same time Does your application server lock over the nodes when there are 2 or more request comming in from the same client? If not how does it then sync up again? How does it merge the pages? johan On 9/28/07, mchack [EMAIL PROTECTED] wrote: I am deploying my application in a clustered environment. Eliminating session sticky load balancing would be an advantage for me. Session data is already replicated in a clustered environment. Are the mechanics in place to share the Page Cache with other machines if I use a clustered file system that allows concurrent access in this way providing non sticky LB across the cluster? -Mike -- View this message in context: http://www.nabble.com/Clustering-Question---Can-the-2nd-Level-Page-Cache-be-shared-in-a-clustered-filesystem-configuration--tf4531607.html#a12932067 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Clustering-Question---Can-the-2nd-Level-Page-Cache-be-shared-in-a-clustered-filesystem-configuration--tf4531607.html#a12937318 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clustering Question - Can the 2nd Level Page Cache be shared in a clustered filesystem configuration?
I am deploying my application in a clustered environment. Eliminating session sticky load balancing would be an advantage for me. Session data is already replicated in a clustered environment. Are the mechanics in place to share the Page Cache with other machines if I use a clustered file system that allows concurrent access in this way providing non sticky LB across the cluster? -Mike -- View this message in context: http://www.nabble.com/Clustering-Question---Can-the-2nd-Level-Page-Cache-be-shared-in-a-clustered-filesystem-configuration--tf4531607.html#a12932067 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Clustering Question - Can the 2nd Level Page Cache be shared in a clustered filesystem configuration?
I am not sure I understand correctly. :) I thought the current page was serialized to the session and that the other pages or views were stored to the filesystem. So my question was really, if the filesystem where temporary pages are stored is shared, would Wicket be immune to requests coming in to random servers in the cluster. I was hoping that it might be possible to do a dumb load balancing arrangement. I am not totally clear on the whole page lifecycle, so hopefully my question is not completely out in left field. -Mike Matej Knopp-2 wrote: Hi, if I understand correctly, you want to disable page serialization on session replication, as the filesystem where the page store stores temporary pages is accessible from each node in cluster? There is a way to achieve it, just create your own page store extending from DiskPageStore and make it implement the SecondLevelCacheSessionStore.IClusteredPageStore interface. Just implementing this interface will cause that the last accessed page will not be replicated across cluster. -Matej -- View this message in context: http://www.nabble.com/Clustering-Question---Can-the-2nd-Level-Page-Cache-be-shared-in-a-clustered-filesystem-configuration--tf4531607.html#a12933068 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: BookmarkablePageLink doesn't take advantage of pretty url for previously mounted pages when generating the URL
Beta3 is what I am running. I was also under the impression that href references that could be resolved to bookmarked pages would be done so automatically by the framework even if there were no explicit wicket:link tag? Not so in my case. Is this correct interpretation? -mike Eelco Hillenius wrote: Is there a reason for this? The wicket:link will generate the pretty url when it encounters pages that have been mounted. Just trying to understand if I am missing something in my understanding of the framework or if this is an oversight. It should be done for bookmarkablepagelinks as far as I know as well. What version of Wicket is this? Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/BookmarkablePageLink-doesn%27t-take-advantage-of-pretty-url-for-previously-mounted-pages-when-generating-the-URL-tf4430990.html#a12880794 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: BookmarkablePageLink doesn't take advantage of pretty url for previously mounted pages when generating the URL
Done: https://issues.apache.org/jira/browse/WICKET-1008 I will try and look at the code to see if I can identify the cause. Still coming up to speed with the framework so I may be of little help :( Mike Eelco Hillenius wrote: Beta3 is what I am running. Could you open a JIRA issue for it? I was also under the impression that href references that could be resolved to bookmarked pages would be done so automatically by the framework even if there were no explicit wicket:link tag? Not so in my case. Is this correct interpretation? Wicket only does that for wicket:link regions. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/BookmarkablePageLink-doesn%27t-take-advantage-of-pretty-url-for-previously-mounted-pages-when-generating-the-URL-tf4430990.html#a12884421 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven advice appreciated
Just discovered the reporting thanks. I will also try the effective pom report. Sounds cool. -Mike Martijn Dashorst wrote: Use the dependencies report. It gives you exactly which dependency comes from where. I think it also generates which dependencies are dupes. mvn site should create such a report iirc. Maybe you also need to specify the report, but I'm a bit rusty on that part. Another goldmine is: mvn help:effective-pom I also suggest using the dependencyManagement part to specify the versions of each dependency, and just use the dependency bit to specify groupId and artifactId. Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-advice-appreciated-tf4497248.html#a12827577 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can't seem to include anchor tag in span with wicket:id - Help
Am I missing something very basic. I get a WicketMessage: Expected close tag for any time I include an anchor tag, or any tag with href in the preview markup. This can't be the case as it would make the preview markup very restrictive. Am I doing something really stupid. Markup: profile.html Brandon Mike -- View this message in context: http://www.nabble.com/Can%27t-seem-to-include-anchor-tag-in-span-with-wicket%3Aid---Help-tf4447230.html#a12688817 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't seem to include anchor tag in span with wicket:id - Help
I think it is and I will post HTML but am having trouble escaping the HTML so it is viewable. Could you provide a hint as to how to include HTML in replies? Mike Stefan Simik wrote: Is your *.html template XML valid ? Can you post *.html illustration when this error occurs and when doesn't ? I think, including anchor tag is not the right cause... -- View this message in context: http://www.nabble.com/Can%27t-seem-to-include-anchor-tag-in-span-with-wicket%3Aid---Help-tf4447230.html#a12691144 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't seem to include anchor tag in span with wicket:id - Help
I am using beta2. I will give it a try with a later release and let you know what happens. -mike igor.vaynberg wrote: have you tried this with trunk? -igor -- View this message in context: http://www.nabble.com/Can%27t-seem-to-include-anchor-tag-in-span-with-wicket%3Aid---Help-tf4447230.html#a12694262 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any way to apply wicket:link to a with contained img?
Here is what the markup looks like: wicket:link Schedule.html ical.jpg /wicket:link Error generated: WicketMessage: Component _autolink_16 must be applied to a tag of type 'a', not ' ical.jpg ' (line 0, column 0) Schedule.class is a mounted page which does get handled correctly in other cases. Reading further it seems that if I remove the wicket:link, the href should get resolved by the AutoLinkResolver. Is this not the case? I have tried it and it appears to treat this as an external reference and do nothing. Mike Eelco Hillenius wrote: Was wondering if there was an easy way - Hopefully without code to create a bookmarkable link where there is a contained image tag. Seems like from a usability standpoint this would be very common and a little bit cumbersome if I have to do this in the backing code. I think this already works. Did you try embedding img tags in wicket:link sections? Or maybe I don't understand you... Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Any-way-to-apply-wicket%3Alink-to-%3Ca%3E-with-contained-%3Cimg%3E--tf4425113.html#a12633164 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any way to apply wicket:link to a with contained img?
Hopefully viewable now !-- wicket:link Schedule.html ical.jpg /wicket:link -- Mike Eelco Hillenius wrote: Was wondering if there was an easy way - Hopefully without code to create a bookmarkable link where there is a contained image tag. Seems like from a usability standpoint this would be very common and a little bit cumbersome if I have to do this in the backing code. I think this already works. Did you try embedding img tags in wicket:link sections? Or maybe I don't understand you... Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Any-way-to-apply-wicket%3Alink-to-%3Ca%3E-with-contained-%3Cimg%3E--tf4425113.html#a12633500 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any way to apply wicket:link to a with contained img?
My included markup was not correct. Before I botch this up further, what is the best method to escape html in nabble posts? Mike Nino Saturnino Martinez Vazquez Wael wrote: should'nt that be like this: !-- wicket:link Schedule.html ical.jpg /wicket:link -- but still I think it would fail, how should wicket know which picture you want and what package it are in? I guess thats why you need to bind the image to a package? I just do this: semi pseudo code: private ResourceReference infoImage = new ResourceReference( CalenderHeadLinesPanel.class, info.png); ajaxLink.add(new Image(info, infoImage)); But I agree thats not a oneliner... regards Nino mchack wrote: Hopefully viewable now !-- wicket:link Schedule.html ical.jpg /wicket:link -- Mike Eelco Hillenius wrote: Was wondering if there was an easy way - Hopefully without code to create a bookmarkable link where there is a contained image tag. Seems like from a usability standpoint this would be very common and a little bit cumbersome if I have to do this in the backing code. I think this already works. Did you try embedding img tags in wicket:link sections? Or maybe I don't understand you... Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Any-way-to-apply-wicket%3Alink-to-%3Ca%3E-with-contained-%3Cimg%3E--tf4425113.html#a12634374 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
BookmarkablePageLink doesn't take advantage of pretty url for previously mounted pages when generating the URL
Is there a reason for this? The wicket:link will generate the pretty url when it encounters pages that have been mounted. Just trying to understand if I am missing something in my understanding of the framework or if this is an oversight. Mike -- View this message in context: http://www.nabble.com/BookmarkablePageLink-doesn%27t-take-advantage-of-pretty-url-for-previously-mounted-pages-when-generating-the-URL-tf4430990.html#a12640694 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any way to apply wicket:link to a with contained img?
Was wondering if there was an easy way - Hopefully without code to create a bookmarkable link where there is a contained image tag. Seems like from a usability standpoint this would be very common and a little bit cumbersome if I have to do this in the backing code. Thanks -- View this message in context: http://www.nabble.com/Any-way-to-apply-wicket%3Alink-to-%3Ca%3E-with-contained-%3Cimg%3E--tf4425113.html#a12623060 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any way to apply wicket:link to a with contained img?
I think it's a common case in most if not all web apps (hyperlinked images). It is so common that having to add code would cumbersome. I appreciate the component oriented aspect of the framework but really want to use it for more leveraged UI elements. I guess what I am looking to build is something analogous to the wicket:link tag that will work when encapsulating an aimg../ sequence. I assume this is possible and will review the code behind the wicket:link component. This will make it possible to achieve the appropriate behavior directly in the markup. Thanks Carlos Pita-4 wrote: If it's such a common case in your application write a (trivial) component for it, and add it to your hierarchy with a oneliner where it's needed. That's what componentization is mostly about, after all. Regards, Carlos -- View this message in context: http://www.nabble.com/Any-way-to-apply-wicket%3Alink-to-%3Ca%3E-with-contained-%3Cimg%3E--tf4425113.html#a12625672 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]