I have ported my app from 1.4.18 to 1.5.1 (I haven't used 1.5.3 yet).
As part of my porting, I had to adjust the use of page parameters. I would
like to mention my changes for parameter extraction and existence
determination below, in case someone can mention a cleaner way to do these
things...
ListStringValue liSVs = params.getValues([Param name]);
if ((liSVs != null) !liSVs.isEmpty())
{
StringValue svValue = liSVs.get(0);
String sValue = svValue.toOptionalString();
...
}
you can just do
if(params.getNamedKeys().contains(parameter_name))
{
String svValue =
Hi
And you can even leave away the
if(params.getNamedKeys().contains(parameter_name))
and just do:
StringValue param = params.get(param); // or use an index if you wish
if (!param.isEmpty()) {
... param.toString() ...
}
Matt
On 2011-11-23 12:17, vineet semwal wrote:
ListStringValue
If somebody could help me!? It is about showing jasper report in some page!
I have a simple page where only 1 tag
HTML
html xmlns:wicket=http://wicket.sourceforge.net/;
head
titletest/title
/head
body
/body
/html
JAVA
It is in page constructor
final Map parameters = new HashMap();
I did some more research, and I found out how to solve my second problem.
I have extended AjaxButton and overriden onComponentTagBody.
Simple actually, but difficult to find out that I could use this method when
I have never used it.
About the disable part, I think I will override the
ha yes just checked out the source ,thanks :)
On Wed, Nov 23, 2011 at 5:46 PM, Matthias Keller
matthias.kel...@ergon.ch wrote:
Hi
And you can even leave away the
if(params.getNamedKeys().contains(parameter_name))
and just do:
StringValue param = params.get(param); // or use an index if
Created WICKET-4257 with quickstart.
2011/11/19 Igor Vaynberg igor.vaynb...@gmail.com:
that might work.
-igor
On Fri, Nov 18, 2011 at 1:45 PM, Nazaret Kazarian
nazaret.kazar...@gmail.com wrote:
Yep, I will create a quickstart and create a jira.
If it turns out to be a bug, until it
Thanks for your comments, Guys.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PageParameters-in-1-5-a-sanity-check-request-tp4099136p4099956.html
Sent from the Users forum mailing list archive at Nabble.com.
We are considering WiQuery and JQWicket.
1) Which is better and why?
2) Is one more established or better supported than the other?
3) Is one more full featured?
What differentiates the two?
Brian Mulholland
-
To unsubscribe,
Hiii all,
Please help me out.
I have got struck with a scenario where i need to open a link(on 1st page)
in a new window(2nd page) where say a label is displayed.I will add this
link to my browser favorites and close that window.
Now if i open browser and click the link in favorites my 2nd
I've never used either framework, but your question made me curious
again. (Years ago I evaluated the existing wicket-jquery integrations
and wasn't happy with how they were designed. Since than I've always
just used jquery inside wicket, it's not that hard for simple designs,
and for complex
Hi,
maybe an intercept page is what you're looking for:
https://cwiki.apache.org/WICKET/using-intercept-pages.html
Another good way to do this is using a custom implementation of
IAuthorizationStrategy:
http://spatula.net/blog/2006/11/adding-generic-authorization-to-wicket.html
Regards
Hello,
In my application I am creating a search panel and data panel (that shows
result of search). At first page load data panel is populated with complete
result set. This datapanel is basically listView and first row consists of
link to view/edit data for that particular row. When I click on
Hello there,
I have some serious problem with modal window and it's simply driving me
crazy :)
Lets start from the beginning. I have a page with a button. After clicking
it user gets a modal window with some basic form to edit his data. Part of
code looks like this:
HTML:
JAVA:
To explain:
As I am looking at them, I am not noticing either implementing the
jQuery grid, much less the paging scrollbar. Am I overlooking it?
Brian Mulholland
On Wed, Nov 23, 2011 at 10:56 AM, Pointbreak
pointbreak+wicketst...@ml1.net wrote:
I've never used either framework, but your question made me
Thanks for the pointer to using request mappers and the continuing updates to
WicketInAction which are very useful.
After some more work I've then solved my next problem of returning an 'on
the fly' XML response using extended ResourceReference ByteArrayResource
classes. This is also very
Hi,
On Wed, Nov 23, 2011 at 6:30 PM, erac rich...@octaveassociates.co.uk wrote:
Thanks for the pointer to using request mappers and the continuing updates to
WicketInAction which are very useful.
After some more work I've then solved my next problem of returning an 'on
the fly' XML response
See https://issues.apache.org/jira/browse/WICKET-3751 and
https://issues.apache.org/jira/browse/WICKET-3809
On Wed, Nov 23, 2011 at 1:42 AM, Gabriel Landon glan...@piti.pf wrote:
Hi,
There seems to have page data that are not correctly unserialized with
wicket 1.5.x.
I have done a
you are using incompatible versions of wicket.contrib.jasper and
wicket itself, make sure they are both either 1.4.x or 1.5.x
-igor
On Wed, Nov 23, 2011 at 4:16 AM, andreyich andrey...@mail.ru wrote:
If somebody could help me!? It is about showing jasper report in some page!
I have a simple
can you debug and see where the second request for a page refresh is
coming from? because there should not be one
if you cant debug it create a quickstart and attach it to jira..
-igor
On Wed, Nov 23, 2011 at 6:14 AM, vaghelapradeep
vaghelaprad...@gmail.com wrote:
Hello,
In my
your html and java got stripped..
-igor
On Wed, Nov 23, 2011 at 5:08 AM, jasp kamilszoka...@gmail.com wrote:
Hello there,
I have some serious problem with modal window and it's simply driving me
crazy :)
Lets start from the beginning. I have a page with a button. After clicking
it user
Not sure what exactly changed but since recently many mails with code
snippets don't get it
Maybe it is a problem with GMail ...
I think it is better to paste the code in pastebin services. this way
I read it formatted and with syntax highlights but most users don't
know about this my preference
Use a TextTemplate to deliver a config JSON or something similar.
See
https://github.com/wicketstuff/core/blob/master/jdk-1.5-parent/autocomplete-tagit-parent/autocomplete-tagit/src/main/java/org/wicketstuff/tagit/TagItAjaxBehavior.java#L109
for example
On Wed, Nov 23, 2011 at 8:52 PM, Philipp
Martin,
I guess I was lucky as I used it many time in wicket 1.4.x without problem.
I've only encountered this with wicket 1.5.x.
Now time to rewrite my applications!
Thank you very much for your help and your time.
Regards,
Gabriel.
--
View this message in context:
Have you tried the InMethod grid, and if you have is there a reason you
are looking for something different? I am just curious.
Thanks,
Warren
On 11/23/11 8:26 AM, Brian Mulholland wrote:
As I am looking at them, I am not noticing either implementing the
jQuery grid, much less the paging
I was using forum so code, that's odd, anyway repeat message with code pasted
to github:
Hello there,
I have some serious problem with modal window and it's simply driving me
crazy :)
Lets start from the beginning. I have a page with a button. After clicking
it user gets a modal window with
Hi all!
I'm using AjaxSelfUpdatingTimerBehavior for updating some progress bars with
multiple file uploads (it's simulated with a Servlet), but when i try to
upload for example 8 files the behaviour (which has been working and
listening) stops listening for a while (the uploading continues but the
In MyAuthorizationStrategy that implements IAuthorizationStrategy I throw
RestartResponseAtInterceptPageException( LoginPage.class ) if the user is
not logged in and requests a bookmarkable page.
In the LoginPage onSubmit() the call is made:
if ( !continueToOriginalDestination() )
{
Hi Ramona,
Is this one Ajax behavior or many (8)? Does the Wicket AJAX window in your
browser show anything interesting? In particular I would look for channel
busy messages, indicating that some other AJAX request is pending when a
new one is triggered.
Dan
On Wed, Nov 23, 2011 at 2:46 PM,
I had the same problem with ModalWindow and here's what I've done to handle
this problem:
public class MyGmap extends GMap2 {
/** serialVersionUID. */
private static final long serialVersionUID = 1L;
public MyGmap(final String varId, final String varGMapKey) {
dont really understand what you mean...
continueToOriginalDestination() does alway sthrow the replacehandler
exception. this is how that method works...
why is it a problem/why are you trying to deal with the new handler?
-igor
On Wed, Nov 23, 2011 at 2:57 PM, peakmop peak...@yahoo.com wrote:
You can simply add a checkResize() function to the Gmap2.
See :
http://apache-wicket.1842946.n4.nabble.com/GMap2-in-a-Wiquery-Dialog-td3627392.html#a4102386
Regards,
Gabriel.
--
View this message in context:
Hi,
I using wicket 1.5.3.
When using a modal
window(org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow) with
IE, I'm having trouble socket write error.
is called when AbstractResource#setResponseHeaders, with high probability to
cause trouble.
When rendering modal window,
I have developed a data list page using Wicket. The list displays rows of
data with some action links like View or Edit for each row. The page has an
AbstractAjaxTimerBehavior attached to it. On timer of this behaviour, the
action links are changed based on the status of the data row. For example
Hi
Try with Firefox and see at how many connections it stops working.
The open about:config page and change the value of
network.http.max-connections-per-server setting and try again.
On Thu, Nov 24, 2011 at 12:46 AM, Ramona vicky-ramo...@hotmail.com wrote:
Hi all!
I'm using
35 matches
Mail list logo