Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-04 Thread Michał Letyński
I had similar problem with all wicket-stuff examles ... http://apache-wicket.1842946.n4.nabble.com/Building-tinymce-examples-from-wicketstuff-td2048254.html#a2048254 You must checkout only tinymce-parent and build it from there. When you have downloaded whole wicketstuff-core with parent pom you

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-04 Thread Michał Letyński
Hi. If you have images in tiny with external src it should work but if you have in src a wicket path you must change it (to component which will get the image look at IResourceListener) before displainng image in label, multilinelabel, etc. W dniu 2010-05-03 09:10, Robert Kimotho pisze:

Re: Session Timeout - detect last visited page and redirect accordingly

2010-05-04 Thread Zilvinas Vilutis
I've added an ajax timer so session timeout never happens on an open browser. Or you can always store your user state in the DB if you want, e.g. the URL visited. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Mon, May 3, 2010 at 4:59 PM, Tony Wu e90t...@gmail.com

TinyMCE + TextArea + Jackrabbit

2010-05-04 Thread Wilhelmsen Tor Iver
Using wicketstuff tinymce 1.4.1 attached to a TextArea, it seems I cannot get it to stop escaping the resulting HTML: TextAreaString textArea = new TextAreaString(threadSubjectTextInput, new ModelString()); textArea.setEscapeModelStrings(false);

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-04 Thread Robert Kimotho
You are right I have a wicket path in src and it looks like this 'resources/wicket.contrib.tinymce.InPlaceEditBehavior/tiny_mce/plugins/emotions/img/smiley-cool.gif' this is what you get submitted to the server, but the image does not get displayed. Can you guide me to using the IResourceListener

Re: root context, IE, home page is not found

2010-05-04 Thread Martin Grotzke
Hi, we also just experienced issues with this, and the fix of WICKET-2600 still causes problems (as already described in this post): For the redirect to . tomcat produces a Location header like http://www.example.org/. (notice the trailing dot), which causes IE to do request exactly this url,

SV: TinyMCE + TextArea + Jackrabbit

2010-05-04 Thread Wilhelmsen Tor Iver
Using wicketstuff tinymce 1.4.1 attached to a TextArea, it seems I cannot get it to stop escaping the resulting HTML: TextAreaString textArea = new TextAreaString(threadSubjectTextInput, new ModelString()); textArea.setEscapeModelStrings(false);

Dynamic checkbox form

2010-05-04 Thread hill180
Just need to be pointed in the Right direction. I have a form of check boxed created by dynamic list. What is the best way to get the Boolean value if the checkbox was selected. Thanks... - To unsubscribe, e-mail:

Re: Session Timeout - detect last visited page and redirect accordingly

2010-05-04 Thread Jeremy Thomerson
Yea, but if it's in the DB, then you also need a cookie for auto-login, because if they aren't logged in, how will you tie them to the row in the DB? And if their session is expired, they won't be logged in. -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 4, 2010 at 3:01 AM,

Re: jqery not getting called after ajax refresh

