Re: how to add dynamically typed form components?

2007-09-26 Thread Matthijs Wensveen
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

Howto center new window on screen?

2007-09-26 Thread Per Newgro
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,

Re: Calling all translators - UrlValidator translation

2007-09-26 Thread 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. Furthermore, the *or newer* clause does not GPL v3 make. The default gettext translations /are/ IMO GPL, as they are supplied by gettext.

Re: how to add dynamically typed form components?

2007-09-26 Thread Eelco Hillenius
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

Re: Howto center new window on screen?

2007-09-26 Thread Eelco Hillenius
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

Re: how to add dynamically typed form components?

2007-09-26 Thread Matthijs Wensveen
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

Re: how to add dynamically typed form components?

2007-09-26 Thread Matthijs Wensveen
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

ExternalLink doesn't use model?

2007-09-26 Thread Tauren Mills
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

Re: Howto center new window on screen?

2007-09-26 Thread Per Newgro
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

Re: ExternalLink doesn't use model?

2007-09-26 Thread Martijn Dashorst
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

Re: auto dirty and widget factory

2007-09-26 Thread Sam Hough
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

Re: Page Expired Clustering?

2007-09-26 Thread Matej Knopp
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

Re: FeedbackPanel issue [EMAIL PROTECTED]

2007-09-26 Thread Gwyn Evans
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

Re: [OT] Making it easy for Designers in my Wicket project

2007-09-26 Thread Sjoerd Lohuis
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

Re: Howto center new window on screen?

2007-09-26 Thread Al Maw
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

Re: WicketTester, FormTester, and AjaxSubmitLink

2007-09-26 Thread Jean-Baptiste Quenot
* 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,

Re: Page expiration

2007-09-26 Thread eagle yao
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

Re: Howto center new window on screen?

2007-09-26 Thread Per Newgro
Thanks that helps alot Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Updating a Dynamic Image with AJAX (and JFreeChart)

2007-09-26 Thread Andrew Klochkov
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 questions about Wizard again, thanks!

2007-09-26 Thread raybristol
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();

File downloading with Wicket

2007-09-26 Thread Ian Godman
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

Re: hi questions about Wizard again, thanks!

2007-09-26 Thread Andrew Klochkov
raybristol wrote: My WizardPage is like public class AddDeliveryWizardPage extends AbstractExamplePage{ public AddDeliveryWizardPage(){ super(); WizardModel model = new WizardModel(); int numberOfBoxes

Re: File downloading with Wicket

2007-09-26 Thread Roland Kaercher
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

Re: auto dirty and widget factory

2007-09-26 Thread Sam Hough
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

Code directories

2007-09-26 Thread Neil B. Cohen
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

retrieve a text file's content from C drive and display in table listing

2007-09-26 Thread kenixwong
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

Re: Code directories

2007-09-26 Thread Martijn Dashorst
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

Re: hi questions about Wizard again, thanks!

2007-09-26 Thread raybristol
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();

Re: Code directories

2007-09-26 Thread Neil B. Cohen
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

Re: Code directories

2007-09-26 Thread Gwyn Evans
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

Re: Code directories

2007-09-26 Thread Martijn Dashorst
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

Re: Code directories

2007-09-26 Thread Neil B. Cohen
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

How to log the serialization of object in wicket

2007-09-26 Thread Meddle Smeddle
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]

Re: Page Expired Clustering?

2007-09-26 Thread Bushby
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

Re: How to log the serialization of object in wicket

2007-09-26 Thread Martijn Dashorst
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.

Re: auto dirty and widget factory

2007-09-26 Thread Igor Vaynberg
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

Re: Page Expired Clustering?

2007-09-26 Thread Bushby
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

Re: auto dirty and widget factory

2007-09-26 Thread Sam Hough
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.

Re: Ajax Problem on Page with IFRAME

2007-09-26 Thread SantiagoA
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.

Re: auto dirty and widget factory

2007-09-26 Thread Johan Compagner
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

Re: [RFE] getMarkupId()

2007-09-26 Thread Ryan Holmes
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

Reference to Image in CSS

2007-09-26 Thread robert.mcguinness
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

Re: [RFE] getMarkupId()

2007-09-26 Thread Ryan Holmes
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

Re: auto dirty and widget factory

2007-09-26 Thread Igor Vaynberg
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

We are looking for a developer in New York City

2007-09-26 Thread Eelco Hillenius
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

Re: Reference to Image in CSS

2007-09-26 Thread robert.mcguinness
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

Re: File downloading with Wicket

2007-09-26 Thread Ian Godman
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

Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
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:

Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
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

Re: Redirect to HTTPS?

2007-09-26 Thread Doug Leeper
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

Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
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

Re: auto dirty and widget factory

2007-09-26 Thread Eelco Hillenius
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

Re: auto dirty and widget factory

2007-09-26 Thread Martijn Dashorst
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

Re: auto dirty and widget factory

2007-09-26 Thread Eelco Hillenius
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

Re: FeedbackPanel issue [EMAIL PROTECTED]

2007-09-26 Thread mail
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

Re: [OT] Making it easy for Designers in my Wicket project

2007-09-26 Thread Craig Tataryn
(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

Re: File downloading with Wicket

2007-09-26 Thread Roland Kaercher
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

Re: auto dirty and widget factory

2007-09-26 Thread Johan Compagner
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

Re: auto dirty and widget factory

2007-09-26 Thread Eelco Hillenius
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

ModalWindow JS error

2007-09-26 Thread Russell Morrisey
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

Re: Calling all translators - UrlValidator translation

2007-09-26 Thread Reinout van Schouwen
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

Re: Need combo to determine action but validation fails

2007-09-26 Thread Francisco Diaz Trepat - gmail
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

Re: Calling all translators - UrlValidator translation

2007-09-26 Thread Martijn Dashorst
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

Re: ModalWindow JS error

2007-09-26 Thread donhass
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.

Re: ModalWindow JS error

2007-09-26 Thread Matej Knopp
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

Re: ModalWindow JS error

2007-09-26 Thread Don Hass
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

Re: ModalWindow JS error

2007-09-26 Thread Matej Knopp
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

Re: Calling all translators - UrlValidator translation

2007-09-26 Thread Cristina
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

Re: Calling all translators - UrlValidator translation

2007-09-26 Thread Eelco Hillenius
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,

Re: Redirect to HTTPS?

2007-09-26 Thread David Leangen
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

Re: Can't access Javascript/CSS when in servletMode

2007-09-26 Thread Adam A. Koch
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

Re: Redirect to HTTPS?

2007-09-26 Thread John Patterson
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

Re: Can't access Javascript/CSS when in servletMode

2007-09-26 Thread Kent Tong
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

Re: ExternalLink doesn't use model?

2007-09-26 Thread Tauren Mills
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

Re: AJAX form submit and validation

2007-09-26 Thread mcomb
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:

RE: Redirect to HTTPS?

2007-09-26 Thread Tim L Casey
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

Re: ExternalLink doesn't use model?

2007-09-26 Thread Eelco Hillenius
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

Re: AJAX form submit and validation

2007-09-26 Thread Eelco Hillenius
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

Re: ExternalLink doesn't use model?

2007-09-26 Thread Tauren Mills
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

Re: ExternalLink doesn't use model?

2007-09-26 Thread Eelco Hillenius
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

Re: Can't access Javascript/CSS when in servletMode

2007-09-26 Thread Martijn Dashorst
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/...