Re: Question With Detachable Models

2007-09-15 Thread Jan Kriesten
hi, Are my objects still being stored in the session when I use this kind of query. transient fields are never stored in a session at all. but since you have neither an id nor a logic to load your object to be restored, you certainly will get a NPE when the object is about to be restored.

Re: Question With Detachable Models

2007-09-15 Thread Jan Kriesten
transient fields are never stored in a session at all. sorry, i meant they are never serialized at all. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question With Detachable Models

2007-09-15 Thread Jonathan Locke
I should also add this: although you can do what you will in Wicket, it is generally better to use models consistently and reload your objects from the DB (this isn't so bad in practice as a lot of the time reloads will just hit ehcache or whatever you're using to cache query results and hook

Re: More extend points

2007-09-15 Thread fero
Yes sockets and plugs is the idea I was thinking of, but I thought that i will have 2 html files SubWebPage.html and some Panel.html. Now I see that only one is needed for Panel, because the template for SubWebPage will be from SuperWebPage. I gonna try it. Thanks! n8han wrote: fero wrote:

Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread mchack
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:

Re: Palette header

2007-09-15 Thread Gerolf Seitz
On 9/14/07, fero [EMAIL PROTECTED] wrote: Thanks Gerolf! By the way, is somewhere the list of all keys for components? i guess not. ideally the keys for a component are described in the javadoc for the components class. but i don't know from the top of my head whether this is already done

Re: Question With Detachable Models

2007-09-15 Thread carloc
Thanks for replying Yup thanks I was debugging it and I was able to see it in the session object. meaning that it is still stored in my object. I changed the implementation to loading the object. Now I changed it to loading it from a facade bean. Thanks Jonathan Locke wrote: I should

Question about use Palette with DropDownChoice

2007-09-15 Thread JohnSmith333
I have use a Palette with DropDownChoice. I want to change the DropDownChoice's selected value and then update the Palette's lists. And when I click the Palette's value ,I hope to save the change result. But it's not work normally. Could anyone kind to help me? Thanks!

Re: How to save page values between AjaxTabbedPanel tab change?

2007-09-15 Thread JohnSmith333
Thank's for your help.Thank you! igor.vaynberg wrote: if you are talking about form values then override newtablink and return a submitlink instead. if you are talking about state in general then see PanelCachingTab -igor On 9/12/07, JohnSmith333 [EMAIL PROTECTED] wrote: Could

Re: Wicket Web Beans 1.0-rc1 Released

2007-09-15 Thread Zenrique Steckelberg
My suggestions to this nice compont: - allow beanprops files to be reloaded while app is running. How it stands now I have to restart the app everytime a change to beanprop file is made, it can be time consuming. - allow constructor to accept models besides beans too, if possible. I am trying to

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread mchack
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

Re: compressing resources which are not in the classpath

2007-09-15 Thread Kent Tong
Andrew Klochkov wrote: Hi! How to compress resources (css, java scripts) which are lying not in the classpath but in /css and /js in the webapp context folder? How can I create a CompressedResourceReference to such a resource? Try: public class MyApp extends WebApplication {

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-15 Thread Johan Compagner
because it seems there can be quite a lot of people i have to look around where to do it. and also what kind of day because this many people then 2,3 hours in the evening is maybe a bit to little time. we could do it in a weekend on saturday (afternoon) and then maybe later on getting something to

Calling Methods based on page parameters

2007-09-15 Thread darrengreer
First off, I am just starting out in both Java development, and wicket, so I'm probably doing this way wrong. So, if anyone wants to correct my methodologies, please do. Here is the scenario. I have a bookmarkable page, that I want users to be able to bookmark with page parameters. Those page

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread Stefan Simik
try to unselect checkbox Message is in HTML Format (lying under Subject field), it works for me see: div xx /div -- View this message in context: http://www.nabble.com/Can%27t-seem-to-include-anchor-tag-in-span-with-wicket%3Aid---Help-tf4447230.html#a12691874 Sent from the Wicket - User

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread Stefan Simik
try to replace all your '' with amp;lt; and '' with amp;gt; I know, it's not very comfortable :) -- View this message in context: http://www.nabble.com/Can%27t-seem-to-include-anchor-tag-in-span-with-wicket%3Aid---Help-tf4447230.html#a12691943 Sent from the Wicket - User mailing list archive

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread Martijn Dashorst
I am not sure what it going on here. I tried it locally and it just works (tm). Here's my code: public class HomePage extends WebPage { public HomePage(final PageParameters parameters) { add(new EmptyPanel(message)); } } html head titleWicket Quickstart Archetype

Re: More extend points

2007-09-15 Thread fero
So I tried it and it works fine. My subpage does not even have a html file. Only Panel with Form has. Fero fero wrote: Yes sockets and plugs is the idea I was thinking of, but I thought that i will have 2 html files SubWebPage.html and some Panel.html. Now I see that only one is needed

Re: Acegi (Spring Security)

2007-09-15 Thread Erik van Oosten
Ian, With this symptom I would guess that the Acegi filter is not installed on all URLs that the Wicket application is handling. It is not likely a Wicket problem as your code goes directly to Acegi's threadlocal. If you're deploying to a clustered environment a lot of interesting session

Re: Wicket Web Beans 1.0-rc1 Released

2007-09-15 Thread Dan Syrstad
Hi Zenrique: See below... -Dan On 9/15/07, Zenrique Steckelberg [EMAIL PROTECTED] wrote: My suggestions to this nice compont: - allow beanprops files to be reloaded while app is running. How it stands now I have to restart the app everytime a change to beanprop file is made, it can be time

Re: Wicket Web Beans 1.0-rc1 Released

2007-09-15 Thread Dan Syrstad
In the current WWB strategy, required fields are enforced in your model/DAO layer. For example, if you click your Save action, the action on your page would be invoked. This, in turn, calls your DAO or model. Often fields are conditionally required based on use case and or data conditions. We're

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread mchack
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:

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread Igor Vaynberg
i know of at least one big project that is using it in production successfully -igor On 9/15/07, mchack [EMAIL PROTECTED] wrote: Many thanks. Worked with beta3. There were a few other oddities on my build path. Next time I will make sure that I test with beta3 and/or trunk. BTW, I am in

Add image to DropDownChoice

2007-09-15 Thread bebetu
I am trying to embed images into options of a DropDownChoice but I haven't succeeded so far nor I could find examples regarding this. Any idea how to do this? Thanks! florin -- View this message in context: http://www.nabble.com/Add-image-to-DropDownChoice-tf4449619.html#a12695493 Sent from

Re: wicket doesn't show its debugging?

2007-09-15 Thread Kent Tong
Potje rode kool wrote: I used the log config files from the wicket example that comes with wicket (apache-wicket-1.3.0-beta3) and set it to debug. Any idea what I am missing to see the debugging of Wicket for the org.apache.wicket.util.resource package? Are you sure you're using the