Hi again,
in addition to what I've already said I want to point out what I've found
out by profiling two really simply applications serving just a page without
any dynamic content, one using a wicket page and one using a JSP.
The test was about having a small http client invoking that page with
can you put a breakpoint in ProxyDirContext and check what name is being
looked up?
Roberto Fasciolo wrote:
Hi again,
in addition to what I've already said I want to point out what I've found
out by profiling two really simply applications serving just a page
without any dynamic
Hi Edgar,
can you share some details with me about what you're trying to
accomplish? You can write me privately, this doesn't sound like a
wicket issue so better not load the wicket-users list with the topic.
Kristof
On Wed, Oct 22, 2008 at 8:02 AM, Edgar Merino [EMAIL PROTECTED] wrote:
Hello,
Well, I think I could but that's a tomcat internal class, so I should
recompile the entire tomcat source tree and then run those tests against
that.
I'd rather try configuring wicket as a servlet and see if the problem is
still there, but I'd like to know that are the drawbacks of doing it in
I switched to using UTF-8 and all looks fine in the html.
There's still a problem with validation messages from property files, but I
guess that is a different issue,
thanks for your help! :)
On Mon, Oct 13, 2008 at 7:12 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Hi
you don't need to recompile tomcat, it's enough to mount tomcat's sources to
your ide, or you can use the command line jdb debugger..
Roberto Fasciolo wrote:
Well, I think I could but that's a tomcat internal class, so I should
recompile the entire tomcat source tree and then run those
what doesnt work?
it will throw a page expire now and that works.
It should work now just as normal links.
On Sun, Oct 26, 2008 at 7:06 PM, aditsu [EMAIL PROTECTED] wrote:
aditsu wrote:
Furthermore, BookmarkableListenerInterfaceRequestTarget.processEvents
simply assumes that the page is
Because how else would you render the resulting page?
It's an ajax request that makes changes to the current page (without going
to another page). What does that have to do with redirecting?
redirect is only relevant if you redirect to a page
If it is a normal ajax request that just
Sorry to be a pain but i cant seem to work out how to do that, is it a
setting in the web.xml?
Also I'm not sure I want to disable cookies for the whole app, is it
possible to just add a session id to the specific resourcelink?
igor.vaynberg wrote:
well, what you can do is disable session
Hi all,
if I call removeNodeFromParent for the last (and only) child node of a
parent node on second or deeper level in a TreeTable, Wicket throws an
IllegalStateException like this:
ERROR - RequestCycle - Cannot remove [MarkupContainer
[Component id = 11, page = No Page, path
OK forget that I just tried disabling cookies on the browser and it worked
OK.
So now I would really like to try just adding the sesion id to the link URL,
can I do this by manipulating the webmarkupcontainer? do you think it would
work if i am mixing cookie and url session tracking?
I tried
As Igor stated, you just have to enforce the servlet containers url
rewrite facility. It will just happen automatically.
chris888 wrote:
OK forget that I just tried disabling cookies on the browser and it worked
OK.
So now I would really like to try just adding the sesion id to the link URL,
Do you have any idea how i do that with Tomcat?
I'm also reticent to do that unless I can do it for just android so I must
be able to do it programatically based on the user agent or something
Nino.Martinez wrote:
As Igor stated, you just have to enforce the servlet containers url
rewrite
aditsu wrote:
Anyway, everything is working now, but I wanted some answers to those
questions.
I am very interested in what you have achieved here. Is there any chance
you could summarise what you had to do to get stateless AJAX links to work?
Perhaps just a post to this topic or even
OK I see that in tomcat I can disable cookies for the entire web app by a
setting int the context.xml. This is no good for me as I cant disable
cookies on such a global scale as the other apps we have running will want
to use cookies
Can I not manipulate the Link object in some way to include
The tinyMCE component has two themes - simple and advanced.
When in simple - there is only one toolbar, when in advanced - three.
1. How can I remove toolbars? I could not find such an API.
2. How do I remove separators so that I can rearrange freely the buttons?
Kind regards:
al_shopov
There are several drop down components in wicket and wicket extensions,
but I did not find an editable drop down (something that would compose
a text input + some java script for the functionality).
Is there such a component or do I need to write on on my own?
Kind regards:
al_shopov
John Patterson wrote:
aditsu wrote:
Anyway, everything is working now, but I wanted some answers to those
questions.
I am very interested in what you have achieved here. Is there any chance
you could summarise what you had to do to get stateless AJAX links to
work? Perhaps just
As expected, the name that is looked up is the part of the page URL that is
after the context root (for example for a page located at
http://localhost:8080/wickettest/page/Page1k it's /page/Page1k).
Serkan Camurcuoglu wrote:
can you put a breakpoint in ProxyDirContext and check what name is
Michael Sparer wrote:
take a look at headercontributors e.g.
http://chillenious.wordpress.com/2006/05/03/wicket-header-contributions-with-behaviors/
This will only generate the reference to the javascript in the html page.
However, now when the browser tries to request this javascript
something like the AutoCompleteTextField?
Alexander Shopov wrote:
There are several drop down components in wicket and wicket extensions,
but I did not find an editable drop down (something that would compose
a text input + some java script for the functionality).
Is there such a
That didn't work but prepending the jsessionid to the URL did,
I made my own version of resource link and prepended the id in the getURL()
method
protected final CharSequence getURL()
{
CharSequence temp = urlFor(IResourceListener.INTERFACE);
Hi all,
I am creating a set of dropdown choices for a user to enter their
birthday on a profile. One for day of the month, one for month of the
year, and one for year. However I want to be able to take into account
months that have differing numbers of days, (ie some 30, some 31, some
Sound like what you need is a DynamicWebResource.
Regards,
Erik.
Ittay Dror wrote:
Michael Sparer wrote:
take a look at headercontributors e.g.
http://chillenious.wordpress.com/2006/05/03/wicket-header-contributions-with-behaviors/
This will only generate the reference to the
Maybe you can just rely on Calendars, which provides
Calendar#getMaximum(Calendar.DAY_OF_MONTH)
It is not really reinventing the wheel, just using the available api and
combine
Steve Swinsburg a écrit :
Hi all,
I am creating a set of dropdown choices for a user to enter their
birthday on
A simple way would be to use
http://wicketstuff.org/wicket13/dates/
with the settings used on
http://developer.yahoo.com/yui/examples/calendar/calnavigator.html
Ryan Gravener
http://ryangravener.com/flex | http://twitter.com/ryangravener
On Mon, Oct 27, 2008 at 12:08 PM, Steve Swinsburg
[EMAIL
The Wicket TinyMCE API (referring to the latest 1.3 snapshot release) is
indeed not as feature rich as one could have wanted.
But in the end the Wicket TinyMCE API just generates the javascript code
to initialize TinyMCE (see the TinyMCE website).
So, for example, to disable the second toolbar
Theres also the object auto complete in wicketstuff...
[EMAIL PROTECTED] wrote:
There are several drop down components in wicket and wicket extensions,
but I did not find an editable drop down (something that would compose
a text input + some java script for the functionality).
Is there such a
Erik van Oosten wrote:
Sound like what you need is a DynamicWebResource.
yes, sound like this can do it. but can i start a rendering cycle here so
that i get the bytes required at the end?
Regards,
Erik.
Ittay Dror wrote:
Michael Sparer wrote:
take a look at
I did not use this thing yet, but I believe that you will have to
provide enough information to the DynamicWebResource so that it can
generate what ever it needs to generate by itself. In an extreme case
that could be simply a reference to the containing page, but that sounds
quite dangerous
I'm sure I don't understand your question, but in a futile attempt to
answer it anyway:
html
head
wicket:link
script src=FooPage.js/script
/wicket:link
/head
body
/body
/html
Martijn
On Mon, Oct 27, 2008 at 4:03 PM, Ittay Dror [EMAIL PROTECTED] wrote:
Michael Sparer wrote:
take a look at
Martijn Dashorst wrote:
I'm sure I don't understand your question, but in a futile attempt to
answer it anyway:
thanks for the effort ;)
my point is that the javascript file is also generated. e.g., the code in it
creates javascript objects that are attached to the html elements in the
if you dont want the model updated why are you using a
ajaxformcomponentupdatingbehavior?
-igor
On Sun, Oct 26, 2008 at 6:04 PM, Dreamage [EMAIL PROTECTED] wrote:
Hi,
Suppose I have a form with an ajax checkbox inside it. Whenever I
check/uncheck the checkbox, the associated model is
using a filter has certain advantage, which are all outlined in the
discussion thread on this list we had when deciding to switch to the
filter. just search the archives.
this sounds like a bug in tomcat, why dont you take it to their list?
the way that jetty works is that it installs a default
Hi, I thought about what you said, and debugged some more. Here's what I
found out:
Johan Compagner wrote:
RequestCycle.isRedirect() is right, because that is a call that tells us
must i redirect of i get a page redirect
and with ajax this is always the case.
Problem is that the
What about a texttemplate? For the js?
I wrote something about it here:
http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/
But it might be overkill.
Ittay Dror wrote:
Martijn Dashorst wrote:
I'm sure I don't understand your question, but in a futile
we dont know that really if it is the respond step
And normally that getPage() isnt called in wicket when not in a Response
step
what you do is currently not supported by wicket
having an ajax behavior request to a stateless page (through a
BookmarkableListenerInterfaceRequestTarget)
so i guess
Because I want to trigger a show/hide for a textfield when the checkbox is
checked/unchecked.
--
View this message in context:
http://www.nabble.com/Ajax-form-components-principles-tp20180246p20198345.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Anyway the point is that when using ajax components, the associated model is
updated but the form may not be submitted yet, so how would you implement a
cancel button to undo the ajax model updates ? Do we have to do all this by
hand (storing ajax model updates in temporary variables and applying
You can use wicketopia's ProxyModelManager, if you want:
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/model/proxy/ProxyModelManager.java
This way, you bind your components to proxied models. When you're
ready to really write the values
you are using ajaxformcomponentupdatingbehavior which is made
specifically for updating components. nothing is stopping you from
using ajaxeventbehavior to bypass default form processing and do
whatever you want however you want.
what we offer here are the defaults, they do not use any special
I'm not sure who maintains GMap2 (Martin F?) - but I just created a class
that allows me to show an info window when a GMarker is clicked. This could
actually be abstracted to allow other calls on a GMarker fairly easily.
Two questions:
1 - is there a better way already built in? (I couldn't
Hi,
I recently developed a component that displays a chart generated from
JFreeChart and includes the associated image map that allows the chart to
generate tooltips and respond to user clicks, via an Ajax link. I thought
this maybe useful to other people so I've included the files here.
To use
Thanks jwcarman, thats a very good track. I'll look into it.
jwcarman wrote:
You can use wicketopia's ProxyModelManager, if you want:
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/model/proxy/ProxyModelManager.java
This way, you
I have a search page that lets the use enter the search term in a
TextField and select the field to search with a DDC. Using
onSelectionChanged I am able to create a new TextField pointing to the
new model that was selected in the DDC and everything works as expected.
However, if I do not want to
So, for example, to disable the second toolbar row you can overwrite the
toJavaScript method of the TinyMCESettings object and do something like
Thanx,
Seems just the right approach.
The toJavaScript way will allow me to do even further customizations.
Kind regards:
al_shopov
В 17:27 +0100 на 27.10.2008 (пн), Nino Saturnino Martinez Vazquez Wael
написа:
Theres also the object auto complete in wicketstuff...
OK. I will look into both wicketstuff autocomplete and
AutoCompleteTextField.
On retrospect - my question is quite a beginners' one. Apart from Component
47 matches
Mail list logo