I use freemarker to generate something, so i wanto  put the generated html 
string into html viewer. so i think i need write a markcontainer to implement 
it, is there anyone can give me some advice or code?
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 06, 2007 2:26 AM
Subject: Wicket-user Digest, Vol 10, Issue 28


> Send Wicket-user mailing list submissions to
> [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
> [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wicket-user digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Fwd: removeComponent? (Jason Roelofs)
>   2. Re: Field validation + FeedbackIndicator + Ajax (Igor Vaynberg)
>   3. Re: Fwd: removeComponent? (Igor Vaynberg)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 5 Mar 2007 13:14:53 -0500
> From: "Jason Roelofs" <[EMAIL PROTECTED]>
> Subject: Re: [Wicket-user] Fwd: removeComponent?
> To: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Crap, Gmail keybindings screwed me up. Posting the rest...
> 
> Well, I am using a detachable model. Here's basically what I've got (using
> Databinder, HibernateListModel implements IDetachable):
> 
> IModel rules = new HibernateListModel(...);
> 
> add(new PropertyListView("rules", rules) {
>  void populateItem(final ListItem item) {
>    item.add(new AjaxFallbackLink("delete") {
>      void onClick(target) {
> 
>         // what do I do here? I hibernate.delete(obj), and addComponent,
> but doesn't work
> 
>       }
>    }
>  }
> });
> 
> Is there a different version of ListView I should be using?
> 
> Jason
> 
> On 3/5/07, Jason Roelofs <[EMAIL PROTECTED]> wrote:
>>
>> Well, I am using a detachable model. Here's basically what I've got (using
>> Databinder, HibernateListModel implements IDetachable):
>>
>> IModel rules = new HibernateListModel(...);
>>
>> add(new PropertyListView("rules", rules) {
>>
>> });
>>
>> On 3/5/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
>> >
>> > Make sure that you populate your list in the onAttach instead of the
>> > constructor.  Most of the time, that was my error.  Or, make sure your 
>> > model
>> > is updated at the redraw....
>> >
>> > ---------- Forwarded message ----------
>> > From: Jason Roelofs <[EMAIL PROTECTED]>
>> > Date: Mar 5, 2007 11:25 AM
>> > Subject: [Wicket-user] removeComponent?
>> > To: [email protected]
>> >
>> > How do I tell Wicket to clear out an object who's underlying
>> > implementation (db record, in this case) was just deleted? Current flow:
>> >
>> >  - Delete link clicked, sends Ajax request
>> >  - onClick deletes the object from DB, tells to redraw entire list of
>> > objects
>> >  - my now deleted object still gets rendered
>> >  - Click on Delete link again, throws error because of course, the guy
>> > doesn't actually exist
>> >
>> > Is there some caching going on that I can clear?
>> >
>> > Thanks
>> >
>> > Jason
>> >
>> >
>> > -------------------------------------------------------------------------
>> > 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
>> > [email protected]
>> > 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.php&p=sourceforge&CID=DEVDEV
>> > _______________________________________________
>> > Wicket-user mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>> >
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 5 Mar 2007 10:22:49 -0800
> From: "Igor Vaynberg" <[EMAIL PROTECTED]>
> Subject: Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax
> To: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 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.php&p=sourceforge&CID=DEVDEV
>> > _______________________________________________
>> > Wicket-user mailing list
>> > [email protected]
>> > 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.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 5 Mar 2007 10:26:29 -0800
> From: "Igor Vaynberg" <[EMAIL PROTECTED]>
> Subject: Re: [Wicket-user] Fwd: removeComponent?
> To: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> that should be ifne provided that HibernateListModel is detaching properly.
> i dont use databinder so i couldnt tell you. maybe you should post this on
> the databinder mailing list.
> 
> if it is indeed detaching properly then the wicket-side of things looks
> fine. maybe you are caching the query in hibernate?
> 
> -igor
> 
> 
> On 3/5/07, Jason Roelofs <[EMAIL PROTECTED]> wrote:
>>
>> Crap, Gmail keybindings screwed me up. Posting the rest...
>>
>> Well, I am using a detachable model. Here's basically what I've got (using
>> Databinder, HibernateListModel implements IDetachable):
>>
>> IModel rules = new HibernateListModel(...);
>>
>> add(new PropertyListView("rules", rules) {
>>   void populateItem(final ListItem item) {
>>     item.add(new AjaxFallbackLink("delete") {
>>       void onClick(target) {
>>
>>          // what do I do here? I hibernate.delete(obj), and addComponent,
>> but doesn't work
>>
>>        }
>>     }
>>   }
>> });
>>
>> Is there a different version of ListView I should be using?
>>
>> Jason
>>
>> On 3/5/07, Jason Roelofs < [EMAIL PROTECTED]> wrote:
>> >
>> > Well, I am using a detachable model. Here's basically what I've got
>> > (using Databinder, HibernateListModel implements IDetachable):
>> >
>> > IModel rules = new HibernateListModel(...);
>> >
>> > add(new PropertyListView("rules", rules) {
>> >
>> > });
>> >
>> > On 3/5/07, Marc-Andre Houle < [EMAIL PROTECTED]> wrote:
>> > >
>> > > Make sure that you populate your list in the onAttach instead of the
>> > > constructor.  Most of the time, that was my error.  Or, make sure your 
>> > > model
>> > > is updated at the redraw....
>> > >
>> > > ---------- Forwarded message ----------
>> > > From: Jason Roelofs <[EMAIL PROTECTED]>
>> > > Date: Mar 5, 2007 11:25 AM
>> > > Subject: [Wicket-user] removeComponent?
>> > > To: [email protected]
>> > >
>> > > How do I tell Wicket to clear out an object who's underlying
>> > > implementation (db record, in this case) was just deleted? Current flow:
>> > >
>> > >  - Delete link clicked, sends Ajax request
>> > >  - onClick deletes the object from DB, tells to redraw entire list of
>> > > objects
>> > >  - my now deleted object still gets rendered
>> > >  - Click on Delete link again, throws error because of course, the guy
>> > > doesn't actually exist
>> > >
>> > > Is there some caching going on that I can clear?
>> > >
>> > > Thanks
>> > >
>> > > Jason
>> > >
>> > >
>> > > -------------------------------------------------------------------------
>> > > 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
>> > > [email protected]
>> > > 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.php&p=sourceforge&CID=DEVDEV
>> > > _______________________________________________
>> > > Wicket-user mailing list
>> > > [email protected]
>> > > 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.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> End of Wicket-user Digest, Vol 10, Issue 28
> *******************************************
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to