Re: [Wicket-user] Problem with TinyMCE on a panel

2007-04-25 Thread Brian Topping
I don't believe the behavior works *in* a panel though.  I put a link  
to a complete M2 project with the behavior in the email that started  
this thread, and it uses this behavior with no result.


Brian

On Apr 25, 2007, at 8:36 AM, Igor Vaynberg wrote:


the behavior works, i like it a lot better then a panel. to me:

TextField tf=new TextField(..);
tf.add(new TinyMceEnabler().setAllowLinking(false));

seems a lot more natural then adding a panel, etc. and yes, in my  
project we store tinymce in a static dir so all of its scripts/ 
modules are served by apache instead of wicket.


that said, i havent ever tried to use it in an ajax response, so i  
wouldnt know if it works or not. is that what is used here?


maybe if it does choke because of that we can create a loader  
script for it or something like that.


-igor


On 4/25/07, Iulian Costan [EMAIL PROTECTED] wrote:
this question is mostly for Igor and his rtebehavior and  
tinymceenabler examples.
does tinymceenabler really works for you? if it does please tell me  
what wicket/tinymce versions are you using. in your case i also saw  
that tinymce scripts are loaded from a static context, /html/static/ 
js/... something. they are not packed within the web application.


becasue of the way tinymce library initialize itself, it relies on  
src attribute of script tag that imports 'tiny_mce_src.js' file.
but if you add a javascript url in ajax response then the script is  
prefetched and it is embedded into the page, in the same time the   
'src' attribute is renamed to 'src_' and also the other attributes  
are removed/cleaned up.


i didnt follow wicket development for a while and i might miss  
something but i dont see how tinymce can initialize in this case if  
there is no src attribute to rely on. something magic in between. :)


/iulian


On 4/18/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
ok you are all set


-igor



On 4/18/07, Iulian Costan  [EMAIL PROTECTED] wrote:
done, username: syca

/iulian

On 4/17/07, Igor Vaynberg [EMAIL PROTECTED]  wrote:
lulian could you please sign up for wicketstuff.org/jira so i can  
set you as the lead for wicket contrib tinymce


thanks

-igor


On 4/11/07, Iulian Costan [EMAIL PROTECTED] wrote:
hi,

there is an already known issue related to this; tinymce's JS/CSS  
imports are lost if there is any AJAX request involved. it is on my  
TODO list but unfortunately i  couldnt put my hands on it. i'll try  
to do it this weekend.


/iulian


On 4/11/07, Brian Topping  [EMAIL PROTECTED] wrote:
Hi all,

I've been trying to get TinyMCE to display on a panel and haven't
been having much luck.  I've seen it work if it's not on a panel, but
my guess is when the panel is loaded and the contents of the panel
are patched up in the DOM, the patches that TinyMCE made are lost.

I talked to Igor about this one night on IRC and he suggested using a
behavior, overriding iHeaderResponse.renderOnDomReadyJavascript() to
call tinyMCE.init.  That all seems like it should work, but alas, it
does not.

If it weren't for plugging at this off and on for two weeks, I'd keep
chugging, but I'm afraid I don't know enough to debug this.

So if you choose to accept it, the mission is to download http://
tetsuko.autoscraper.com/files/testTCE.tgz and see if anything looks
out of place.  It's a large file only because it's got TinyMCE
preloaded... there's only about 140 lines of code there.

Any thoughts, information, RTFM, etc are gratefully accepted.  Thanks!

Brian

-- 
---

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



-- 
---

This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

[Wicket-user] Problem with TinyMCE on a panel

2007-04-10 Thread Brian Topping
Hi all,

I've been trying to get TinyMCE to display on a panel and haven't  
been having much luck.  I've seen it work if it's not on a panel, but  
my guess is when the panel is loaded and the contents of the panel  
are patched up in the DOM, the patches that TinyMCE made are lost.

