Without looking into the wicketstuff-crud project (yes, I'm lazy), can
you please enlighten us a bit? Is Wouters idea below valid and workable
or is he entirely mad!? ;)
Is wicketstuff-crud going about it in an entirely different way?
Matthijs
Igor Vaynberg wrote:
see wicketstuff-crud
Hi *,
i don't know exactly if this question is more a html related then for wicket.
I would like to open a new window centered after click on a link. Can and if
how can i do this?
Thanks for your help
Per
-
To unsubscribe,
I think it is still not possible to include (L)GPL based dependencies
in Apache software: the cannonical list [1] doesn't show GPL v3 as
being acceptible. Furthermore, the *or newer* clause does not GPL v3
make.
The default gettext translations /are/ IMO GPL, as they are supplied
by gettext.
Any thoughts on the viability of this approach? Any alternative approaches?
Sounds complicated. But if you want to preserve the markup of your
source file, using xsl might be the way to go.
An alternative or additional tech is to create custom wicket tag
handles (e.g. to handle
i don't know exactly if this question is more a html related then for wicket.
I would like to open a new window centered after click on a link. Can and if
how can i do this?
I don't know exactly from the top of my head, but I think you'd do
this with Javascript.
Eelco
Okay, I took a look at the the ws-crud project and I think the main
difference is that ws-crud works on a flat list of properties, so you
can use a listview to add panels that are appropriate for the type of
property you want to crud (TextEditor etc), whereas what we want to do
is deeply
Eelco Hillenius wrote:
Any thoughts on the viability of this approach? Any alternative approaches?
Sounds complicated. But if you want to preserve the markup of your
source file, using xsl might be the way to go.
An alternative or additional tech is to create custom wicket tag
handles
I don't understand why ExternalLink doesn't store the external href as
the model. It stores it in an href property. It seems to not follow
the normal wicket way.
This makes it difficult to do things like display a link only if the
model is not null. For instance:
add(new ExternalLink(web, new
I don't know exactly from the top of my head, but I think you'd do
this with Javascript.
Ahh ok. I found an example here:
http://www.boutell.com/newfaq/creating/windowcenter.html
Where do i have store the java scripts i want to use oftenly? I expected that
Page.class would provide it out of
Please add a feature request to the JIRA.
Martijn
On 9/26/07, Tauren Mills [EMAIL PROTECTED] wrote:
I don't understand why ExternalLink doesn't store the external href as
the model. It stores it in an href property. It seems to not follow
the normal wicket way.
This makes it difficult to
Igor,
What are my chances of getting setVisible, setEnabled, add, addOrReplace and
remove, removeAll made non-final?
I'd like to hook into them to track dirty components... The best alternative
I've come up with so far is to iterate through all the components and keep a
copy of their old state
Also, are you sure everything on you page and in session is serializable?
-Matej
On 9/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I am having trouble with a wicket application returning page expired when
any
link or button is clicked on. When the application is deployed on a server
Best to use your own thread for a new request...
Anyway, when you say get something, do you mean that you see a
feedback message on the web page, as that's what I'd expect your
form's onSubmit() to result in.
The [EMAIL PROTECTED] is the result of
toString() being called on your
That's exactly my problem. The Wicket projects I work on usually
consists of many Wicket pages, which include panels, which include
fragments.
I know that you can include all the css references in the head of every
Wicket page or panel page, and that you can view only that component
with the
Per Newgro wrote:
I don't know exactly from the top of my head, but I think you'd do
this with Javascript.
Ahh ok. I found an example here:
http://www.boutell.com/newfaq/creating/windowcenter.html
Where do i have store the java scripts i want to use oftenly? I expected that
Page.class would
* James McLaughlin:
Hi,
Hacking away at some tests, I figured the proper way to test an
AjaxSubmitLink would have been as follows:
Panel p = tester.startPanel(EventPanel.class);
FormTester ft = tester.newFormTester(p.getId() + :eventForm);
ft.setValue(messageField,
i use tomcat .But have the same problem.i used iframe in a page.,and
when i click several times,it's 'page expired'.it puzzled me all the
time.
2007/9/20, Swaroop Belur [EMAIL PROTECTED]:
We are facing the same problem here - but its only with jetty and not with
tomcat.
After a re login
Thanks that helps alot
Cheers
Per
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jason Mihalick wrote:
Thanks for the tip. That worked! That was too easy. :-)
It's possible update the image in a more smooth manner (to avoid
blinking). Java part:
target.appendJavascript(refreshImage(document.getElementById('
+ graphImage.getMarkupId() + ')););
And the
Hi, sorry to ask questions again
I have a WizardPage, got 2 questions don't really know how to solve,
My WizardPage is like
public class AddDeliveryWizardPage extends AbstractExamplePage{
public AddDeliveryWizardPage(){
super();
Can any one give me a pointer or 2 on how to download a file from a wicket page?
I have a LinkTree representing a directory tree which is lazy loaded via ajax.
When the user clicks on a file node I need to download the file to them.
However the file is stored with a different name (allows for
raybristol wrote:
My WizardPage is like
public class AddDeliveryWizardPage extends AbstractExamplePage{
public AddDeliveryWizardPage(){
super();
WizardModel model = new WizardModel();
int numberOfBoxes
Hello Ian,
I think DownLoadLink (
http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/markup/html/link/DownloadLink.html
) is what you need.
Regards,
Roland
On 9/26/07, Ian Godman [EMAIL PROTECTED] wrote:
Can any one give me a pointer or 2 on how to download a file from a wicket
Eelco,
Meant to say we have our first case where we want a component to update
because the model has changed. It is a field that only gets updated on the
server not directly through an HTML form... Since it is only one so far a
hand coded Dirty.mark(this) is not too evil.
Sorry, talking to
I'm brand new to Wicket - trying to see if I can re-design some web
applications to use this framework. A couple of questions have come up
right at the beginning - I'll start with the simple one
1) Code layout - In my existing system, I have code separated into a
number of different
hi, anybody have the idea...
my problem here is i want to retrieve few .txt file from one directory. And
all the content i store in the arraylist in order to display in table
structure.
The transitional way, once u retrieve the content, normally we will insert
into database and then retrieve
On 9/26/07, Neil B. Cohen [EMAIL PROTECTED] wrote:
to be all in one package. But does that mean pairs of java/html files
have to be together
Yes, unless you don't want it to, but then you have to resort to other
tricks (enough examples regarding that on this list).
The easiest way to start
Thansk very much, love this forum! got a reply so prompt!
Andrew Klochkov wrote:
raybristol wrote:
My WizardPage is like
public class AddDeliveryWizardPage extends AbstractExamplePage{
public AddDeliveryWizardPage(){
super();
Martijn Dashorst wrote:
On 9/26/07, Neil B. Cohen [EMAIL PROTECTED] wrote:
to be all in one package. But does that mean pairs of java/html files
have to be together
Yes, unless you don't want it to, but then you have to resort to other
tricks (enough examples regarding that on this
On Wednesday, September 26, 2007, 12:47:54 PM, Neil [EMAIL PROTECTED] wrote:
I'm brand new to Wicket - trying to see if I can re-design some web
applications to use this framework. A couple of questions have come up
right at the beginning - I'll start with the simple one
1) Code layout
On 9/26/07, Neil B. Cohen [EMAIL PROTECTED] wrote:
That makes sense - but if I have data model objects like 'User.java'
which are used by multiple pages, then it would seem that all the pages
(and all the related data model objects) have to end up in the same
package with 'User' - yes? Or am I
Martijn Dashorst wrote:
On 9/26/07, Neil B. Cohen [EMAIL PROTECTED] wrote:
That makes sense - but if I have data model objects like 'User.java'
which are used by multiple pages, then it would seem that all the pages
(and all the related data model objects) have to end up in the same
package
Hello. Is there a simple way to log all the object which has been
serialized by wicket?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The home page gets displayed and the only 2 things on the page are links to
other pages. One of the links goes to a page with 2 TextFields, 2
DatePickers, and a button. The other page has fields to capture typical
credit card information. The form for this page has a Spring service but it
does
On 9/26/07, Meddle Smeddle [EMAIL PROTECTED] wrote:
Hello. Is there a simple way to log all the object which has been
serialized by wicket?
What do you want to see of those objects? Why do you want to see it?
There is a check that logs exactly which objects *failed* to be serialized.
these are all sensitive methods where an override can break a contract, so i
dont know what your chances are. the thing to do is to create a jira issue
and then we can discuss/vote on it on the list.
personally i do not like making add/remove nonfinal, but maybe we can
provide additional hooks. i
Thanks for the push in the right direction. I believe we have the problem
solved. We needed to add a session-descriptor in the weblogic.xml file.
session-param
param-namePersistentStoreType/param-name
param-valuereplicated_if_clustered/param-value
https://issues.apache.org/jira/browse/WICKET-1012
Cheers Igor
igor.vaynberg wrote:
these are all sensitive methods where an override can break a contract, so
i
dont know what your chances are. the thing to do is to create a jira issue
and then we can discuss/vote on it on the list.
I use 1.2.6.
Migrating the whole app will last for some time.
I´ll post feedback when its done
--
View this message in context:
http://www.nabble.com/Ajax-Problem-on-Page-with-IFRAME-tf4487902.html#a12902743
Sent from the Wicket - User mailing list archive at Nabble.com.
we already have a change recorder on a page for its components, all
the methods you mention should also call that.
Then it can also be
made much more fail prove because a component should just 'fire' call
the change method. because state is not just those what you mention
but could be anything
On
I think you misunderstood me. As a CSS selector,
'#quantity.noOfUnits1232' means the element with ID 'quantity' and
class 'noOfUnits1232', while the selector '#quantity\.noOfUnits1232'
refers to an element with a period in its HTML ID. If JQuery cannot
handle a reference to an HTML ID with
Amigos:
I know this questions has been asked before, but maybe with Wicket 1.3 there
is a different solution (or maybe someone can dumb down the explanation). I
have implemented a custom resource locator for the html files in Wicket a la
Wiki example. Basically, I strip the prefix
It's potentially confusing because, right now, a markup id is based
on the untranslated component id and the underscore is used as a
hierarchy separator. To use the underscore for this secondary purpose
makes it more difficult to predict the markup id. Whether or not
someone *should* be
yep, a nicer way to support this might be to add recordenablechange, record
visibilitychange to version manager interface
-igor
On 9/26/07, Johan Compagner [EMAIL PROTECTED] wrote:
we already have a change recorder on a page for its components, all
the methods you mention should also call
Hi all,
Teachscape is looking to hire a (Junior) Software Engineer to work in
our downtown New York office. We work with cutting edge technology and
frameworks, such as Java 5, Wicket, Spring, Hibernate, J2ME, Lucene
and Jetty, to deliver professional development to teachers online.
Please drop
Nevermind. Eclipse was not publishing the image to the exploded web app in
Apache. Once I manually added the image the program worked accordingly.
- rm3
robert.mcguinness wrote:
Amigos:
I know this questions has been asked before, but maybe with Wicket 1.3
there is a different
I have looked at the DownloadLink class and it does seem to do what i need.
The issue I have now is that I am using a link tree which uses ajax to load the
directory contents as the tree is traversed. This works fine.
What I think I need to do is change the behavior of the tree node for the
That is wrong! In wicket-1.3.x branch the underscore is not used as a
hierarchy separator. It was used before the 1.3.x branch. Take a look on
generated id's..
Ryan Holmes wrote:
..and the underscore is used as a hierarchy separator.
--
View this message in context:
Why would you need to predict the id? That is the point - you should not rely
on generated id, all you know that it is unique. If you want to be sure what
is the id, just override the Component#getMarkupId()...
Ryan Holmes wrote:
I think a simple and predictable markup id generation scheme
Dave,
There is a difference in how items are displayed and how submits/links are
to be performed. There are cases where a HTTP page has a form that is to be
submitted via HTTPS. And furthermore, when an Page is to be displayed via
HTTPS, not all items (images,resources) are to be served via
That's correct. But do you understand what is the overhead of parsing each
markup Id and to escape the '.' on the clientside? I agree that the '.'
character is a valid HTML ID, but it would be also valid if the period would
be replaced with another character (for instance underscore).
Ryan
On 9/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
yep, a nicer way to support this might be to add recordenablechange, record
visibilitychange to version manager interface
I have very mixed feelings about this as well. Maybe we're too
spastic/ protective sometimes. Another way of going about
I disagree. We need to keep an eye out for those that begin to use the
framework. We have seen enough people that randomly start to override
methods just to work around some perceived wall that typically isn't
there if they actually thought about their problem in the first place.
I am glad we are
On 9/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
I disagree. We need to keep an eye out for those that begin to use the
framework. We have seen enough people that randomly start to override
methods just to work around some perceived wall that typically isn't
there if they actually thought
Got it!
Sorry about not starting a new thread. I thought I had deleted all previous
content.
On 9/26/07 4:24 AM, Gwyn Evans [EMAIL PROTECTED] wrote:
Best to use your own thread for a new request...
Anyway, when you say get something, do you mean that you see a
feedback message on the web
(see below)
On 9/25/07, David Leangen [EMAIL PROTECTED] wrote:
I'm interested in this problem, too... question below.
Then what I did was I installed Tortoise SVN and Apache Web Server (not
Tomcat) on the designers machine. Also on their machine, I created a
wwwroot/myproject directory
Hello Ian,
you will need to override newNodeComponent(final String id, final
IModel model) on the LinkTree to return your own panel with the
downloadlink for the nodes which should trigger a download and
super.newNodeComponent... for all others.
regards,
roland
On 9/26/07, Ian Godman [EMAIL
but this discussion is not just about getter/setters (i don't care about
those)
but also for add and remove.. then we are getting into some other stuff
johan
On 9/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 9/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
I disagree. We need to
On 9/26/07, Johan Compagner [EMAIL PROTECTED] wrote:
but this discussion is not just about getter/setters (i don't care about
those)
but also for add and remove.. then we are getting into some other stuff
Yes. Getters/ setters are less tricky. Though I'm still not breaking
in sweat when I
Wicket-1.3.0-SNAPSHOT
When I call ModalWindow#close() using an ajax button in my modal window's
page, I'm getting an error in the AJAX debug, and the window doesn't
close. It looks like someone else has already encountered this issue:
https://issues.apache.org/jira/browse/WICKET-1003
I posted
Hi Martijn,
Op woensdag 26-09-2007 om 08:49 uur [tijdzone +0200], schreef Martijn Dashorst:
I think it is still not possible to include (L)GPL based dependencies
in Apache software: the cannonical list [1] doesn't show GPL v3 as
being acceptible.
Maybe this thread will convince you that the
Thanks to all.
Finally I solve it by calling the getRawInput.
Thanks anyways guys.
f(t)
On 9/26/07, Kent Tong [EMAIL PROTECTED] wrote:
Francisco Diaz Trepat - gmail wrote:
What it is happening is that because of some fields are invalid (Empty)
I
cannot get to the selected option of
On 9/26/07, Reinout van Schouwen [EMAIL PROTECTED] wrote:
Maybe this thread will convince you that the Apache License and LGPLv3
are perfectly mixable without requiring the end result to be released
under LGPL:
http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200706.mbox/browser
I had the same problem today after getting an updated snapshot from today.
None of my Modal Windows that had panel with Forms on them would close any
longer.
My investigation found that the update to wicket-ajax.js is the culprit.
Revision 579593 to be specific.
Shoot. Sorry, that was indeed my fault. Will fix ASAP.
-Matej
On 9/27/07, donhass [EMAIL PROTECTED] wrote:
I had the same problem today after getting an updated snapshot from today.
None of my Modal Windows that had panel with Forms on them would close any
longer.
My investigation found
No problem, just glad I was finally able to find the critter today since it
had just happened at the same time I did some major refactoring of how I do
modals in my project. I blamed my code for the first part of the day...
then I found out it was you. snicker
Thanks... I will watch for an
Can you please update and try current trunk? (or wait for another snapshot)
It should be fixed. Thanks for spotting this.
-Matej
On 9/27/07, Don Hass [EMAIL PROTECTED] wrote:
No problem, just glad I was finally able to find the critter today since it
had just happened at the same time I did
Hi Al,
the Portuguese (pt_BR) translation of the error message is:
'${input}' não é uma URL válida.
I can complete/review the existing pt_BR translations if needed... Please
let me know if this is the case.
Regards,
Cristina
Alastair Maw-2 wrote:
[...]
We're unfortunately lacking
On 9/26/07, Cristina [EMAIL PROTECTED] wrote:
Hi Al,
the Portuguese (pt_BR) translation of the error message is:
'${input}' não é uma URL válida.
I can complete/review the existing pt_BR translations if needed... Please
let me know if this is the case.
That would be very welcome. Thanks,
Hi, Doug.
Most of my clients do not want to have trivial resources (js,
css, images)
fetched via HTTPS. This creates an undo burden on the SSL pipe and
ultimately affects performance, user experience, and capacity planning.
While this is trivial for a 100 user site with 1 txn/sec, this
It is mapped to an app and not to the root. The directories I listed
are in the war file, but I tried to access them with
http://localhost/myapp/...
Kent Tong wrote:
Adam Koch wrote:
In fact, I couldn't get the JS/CSS in any way when using the servlet. I
tried putting the JS in
On 26 Sep 2007, at 12:26, Doug Leeper wrote:
- All images and resource links are to be accessed via HTTP
irregardless if
the page itself is to be displayed in HTTP/HTTPS
Most browsers will complain when non-secure elements are included on
a secured page.
This page contains both
Adam Koch wrote:
It is mapped to an app and not to the root. The directories I listed
are in the war file, but I tried to access them with
http://localhost/myapp/ ...
Then I'd suggest you:
1) deploy your app in Tomcat to see if it works.
2) file a jira issue and upload a bare minimal
Martijn,
Will do.
In the meantime, anyone have suggestions how to create a link to an
external web page that is only visible if the model is not null?
Thanks,
Tauren
On 9/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
Please add a feature request to the JIRA.
Martijn
On 9/26/07, Tauren
Apologies for reviving a dead thread, but I'm having the issues
discussed below and don't entirely understand the proposed
solutions. In my case I have a form with multiple TextFields each of
which is required. Using the common suggestion of:
Use a keep-alive SSL connection. This amortizes the SSL handshake cost over
the entire page (or more). If the keep alive is long enough, say 1-5 mins,
then common ajax should be included in there as well.
The other thing to do is to ask for off screen downloads of cached
css/images in the
In the meantime, anyone have suggestions how to create a link to an
external web page that is only visible if the model is not null?
class MyExternalLink extends ExternalLink {
constructors
public boolean isVisible() {
return getModelObject() != null;
}
}
Eelco
On 9/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Apologies for reviving a dead thread, but I'm having the issues
discussed below and don't entirely understand the proposed
solutions. In my case I have a form with multiple TextFields each of
which is required. Using the common
Eelco,
Thanks. I was trying to do it as an anonymous class, but your idea is
simpler. Here's what I ended up with:
public class HidingExternalLink extends ExternalLink {
private static final long serialVersionUID = 1L;
public HidingExternalLink(final String id, final String
Anonymous class would be fine if you just pick one of the constructors.
Eelco
On 9/26/07, Tauren Mills [EMAIL PROTECTED] wrote:
Eelco,
Thanks. I was trying to do it as an anonymous class, but your idea is
simpler. Here's what I ended up with:
public class HidingExternalLink extends
And perhaps post the contents of your web.xml?
Did you map to /app or /app/* ?
Martijn
On 9/27/07, Adam A. Koch [EMAIL PROTECTED] wrote:
It is mapped to an app and not to the root. The directories I listed are in
the war file, but I tried to access them with http://localhost/myapp/...
81 matches
Mail list logo