Do you happen to know the attribute and its value for setting the position to
the right?
Timo Rantalaiho wrote:
On Wed, 30 May 2007, Lec wrote:
I need some guidance. By default, normally we will see either a panel tab
or
multiple tab appear on the far left of the screen. How do we
It seems that you need some css guidance:
http://www.positioniseverything.net/ Visit This link
Lec wrote:
Do you happen to know the attribute and its value for setting the position
to the right?
Timo Rantalaiho wrote:
On Wed, 30 May 2007, Lec wrote:
I need some guidance. By
Cool. So no need to 'add' it?
On 5/30/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
new WebMarkupContainer(removeMe) {
protected void onBeforeRender() {
super.onBeforeRender();
setVisible(sometimesFalse());
}
}
That, or alternatively,
new
On Thu, 31 May 2007, Lowell Kirsh wrote:
Cool. So no need to 'add' it?
Yes of course. You must add to a parent every component that
you want to render, otherwise it's just garbage (for the JVM).
- Timo
--
Timo Rantalaiho
Reaktor Innovations OyURL: http://www.ri.fi/
No one knows what's wrong?
Tom
Thomas Singer wrote:
OK, I've tried to create an unversioned page to keep the URL stable using
following page code:
public class DownloadFile extends TemplatePage {
// Constants
==
Eelco Hillenius wrote:
I thought about that too but then I still have to drag in some JSP's for
the login page and somehow
integrate Acegi's authz taglib for conditional content. Not that it's a
big deal but it literally all feels
a bit mixed, I prefer to keep it pure.
For the pure
nothing is wrong if you click on a wicket link (or submit a form) then we do
a redirect
to the page that is then rendered
What is strange (if that happens at your place) is that if you click on a
bookmarkable link
then that link should stay there (until you press a none bookmarkable link
or
Hi,
The problem is still there, unfortunately...
/Mats
On 5/28/07, Mats Norén [EMAIL PROTECTED] wrote:
I've got a small snag with images inside an ajaxlink:
My template looks like this:
a wicket:id=previous class=marginRight href=#
title=Bakaring;timg alt= class=middle
But do we have components or behaviors that output this kind of ajax scripts
that aren't working in IE7?
So the question is who is generating that code/script?
johan
On 5/31/07, Alex Objelean [EMAIL PROTECTED] wrote:
Not necessarily, only if you (core developers) consider that it worth the
Hi,
Would it be possible to let the TreeTable take a model of columns
instead of a fixed array?
So that it would be possible to dynamically alter the number of
columns based on a model?
My usecase is a timeplanning tree with activities as rows and time as columns.
Looking at the code it seems
Maybe the topic title is a little confusing... [BUG] is related to IE, not
wicket... This is useful when you want to append a js script somewhere
inside the body as a result of an ajax response, and you want it to be
evaluated on the client side also by IE (not only gecko browsers)..
Johan
Hi
Im having some trouble with loop and ajax. Now when the page initially
are created the loop are empty, this makes the loop not render.
When I get the ajax request I try to add the loop with addcomponent,
however this tells me this:
Component with id [[gmap_gmapContainer_gmarkersLoop]] a was
i think this was a problem in 1.2
we fixed this in 1.3 so that you can use your own application class,
somebody please correct me if i am mistaken here
So in 1.2 there isn't really a right way to reuse your webapplication object
johan
On 5/30/07, tma tma [EMAIL PROTECTED] wrote:
Hi
I am
If you just click on a bookmarkable link and then the url does change in the
browser then somewhere
a setRedirect(true) is done.
So the URL http://localhost:8080/?wicket:interface=:2::; comes from the
throw new RestartResponseAtInterceptPageException(this)? At least the second
time, when
I doesnt seem that loop works with ajax? I've created a quickstart
project that displays this. Should I use a listview instead?
heres the quickstart(http://localhost:8080/quickstart/app):
http://www.badongo.com/file/3249801
regards Nino
Nino Saturnino Martinez Vazquez Wael wrote:
Hi
Im
forgot to mention that its wicket 1.2.6..
Nino Saturnino Martinez Vazquez Wael wrote:
I doesnt seem that loop works with ajax? I've created a quickstart
project that displays this. Should I use a listview instead?
heres the quickstart(http://localhost:8080/quickstart/app):
that url that you get doesn't have anything to do with a page being
versioned or not.
that url you just get when you redirect to a page instance.
if you want to keep that bookmarkable then use this constructor
public RestartResponseAtInterceptPageException(final Class
interceptPageClass)
On
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
Same applies for Loop
On 5/31/07, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
forgot to mention that its wicket 1.2.6..
Nino Saturnino Martinez Vazquez Wael wrote:
I doesnt seem that loop works with
I had the same (at least it sounds similar) problem. My pages use a
role-based authorization strategy. Sometimes the role is based upon the
data on the page. A good example of this is Responsible Individual (RI);
if you are not an RI, you have read-only access, but as soon as you are
added to
It would be great of you had some code to share, it makes it easier to
follow... :)
/Mats
On 5/31/07, ChuckDeal [EMAIL PROTECTED] wrote:
I had the same (at least it sounds similar) problem. My pages use a
role-based authorization strategy. Sometimes the role is based upon the
data on the
do you have a quickstart/example code for this ?
johan
On 5/30/07, Aaron Hiniker [EMAIL PROTECTED] wrote:
I have a AjaxTabbedPanel that contains the Yahoo DateTimeField from
extensions. The calendar works fine on a page refresh, but when clicking to
other tabs with Ajax loading each tab,
We should really first divide wiki a bit i think
1.2 and 1.3 because converters are really changed now.
johan
On 5/30/07, Anto Paul [EMAIL PROTECTED] wrote:
Hi all,
The reference about using custom converter in apache wiki is
It is discussed in this thread on @dev. [1]
You could join and ask for the change... It is not too big a change,
but Igor mentioned some problems.
Martijn
[1]
http://www.nabble.com/-proposal--Make-columns-of-repeaters-List%3CIColumn%3E-instead-of-IColumn---tf3785568.html#a10705320
On 5/31/07,
Hi all,
This was due to the RelativePath handler not using the depth param on
ajax requests inside its behaviours. This should now be fixed.
Regards,
Al
Mats Norén wrote:
Hi,
The problem is still there, unfortunately...
/Mats
On 5/28/07, Mats Norén [EMAIL PROTECTED] wrote:
I've got a
So you need two queries in your data layer, one which returns a subset
of the query results for the particular page, and one which returns the
size of the potential result set (i.e. COUNT(*)).
There's no other way to implement this sensibly.
For Hibernate Criteria queries, this can look like
I'm affraid this is not possible at the moment and I can see some
issues with implementing this. What you can do now is either override
isVisible to hide particular columns, or recreate the tree every time
the columns change.
-Matej
On 5/31/07, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
Would it
Ok, I tried to switch the column-array to a IModel with a list and I
got the tree to render...once... :)
Seems like I missed a couple of spots...
Thanks for the quick reply.
I guess an alternate approach for my usecase could be to only add two
columns, one tree column and one panel containing a
thanks..
Martijn Dashorst wrote:
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
Same applies for Loop
On 5/31/07, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
forgot to mention that its wicket 1.2.6..
Nino Saturnino Martinez Vazquez Wael
Mats Norén-2 wrote:
It would be great of you had some code to share, it makes it easier to
follow... :)
Yeah, no kidding.. :)
Here is a quickstart (minus the lib folder, see below for list of jars) that
should illustrate what I am trying to accomplish, yes it's pretty stupid,
but
I have a complex form split into panels in a wizard and some validation
requirements in a panel change depend ing on changes in the model made by
previous panels.
I was expecting to be able to remove one type of validator previously added
and add a new one that covers the changed circumstances
Sooo...getAjaxCallDecorator() is in AjaxPagingNavigationBehavior, which is
constructed in AjaxPagingNavigationLink, which is constructed in
AjaxPagingNavigator.newPagingNavigatorLink(), which my subclass overrides.
Is there a way to add this decorator without having to pass an object up the
Is this not possible for you:
protected Link newPagingNavigationLink(String id, IPageable pageable,
int pageNumber)
{
return new AjaxPagingNavigationLink(id, pageable, pageNumber) {
@Override
protected
I wondered why there appears to be no way to remove one or all validators?
We have talked about it, but not yet decided whether we were going to
add a remove option.
I'm one of the people who isn't sure whether we really need it. Why
not instead of removing validators make their execution
I misspoke a earlier, the method I need to override is
newPagingNavigationIncrementLink(). Looks like this:
public AjaxPagingNavigationIncrementLink(final String id, final
IPageable
pageable, final int increment)
{
super(id, pageable, increment);
I don't think we should go that route, as that would open up a very
big can of worms. Markup and logic are seperated in Wicket and
allowing such interpolation would open the door for scripting-like use
of Wicket, which I think is something we shouldn't support.
Eelco
On 5/18/07, Alex Objelean
Any chance anyone has any input on this? I still think this is a bug in
Wicket, that I can't set Javascript to reload the page after the modal
window is closed, since the page still thinks the modal is open.
dukejansen wrote:
Yup. That's why I was trying to do it using
Its a shameless hack, but you could try it in a setTimeout. Or possibly,
target.appendJavascript(Wicket.Window.unloadConfirmation=false;window.location.reload())
Otherwise, I believe the semantics of onClose make it necessary for
the modal to be around until onClose returns.
hth,
jim
On
Yeah, I see what you mean. The AjaxPagingNavigationIncrementLink is
not really an AjaxLink, but has had an AjaxBehavior grafted in. I
think your best bet would be to build a PagingNavigationIncrementLink
and add a behavior similar to AjaxPagingNavigationBehavior to it, but
with the scriptaculous
Have you had a look at the VelocityPanel in wicket-velocity? If not,
it will probably do what you are looking for.
best,
jim
On 5/18/07, Alex Objelean [EMAIL PROTECTED] wrote:
Is it possible to apply TextTempate inside the markup of the component?
More specifically, for the following markup:
Hi Ravindra.
When using trunk there is sometimes tests that fails. We have just had a
similar discussion about it here:
http://www.nabble.com/Build-Failed-tf3815817.html#a10802004
It shouldn't be stopping you from working.
Frank
On 5/23/07, Ravindra Wankar [EMAIL PROTECTED] wrote:
OK, I
Thanks. One further question regarding links and bookmarkable pages: When I
add following PageLink, will the resulting href always be not bookmarkable?
public class DownloadFile extends OurWebPage {
public DownloadFile(final PageParameters parameters) {
page.add(new PageLink(linkId, new
Well, that works...I think this would be made easier if there were a
getAjaxBehavior() method in AjaxPagingNavigationIncrementLink. As it stands,
there are a few methods in my class that were copied/pasted directly from
AjaxPagingNavigationLink:
public class
Thanks. One further question regarding links and bookmarkable pages: When I
add following PageLink, will the resulting href always be not bookmarkable?
Indeed. That is because you're using an inner class, and Wicket
wouldn't know how to interpret and can't do anything else than execute
it (for
Hi,
thanks for your answer. I was a surprised that there is no model
abstraction of link in wicket...
I will take a deeper look at the tabs package - thanks for the hint.
Johannes Schneider
John Krasnay wrote:
One idea would be to create a class that represents the logical idea of
a link,
In other words: when something more should be done than just linking to
another (bookmarkable) page, then always the resulting link is non-bookmarkable?
--
Tom
Eelco Hillenius wrote:
Thanks. One further question regarding links and bookmarkable pages: When I
add following PageLink, will the
As apparently not every author in this thread sees all the steps needed to
use Acegi with Wicket, I am currently writing a howto on the Wicket wiki.
The howto is extracted from a production system and describes the
combination of Wicket, Acegi and Wicket-auth-roles. It will take a couple of
days
Scratch that, the solution below causes a page refresh...
getAjaxCallDecorator() returns new CancelEventIfNoAjaxDecorator() it works
fine, but if it returns the defined decorator, the page refreshes after the
ajax call is complete. Why would that be? Should decorator extend
From what I can tell, since it is not really an ajax link but rather a
regular link with an ajax behavior, the ajax behavior needs to prevent
the onclick from bubbling to the anchors clickhandler. Your
ajaxcalldecorator will need to do that as well. It would be great if
once you are done you could
* Johan Compagner:
we fixed this in 1.3 so that you can use your own application
class, So in 1.2 there isn't really a right way to reuse your
webapplication object
Indeed, users that need this feature will have to backport
MockWebApplication and WicketTester on their 1.2.x
* Erik van Oosten:
As apparently not every author in this thread sees all the steps
needed to use Acegi with Wicket, I am currently writing a howto
on the Wicket wiki. The howto is extracted from a production
system and describes the combination of Wicket, Acegi and
Hey, one hour per day contributing to Open Source is already a
lot!
hmm then i have to stopp working on it right now...
because i am already passed the hour again
johan
-
This SF.net email is sponsored by DB2
* craigdd:
Thanks Eelco, your example was extremely helpful and I agree that the API is
not obvious when it comes to this type of stuff. It also doesn't help when
the javadoc for RequestCycle.onRuntimeException refers to
DefaultExceptionResponseStrategy which does not exist in 1.3.
I just
Are there any examples/tutorials that re using YUI with Wicket.
I see there is also a wicket YUI project but could not find much getting
started help.
--
View this message in context:
http://www.nabble.com/Wicket---YUI-tf3848786.html#a10901677
Sent from the Wicket - User mailing list archive
Fixed this last bit by wrapping the return call decorator in a CancelEvent
one (it chains):
final AjaxPagingNavigationBehavior behavior =
new AjaxPagingNavigationBehavior(this, pageable, onclick) {
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new
I doubt I've enhanced anything. This is a rather roundabout solution at
best...You mean edit the Wicket source and post it somewhere?
James McLaughlin-3 wrote:
From what I can tell, since it is not really an ajax link but rather a
regular link with an ajax behavior, the ajax behavior needs
* Florian Hehlen:
I have just found that if a form contains an input
type=text/ and the corresponding pojo contains myForm.add(new
TextAre(...)) then wicket fails to load data into the form but
it will correctly read the data onSubmit.
is this a known bug it sure took me
There is a wicket-contrib-yui project included in wicket-stuff on sourceforge:
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-yui
I've been working on it a little, mostly on the menu module. The drag
and drop is somewhat broken, and I haven't had time to look at
I would like to create an image on the fly (I try to avoid posting mail
addresses as text).
See for instance the images exaple in wicket-examples.
Can I use Wicket to register a
Page/Component/Servlet under a special URL?
Either as an image component or - if you want an image to be
Well, it should be much easier to get the AjaxBehavior that is making
the PagingNavigatorLink act like an ajax link, so you can decorate the
onclick in the manner you suggested. You can create a jira issue here
http://issues.apache.org/jira/browse/WICKET
Describe your problem, what would make an
* Johannes Schneider:
can anyone tell me how I can escape German umlauts when using
TextFields or Labels? Component.setEscapeModelStrings( true)
does not replace them. And I really don't want to create a
custom IModel for every component I add
Have a look at
* Johannes Schneider:
Of course I don't want to add the mail address as url
parameter. Therefore I have to store the address as session
parameter.
You can still use PageParameters, but maybe it would be safer to
use CryptedUrlWebRequestCodingStrategy so that email addresses
I'd like to create a tree on a page and have something like this in my template:
span wicket:id=myTreeTree Goes Here/span
and have the rendered result look something along the lines of:
ul
lifoobar
ul
libaz
ul
libaz2/li
libaz3/li
/ul
/li
hi johan,
hmm then i have to stopp working on it right now...
because i am already passed the hour again
good work! thanx for doing so!
have you seen my example how to use acegi without using filters?
best regards, --- jan.
My use case is actually turning out slightly more complex than I
posted. What I actually have is:
span wicket:id=fooTEXTspan wicket:id=star*/spanspan
and I'd like to sometimes remove the star. So my java (which doesn't
work) looks like:
private static class LabelWithStar extends
I am using a mounted, bookmarkable page. I am passing in a parameter using
the url syntax. This works fine when I access it via the Parameter object
passed in at Page creation time. I would also expect that the parameter
would be accessible via the request object and the parameter is not visible.
Take a look at the nested example and see if that helps you.
Eelco
On 5/31/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
I'd like to create a tree on a page and have something like this in my
template:
span wicket:id=myTreeTree Goes Here/span
and have the rendered result look something along
Once again I left out a detail - the reason I have the span is that I
want to apply a CSS class to the star. Also, I like to have the star
as a child of the other component, because that way I don't have to
assign unique names to each star, and also, I can package the text and
the star as one
At a glance, that looks like what I want. Thanks.
On 5/31/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Take a look at the nested example and see if that helps you.
Eelco
On 5/31/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
I'd like to create a tree on a page and have something like this in my
On 5/31/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
My use case is actually turning out slightly more complex than I
posted. What I actually have is:
span wicket:id=fooTEXTspan wicket:id=star*/spanspan
and I'd like to sometimes remove the star. So my java (which doesn't
work) looks like:
Then you should be able to use that label idea and embed it in your component.
Eelco
On 5/31/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
Once again I left out a detail - the reason I have the span is that I
want to apply a CSS class to the star. Also, I like to have the star
as a child of the
But I get the following error:
...WicketMessage: Expected close tag for 'span wicket:id=foobar'
Possible attempt to embed component(s) 'span wicket:id=star' in
the body of this component which discards its body
Doesn't that mean my approach is flawed?
On 5/31/07, Eelco Hillenius [EMAIL
LabelWithStar should extend Panel.
Eelco
On 5/31/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
But I get the following error:
...WicketMessage: Expected close tag for 'span wicket:id=foobar'
Possible attempt to embed component(s) 'span wicket:id=star' in
the body of this component which
Well, I need some way of setting the text from within my java code so
i don't see how I could get away without it.
On 5/31/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Actually, do you need span wicket:id=foo at all?
Eelco
On 5/31/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
LabelWithStar
And which Panel method do I need to call to set its text without
removing the star Component?
On 5/31/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
LabelWithStar should extend Panel.
Eelco
On 5/31/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
But I get the following error:
...WicketMessage:
Actually, do you need span wicket:id=foo at all?
Eelco
On 5/31/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
LabelWithStar should extend Panel.
Eelco
On 5/31/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
But I get the following error:
...WicketMessage: Expected close tag for 'span
Basically what I want to do is from this markup:
span wicket:id=fooTEXTspan wicket:id=star*span/span
I'd like to replace 'TEXT' with some text from my java code, and would
like to set the visibility of the 'star' span from within my code.
Replacing TEXT seems similar to what a Label does, but
Oh, if this helps, what I want could be achieved with this:
span wicket:id=foobar
span wicket:id=textTEXT/span
span wicket:id=star*/span
/span
and then doing something like:
foobar = new MarkupContainer(foobar);
foobar.add(new Label(text, ...))
foobar.add(new WebMarkupContainer(removeMe)
I have a web page that adds the panel as a component. On the same page, I've
three ajax links.
The goal is to clic on the links will add different components to the panel
then refresh the panel on the page. It seems that I cannot do that. Here's
my code:
public class MyWegPage extends
this sure seems familiar. didn't we have a nice plan to address this a few
months back?
Eelco Hillenius wrote:
You can return the page you want to be displayed and have full
control. I know the API currently is non-obvious; I complained about
this in another thread.
For example, this
Some CSS gurus claim that CSS could be used to append or
prepend content to elements, so maybe you would be easier
off by doing just that and toggling the css class
programmatically.
That would work. I tried googling how to do that, with no luck.
Anybody have any pointers or links?
lowell
You have to call setOutputMarkupId(true) so the javascript can locate it in
the HTML.
Frank
On 6/1/07, wicket0123 [EMAIL PROTECTED] wrote:
I have a web page that adds the panel as a component. On the same page,
I've
three ajax links.
The goal is to clic on the links will add different
resultPanel.setOutputMarkupId(true);
Frank
On 6/1/07, Frank Bille [EMAIL PROTECTED] wrote:
You have to call setOutputMarkupId(true) so the javascript can locate it
in the HTML.
Frank
On 6/1/07, wicket0123 [EMAIL PROTECTED] wrote:
I have a web page that adds the panel as a component.
82 matches
Mail list logo