OK, so the iterator does return all combinations, so I guess I have to loop
through them and check for their existence. I don't suppose Wicket has
anything to do that already since it must be doing something like this with
the HTML?
On Tue, Jul 21, 2009 at 5:06 PM, Igor Vaynberg
It looks like ResourceStreamLocator has the logic I'm looking for. Let me
give it a shot and I'll let you know if it works.
Thanks for your help!
On Wed, Jul 22, 2009 at 11:05 AM, Andrew Berman atber...@gmail.com wrote:
OK, so the iterator does return all combinations, so I guess I have
I was not able to get it to work with ResourceStreamLocator. Whatever I
passed in for the path yielded a null stream. The iterator does work
though, so I'm just going to loop through it and check for null.
Thanks again Igor!
On Wed, Jul 22, 2009 at 11:09 AM, Andrew Berman atber...@gmail.com
Hello,
I cannot seem to get VelocityPanel to output my files properly. I am
embedding vm files within Wicket HTML files using VelocityPanels and no
matter how I encode the vm file (UTF-8 encoded or unicode escaped), I am not
getting the proper characters displayed when the page is served. I
I figured it out. For reference, I overrode the parseGeneratedMarkup()
method to return true and it all comes out properly.
On Wed, Jul 22, 2009 at 12:54 PM, Andrew Berman atber...@gmail.com wrote:
Hello,
I cannot seem to get VelocityPanel to output my files properly. I am
embedding vm
Hello,
I currently use Velocity templates within my Wicket 1.3 application, and I
have been using VelocityPanel.forTemplateResource to locate my resources
passing it the actual file URL of the velocity template. However, I now
have a need to find the velocity templates in the same way the HTML
What exactly do I pass into the path part? Do I pass in a full directory
structure or just the name of the file? I've tried this before and I always
get a null.
Thanks Igor
On Tue, Jul 21, 2009 at 4:05 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
see if ResourceNameIterator helps
-igor
Cool that's what I was looking for Igor. Thank you!
Also, thank you Richard. I know of the CSS route, but I really wanted to
not have it show up in the actual HTML as I didn't want someone hacking the
form or being able to turn on the link using something like Web Developer in
Firefox.
Thanks
Right, I know that way, but I don't want to I don't want to do that though
Igor. That seems like really bad practice as I add styles constantly and I
don't want to have to make a code change every time I add a style. It's
much better for me to just modify the HTML and be done with it without
I am using Wicket 1.3 and was wondering if there is a way to hide components
in the HTML itself. Here's the issue, say I have two forms and two
different styles. In one style I want to display all the form fields,
however in the other one I want to display only a couple of them. I
currently
I upgraded from 1.3.4 to 1.3.5 and now I am seeing this error all over the
place in my log files..
[ERROR] 21:44:24 CryptedUrlWebRequestCodingStrategy - Invalid URL:
foo/?x=kSQEmQImbZiH47lvkBIVh0gnXDVDx7-UQqHufLUVx5IVu10xEJYI8UXQ2B0gQCTDdAzJ7rUByXI
org.apache.wicket.WicketRuntimeException: Unable
Nevermind, error on my part.
On Mon, Nov 3, 2008 at 5:20 PM, Andrew Berman [EMAIL PROTECTED] wrote:
So even if I do this, all child pages need to add their components to the
body and not the direct page itself which to me doesn't seem right. Is
there a way to get around
?
Andrew Berman wrote:
Hello,
I am using Wicket 1.3.5 and I created a panel which contains a form. I
have
a parent template page and a child of the parent page, both of which
contain
an instance of the panel. However, even if I give the panels two
different
ids, I get an error like
Actually, i had something more like this:
body wicket:id=body
form wicket:id=form.../form
wicket:child/
/body
And in the child:
form wicket:id=form/form
When I removed the WebMarkupContainer on the body tag, everything worked
perfectly.
On Fri, Oct 31, 2008 at 2:48 PM, Andrew Berman
Hello,
I am using Wicket 1.3.5 and I created a panel which contains a form. I have
a parent template page and a child of the parent page, both of which contain
an instance of the panel. However, even if I give the panels two different
ids, I get an error like:
The component [MarkupContainer
So, I'm having a problem with Wicket in that it is ignoring query string
parameters. There are two problems. Here is the use case for problem 1:
1. Go to http://foo.com/yourapp?id=2
2. In your application class override newRequestCycle and newSession and
put breakpoints in there
3. In either
, Mar 12, 2008 at 10:58 AM, Andrew Berman [EMAIL PROTECTED] wrote:
So, I'm having a problem with Wicket in that it is ignoring query string
parameters. There are two problems. Here is the use case for problem 1:
1. Go to http://foo.com/yourapp?id=2
2. In your application class override
BTW - The slash problem is Line 255 of WicketFilter. It just completely
disregards the query string...
final String redirectUrl = servletRequest.getRequestURI() + /;
https://issues.apache.org/jira/browse/WICKET-1416
On Wed, Mar 12, 2008 at 12:36 PM, Andrew Berman [EMAIL PROTECTED] wrote:
I
For the record, I was able to accomplish what I want a lot easier using
OnChangeAjaxBehavior.
On Sat, Mar 8, 2008 at 3:24 PM, Andrew Berman [EMAIL PROTECTED] wrote:
I'm doing a custom autocomplete and simply wanted to use
AbstractAutoCompleteBehavior to at least pass me back the search term
, 2008 at 4:50 AM, Andrew Berman [EMAIL PROTECTED] wrote:
Hello,
If I have the following code:
textField.add(new AbstractAutoCompleteBehavior() {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
PROTECTED]
wrote:
The autocomplete component doesn't use the wicket ajax pipeline so
that ajaxrequesttarget methods will not work for request invoked by
the autocomplete behavior.
-Matej
On Sat, Mar 8, 2008 at 4:50 AM, Andrew Berman [EMAIL PROTECTED]
wrote
Hello,
If I have the following code:
textField.add(new AbstractAutoCompleteBehavior() {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
protected void onRequest(final String input,
Dashorst [EMAIL PROTECTED]
wrote:
What additional (wicket stuff?) components are you using?
Martijn
On 2/10/08, Andrew Berman [EMAIL PROTECTED] wrote:
I never explicitly reference any WIcket JS in my html. Whatever the
Java
code spits out for JS references is all I'm using. I searched
Dashorst [EMAIL PROTECTED]
wrote:
But your javascript/page or something else is referencing old wicket
1.2style Wicket-ajax javascript resource.
java.lang.ClassNotFoundException: wicket.ajax.AbstractDefaultAjaxBehavior
Which is not *org.apache.*wicket
Martijn
On 2/10/08, Andrew Berman [EMAIL
Anyone else getting this exception:
[ERROR] 23:06:32 SharedResourceRequestTarget - shared resource
wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js not found
[ERROR] 23:08:24 SharedResourceRequestTarget - unable to lazily register
shared resource
FYI - I do not have any old wicket jars in the classpath, they're all
1.3.1versions
On Feb 9, 2008 8:41 PM, Andrew Berman [EMAIL PROTECTED] wrote:
Anyone else getting this exception:
[ERROR] 23:06:32 SharedResourceRequestTarget - shared resource
wicket.ajax.AbstractDefaultAjaxBehavior
Hey guys,
I am having an issue migrating from 1.2.6 to 1.3. I changed my Application
class so it would compile for 1.3 and the method in question is
newRequestCycle(Request request, Response response). Before I was looking
at the URL and based on the URL selecting a skin for the site and
27 matches
Mail list logo