that method has javadoc...
-igor
On Sat, Mar 15, 2008 at 9:41 PM, Warren <[EMAIL PROTECTED]> wrote:
> What is cleanupFeedbackMessages() used for ?
>
>
> > -Original Message-
> > From: Warren [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, March 15, 2008 9:37 PM
> > To: users@wicket.apa
What is cleanupFeedbackMessages() used for ?
> -Original Message-
> From: Warren [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 15, 2008 9:37 PM
> To: users@wicket.apache.org
> Subject: RE: Clearing Feedback Messages from the Session
>
>
> That's what I was looking for, Thanks
>
> > ---
That's what I was looking for, Thanks
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 15, 2008 8:38 PM
> To: users@wicket.apache.org
> Subject: Re: Clearing Feedback Messages from the Session
>
>
> message.markrendered() ?
>
> -igor
>
>
> O
message.markrendered() ?
-igor
On Sat, Mar 15, 2008 at 12:39 PM, Warren <[EMAIL PROTECTED]> wrote:
> I am displaying feedback messages using a js alert window instead of a
> feedback panel. Everything works except that I end up displaying the same
> message twice. Once for the original request
If you want to avoid the lazy init error when effortlessly exposing
Hibernate enhanced objects via XFire and alike services all you need to do
is front the service URL with filter that makes sure that Hibernate session
is available for the duration of the request.
That is less work then rendering
Hi
Basically I have been working alot of spring and hibernate stack. Everything
is fine until you need to actually expose web service which comprises of
part of your domain models. Hibernate will let you go in a loop or you will
run into a famous error (lazily init :)). As such I have always use
Hi,
Your conclusion covers our case, but I'd debate your reasoning:
We use java 5, deploy to GlassFish.
No nostalgic attachments to pre-generics Java :-)
But we believe these (including wicket) to be established
technologies, and would hate to jump to significantly less mature
platforms (like jav
I'd say people using wicket now who did not mind switching
from other framework might not mind upgrading web server
to java5 (even 7:-), or deploy it on a new web server instead
of mixing them with the old app servers.
>the big question is if 1.4 and 1.3 where api wise very much the same
>is th
I have been doing that way to work around this issue
but found it is often cumbersome to do so, particularly
to deal with large number of links. use Listview helps
a bit but not complete solution.
I wonder if something similar tothe following could be done
This would not break any existing app an
Ok. :-) Just put it on here before reporting in the jira just in case
it's was a stupid idea. ;-)
https://issues.apache.org/jira/browse/WICKET-1427
Regards,
Sebastiaan
Igor Vaynberg wrote:
jira...
-igor
On Sat, Mar 15, 2008 at 6:18 AM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Hi,
Is
I am displaying feedback messages using a js alert window instead of a
feedback panel. Everything works except that I end up displaying the same
message twice. Once for the original request and then again for the
following request. I am retrieving the messages from the Session when the
page's onBef
On 15.03.2008, at 17:22, Martijn Dashorst wrote:
According to me, when javascript is turned off, onclick is not fired.
I agree. I'll try to be more precise:
For instance, the link to open the modal window: if it were made a link
with both href and an onClick then the href-link will be taken
On 3/15/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> the problem is most of the time with model objects
> is that when you have set it. Then that is also a database operation
> So going back into history with the browser and revering the model object
> doesn't make much sense then
> because
the problem is most of the time with model objects
is that when you have set it. Then that is also a database operation
So going back into history with the browser and revering the model object
doesn't make much sense then
because then you also have to revert the database ooperation
So model objec
the big question is if 1.4 and 1.3 where api wise very much the same
is there still a high demand for java4 wicket yes or no at this time?
If there still are quite a lot of deployments on java4 then we have to
maintain it for a while.
If not then all those 1.3 users could switch to 1.4 quite easy
According to me, when javascript is turned off, onclick is not fired.
Martijn
On 3/15/08, Kaspar Fischer <[EMAIL PROTECTED]> wrote:
> On 14.03.2008, at 18:04, Martijn Dashorst wrote:
>
> > it can't. ModalWindow is a javascript component. JavaScript is
> > necessary for displaying, hiding, posit
jira...
-igor
On Sat, Mar 15, 2008 at 6:18 AM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible to make setAfterDisabledLink on AbstractLink return
> "this" so that chaining is possible. Now I have somthing similar to the
> following:
>
> fragment.add(new Bookmark
Don't use wicket:link in that case. Just add the links as bookmarkable
page links. wicket:link is a convenience, not for all use cases. This
is not one of them.
Martijn
On 3/15/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello:
> Is there a way to disable wicket:link' removing
>for a
On 3/15/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> in what context?
>
> you with your counter shouldn't touch the model things anyway
> just do wat Matej told you and use addStateChange()
> thats is what you should do
Well, I'm just trying to come up with a real-world example. I guess
in
in what context?
you with your counter shouldn't touch the model things anyway
just do wat Matej told you and use addStateChange()
thats is what you should do
ofcourse you could use the model somehow for you counter
On Sat, Mar 15, 2008 at 4:04 PM, James Carman <[EMAIL PROTECTED]>
wrote:
> On
Another possibility:
/**
* A panel whose visibility is on iff at least one of its
subcomponents is visible.
*/
public class Envelope extends Panel
{
private static final long serialVersionUID = -6422145787799831814L;
public Envelope(String id)
{
super(id);
}
public Envelope(S
On 3/15/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> yes but thats what component.setModelObject() does for you
>
So, it would have been better to write link.setModel("some new string")?
-
To unsubscribe, e-mail: [EMAIL PROTE
yes but thats what component.setModelObject() does for you
On Sat, Mar 15, 2008 at 2:11 PM, James Carman <[EMAIL PROTECTED]>
wrote:
> On 3/15/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > you shouldn't really call modelChanging() or modelChanged()
> > because your model is not changed at
I have an Image (imgThumbnailSelected) that shows the thumbnail (Resource
thumbnailResource) of a selected image (selectedImage object).
If no image is selected imgThumbnailSelected should show a placeholder
(ResourceReference DialogImagePage.IMG_NO_IMAGE).
I defined the Image and its Model like
On 14.03.2008, at 18:04, Martijn Dashorst wrote:
it can't. ModalWindow is a javascript component. JavaScript is
necessary for displaying, hiding, positioning, closing, etc. the div
that is the modal window.
I see that it currently works like this.
The fallback solution I was thinking of was:
Hi,
Is it possible to make setAfterDisabledLink on AbstractLink return
"this" so that chaining is possible. Now I have somthing similar to the
following:
fragment.add(new BookmarkablePageLink("season2Link",
ProgramsPage.class, new PageParameters("0=2008")) {
{
On 3/15/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> you shouldn't really call modelChanging() or modelChanged()
> because your model is not changed at all
> what is changed is your internal counter (and you should use
> addStateChange())
>
> But because of the way we now work, we dont do a
See
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-suckerfish
On Fri, 2008-03-14 at 16:17 -0700, Mathias P.W Nilsson wrote:
> Hi!
>
> I have troubles creating a css menu with wicket and css.
>
> I'm using the RepeatingView in Wicket for the UL, LI list. But the U
>
> because it's ignored with SecondLevelCacheSessionStore. For the next
> version we'll have a simple method that is more obvious to call.
>
> big probem with that is if we just introduce
page.incrementVersion()
and nothing more, that then everybody has to use SLCS..
But there are things (like
Yeah, sorry, I should have suggested addStateChange, the problem is
that it requires a Change attribute which can be a bit confusing
because it's ignored with SecondLevelCacheSessionStore. For the next
version we'll have a simple method that is more obvious to call.
So the right thing to do now is
you shouldn't really call modelChanging() or modelChanged()
because your model is not changed at all
what is changed is your internal counter (and you should use
addStateChange())
But because of the way we now work, we dont do anything with the state
changes objects
anymore with the DiskPageStore
I'm reading the Wicket in Action MEAP right now, just begun, and it seam like
Behavior could fit into the picture?
Any comments?
--
View this message in context:
http://www.nabble.com/css-menu-and-wicket-tp16062124p16066979.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Mathias P.W Nilsson schrieb:
Hi!
I have troubles creating a css menu with wicket and css.
I'm using the RepeatingView in Wicket for the UL, LI list. But the UL and LI
needs some extra tweek for IE.
I need to do something like this for it to render properly. How can I
integrate this with wicket?
On 3/15/08, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Not wit url like http://localhost:8080/. That's a homepage URL. It
> doesn't contain any information about page instance, etc. so wicket
> has to create new page instance.
>
> Transparent back button support is about something else. Wicket tra
Hello:
Is there a way to disable wicket:link' removing
Not wit url like http://localhost:8080/. That's a homepage URL. It
doesn't contain any information about page instance, etc. so wicket
has to create new page instance.
Transparent back button support is about something else. Wicket tracks
certain changes to page, i.e. adding or removing components
On 3/15/08, James Carman <[EMAIL PROTECTED]> wrote:
> On 3/15/08, Matej Knopp <[EMAIL PROTECTED]> wrote:
>
> > What URL you seen in browser after you click back button? Isn't it a
> > bookmarkable URL? Because that creates new page instance every time.
> >
>
>
> When I click the back button, the
The no-store header is a browser issue. There is a reason why it's not
enabled by default. Not everyone wants to generate request to server
on back button if it is not necessary.
-Matej
On Sat, Mar 15, 2008 at 12:02 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> Sorry, I think I may have it workin
On 3/15/08, Matej Knopp <[EMAIL PROTECTED]> wrote:
> What URL you seen in browser after you click back button? Isn't it a
> bookmarkable URL? Because that creates new page instance every time.
>
When I click the back button, the URL is:
http://localhost:8080/
However, nothing goes on in the ser
Sorry, I think I may have it working now. The trick was the
Cache-Control header (adding in "no-store"), but requiring us to set
Cache-Control headers doesn't sound to me like "Transparent Back
Button Support." The modelChanged() call did nothing for me (not that
I know for sure that's what I was
What URL you seen in browser after you click back button? Isn't it a
bookmarkable URL? Because that creates new page instance every time.
-Matej
On Sat, Mar 15, 2008 at 11:52 AM, James Carman
<[EMAIL PROTECTED]> wrote:
> On 3/15/08, Matej Knopp <[EMAIL PROTECTED]> wrote:
>
> > The reason why page
On 3/15/08, Matej Knopp <[EMAIL PROTECTED]> wrote:
> The reason why page is not fetched on backbutton is because firefox
> caches it. You need to send the Cache-control: no-store header to
> force firefox to reload the page on back button.
>
Ok, I've change it as follows and it still appears to
On 3/15/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> You are not testing back button versioning a all.
> What you do with the backbutton and a refresh is create a new page.
> Because yiu are doing a bookmarkable (homepage) refresh.
>
I'm not hitting refresh, though. It appears that IE is do
The reason why page is not fetched on backbutton is because firefox
caches it. You need to send the Cache-control: no-store header to
force firefox to reload the page on back button.
-Matej
On Sat, Mar 15, 2008 at 11:39 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> You are not testing back but
You are not testing back button versioning a all.
What you do with the backbutton and a refresh is create a new page.
Because yiu are doing a bookmarkable (homepage) refresh.
Also if you want backbutton support for your counter you have to
register that Change to the page.
Johan
On 3/15/08, Ja
On 3/15/08, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Your page implementing Externalizable breaks wicket. Wicket relies of
> Page#writeReplace, writeObject, readObject being called. Are you sure
> you're no seing any stacktrace?
>
Ok, I think I'm getting somewhere with this. I changed my explor
What about http://www.addthis.com/
2008/3/15, Jeremy Thomerson <[EMAIL PROTECTED]>:
> Does anyone know of a component out there that creates a nice share panel
> with all the common links (Digg / Technorati / del.icio.us)?
>
> Not sure if attachments come through the list, but attached an example.
See this link
http://javathoughts.capesugarbird.com/2008/01/wicket-13-ajax-button-with-confirmation.html
warning dialog
--
View this message in context:
http://www.nabble.com/How-to-pop-a-warning-dialog-box-when-clicking-a-checkbox-tp16058046p16065780.html
Sent from the Wicket - User mailing l
Your page implementing Externalizable breaks wicket. Wicket relies of
Page#writeReplace, writeObject, readObject being called. Are you sure
you're no seing any stacktrace?
-Matej
On Sat, Mar 15, 2008 at 3:08 AM, James Carman
<[EMAIL PROTECTED]> wrote:
> All,
>
> I am trying to understand page se
Hi,
you shouldn't do target.addComponent(tree). You shouldo only call
tree.upateTree() (or tree.updateTree(target), should do the same
thing). Also you could consider using DefaultTreeModel.insertNodeInto
instead of parent.addNode, as it automatically fires the listener for
you.
Btw. I was thinki
attachments dont come through. and probably, no. you might have to
roll your own and possibly share with the rest of us :)
-igor
On Fri, Mar 14, 2008 at 11:02 PM, Jeremy Thomerson
<[EMAIL PROTECTED]> wrote:
> Does anyone know of a component out there that creates a nice share panel
> with all th
51 matches
Mail list logo