I think this can be achived most easily with two requests. Create a
class called ExternalPanel that displays a page that redirects to the
servlet. Like this:
public class ExternalPanel extends Panel {
public ExternalPanel(String id, String url) {
super(id);
add(new
To me the problem seems to be related to the hybridUrlCoding strategy (where
the same page instance is reloaded when the user tries to open up a new
tab/window by doing right-click on AjaxLink) and the DataView which gets
re-rendered everytime (irrespective of the urlcodingstrategy), resulting in
Hello everybody,
Do you know if there is a way to make contextual the list of
autocompletTextfield that is to say to make it relative to other fields that
are in the form ?
Actually i have two Fields, Town and ZipCode and when there are filled, my
autoCompleteTextField must display the list of
Hi,
Is there a way to know if a request is a POST or GET in WebPage?
TQ
--
View this message in context:
http://www.nabble.com/POST-or-GET-Request-tp18108556p18108556.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Are you referring to something like
http://issues.apache.org/jira/browse/WICKET-488?
-Original Message-
From: Bertrand DATAS [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2008 4:21 AM
To: users@wicket.apache.org
Subject: Contextual autoCompleteTextField
Hello everybody,
Do you
More info:
- Error appears only once in a session
- When it appears it never happen again in the same session
- Only appear when the pageMapName was not set for the second ModalWindow
I thought that setPageMapName is not a mandatory, isn't it?
Artur
--
View this message in context:
Not really because i dont want to use the onselect of this component but to
use the content of two other fields to construct the list that will be
displayed in my AutoCompleteTextField.
2008/6/25 Hoover, William [EMAIL PROTECTED]:
Are you referring to something like
Hi,
After reviewing some discussion regarding the issue.
http://issues.apache.org/jira/browse/WICKET-696
and
http://www.mail-archive.com/[EMAIL PROTECTED]/msg30288.html
What is the conclusion?
Is the original page being mapped or no?
thanks
--
Eyal Golan
[EMAIL PROTECTED]
Visit:
Hi all,
I've got wicket 1.4-m2 based application running on two different network
hosts configured as Tomcat 6 Simple TCP cluster.
I try to simulate failover with session replication using the following
schema:
1) Log into the first server, store some info in HTTP session
2) Access mounted page
Any chance you can try it with latest trunk?
-Matej
On Wed, Jun 25, 2008 at 3:18 PM, Artem D. [EMAIL PROTECTED] wrote:
Hi all,
I've got wicket 1.4-m2 based application running on two different network
hosts configured as Tomcat 6 Simple TCP cluster.
I try to simulate failover with session
Hi Thomas,
Using the row model worked. I changed the value of the text box with data
from the domain object in the row model, and set that as the target and
bingo!
Thank you for your help.
Jim
--
View this message in context:
Hi,
I found out - through a lot of trial and error - that if your .html
file has a Byte Order Mark, the ?xml encoding=utf-8 ? at the top
of the document is ignored.
The document is treated as something else - I'm not sure what.
The effect is that the special output characters become the ?
unknown
What is stopping you from using the models from the other fields when
constructing your list?
-Original Message-
From: Bertrand DATAS [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2008 8:05 AM
To: users@wicket.apache.org
Subject: Re: Contextual autoCompleteTextField
Not really
Just tried with 1.4-SNAPSHOT.
Same exception but different line in the DiskPageStore.java
SEVERE: Manager [localhost#/mas]: Unable to receive message through TCP
channel
java.lang.IllegalArgumentException: Unknown object type null
at
use restartresponseexception instead
-igor
On Wed, Jun 25, 2008 at 5:36 AM, Eyal Golan [EMAIL PROTECTED] wrote:
Hi,
After reviewing some discussion regarding the issue.
http://issues.apache.org/jira/browse/WICKET-696
and
http://www.mail-archive.com/[EMAIL PROTECTED]/msg30288.html
What is
Well in a production situation there would be one host name used and
failover would just change which server the requests to that host name
get routed to. In that scenario the same cookies would be used so no
problem.
You should be able to use some trickery in your hosts file to mimic
this. Add a
yes i could do like that but my field are generated in a listview so how can
I retrieve them ??
2008/6/25 Hoover, William [EMAIL PROTECTED]:
What is stopping you from using the models from the other fields when
constructing your list?
-Original Message-
From: Bertrand DATAS
It works very well, thanks ;)
Igor Vaynberg a écrit :
i think this maven archetype might be what you are looking for
http://www.wicketstuff.org/teamcity/viewType.html?buildTypeId=bt17
-igor
On Tue, Jun 24, 2008 at 8:29 AM, Piller Sébastien [EMAIL PROTECTED] wrote:
Hello guys,
I'm
Just tested you suggestion - it works like a charm!
Thanks for your help!
Artem.
lzappaterrini wrote:
Well in a production situation there would be one host name used and
failover would just change which server the requests to that host name
get routed to. In that scenario the same
Hey guys. I have a small problem. I have a group of textfields that are
created on the fly from the database by using a panel. All of the textfields
use modal windows as popups to populate them with data except for 2. These 2
are manually filled in my the user. All of the textfields are in a
either dont repaint them, or pass their values to the server along
with that ajax request like AjaxFormComponentUpdatingBehavior does.
-igor
On Wed, Jun 25, 2008 at 7:46 AM, taygolf [EMAIL PROTECTED] wrote:
Hey guys. I have a small problem. I have a group of textfields that are
created on the
Thanks, again, Igor. I'm certain that getGroupMemberships() is
returning good data, so it seems the listview isn't refreshing. I'll
play around with it some more. Thanks for the help. I'll let you
know if/when I find a solution.
Ryan
On Jun 24, 2008, at 5:01 PM, Igor Vaynberg wrote:
Did you try searching the wiki about this?
http://cwiki.apache.org/WICKET/uploaddownload.html
There might be more...
V. Jenks wrote:
I'm having non-stop issues w/ DynamicWebResource and trying to load images
external to my .ear deployment now that I've moved to 1.3. First off, I'm
hoping
why not just create a dead simple servlet that streams images? in fact
there are tons of them online you can just take. it is a much simpler
solution then dealing with wicket's resources for this particular
usecase.
-igor
On Wed, Jun 25, 2008 at 7:59 AM, V. Jenks [EMAIL PROTECTED] wrote:
I'm
Ha! The author of that article is the guy who gave me that very same code
here on the mailing list. Look through the code I posted and you'll see the
similarities - it's literally unchanged.
However, as I described - it's not working now that I have to use a Wicket
Filter in 1.3.
If you need the components:
final ListFormComponent yourViewFormComponents = new
ArrayListFormComponent();
final IteratorWebMarkupContainer items = yourView.iterator();
if (items != null) {
while (items.hasNext()) {
items.next().visitChildren(new Component.IVisitor() {
Hi,
I'm using Wicket together with Spring and Hibernate. And it's quite common,
I think, to use an OpenSessionInViewFilter and a LoadableDetachableModel
which wraps the domain objects loaded with Hibernate, so that when the model
is detached it only holds the ID of the domain object and when its
I'd say either enable transactions only for write operations or put all
together in one transaction (i.e. don't let hibernate flush the session
before you did your backend checks) ...
cretzel wrote:
Hi,
I'm using Wicket together with Spring and Hibernate. And it's quite
common, I think,
Hi!
I get this error when trying to make a bookmarkable page.
java.lang.IllegalArgumentException: Too many path parts, please provide
sufficient number of path parameter names
This is my mouting, mount(new MixedParamUrlCodingStrategy(ItemInterceptor,
ItemInterceptor.class,new String[]{}));
I believe there was a post on this not too many weeks ago, you can use
nabble to search for it. Something about serving images or something
along those lines...
ps I didnt realize that the source you posted were the same...Was a
quick mail..
V. Jenks wrote:
Thanks Igor, I'll look into this
you could take a look at blog tutorial(wiki) or wicket iolite(wicket
stuff)...
cretzel wrote:
Hi,
I'm using Wicket together with Spring and Hibernate. And it's quite common,
I think, to use an OpenSessionInViewFilter and a LoadableDetachableModel
which wraps the domain objects loaded with
Ok I will try that but I am not sure that model object will be updated with
the new data entered by the when I want to populate the list of my
AutoCompleteTextField. Oh may be i can update it in the onChange of all my
fields (this will add network traffic but i don't know how to make it
better).
map a form to a bean and apply the changes to the entity yourself
or do all validation via I(Form)Validators
-igor
On Wed, Jun 25, 2008 at 8:51 AM, cretzel [EMAIL PROTECTED] wrote:
Hi,
I'm using Wicket together with Spring and Hibernate. And it's quite common,
I think, to use an
No problem, please say if you have any RFE's:)
I know that packages arent being generated but dont know howto do it any
better when doing a multi project archetype...
Piller Sébastien wrote:
It works very well, thanks ;)
Igor Vaynberg a écrit :
i think this maven archetype might be what
On Wed, Jun 25, 2008 at 9:51 PM, Brill Pappin [EMAIL PROTECTED] wrote:
I think it might be your browser that is not displaying the unicode chars.
That you see the odd symbols at all means that the made it to the client
side.
Are you on a Mac?
Hi! Thanks for the reply.
No, I'm on Firefox 3
I'm on Wicket 1.3.3 and am experiencing problems with multipart content
on Safari and IE. The backend page receiving the image processes it just
fine and returns a response like this:
RequestCycle.get().setRequestTarget(new IRequestTarget() {
public void
response not being multipart? wasnt aware there was such a thing...
-igor
On Wed, Jun 25, 2008 at 11:24 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
I'm on Wicket 1.3.3 and am experiencing problems with multipart content
on Safari and IE. The backend page receiving the image processes it just
Not sure what you mean by BOM (Bill Of Materials?)
However I have seen something odd with documents there were generated
on a Mac with little ? in various places.
- Brill Pappin
On 25-Jun-08, at 2:22 PM, Miguel Paraz wrote:
On Wed, Jun 25, 2008 at 9:51 PM, Brill Pappin [EMAIL PROTECTED]
Just ran into the exception again:
java.lang.IllegalStateException: ServletRequest does not contain
multipart content
at
org.apache.wicket.protocol.http.servlet.MultipartServletWebRequest.init
(MultipartServletWebRequest.java:90)
at
One little question:
why isn't there some *.hbm.xml? How is the mapping between pojo and db
done?
Is it possible to use *.hbm.xml with this exemple? They are already
writted, and I would like to use them?
Could you point me to a direction?
Thanks!
Nino Saturnino Martinez Vazquez Wael a
are you submitting the form via ajax?
-igor
On Wed, Jun 25, 2008 at 12:09 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Just ran into the exception again:
java.lang.IllegalStateException: ServletRequest does not contain
multipart content
at
Hi,
if your editor prefixes your templates with a BOM(1), Wicket is not able
to recognize the encoding in your xml declaration, see
org.apache.wicket.util.io.XmlReader#xmlDecl .
You might want to create a JIRA request, that Wicket should skip a
leading BOM in the encoding detection.
doesnt jquery use an iframe? so it is not submitted via ajax...
-igor
On Wed, Jun 25, 2008 at 1:27 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Yeah, remember I build it around jQuery according to that link you sent
me - not using Wicket for the upload only for bouncing back the
response.
Yes, that's true - it IS using a dynamic iFrame. Again, the *submition*
process works just fine and I get the data on the backend. What's
causing the problem is the data being returned and the IE/Safari for
some reason not liking 'text/javascript' as a content type anymore.
Something has changed
I think that MixedParamUrlCodingStrategy is expecting you to specify at
least one parameter - Are you sure you don't want HybridUrlCodingStrategy?
/Gwyn
On Wed, Jun 25, 2008 at 5:18 PM, Mathias P.W Nilsson [EMAIL PROTECTED]
wrote:
Hi!
I get this error when trying to make a bookmarkable
that is because this is a response to a regular request. i do not see
how that could have ever worked. you cant just write text/javascript
into the browser and expect it to do anything, that is the same as
putting foo.com/bar.js link in the address bar, what happens? you just
view the file.
what
No, I'm not sure. I just want to make my urls google friendly. And tried some
strategies.
Do you have a better solution for making urls google friendly?
--
View this message in context:
http://www.nabble.com/Trying-to-make-bookmarkablelink-tp18115889p18124088.html
Sent from the Wicket - User
My wicket app is mounted on / (for various reasons). However, my
server is behind a proxy, which means that from the outside, I can only
view pages that have a certain path (also desired behaviour for various
reasons).
Problem: when submitting a form, the URL shows up as something like:
solution is to either fix the firewall or use a /foo/* mapping
-igor
On Wed, Jun 25, 2008 at 5:22 PM, David Leangen [EMAIL PROTECTED] wrote:
My wicket app is mounted on / (for various reasons). However, my
server is behind a proxy, which means that from the outside, I can only
view pages
Hey, Igor,
Problem: when submitting a form, the URL shows up as something like:
http://localhost:8080/?wicket:interface=:0:1:::
This works behind the firewall, but will not work from outside.
Is my only solution to use bookmarkable pages (with all the implications
of parsing
so why are the /?wicket:interface urls interfering with that?
-igor
On Wed, Jun 25, 2008 at 8:27 PM, David Leangen [EMAIL PROTECTED] wrote:
you can roll your own webrequest coding strategy. But then you are on your
own.
Cool. Thanks!
The problem here is that you map wicket to a URL
51 matches
Mail list logo