Wow, Kent, thanks a lot for the code!!
I wonder shouldn't something like this be in the framework core?
Also I tried hard to find some docs about shared resources at all but
didn't find any. The interface of the SharedResoruces class is quite
confusing - almost all of its methods contain
here it is..:
https://issues.apache.org/jira/browse/WICKET-980
Eelco Hillenius wrote:
On 9/13/07, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
That would be fine, I just feel that somehow wicket coders should
somehow get at notice that the normal Image will not be updated
Im having trouble finding out how popups are actually done. It does not
look at it is setup like this:
http://developer.yahoo.com/yui/examples/calendar/popup.html
Or it's either merged deep in some of the js scripts bundled..
It doesn't actually really popup like windows do. It's an element
shared resources and refenences to it are for basic use pretty simple,
SharedResourece.add() adds a resource under a specific name, and then
you make a ResourceReference with that same name in your component
that has a src or href that wants to show the resource
On 9/17/07, Andrew Klochkov [EMAIL
nino filed WICKET-979 and i've attached a patch that should allow what
nino
wants to achieve.
basically it adds two new options for configuring the datepicker:
boolean hideOnSelect() and boolean renderOnLoad()
Ah, that sounds fantastic!
heh, i'm thinking about a detection-mechanism
Hi everyone!
I need a floating panel such as the one provided by wicket-dojo's
DojoFloatingPanel, but I was wondering, is there a way to handle the panel
content as if it was a normal WebPage? I mean, can I build a normal page and
insert it into a panel when needed? Could it be possible?
Many
I'm all for making Wicket more accessible. I don't have much Java
expertise, I'm a front-end developer, so maybe I can help with any html
accessibility questions.
I think standards complient html code is the first step into making
every project accessible, but from what I've seen Wicket is
Andrew Klochkov wrote:
Wow, Kent, thanks a lot for the code!!
I wonder shouldn't something like this be in the framework core?
I simply adapted the code from the CompressedPackageResource.
As reusable components should have their resources bundled with
them in the classpath,
I think you should be able to use these steps to make sure its ok:
http://www.smartlabsoftware.com/wai-validator.htm
http://www.w3.org/WAI/wcag-curric/sam119-0.htm
http://www.w3.org/WAI/
regards Nino
Sjoerd Lohuis wrote:
I'm all for making Wicket more accessible. I don't have much Java
doesnt fire the event...
Gerolf Seitz wrote:
what's wrong with it?
On 9/17/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
wrote:
Hi
Seems to me this does not work?
regards Nino
-
To unsubscribe, e-mail:
On 9/15/07, Zenrique Steckelberg [EMAIL PROTECTED] wrote:
- allow constructor to accept models besides beans too, if possible.
Me too! :-)
Or is there some other way to use DetachableModels backed by JPA with WWB?
(The abbreviation conjures images of a tiny but venerable local
railroad company
look at WebApplication.mountSharedResources()
and RequestCycle.urlFor(final ResourceReference resourceReference, ValueMap
parameters)
johan
On 9/17/07, Leszek Gawron [EMAIL PROTECTED] wrote:
Hello,
I already know how to serve an image from database - dead easy. Thing is
the image is a
Johan Compagner wrote:
look at WebApplication.mountSharedResources()
and RequestCycle.urlFor(final ResourceReference resourceReference, ValueMap
parameters)
I did the exact thing. Please see my others post about decoding request
parameters.
--
Leszek Gawron
thats completely automatic.
in your Resource that you have mounted under /images/ when you get a request
to it
you just do: Resource.getParameters()
johan
On 9/17/07, Leszek Gawron [EMAIL PROTECTED] wrote:
Johan Compagner wrote:
look at WebApplication.mountSharedResources()
and
Why go through the session in the first place?
Why not:
public class Page1 extends WebPage {
public Page1() {
add(new Link(link) {
protected void onClick() {
setResponsePage(new Page2(Some string));
}
});
}
}
public class Page2
hi maris,
and later I want to replace the panel. If I setOutputMarkupId(true)
wicket modifies id value.
just use
setMarkupId( footer );
on your component and you should find 'footer' be used as our output-markup-id.
regards, --- jan.
Johan Compagner wrote:
ahh ok that seems a bug can you report this?
sure can,
one last question: there is a method set/getCached(). Does this tell the
browser to cache the resource or does wicket cache it itself?
--
Leszek Gawron
Could you please specify what it is that you can't do now? The thread
is rather long and I don't have time to go through it all. I don't
think we should reverse the other. What exactly do you mean by own
logic ?
-Matej
On 9/17/07, Alex Objelean [EMAIL PROTECTED] wrote:
I've noticed that the
Hi Kelvin,
It works now! Probably tested with the wrong url the last time i tried.
Thanks!
Regards,
James
--
View this message in context:
http://www.nabble.com/Number-of-available-parameters-in-IndexedParamUrlCodingStrategy-tf4436939.html#a12738141
Sent from the Wicket - User mailing list
JohnSmith333 wrote:
I have use a Palette with DropDownChoice. I want to change the
DropDownChoice's selected value and then update the Palette's lists. And
when I click the Palette's value ,I hope to save the change result.
But it's not work normally. Could anyone kind to help me? Thanks!
On 9/17/07, Gabor Szokoli [EMAIL PROTECTED] wrote:
On 9/15/07, Zenrique Steckelberg [EMAIL PROTECTED] wrote:
- allow constructor to accept models besides beans too, if possible.
Me too! :-)
Or is there some other way to use DetachableModels backed by JPA with WWB?
(The abbreviation
I've created a Wicket Web Beans mailing list on Sourceforge. For WWB-related
topics, you can subscribe to the mailing list at:
https://sourceforge.net/mail/?group_id=205206 . This will allow the Wicket
mailing list to focus on Wicket directly.
-Dan
WDYT?
Good news Ate! I'm +1 for putting it in trunk if you take on the
responsibility of maintaining it properly.
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
im with eelco
-igor
On 9/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
WDYT?
Good news Ate! I'm +1 for putting it in trunk if you take on the
responsibility of maintaining it properly.
Eelco
-
To unsubscribe,
Nuno -- thanks -- these links are really helpful.
One thing I've noticed while playing around is that the bulk of these
accessibility changes require introducing tag attributes to the
component tag, for instance, adding role=wai:button for a tag that
represents a button -- but in some cases
Hi
The problem is that findParent(BasePage.class) returns a correct
reference and after few more lines of code it returns null.
How is that possible ?
I am using 1.3 beta3.
protected void onSubmit(AjaxRequestTarget target, Form form)
{
LoginForm
Eelco Hillenius wrote:
WDYT?
Good news Ate! I'm +1 for putting it in trunk if you take on the
responsibility of maintaining it properly.
Sure :)
I'm pretty much involved in several projects which would like to use the Wicket portlet support, and of course if we manage to rewrite our
Not sure if that's the best method or not, but it seems like a great
start here would be a low-level, lightweight support for adding
attributes without having to override onComponentTag. This functionality
may already be there -- I could easily have missed it.
Attribute modifiers.
Numbering
Thanks Eelco. I've added a new feature ticket. Although I may not have
enough knowledge to push this forward, I am intending to make use of it
on a real project and eat my own dogfood, so I'll do my best to post
what I learn from that process. I'd be thrilled if anybody else out
there is
Hi
I was wondering how I should be testing with wicket. I've created the
bbcodecomponent, I have a bbcodeLabel. And I would like to write a test
for that. I can see that I can't use the assertLabel as that just gets
modelObjectToString, in the bbcodeLabel some formatting are done during
That is because you replace a parent in the hierarchy of the component
you ask the page for.
Eelco
On 9/17/07, Maris Orbidans [EMAIL PROTECTED] wrote:
Hi
The problem is that findParent(BasePage.class) returns a correct
reference and after few more lines of code it returns null.
How is
But I will need support from all the Wicket committers for trying to maintain
portlet compatibility as much as possible too!
As long as you tell us when we're breaking the rules, we'll be happy
to comply :)
Eelco
-
To
I'm really happy to announce that a new and quite feature complete Wicket
Portlets Demo is now available for download at:
http://people.apache.org/~ate/wicket/jetspeed-2.1.3-dev-wicket-demo-installer.jar
I've worked hard the last few weeks to improve the Wicket portlet support
branch and
I was under the impression that I would be able to change HTML while the
server was running and see it reflected when I refreshed the browser.
Unfortunately, I have to restart the entire server to see the change. If my
understanding is correct, what could I be doing wrong?
Notes:
- I am
Are the files copied from the sources directory to the classes
directory? By default eclipse doesn't copy those files to the
classpath iirc.
Martijn
On 9/17/07, Doug Leeper [EMAIL PROTECTED] wrote:
I was under the impression that I would be able to change HTML while the
server was running and
I'm writing a Wicket app that makes pretty heavy use of the Wicket-Extensions
ModalWindow to present what is basically a dialog box where the user can
enter information into a form. The form on each dialog box is submitted
with an AjaxButton and each panel has a feedback panel that is refreshed
My files are being compiled/copied to iirc/bin. Any configuration settings I
need to adjust to get this to work?
How did you create your project? Using the quickstart archetype?
I'm not sure where your eclipse compiles your Java sources to. With
normal Eclipse use, that is iirc /bin If you
I am running in development mode. The console shows DEVELOPMENT upon
startup.
Make sure you run in development mode. E.g. pass
-Dwicket.configuration=development or configure in your web.xml file.
Eelco
--
View this message in context:
On 9/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Eclipse does. Maven for instance doesn't.
Are you sure the maven eclipse:eclipse doesn't generate the auto
copying of HTML files for you when you add the src/main/java as a
resources directory in your pom, such as our quickstart archetype and
Are you sure the maven eclipse:eclipse doesn't generate the auto
copying of HTML files for you when you add the src/main/java as a
resources directory in your pom, such as our quickstart archetype and
quickstart project does?
Yep, I'm sure. Eclipse copies files by default, but you can
You can use setResponsePage(getPage()) to refresh the window from
Ajax(Submit)Button inside the window. The only problem is that you
can't close the window regular way then, so you'll get the
confirmation message.
To get rid of the message put this javascript somewhere in your page:
On 9/17/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
Are the files copied from the sources directory to the classes
directory? By default eclipse doesn't copy those files to the
classpath iirc.
Eclipse does. Maven for instance doesn't.
Eelco
That seems to work. I was trying to do exactly that earlier. At the time, I
couldn't seem to access the setResponsePage() method but I must have been
doing something wrong. For anyone who might be reading this later, I ended
up calling setResponsePage(getPage() );
The only problem I am having
I thought about it but using ModalWindows makes things a little more
complicated. Using a regular button, the browser will navigate away and the
modal window will be lost. If there were no validation on the form inputs
and the window always closed after the submit, that might not be a problem
Why not use a regular Button and the onSumit() method of the form if you want
to reload the page ?
/david
UPBrandon wrote:
I'm writing a Wicket app that makes pretty heavy use of the Wicket-Extensions
ModalWindow to present what is basically a dialog box where the user can
enter information
And what do you see in the logs? Are there no exceptions?
Martijn
On 9/17/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
Are the files copied from the sources directory to the classes
directory? By default eclipse doesn't copy those files to the
classpath iirc.
Martijn
On 9/17/07, Doug
When you say copy to the classes directory, I am assuming you mean the
WEB-INF/classes. If that is the case...then no. The classpath for the
start application refers to the source code directory.
Do I need to have Eclipse copy this files to WEB-INF/classes? If so, how do
I go about doing
Bookmarkable urls are doing correct encoding, the problem is only with the
the setResponsePage call.
chickabee wrote:
Hi,
I am using:
setResponsePage(SearchPage.class, params);
Now if any of the params value has a space then the url fails miserably
because it replaces the space
Helo! Kent Thanks for your help.
But I still have the same question.
That's if I choice A with select A1 to selectedList and then choice B with
selected nothing to selectedList.
It's ok when I choice A again and see the A1 at selectedList.
But if I choice A with select A1 to selectedList and
Helo! Kent Thanks for your help.
But I still have the same question.
That's if I choice A with select A1 to selectedList and then choice B with
selected nothing to selectedList.
It's ok when I choice A again and see the A1 at selectedList.
But if I choice A with select A1 to selectedList and
Yes,sir. I have run the code more three times before.
Maybe it's because I run the code with wicket 1.2.6 and
wicket-extensions-1.2.6 and jdk 1.4.12.
Really I don't know what happen! Thank's your help again. Thanks!
Helo! Kent Thanks for your help.
But I still have the same question.
That's
Yes,sir. I have run the code more three times before.
Maybe it's because I run the code with wicket 1.2.6 and
wicket-extensions-1.2.6 and jdk 1.4.12.
Really I don't know what happen! Thank's your help again. Thanks!
Then try using 1.3 beta3.
--
View this message in context:
That was it. I somehow had the wrong jars (1.3.x) mix with 1.4.
Thanks! Productivity will go no go up!!!
Martijn Dashorst wrote:
On 9/17/07, Doug Leeper [EMAIL PROTECTED] wrote:
My files are being compiled/copied to iirc/bin. Any configuration
settings I
need to adjust to get this to
One more difference (shouldn't make a diff?) - prod is https, dev is http.
JT
On 9/18/07, Jeremy Thomerson [EMAIL PROTECTED] wrote:
Not sure why I suddenly started getting this error...
I'm using BETA3. In my development environment, everything runs fine. In
production, I just started
54 matches
Mail list logo