Pay attention to the details:
In your pseudo code you have an array of objects with single key/value
pair.
In my simple code there is an object with many key/value pairs.
Martin Grigorov
Wicket Training and Consulting
On Wed, Jan 29, 2014 at 9:22 PM, Entropy wrote:
> Thanks. Using the "advanc
Take your pick at one of the Repeaters from:
http://www.wicket-library.com/wicket-examples/index.html
More on them in Ch 13 "Displaying multiple items with repeaters" of the
Wicket free guide at:
http://wicket.apache.org/guide/guide/repeaters.html
Or pruchase a book on Wicket such as Wicket in Ac
No need, Wicket escapes your model objects, see
Component#setEscapeModelStrings(true) for when HTML should be escaped and
thus the browser won't execute it as HTML or JS.
http://ci.apache.org/projects/wicket/apidocs/6.x/org/apache/wicket/Component.html#setEscapeModelStrings(boolean)
That is on by
Thanks. Using the "advanced" method worked. Though I wasn't repeating
parameters, so I am not sure why the previous didn't work. But it doesn't
matter now.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Invoke-Wicket-from-JavaSctipt-tp4664043p4664050.html
Sent from
>From my asking on dev@ it seems like there won't be a presence for Wicket
at the revamped ApacheCon, which would be a huge shame. I am unable to make
it due to scheduling conflicts, otherwise I would've done a whole Wicket
track!
It would be great if anyone would submit a talk about Wicket-introd
Hi there,
I'm building an application for a client and my security advisor told me
about a XSS attack that can be performed on the site.
When user logs-in I welcome they by Saying "Hello user".
Hello ${realName}.
Welcome to
On 29 January 2014 12:28, Vishal Popat wrote:
> Hi,
>
> I have a situation where I have to make multiple REST calls to different
> suppliers.
> I currently am using AjaxLazyLoadPanel to make these calls but loading
> time is very slow and not scaleable if I wanted to add more suppliers.
>
> Is th
Hi,
extra parameters supports two "syntaxes":
- simple:
{
k1: v1,
k2: v2
}
- advanced:
[ {name: "k1", value: "v1"}, {name: "k2", value: "v2"} ]
The advanced way should be used when you have several values for the same
key.
On Wed, Jan 29, 2014 at 4:31 PM, Entropy wrote:
> I want a javascr
I want a javascript method to wrap the wicket invocation. I passed the
following to Wicket.Ajax.ajax. This is what I see in firebug.
attrs {
c="grid6",
u="./?3-6.IBehaviorListene...ent-assetListTable-grid",
ep=[{action="cellClick"},
{key="8"},
{column="caseNumber"}
]
For posterity, the solution that eventually worked for me:
response.render(JavaScriptHeaderItem.forReference(new
JavaScriptResourceReference(ExtGrid.class, "ExtGridSupport.js")));
response.render(OnDomReadyHeaderItem.forScript(writeGridJS()));
The on dom ready delays my init long enough to serv
Hello Martin,
Thanks for the heads up, I'll definitely make that change in my project,
Cheers
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Is-there-an-equivalent-for-ResourceReference-in-wicket-6-tp4664014p4664041.html
Sent from the Users forum mailing list arch
I think the lesson here is that designers will never be programmers and
programmers will never be designers but each needs to have a little of
the other or the end result will be functionaly useless static web pages
(in the case of designers) or functional pages that look like a dogs
breakfast.
Su
Hi,
I remember Igor posted and example of a non-blocking lazy load panel (long
time ago). As far as I remember all it did was:
1-Check is results where ready is so render the panel
2-If not then schedule a timer to poll the panel again
On Wed, Jan 29, 2014 at 1:28 PM, Vishal Popat
wrote:
> Hi,
We found the simplest way to handle this situation was to let the HTML/CSS
folks design and style the page in pure HTML, no Wicket tags, with sample
data they made up. They then committed their changes into the shared VCS.
The designers Ive worked with in the past just didn't (or didn't want to)
Hi,
I have a situation where I have to make multiple REST calls to different
suppliers.
I currently am using AjaxLazyLoadPanel to make these calls but loading time is
very slow and not scaleable if I wanted to add more suppliers.
Is there a way to make AjaxLazyLoadPanel asynchronously?
I have r
Sorry that my attemp to explain misled you thinking, that everything
should be one file.
Trying again...
Taking the case of a panel. I still think working on different aspects
of the file (design and logic) can be a non-conflicting business. From a
desinger's point of view, the markup file, t
I'm not sure how the MarkupParser would handle multiple
tags in one file? How would it identify which instance of
belonged to which java Panel?
On 29/01/14 20:44, Lucio Crusca wrote:
> In data mercoledì 29 gennaio 2014 10:57:59, tho...@jarnot.de ha scritto:
>> Is there really a need of splittin
In data mercoledì 29 gennaio 2014 10:57:59, tho...@jarnot.de ha scritto:
> Is there really a need of splitting up the markup files?
Well, I don't know, I mean, I've always split them up because a Wicket webapp
is typically a collection of {1 java file, 1 html file by the same name} tuples.
Howev
Thanks.
I wrapped the input in a form and used an ajax submit link.
I could not figure out how can I send parameters from client by doing the
work manually, but I will take a deeper look.
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Can-I-get-an-input-t
Hello,
I want to know which is the best way to implement a repeating view,
preferable data view which contains an input field in each row.
On submit, I need to get an iterator to get reference both to row model
(example a Person object) and to editable component (ex an input text for
age). The inp
Hi,
Read http://wicketinaction.com/2012/07/wicket-6-resource-management/
I am not sure where you read that ResourceReference is removed. It is still
around.
@Simon: renderHead(HtmlHeaderContainer) is an internal thingy that is
hidden from you in Wicket 7. You should use renderHead(IHeaderResponse
Am 29.01.2014 10:22, schrieb Lucio Crusca:
In data mercoledì 29 gennaio 2014 19:06:09, Steve ha scritto:
The difficulty I would think is when you start to split up html files
to
seperate sections into their own panels. If the designer only has a
view of the markup it may not be obvious to them
Hello,
I override the renderHead(HtmlHeaderContainer) method if its a Panel and
renderHead(IHeaderResponse) if its a WebPage :
So in the case of a Panel, I guess it would be something like:
Hope that helps.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Is-the
In data mercoledì 29 gennaio 2014 19:06:09, Steve ha scritto:
> The difficulty I would think is when you start to split up html files to
> seperate sections into their own panels. If the designer only has a
> view of the markup it may not be obvious to them where the subsection of
> the html has g
I would think that using common version control and just telling them to
ignore any wicket tags or wicket attributes they see after you've
modified the markup. That part is not too hard for them to get their
head around.
The difficulty I would think is when you start to split up html files to
sep
Hello everybody,
today I need to begin a project where, for the 1st time in my life, the team
members won't work close to each other, and, again for the 1st time, I'm going
to use Wicket in such a project. I'm in charge of writing all the code (mostly
Java with Wicket being the framework of cho
26 matches
Mail list logo