I talked to Igor about this one night on IRC and he suggested using a  
behavior, overriding iHeaderResponse.renderOnDomReadyJavascript() to  
call tinyMCE.init.  That all seems like it should work, but alas, it  
does not.

If it weren't for plugging at this off and on for two weeks, I'd keep  
chugging, but I'm afraid I don't know enough to debug this.

So if you choose to accept it, the mission is to download http:// 
tetsuko.autoscraper.com/files/testTCE.tgz and see if anything looks  
out of place.  It's a large file only because it's got TinyMCE  
preloaded... there's only about 140 lines of code there.

Any thoughts, information, RTFM, etc are gratefully accepted.  Thanks!

Brian

-
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] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread Brian Topping

Let's back up here a minute.

First off, you are a thankless idiot for thinking that these guys  
doing open source software, to your benefit, with absolutely no  
compensation from you, are anything like the relationship you have  
with your clients.  Do you work for free for your clients?  No, I  
didn't think so.  (Any synapses firing for you yet?)


Secondly, I am personally affronted by your attacks and insults  
against these gentlemen because you have some kind of identity crisis  
or were born some form of eunuch and left in a trash can.  Where the  
hell do you get off doing anything but praising these guys for  
creating the value that you are selling to your customers and putting  
food on your own table with?  The rest of us are *very* thankful to  
these guys, and when people like you come around any open source  
project spewing insults, you are not just attacking them, you are  
attacking each and every one of the people in the open source  
community... and especially those of us that use Wicket.


I hope you have the guts to realize what an ass you are making of  
yourself and stand up and apologize.  Not for any of our sake, we've  
seen your type before and it rolls right off. It's for your own sake,  
because in five years when you look back at this incident (and the  
countless others like it), you are going to hate yourself for who you  
are.  And that's a lot worse than anything we could ever say against  
you.


Brian

p.s. As for your gracious offer to RTFM, welcome to how we all do  
it.  The source is the best documentation there is.  Get used to it.


On Mar 19, 2007, at 2:25 AM, Udora wrote:


Hi Igor,

First of all, I would want to say that I've solved the problem  
myself and having now a great table component with all what I needed.
And I also want to say that I don't think I owe you as a developer  
anything for using Wicket. Of course being an open source  
developer, you have the luxury to tell your clients that. In my  
world, I try to be helpful to my clients even with the insults that  
occasionally come with their being in bad mood. In all those  
circumstances I strife to be client friendly, even when I've had  
the worst sleep ever, or my girlfriend denied me sex the previous  
night.
Because of the my impression so far, I've decided to download the  
Wicket source and look for answers to my future questions there.  
Probably I'd be less productive that way but unfortunately I don't  
clearly see any other alternative.
Have a nice day, even when you couldn't get sufficient caffeine  
dose for the day.


On 3/18/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
so not having the _personal_ time to answer every single question  
that is on this list makes us arrogant? that is great!


do you think i would rather spend my time pumping you for  
information or spend that time in a park playing with my daughter?  
maybe if you wouldve spent more then two minutes of your time  
writing up an appropriate question with code examples or a  
quickstart project instead of something so vague it is useless  
someone wouldve bothered to reply.


remember: just because you are using wicket it doesnt mean the  
developers owe you anything. look at the threads on this list,  
quiet a lot of them are answered by other users. why do you think  
none of them answered yours?


and unlike eelco i do hope this comes across as arrogant because  
your email was very disrespectful.


-igor


On 3/18/07, Udora  [EMAIL PROTECTED] wrote:
Hi all,

I was attracted to Wicket because of its finesse and all the  
stories around praising how helpful their developers and user  
community are and the quick response one receives when you post a  
question. I must say, my experience has been bad so far. I posed  
the question below 2 days ago and still no response. I've known  
frameworks whose developers were also initially very helpful but  
became arrogant when they got the popularity and success. I hope  
Wicket is not getting on that slippery road.




On 3/16/07, Udora [EMAIL PROTECTED]  wrote:
Hi,

