Hi
Is it possible to update the content of an modal window via ajax, I seem
to have sometrouble with at form and ajaxformcomponent updating behavior..
It's attached to a dropdown and triggered by onchange, and when I select
something in the dropdown I get a popup(this is obviously not what I
Hmm, my bad..
forgot to set outputmarkupid on a component, which resulted in this,
since I got an exception from wicket.
Nino Saturnino Martinez Vazquez Wael wrote:
Hi
Is it possible to update the content of an modal window via ajax, I
seem to have sometrouble with at form and
Hmm, could you give a little more detail why you need to use
response.write directly? why not use a label etc...
刘涛 wrote:
Hello guys,
How can I use response.write() to response Chinese character??
The code:
Response response = request.getResponse();
hi,
I am trying to use an ajax lazy load panel.
However when it tries to render the content panel I get an
IllegalArgumentException which is caused when wicket tries to resolve the
url of a resource that the panel inside the lazy load panel. I have traced
the error to inside some tomcat code
Hello,
im currently the only one on it, and I have very short time currently.
wicketstuff-YUI is currently at 2.4.1, but 2.5 is a problem as they had
some api-changes, which means it isnt a drop in replacement. The trouble
is IMHO that they (YUI) havent made their homework first by completing
Found myself a partial response at
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html#ControlwhereHTMLfilesareloadedfrom-InWicket1.3
But this only work on my deve environment. When packaged as a war, I'd like
the ResourceStreamLocator to lookup the HTML templates in web
I found a solution to set :
resourceSettings.addResourceFolder( ); // Web Application context
root
Nico.
2008/3/3, nicolas de loof [EMAIL PROTECTED]:
Found myself a partial response at
How do you realize a print version link on pages? Could somebody
sketch
his/her solution, please?
Thanks,
Kaspar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It's actually more simple than that. It's part of the html specification
that you can apply a media type to your css files.
http://www.w3.org/TR/REC-CSS2/media.html#x0
So when you print the page by browser, it's using the specified css for
printing. This has nothing todo with wicket..
I would like to allow the users of my site to choose which language the site
and the content is presented in by kind of prefixing the actual URL with a
virtual subfolder specifying the language. Example:
Let's mount a page:
mount(new IndexedHybridUrlCodingStrategy(/foobar, FooPage.class));
And
Hi,
I have a a HTML-Table with about 500 cells and each cell has one AjaxLink. A
table-cell represents an 10 minute timeslot in a calendar. And when a user
clicks on one timeslot I want to show this timeslot in an an other panel.
This works fine, but the page takes a long time to render in the
I'm trying to implement a popup (via floating DIV) that triggers on an
onmouseover event. Sort of like a tooltip, but with more content. I wanted to
implement this as a behavior so the component with the mouse event (and the
associated markup file) didn't need to have any special knowledge of
I am just really confused by all of this. I do not understand why there is
not a way to get all the form fields onSubmit. There has got to be a way to
just say get all form fields or something. If not can we think about adding
it in the next version. it would make things a lot easier than passing
On Mon, Mar 3, 2008 at 10:01 PM, Joel Hill [EMAIL PROTECTED] wrote:
I'm trying to implement a popup (via floating DIV) that triggers on an
onmouseover event. Sort of like a tooltip, but with more content. I wanted
to implement this as a behavior so the component with the mouse event (and
I have a Form that collects info from the user that is used to dynamically
create a PDF when the form is submitted. Currently, clicking the submit
button creates the PDF and triggers the PDF download using a
ResourceStreamRequestTarget. The problem is that the page with the form is
still
On Mon, Mar 3, 2008 at 5:33 AM, taygolf [EMAIL PROTECTED] wrote:
I am just really confused by all of this. I do not understand why there is
not a way to get all the form fields onSubmit. There has got to be a way to
just say get all form fields or something. If not can we think about adding
With this configuration, this seems to work as I expected :
resourceSettings.addResourceFolder( src/main/webapp );
resourceSettings.addResourceFolder( ); // Web Application context
root
src/main/webapp is used during devs to get page refresh wen HTML template is
edited, is used
Hi igor,
your response demonstrate that Wicket's behaviour is very simple to extend
and it is that I like from wicket. I think that to prevent CSRF attacks is
neccessary to add your random parameter to all requests...it was that I
would like to comment here! To prevent CSRF with a random
Arthur,
Only what you can *prove* matters, not what you think. Have you created an
example application with a CSRF attack?
On Mon, Mar 3, 2008 at 10:42 AM, Arthur Ahiceh [EMAIL PROTECTED]
wrote:
Hi igor,
your response demonstrate that Wicket's behaviour is very simple to extend
and it is
I think I found the problem in my code igor. It seems that I was messing it
all up by setting the panel model to the same model I wanted to pass to the
textfield
TextFieldPanel.java
public TextFieldPanel(String id, PropertyModel pm) {
super(id, pm);
add(new
no, its not like that. yes, wicket will create a new session object,
but if the page is stateless that session object is never actually
saved into httpsession...
you have 20 session active after your tests...do your test cases
always cleanup/invalidate the session? if not then servlet container
It seems that the value for fields that are made invisible because a
surrounding enclosure is actually lost on submit of the form.
Consider the following code:
public class HomePage extends WebPage {
private MyObject myObject;
public HomePage(final PageParameters parameters) {
so you are saying that:
when the page renders none of the fields are shown. after submit,
however, myobject.getfield1() is still field1value but
myobject.getfield2() is null - which implies that textfield2 is still
processed even though it is inside an enclosure that has been hidden?
if so, then
so you are saying that:
when the page renders none of the fields are shown. after submit,
however, myobject.getfield1() is still field1value but
myobject.getfield2() is null - which implies that textfield2 is still
processed even though it is inside an enclosure that has been hidden?
if so, then
Writing a custom converter to convert a phone number from the form entry
(330) 555-1212 to 3305551212 to be stored in the database. That works, but
I'm also trying to convert 3305551212 to (330) 555-1212 to be displayed on
the form. That is not working, convertToString is never called.
Hi there,
We have a regular form with an ajax modal window as popup helper for
populating one of the form fields, looks a bit like a datepicker.
Except the helper produces the form data in a non-trivial manner,
involving server roundtrip.
The field does get populated nicely, but all entries in
Hi people!
I have something which is probably not serializable, some page I
think. As usual a have an exception with output like this
SEVERE: IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException
at
if you are in dev mode it should show you what field of what object
references something that is not serializable in wicket 1.3. check
your logs
-igor
On Mon, Mar 3, 2008 at 3:07 PM, Vitaly Tsaplin [EMAIL PROTECTED] wrote:
Hi people!
I have something which is probably not serializable,
Hi Igor,
This is my log if I got it right... But I don't see any useful info.
..
Mar 3, 2008 11:59:27 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 3, 2008 11:59:27 PM org.apache.catalina.startup.Catalina load
INFO:
Vitaly,
I don't think that means that something's not serializable? I believe
this is where Tomcat is trying to load some sessions out of the
persistent session store. If the objects weren't serializable, they
wouldn't have been written in the first place, right? This can happen
if the
In fact I had another tomcat instance running in parallel. I have
stopped it... but no miracle... I'll try to figure out what changes I
made in my code before it crushed.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Did you delete the session store file?
On 3/3/08, Vitaly Tsaplin [EMAIL PROTECTED] wrote:
In fact I had another tomcat instance running in parallel. I have
stopped it... but no miracle... I'll try to figure out what changes I
made in my code before it crushed.
Have you tried GridView? There's a good example here:
http://www.wicketstuff.org/wicket13/repeater/
On 3/3/08, Ryan [EMAIL PROTECTED] wrote:
I'm having a hard time finding the Wicket way to accomplish a simple 2
column table.
I have a ListString with: { Item 1, Item 2, Item 3, Item 4 }
Are there any projects out there (partial or complete) which add WML support
to Wicket?
Thanks,
Jon
--
View this message in context: http://www.nabble.com/WML-tp15817448p15817448.html
Sent from the Wicket - User mailing list archive at Nabble.com.
That is my next move, I was just wondering if there was a simpler way.
Looking at that example code, its already looks really simple - I was
just being lazy.
Thanks!
Ryan
On Mon, Mar 03, 2008 at 07:10:07PM -0500, James Carman exclaimed:
Have you tried GridView? There's a good example here:
How do you get continueToOriginalDestination() to work using
Wicket-Security? I can get it to work without using Wicket-Security.
Thanks,
Warren Bell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi guys,
Up until now we've been using createComponent on WebPage derivatives to
allow markup to control which components are added to each page at request
time. Now that we're trying to use Ajax components, we've discovered that
this createComponent system doesn't inject the appropriate script
please provide a quickstart for this. it sounds like a bug, having a
quickstart would help...
-igor
On Mon, Mar 3, 2008 at 4:51 PM, Thanatos [EMAIL PROTECTED] wrote:
Hi guys,
Up until now we've been using createComponent on WebPage derivatives to
allow markup to control which components
Hi Igor,
I've created this as
*WICKET-1393https://issues.apache.org/jira/browse/WICKET-1393
* and attached the QuickStart to the issue for you.
Thanks,
Michael
On Tue, Mar 4, 2008 at 12:13 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
please provide a quickstart for this. it sounds like a bug,
great, thanks
-igor
On Mon, Mar 3, 2008 at 6:25 PM, Thanatos [EMAIL PROTECTED] wrote:
Hi Igor,
I've created this as
*WICKET-1393https://issues.apache.org/jira/browse/WICKET-1393
* and attached the QuickStart to the issue for you.
Thanks,
Michael
On Tue, Mar 4, 2008 at 12:13 PM,
throw new RedirectToInterceptPage(foo);
in foo:
...
continueToOriginalDestination();
On 3/4/08, Warren [EMAIL PROTECTED] wrote:
How do you get continueToOriginalDestination() to work using
Wicket-Security? I can get it to work without using Wicket-Security.
Thanks,
Warren Bell
I can not find the class RedirectToInterceptPage. I know of the method
redirectToInterceptPage(Page page). Are you telling me to write my own class
RedirectToInterceptPage and then throw it? Sorry, I am not following you.
Could you explain?
-Original Message-
From: Martijn Dashorst
No, it is an exception. I don't know the exact name, but press
ctrl-space in your IDE and see if you can find it :)
RTIPEctrl-space
Martijn
On 3/4/08, Warren [EMAIL PROTECTED] wrote:
I can not find the class RedirectToInterceptPage. I know of the method
redirectToInterceptPage(Page page).
The following gives the right output for num. So I'm thinking the problem is
somewhere in the converter or I need sleep.
NumberFormat format = NumberFormat.getInstance(Locale.FRENCH);
String str = format.format(new BigDecimal(3000));
Number num = format.parse(str);
I am using embded jetty (a modified version of Start), and have not set
anything special for handling of UTF-8. Perhaps this is what I am missing?
I also experience this problem with Russian, however the example at
http://www.wicketstuff.org/wicket13/forminput/
does not have this problem for
I have the following
private class I18nForm extends Form {
public I18nForm(String id) {
super(id, new CompoundPropertyModel(new TestModel()));
add(new RequiredTextField(bigDecimalProperty));
add(new Button(saveButton));
}
}
This
46 matches
Mail list logo