hi,
is there a way to test Pages that have the @RequireHttps annotation?
currently the code
getTester().startPage(RegisterPage.class);
getTester().assertRenderedPage(RegisterPage.class);
results in this Exception:
junit.framework.AssertionFailedError: page wa
Hi!
Just change the mime type of the page to "application/vnd.ms-excel".
**
Martin
2010/8/30 Altuğ Bilgin Altıntaş :
> Hi all;
>
> Is it possible to export a ListView to excel. Should i use always Datatable
> ?
>
> Thanks.
>
-
Is there a way to enable autocomplete for AjaxEditableLabel (just like
AutoCompleteTextField)? I was going through AutoCompleteTextField as a
reference and wrote my own behavior for autocompletion. The new behavior
works perfectly for a TextField, but not for AjaxEditableLabel.
Answering my
Thanks;
I added table in to WebMarkupContainer and WebMarkupContainer in to
getRequestCycle().setRequestTarget(
new ComponentRequestTarget(table));
It works.
2010/8/30 Martin Makundi
> Hi!
>
> Just change the mime type of the page to "application/vnd.ms-excel".
>
> *
wicket tester is not a complete emulation tool, it is designed for
simple usecases. you are welcome to patch it to support this, but its
probably easier to turn off the httpsrequestcycleprocessor in your
tests so no redirect happens.
-igor
On Mon, Aug 30, 2010 at 4:13 AM, Michael Sparer wrote:
>
I'm coming up to speed on Wicket and came across something interesting that
seems somewhat basic.
I see a lot of examples in books and on the web that demonstrate the markup
for a bookmarkable link like this:
# Search
The code would be something like this:
add( new BookmarkablePageLink(
Hi Sebastian,
I think that service layer have to be responsible only for CRUD operations,
but L(list) operations should be built upon JPA-specific _READ-ONLY_ queries
or some kind of DSL (for example, querydsl
http://source.mysema.com/display/querydsl/Querydsl). The last one point
allows to build
This is a very good summary. I would add one very important consideration that
is not often obvious until far too late.
If you think you want to eventually use database transactions (and you're
really missing out on a great thing not to use them), the service method
interfaces that your view l
Alexander,
If I understand you correctly, you are saying: view-only operations (e.g.
listings, search forms) can access the DAOs directly, and all operations
that modify data should be routed through the service layer?
How do you deal with enforcing security constraints (e.g. user X with role Y
c
I have a really long table with qty values in one of the columns.
Instead of having a total at the bottom of the page (and requiring the
user to scroll to see it), I'd like to float a div in the bottom right
that I can update on the fly as the user changes qty values.
The wicketstuff dojo pac
Hi,
I have the same problem, but my page is a non-bookmarkable page which has
only one constructor : public MyPage(Page backpage, Model model).
I don't see how setResponsePage can solve the problem for me unless I create
a default constructor.
I'm reluctant to do so because the page is some sort
Hi all,
I've been struggling with some design questions in some wicket projects
lately, and hope to get some insights from fellow wicketeers.
Some years ago I started with Databinder as a DAO layer, without a service
layer. This led to UI code building queries or adding Restrictions to a jpa
(hi
Can you create a quick-start and attach it to a new issue at
http://code.google.com/p/wiquery/issues/list
Regards,
Ernesto
On Mon, May 10, 2010 at 6:17 PM, Jens Zastrow wrote:
> Hi experts,
>
> The following code (Link-example-code) breaks all of my wiQuery-enabled
> Pages.
>
> add(new Link("l
The following seems to work until the page refreshes and scrolls to the top:
//
Label lbl = new Label("floatDiv", "floaty text") {
@Override
protected void onComponentTag(ComponentTag tag) {
ta
Brain thank you for comment,
saying about Wicket and transactions, from my point of view, we have 2
posibilities:
1. manage transaction boundaries on per-request way (override
RequestCycle.onBeginRequest(), RequestCycle.onEndRequest(),
RequestCycle.onRuntimeException()) with PlatformTransactionMa
Hello,
I would like to customize AjaxEditableLabel so that every time it is
rendered it has a letter X in the right-upper corner which allows the
user to remove the label from the screen. I would also like to
customize other components, such as panels, the same way. So, ideally
the solution should
While I haven't (yet) had this opportunity, I can't wait until the day that I
wrap service interfaces with Web Services and connect it to a mobile UI.
For that case alone, I focus my strategy on Spring managing the transaction
with load-time weaving.
$0.02...
On Aug 30, 2010, at 10:31 PM
I was over-engineering this. The answer was in wicket-ajax-debug.js:
style="position:fixed; right: 100px; bottom: 100px;...
No ajax required.
On 08/30/2010 05:34 PM, Kurt Heston wrote:
The following seems to work until the page refreshes and scrolls to
the top:
//---
18 matches
Mail list logo