I'm implementing a form with a table component as one of its  
component. The table has some textfields columns. The problem is  
that upon submit my model is not updated to reflect the values  
filled in the textfields. Can someone point me to an example where  
this sort of thing is implemented? I've already looked in Wicket  
examples but couldn't find anything.


Thanks,


--
Wicket is Wicked



--
Wicket is Wicked
-- 
---

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

Re: [Wicket-user] Joost uses Wicket

2007-03-12 Thread Brian Topping
Here I thought they were cool, then they use Ant?!?

:b

On Mar 12, 2007, at 8:45 AM, mraible wrote:


 Thought y'all might be interested:

 http://opensource.joost.com/

 Joost is a new company started by the founders of Skype:

 http://en.wikipedia.org/wiki/Joost

 Matt
 --  
 View this message in context: http://www.nabble.com/Joost-uses- 
 Wicket-tf3390296.html#a9437082
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -- 
 ---
 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] Joost uses Wicket

2007-03-12 Thread Brian Topping
Gili,

I think I did this on http://www.autoscraper.com...

Brian

On Mar 12, 2007, at 5:30 PM, cowwoc wrote:


   My point is that you can't do that with Wicket, unless you know
 something I don't...?

 Gili

 Ryan wrote:
 In any public application I deploy I remove the servlet context path
 (wicket or no wicket).

 Ryan

 On 3/12/07, cowwoc [EMAIL PROTECTED] wrote:
 If they use Wicket why doesn't it show at all on their  
 website at
 joost.com? I am expecting to at least see some evidence of a servlet
 context path...

 Gili

 Brian Topping wrote:
 Here I thought they were cool, then they use Ant?!?

 :b

 On Mar 12, 2007, at 8:45 AM, mraible wrote:

 Thought y'all might be interested:

 http://opensource.joost.com/

 Joost is a new company started by the founders of Skype:

 http://en.wikipedia.org/wiki/Joost

 Matt
 --
 View this message in context: http://www.nabble.com/Joost-uses-
 Wicket-tf3390296.html#a9437082
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -- 
 
 ---
 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] Is Wicket like one thick template engine?

2007-03-06 Thread Brian Topping
They are nothing alike.  Wicket parses your HTML template into a Java  
object tree, then renders the page by recursively rendering the page  
root, calling each object.

Velocity copies the template, then does variable substitution, more  
like a mail merge.

Brian

On Mar 6, 2007, at 1:31 AM, Steven Zou wrote:


 I feel Wicket like one thick template engine? such as  
 smarty,velocity with
 thick business layer.
 the page object is just like something in common template engine..
 do you agree with me?..
 -- 
 View this message in context: http://www.nabble.com/Is-Wicket-like- 
 one-thick-template-engine--tf3354355.html#a9328724
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -- 
 ---
 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] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-06 Thread Brian Topping

On Mar 6, 2007, at 2:12 PM, Eelco Hillenius wrote:

 1) Who uses 2.0 for serious projects?

I'm hoping to roll my project out over the next few weeks, it uses  
2.0.  I don't have a lot of pages though, so porting wouldn't be a  
problem.

 2) What do you think of the constructor change? Do you prefer 1.3's
 add style or 2.0's style of passing in the parent construction time.

What about some hybrid of the two?  My use case for this came  
yesterday, when I was wanting to add functionality for disabled  
option items in a DropDown.  If I were to follow the pattern of  
creating all the constructor combinations for optional parameters, I  
would have had to add somewhere between 50-100% of the count of the  
constructors.

IMHO, stuff like 'disabled' is secondary, and the meat of the  
component is the DropDown itself.  This is to say I would not miss  
java line-precise errors for stuff that is considered secondary.   
(Ignore me if I am talking nonsense here...)

 3) If we would ever backtrack on the constructor change (*if*, don't
 panic for now) how much trouble would that give you?

It wouldn't be that big a deal for me.

-b

-
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