2010-05-04 Thread fachhoch
I got a new problem with this. The browser loses focus. Please suggest what I can do to retain focus at selected element. here again my jquery $(document).ready(function(){

Wicket-Spring 1.4.8 runs into exception in unit test

2010-05-04 Thread Per Newgro
Hi *, today i updated wicket from 1.4.7 to 1.4.8. I found a hardcoded dependency to wicket-spring 1.4.1 in my pom. I updated it to 1.4.8 to. Now i get in my page test the following exception in setup. But what does it mean? Where can i change something to make this work. Until now i didn't

Re: statefulness, and multiple tabs

2010-05-04 Thread Igor Vaynberg
dont think a conversation scope will be of much help to you. wicket does support it via jboss' cdi implementation, but i think you are better off stashing all the changes into some dto and applying them when the save button is pressed. -igor On Mon, May 3, 2010 at 12:13 PM, Ray Weidner

Panel without HTML

2010-05-04 Thread Brian Mulholland
I don't have this situation right now, it's mostly curiosity, but I've had these requirements at times in the past. If I had a panel whose appearance was highly dynamic, say perhaps because it was driven by some personalization or data, can a Wicket panel add components that don't have a

Re: Panel without HTML

2010-05-04 Thread Igor Vaynberg
somewhere somehow you have to provide markup. so your dynamic panel will consist of other dynamic panels added at runtime, so your parent panel can have this markup wicket:panelwicket:container wicket:id=children/wicket:container/wicket:panel the children component being some repeater such as a

Re: Math captcha with Wicket?

2010-05-04 Thread Thomas Götz
Thanks for your input, Igor! Looks nice, but I'd also like to have that as a rendered image, rather than plain text (security risk?). -Tom Igor Vaynberg wrote: off the top of my head - To unsubscribe, e-mail:

Re: jqery not getting called after ajax refresh

2010-05-04 Thread Jeremy Thomerson
if this is happening in an ajax request, you can use AjaxRequestTarget.focusComponent(foo); -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 4, 2010 at 11:24 AM, fachhoch fachh...@gmail.com wrote: I got a new problem with this. The browser loses focus. Please suggest what

Re: jqery not getting called after ajax refresh

2010-05-04 Thread fachhoch
No this is not in ajaxrequest. It is just jquery. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jqery-not-getting-called-after-ajax-refresh-tp1872270p2126099.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: statefulness, and multiple tabs

2010-05-04 Thread Zilvinas Vilutis
I think you may be able to separate those things into transactions using spring annotation based transactions? So then you can handle your transactions being created / flushed by a method scope - so the data will be flushed to DB when the method invokation is finished. You can read more at:

Re: Panel without HTML

2010-05-04 Thread Zilvinas Vilutis
You can do it with ListView's - you can make a list of panels and add your own custom panel in each iteration. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Tue, May 4, 2010 at 10:36 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: somewhere somehow you have to

Re: jqery not getting called after ajax refresh

2010-05-04 Thread robert.mcguinness
print out some unique attribute of the element that last regains focus to console.debug, maybe http://api.jquery.com/focusin/ will help. - roberto -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jqery-not-getting-called-after-ajax-refresh-tp1872270p2126168.html

Re: Panel without HTML

2010-05-04 Thread Martin Makundi
Hi! Also here is a way: http://webcache.googleusercontent.com/search?q=cache:D3a_O4kK4t0J:www.wickettraining.com/ws-sites/minis-parent/minis/xref/org/wicketstuff/minis/apanel/APanel.html+%22apanel%22+wicketcd=1hl=fict=clnkgl=ficlient=firefox-a 2010/5/4 Zilvinas Vilutis cika...@gmail.com: You

Re: Panel without HTML

2010-05-04 Thread James Carman
Wicketopia does some of this kind of stuff, but it's based on class/property metadata. Basically, it auto-creates forms for you on the fly based on annotations you put on the field values. You *could* also use Velocity to dynamically generate your markup at runtime, also. That's an interesting

DateTextField and DatePicker returning wrong date

2010-05-04 Thread taygolf
Hey guys, I guess I am confused on how DateTextField and DatePicker work Here is my code DateTextField dateTextField = new DateTextField(textField, new PropertyModelDate(this, value), new PatternDateConverter(MM/dd/, false)); DatePicker dp = new DatePicker(){ public boolean

SEVERE:Pagemap null is still locked by: Thread

2010-05-04 Thread Ayodeji Aladejebi
SEVERE: org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is still locked by: Thread[http-8084-7,5,main], giving up trying to get the page for path: 2 Begin of stack trace of Thread[http-8084-7,5,main] java.lang.Object.wait(Native Method)

Re: SEVERE:Pagemap null is still locked by: Thread

2010-05-04 Thread Igor Vaynberg
dont execute code that takes 1+ minutes to finish inside a web thread -igor On Tue, May 4, 2010 at 2:40 PM, Ayodeji Aladejebi aladej...@gmail.com wrote: SEVERE: org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is still locked by: Thread[http-8084-7,5,main], giving up

Re: SEVERE:Pagemap null is still locked by: Thread

2010-05-04 Thread Ayodeji Aladejebi
or more like a thread must not block for that long? On Tue, May 4, 2010 at 11:01 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: dont execute code that takes 1+ minutes to finish inside a web thread -igor On Tue, May 4, 2010 at 2:40 PM, Ayodeji Aladejebi aladej...@gmail.com wrote:

change or replace css file on page reload

2010-05-04 Thread Joe Fawzy
Hi all i was wondering how could i change a css file on every page reload i thought of using header contribution in onBeforeRender() , but it seams to add the new the new css file what i need is to replace a certain css on every render of a certain page actually i can dynamically generate the

Re: change or replace css file on page reload

2010-05-04 Thread Igor Vaynberg
see IHeaderContributor -igor On Tue, May 4, 2010 at 4:50 PM, Joe Fawzy joewic...@gmail.com wrote: Hi all i was wondering how could i change a css file on every page reload i thought of using header contribution in onBeforeRender() ,  but it seams to add the new the new css file what i need

Re: Wicket-Spring 1.4.8 runs into exception in unit test

2010-05-04 Thread Jeremy Thomerson
Is your unit test setting up the application before it starts (i.e. in the setUp method if you're using junit?). If you can't figure it out, create a quickstart that demonstrates it, and attach that to a JIRA. -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 4, 2010 at 11:42 AM,

Re: SEVERE:Pagemap null is still locked by: Thread

2010-05-04 Thread Jeremy Thomerson
What do you mean? The page map is locked because another request is still running. If you have anything that takes a noticeable amount of time (several seconds or more) to process, put it in a separate thread and redirect to a waiting page. -- Jeremy Thomerson http://www.wickettraining.com

Re: Wicket-Spring 1.4.8 runs into exception in unit test

2010-05-04 Thread Ben Tilford
Did you upgrade to spring 3? I ran into an issue with the testng spring test not creating the application context before wicket tester tried to use it (iirc @BeforeTest executed before the super classes @BeforeClass) Ended up switching anything annotated with @BeforeTest to @BeforeMethod. I

TabbelPanel doesnt work in appengine

2010-05-04 Thread Murat Yücel
Hi All I am making a small application which is running at appengine. The code was running fine until i desided to use TabbedPanel. I have searched on google and it seems like other people have the same issue. People has reported issues at google appengine, but cant this not be solved in wicket