Though it can be a solution, it is not a natural one... because I want to
make the difference between outer and inner tab-row, not between outer vs
inner tab-panel.
John Krasnay wrote:
>
> Ahh, I see...the problem is *nested* tabs. Sorry for not picking that up
> earlier. However, I think the s
I have an Echo application which has a link to a Wicket generated page.
I use the nice form http://www.mysite.com/appname/pagename/param1/value1
as the URL but when I activate the link the Wicket page appears with
extra bits added to the URL that I don't add.
It will add something like: /wicket:pa
hi,
i just checked out the latest trunk (revision 538801) and get this test error:
[surefire] Running org.apache.wicket.util.io.WicketOutputStreamTest
[surefire] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 0,213 sec
FAILURE !!
system: mac os x / jdk 1.5 / maven 2.0.5
should i
In my application I'm overriding the default internal error page to my
application's login page, however, I want to supply the user with a feedback
panel message starting that something bad happened and include an error code
from my internal runtime exception.
What would be the proper way to go a
Did a JIRA bug get created for this? I'm having the same issue and want to
document in my code the JIRA issue number. If a bug hasn't been created
then I'd be happy to create it myself.
Thanks
Craig
severian wrote:
>
> I've been having trouble using sessions with WicketTester, even after
> l
Thanksss!
:D gonna try that!
Edd
yes, it makes sense. and furthermore sometimes you should be passing models
for more dynamic arguments.
in your case doing something like this
basepage { private long userid; //setter+getter. basepage() { add(new
userpanel("userpanel", new propertymodel(this,
Using Wicket 1.2.6
Using FF 2.0 when I click on the submit button or hit 'enter' on a field in
the form the ajax call is processed.
With IE 7.0 when I click on the submit button, the ajax class is processed,
BUT when I hit 'enter' the form submits normally.
Any idea what I can do to keep the sa
On 5/16/07, Mark van Leeuwen <[EMAIL PROTECTED]> wrote:
As you can probably gather I am new to Wicket.
If session expiry is the cause of the problem, shouldn't that somehow be
communicated back to the user? How can I detect session expiry with an
AJAX
submit and then handle it appropriately?
As you can probably gather I am new to Wicket.
If session expiry is the cause of the problem, shouldn't that somehow be
communicated back to the user? How can I detect session expiry with an AJAX
submit and then handle it appropriately?
The problem with the AJAX "Form Example" run from www.wicket
yes, it makes sense. and furthermore sometimes you should be passing models
for more dynamic arguments.
in your case doing something like this
basepage { private long userid; //setter+getter. basepage() { add(new
userpanel("userpanel", new propertymodel(this, "userid"));
that way the userpanel
hehe just keep answering myself..
so, as I see it, in order to have the username passed from LoginPage to the
first tab/panel of my BasePage tabbedPanel, I need to pass it as an argument
to the constructor of the page, right? because..the tabs are constructed
when the page is called and so, if I
the cookie is created using the servlet container.i am not sure why it would
create a new one. the only thing i can think of is that if there are two
parallel "first" requests that come in. one sets cookie A, and the other
sets cookie B and overrides A? but this problem should be solved by the
ser
no, we do not expose attributes, only parameters.
doing that piece of code below should be fine.
-igor
On 5/16/07, James Renfro <[EMAIL PROTECTED]> wrote:
Does anyone know if Wicket exposes the HttpServletRequest's attributes
somewhere? I can get them through
((WebRequest)getRequest()).getHt
yes, ajax can do this. submit the form using ajax, and if something goes
wrong in response you can open a modal window with the error in it. see
modal window examples in wicket-examples.
-igor
On 5/16/07, kubino <[EMAIL PROTECTED]> wrote:
Hi , I have one lamer question. Is technologically pos
persistence is done via formcomponents, just add those into the gridview.
-igor
On 5/16/07, NeilRedding <[EMAIL PROTECTED]> wrote:
Hi,
I'm new to Wicket, so pardon me if this is a newbie question; I haven't
found any posts addressing the issue though.
I'm reviewing the various repeater-bas
So I've been debugging this pretty extensively now. I put a breakpoint in
WicketServlet.
1. On the first request (http://blah.com/context), the session id in the
URL and in the session all match and when I look at the cookie the
jsessionid also matches.
2. On the last request, the session id i
> Hello Matt,
>
> I'd suggest you put the CSS in the same package as your (base) page.
> Then you can do the following in the constructor:
>
> add(HeaderContributor.forCss(new
> CompressedResourceReference(MyPage.class, "style.css")));
Is it possible to use this method to add a .css that isn't i
But there must be a reason why pagemap is returned as null. Session
expiration maybe?
-Matej
On 5/16/07, Mark van Leeuwen <[EMAIL PROTECTED]> wrote:
> > From: [EMAIL PROTECTED] [mailto:wicket-user-
> > [EMAIL PROTECTED] On Behalf Of Matej Knopp
> > Sent: Wednesday, 16 May 2007 7:17 PM
> > To: wic
> > This is true, but I understand Chris has a general need for
> > markup reloading in production as well (though I haven't
> > understood yet how Chris creates the markup files at
> > runtime). Or did I misunderstand that? And though disabled in
> > deployment mode by
The modification watcher should only test the last modifed time. I
thought these issues have been fixed, haven't they?
Juergen
On 5/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> is the modification watcher what causes file handles to be left open? how do
> you expect that to be enabled in pro
Does anyone know if Wicket exposes the HttpServletRequest's attributes
somewhere? I can get them through
((WebRequest)getRequest()).getHttpServletRequest().getAttribute("myattr");
But the javadoc says that it's not recommended to call
getHttpServletRequest.
Thanks,
James.
--
James Renfro
Pro
Hi everyone I cannot find (as in google) a way to format a TextField with
dd.MM.yy and not getting the not a date validation message.
How can I put my own converter?
I saw a mail here from kubino <[EMAIL PROTECTED]>
That gave me some idea but the problem is that I have a shared
mod
No Ideas?
Tom
Thomas Singer wrote:
> I have a WebPage pages.Index (mapping to "/index.html") whose markup
> contains an img-tag with the relative path "../../../screenshots/foo.png"
> (the 1st "../" to get out of the "pages"-package, the 2nd "../" to get out
> of the "classes"-directory, the
Hi , I have one lamer question. Is technologically possible to call wicket
modal window from the server code? I want to use it for example for alert
message that something goes wrong when server tries to update the database.
Can Ajax do this? Thanks for answer.
--
View this message in context:
> From: [EMAIL PROTECTED] [mailto:wicket-user-
> [EMAIL PROTECTED] On Behalf Of Matej Knopp
> Sent: Wednesday, 16 May 2007 7:17 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Partial page rendering with AjaxSubmitButton
>
> 1. Yes, it should be invoked.
I get the same and
On Wed, 16 May 2007, Florian Hehlen wrote:
> (String id, IModel model, IModel choices, IChoicerenderer renderer) but
> I can't figure out what is the difference between the 2 IModel objects
> that have to be provided. If I provide twice a ref to the same object I
One is the default choice, and
Francisco Diaz Trepat - gmail wrote:
>
> Hi can some one point me on how to format a text field to get a date like
> '
> dd.MM.yy' and then, when submitting the form get a clean pass?
>
> you see I am getting a not a valid date message.
>
I use the wicket-datetime package. in there, you'll f
Ahh, I see...the problem is *nested* tabs. Sorry for not picking that up
earlier. However, I think the same principle applies, no? Just give the
inner tab panel a different CSS class than the outer one.
jk
On Wed, May 16, 2007 at 07:39:04AM -0700, Alex Objelean wrote:
>
> This solution adds the
Sorry..I just remembered that it could be a problem with the userId value
(which I tried to pass to the first tab and show on a Label). THAT only
appears AFTER I click on the tab, and not when the TabbedPanel page loads..
Actually, if I add another Label with it's contents defined within the firs
Maybe the answer to the following question is the problem's solution:
How it is intented to add an own IAutolinkResolverDelegate to the
AutoLinkResolver?
Tom
Thomas Singer-4 wrote:
>
> I have a WebPage pages.Index (mapping to "/index.html") whose markup
> contains an img-tag with the relative
Hi there!
Maybe someone can help me: I have a Login page which sends me to another
page that contains the TabbedPanel.
What I need is to show the contents of the first tab (as if it was the user
Home page) when the TabbedPanel page loads..but that's not happening,
because I couldn't find how to
I just read a reply from Chuck about a DateTextField.
Sorry guys I didn't get the mail.
but I read it on Nabble.
cheers,
f(t)
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2
HomePage is the actual page itself. The mount is just what I mounted in the
Application class using: mount("/app", PackageName.forClass(getHomePage()));
On 5/15/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
if your homepage is mounted to /app then the url should be /context/app.
so where does H
Hi,
I'm new to Wicket, so pardon me if this is a newbie question; I haven't
found any posts addressing the issue though.
I'm reviewing the various repeater-based classes in wicket.extensions, and
while I like several of them I don't see any existing pattern(s) for saving
user-modified values pre
People, forget about, my mistake. Only need to add the other component by
calling the addToHeader1 (or any other) again with the new panel, like:
addToHeader1(new HeaderPanel("panel"));
addToHeader1(new SearchPanel("search") );
addToHeader1(new AdsPanel("ads"));
Thanks for everybody e mainly Igo
see DateTextField in extensions. you can specify the desired pattern when
you instantiate it, and it will do the rest.
-igor
On 5/16/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
Hi can some one point me on how to format a text field to get a date like
'dd.MM.yy' and then, when
is the modification watcher what causes file handles to be left open? how do
you expect that to be enabled in production?
-igor
On 5/16/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
* Juergen Donnerstag:
> This is true, but I understand Chris has a general need for
> markup reloa
On 5/16/07, Fábio Bombonato <[EMAIL PROTECTED]> wrote:
More one doubt, if I want to add more than one component in
these "containers", than I need to use a List of components? It´s the best
choice? For example, in my "container" Header1, I need to put some Panels,
like HeaderPanel("
if you type it it looks like this
DDC(String,IModel,IModel>,IChoiceRenderer)
the first model is the one that holds the selection, the second is the one
that holds a list of available choices.
the constructor with a single model:
DDC(String,IModel>,IChoiceRenderer)
is used when you use DDC in
This solution adds the css class the the entire tabbedPanel container,
subsequently all nested tabbedPanels will be treated the same way What I
need is to identify the "tab-row" container
John Krasnay wrote:
>
> In fact now that I think of it, you don't even need the wrapper div.
> Reme
Hi can some one point me on how to format a text field to get a date like '
dd.MM.yy' and then, when submitting the form get a clean pass?
you see I am getting a not a valid date message.
regards,
f(t)
-
This SF.net email is
In fact now that I think of it, you don't even need the wrapper div.
Remember that the TabbedPanel renders the tabs *inside* the tag to
which it's attached. That tag can contain the CSS class that makes that
set of tabs unique:
add(new TabbedPanel("tabs", tabs));
The result is like this:
* Juergen Donnerstag:
> This is true, but I understand Chris has a general need for
> markup reloading in production as well (though I haven't
> understood yet how Chris creates the markup files at
> runtime). Or did I misunderstand that? And though disabled in
> deploy
Hi,
I'd like to have a feature in a form to reset the input in the form
components to the original value in the model (thus allowing the user
to "cancel" or revert all changes he has done in the textfields and so
on and instead display the original values in the backing model).
My current imple
That is the problem. How can I attach a WebMarkupContainer to a "tab-row"
container?
The markup is generated by TabbedPanel and I cannot manipulate it's
markup... :(
Hi Alex,
The way I've tackled this is to have a wrapper div around the entire tab
panel, like so...
...
Hi Alex,
The way I've tackled this is to have a wrapper div around the entire tab
panel, like so...
...
You just need to add the wrapper div to your CSS selector:
div.mytabs li {
background-color: green;
}
Then you can have different wrapper divs for different styling
Hi,
I want to run a Wicket-Kronos-CMS on Tomcat. When I try to enter a
home page I have an error:
"WicketMessage: Can't instantiate page using constructor public
wicket.kronos.frontpage.Frontpage(wicket.PageParameters) and argument
"
which is caused by:
javax.jcr.RepositoryException: The repositor
More one doubt, if I want to add more than one component in
these "containers", than I need to use a List of components? It´s the best
choice? For example, in my "container" Header1, I need to put some Panels,
like HeaderPanel("panel"), SearchPanel("search"), AdsPanel("ads"), like,
add
Currently, the markup generated for the tabbedPanel component looks like
this:
[code]
# [[tab title]]
[panel]
[/code]
I think that it would be more useful to add a container to the existing
tabs, so the resulted markup would look like this:
[code]
1. Yes, it should be invoked.
2. form.replaceWith(anotherComponent);
-Matej
On 5/16/07, Mark van Leeuwen <[EMAIL PROTECTED]> wrote:
> I have a form on a page which I want to replace with another form when a
> Next button is pressed. I want to do this with AJAX. The form should only be
> replaced
hi,
I am new to wicket so I am not sure how simple this issue is.
I am creating DropDownChoice components. I want to a) build the the
Options from a list of Objects (not primitives) and b) want to render
the option id and value as an attribute of the object in the list. this
definitly works i
Heres something on the toppic, this has been up in the past on the list,
I would use nabble to search for it. Also use google to search for
wicket vs JSF and tapestry vs JSF. And then compare after wards..
http://www.nabble.com/Re:-Wicket-vs-Tapestry-p290050.html
craigdd wrote:
> I started loo
52 matches
Mail list logo