Hi,
try to setOutputMarkupPlaceholderTag(true) on your expandable, otherwise
your component doesn't render at all when setVisible(false)...
Bye
Stef
Entropy wrote:
> I have a list view that will have a button on the left to expand or contract
> a section that starts out hidden. this section
Hi,
we use a ResourceLink with a ResourceReference wrapping an
AbstractResource, that generates an Excel via POI in a WriteCallback
implementation. The AbstractResource implementation can
#setContentType() and #setContentDisposition() on the attributes object
passed into #newResourceResponse().
I
Hi,
Tom Norton wrote:
> Let's say I have a page called: /order-details/${orderId}.
>
> Let's also say I want to ensure that some customer named Bob can only see
> the order-details pages for the orders he placed, but not any of the
> order-details pages for orders that John placed.
>
> I already
Hi,
Entropy wrote:
> I solved my button issue by creating two buttons and toggling their
> visibility rather than changing the label on a single button. i still think
> the original solution should have worked, but I have fixed the problem.
I guess you want to #setBody() instead of #setLabel() -
Hi,
I'm currently at loss: what would be the correct way signalling that a
IResource implementation encountered an error?
Here's the case:
I have a custom AbstractResource implementation that grabs an object
from a WebService. Getting information about the object (metadata and
ID) is one call, a
way you can use response#setError() if needed.
>
> Martin Grigorov
> Wicket Training and Consulting
>
>
> On Wed, Apr 2, 2014 at 3:25 PM, Stefan Renz wrote:
>
>> Hi,
>>
>> I'm currently at loss: what would be the correct way signalling that a
>> IR
re straightforward, so I'll
skip this suggestions.
>
>
> Martin Grigorov
> Wicket Training and Consulting
>
Thanks, Martin.
Bye
Stefan
>
> On Thu, Apr 3, 2014 at 10:41 AM, Stefan Renz wrote:
>
>> Hi Martin,
>>
>> yes, I figured that, and some errors
Hi Arun,
Arjun Dhar wrote:
> Hi,
>
> there is a 1 to 1 mapping between the Wicket Page/Panel and the HTML.
> However one may want to present a different HTML version for a given
> Page/Template.
>
> Where I am going with this ls say you have a entire Site on a Template; but
> want to provide alt
Hi,
Piratenvisier wrote:
> If I include the folowing lines :
>
> if(NachweiseForm.this.getModelObject().getKunde()!=null) {
> Kunde kunde =
> kundeManager.get(NachweiseForm.this.getModelObject().getKunde().getId());
> NachweiseForm.this.getModelObject().setKunde(kunde);
>
Hi,
lucast wrote:
> Dear Forum,
> Currently, I make heavy use of TextField.setLabel().
> If adding a css field to TextField is as easy as TextField.add(new
> AttributeAppender("class", " TestCSSClass ")); then:
>
> How can I add a CSS class to that has been created for TextField?
I don't think
Hi Garret,
Garret Wilson wrote:
> Exactly! Quoting from the page you provided: "Java uses the standard
> character set ISO 8859-11 to encode text files like properties files.
> ..." (Note that this is a typo above---the author meant to say "ISO
> 8859-1", not "ISO 8859-11". The link to
> http://en
Hi,
I don't think URL-length is an issue -- after all, we are talking about
POST, not GET.
I had trouble once by having PageParameters with some keys (for example,
"name") and form field id with the same key (here: "name"). Wicket got
that mixed up (AFAIR that was Wicket 1.4 or 5). Ever since tha
Hi,
seems a simple thing to ask, but I can't seem to be able to find the
solution:
I have certain endpoints of Spring Boot (their actuator endpoints) that
I want to make available under, say, /admin/manage/..., but I have a
fronting wicket page mounted under /admin.
I want to tell wicket *not* t
Thanks, Martin. I knew there had to be a simple answer :-)
Martin Grigorov schrieb:
> ignorePathsmanage/
> to WicketFilter in web.xml.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail
Hi,
after a form submission, I'd like to redirect the user to another page,
and stream a file to the browser (generated as a result of the form
submission).
How would I achieve this? I can do both single steps, but not both
together...
Thanks, bye,
Stefan
--
naldo Barreiro wrote:
> After submit redirect to the new page that automatically trigger an AJAX
> request and use
>
> https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow
>
> On Thu, Dec 4, 2014 at 12:17 PM, Stefan Renz wrote:
>
nesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
>> You can also
>>
>> 1- mount a resource and serve the file from there.
>> 2- Once new page is loaded you do setTimeout(\"window.location.href='" +
>> url + "'\", 100)
Hi,
I know that I'm skirting around answering your questions, but
you could add an AttributeAppender to the item based on the index.
Something like
item.add( AttributeAppender.modify( "class", item.getIndex() % 2 == 1 ?
getEvenCssClass() : getOddCssClass() );
Apply further refactorings t
Hi,
my client asked me to implement a simple row numbering in a data table.
What I have is a Panel with a DataTable, with a varying number of
IColumns. I thought that I could add such a row number column
implementation in virtually no time, but it turns out that the index
returned by populateItem'
.nabble.com/DataTable-how-to-make-a-column-showing-the-row-number-td1855450.html
> :
>
> public void populateItem(Item cell, String compId, IModel rowModel) {
> item.getindex() is cell, ((item)item.getparent()).getindex() is row
>
> On Tue, Apr 21, 2015 at 2:35 PM, Stefan Renz wrote:
&g
Hi forum,
for some parts of a web application I need to suppress delivering the
bundled webjar's bootstrap css and js, delivering custom versions of the
respective resources. It there a way to "replace" the bundled versions?
How can one suppress them? Is it possible to even do that for some pages
wiki/BootstrapSettings
>>
>> Hope this helps,
>> Sebastien
>>
>> On Thu, Apr 28, 2016 at 8:00 PM, Stefan Renz wrote:
>>
>>> Hi forum,
>>>
>>> for some parts of a web application I need to suppress delivering the
>>> bundled
I find
satisfying.
Bye
Stefan
Stefan Renz wrote:
> Hi,
>
> thanks for your answers, they put me on the right track. Problem is, I
> need to replace the stock bootstrap resources just for some pages (a
> particular border, to be precise), whereas both suggestes solution
Hi,
we're using WiQuery tabs in our web application to divide information
into smaller, logically grouped chunks.
Often times, our users will select a few items in a list in order to
browse through information. For each of those selected items we present
a detail page with WiQuery tabs on them, a
In principle, yes, that's one part of the solution. However, I need to
know which index the page currently displays. How can I get the
information, which tab is selected?
Ernesto Reinaldo Barreiro wrote:
> Can you try setDefaultSelectedTabIndex?
>
> On Mon, Nov 26, 2012 at 12:55 P
it). So, what
> you will need is some sort of AJAX version for
>
> http://api.jqueryui.com/tabs/#event-activate
>
> and on server side record this number (that you will pass as an extra
> parameter to AJAX request). Which wicket version are you using?
>
>
> On M
Hi,
we had a similar requirement, so we did the following:
instead of throwing a AbortWithHttpErrorCodeException, we throw a
semantic exception. In your case, throw MissingSubsiteException( "your
message" ).
How to make Wicket aware of such an exception and implement a proper
reaction/response?
et back
> the selected tab.
>
> P.S. See also the Tabs#setCookie method (to store selected index in
> cookie).
>
> On Mon, Nov 26, 2012 at 1:51 PM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
>> Let me see if I can add those features today or tomorrow
xLoadEvent...
Any ideas? What can _I_ do? Come up with a demo page?
Bye
Stefan
Ernesto Reinaldo Barreiro wrote:
> Stefan,
>
> Yes it will make it into the next 1.5.x release. It will be good if you can
> test it before that, so that we can fix/add anything else you need.
>
spotted (and hopefully
> fixed) a JavaScript error from your code bellow. Can you please try with
> latest 1.5.x branch?
>
>
> On Tue, Nov 27, 2012 at 1:04 PM, Stefan Renz wrote:
>
>> Hi Ernesto,
>>
>> I'm getting a "Uncaught SyntaxError: Unexpected identifi
Hi,
my searches didn't turn up anything, so I figured I ask on the mailing list:
Consider the following scenario: a Page contains a number of Panels, one
of which displays data retrieved by a web service, typically by means of
LoadableDetachableModel or IDataProvider.
In my case, the WebService
owever, I think that #onConfigure() should catch most
cases, in particular any "forgot to start the service" scenario.
I'll give it shot and see if I can get away with probing in #onConfigure().
Thanks for your suggestion.
Bye
Stefan
T
>
> Sven
>
> On 12/13/201
cceptable time. That way, slow response
times of the service have some indication, too.
Thanks, bye
Stefan
>
>
> 2012/12/13 Stefan Renz
>
>> Hi,
>>
>> my searches didn't turn up anything, so I figured I ask on the mailing
>> list:
>>
>>
attached to the BorderBodyContainer and alert message
component.
Thanks for your suggestions.
Bye
Stefan
Stefan Renz wrote:
> Hi,
>
> my searches didn't turn up anything, so I figured I ask on the mailing list:
>
> Consider the following scenario: a Page contains a number
Hi,
how would I specify to load an additional stylesheet when Wicket loads
the WiQueryCoreThemeResourceReference?
Background: I'd like to tweak some of the jquery-ui styles by providing
a custom CSS. I want to make sure that whenever wiquery's core resource
loads, the additional CSS loads as well
Item;}
> }
>
> and register it as replacement.
Tried that, getDependencies() never isn't called. Once again, I will
double check.
Thanks, bye
Stefan
>
> I'd use the bundle approach.
>
>
> On Tue, Jan 22, 2013 at 5:15 PM, Stefan Renz wrote:
>
e with all the dependencies. As I
suspected, I just did not grasp the Wicket API; the bundle adds the
dependencies itself.
Quite elegant, just like the rest of Wicket and WiQuery :-)
Thanks for the help.
Bye
Stefan
Stefan Renz wrote:
> Hi Martin,
>
> thanks for the quick response.
&
Hi,
I'm wondering how I could conditionally leave out or replace a
CSSHeaderItem that is usually included. Application-wide resource
replacement is not an option.
Here's the scenario:
BasePage adds a Stylesheet by rendering a URL (it's external to the
Wicket application). A component in Concrete
lse) {
>ihr.render(CssHaderItem.forUrl(externalUrl));
> }
> }
>
> protected String getExternalResourceUrl() { ... }
> }
>
> class ChildPage extends BasePage {
>
> @Override protected String getExternalResourceUrl() {return null}
> }
>
>
> On Thu, Jan 31, 2013
find any problems?
>
>
>
> On Tue, Feb 12, 2013 at 11:47 AM, Stefan Renz wrote:
>
>> Hi,
>>
>> since migrating to Wicket 6, we have problems with InmethodGrid when
>> rendering in IE (6 and 8).
>>
>> Just rendering the page containing an InMeth
vov wrote:
> Is it possible to redirect user to the HomePage when new session is created?
>
> @Override
> public Session newSession(Request request, Response response)
> {
>
> //RequestCycle.get().setResponsePage(getHomePage());
> //or
> //RequestCycle.get().replaceAllRequestHandlers(new
> R
Hi,
what would be the best way to modify the HTML output of a component?
Consider this:
Text
which is backed by a Link component. By adding a behavior (I would
assume), I would like to modify this HTML to become sth like
Text
Please note that I want to preserve the componentTagBody.
I know h
Hi,
I've observed the following behavior with WiQuery's Tabs-component:
after reloading a page with a tabs component on it (or by navigating the
browser history), one can't switch the active tab anymore -- the
component always jumps back. The browser makes a new request.
Apparently, Wicket loads a
I forgot to mention that this happens with an ITabsAjaxEvent handler
installed on the Tabs component... so is this a stateful/stateless thing?
Bye
Stefan
Stefan Renz wrote:
> Hi,
>
> I've observed the following behavior with WiQuery's Tabs-component:
> after reload
I forgot to mention that this happens with an ITabsAjaxEvent handler
installed on the Tabs component... so is this a stateful/stateless thing?
Bye
Stefan
Stefan Renz wrote:
> Hi,
>
> I've observed the following behavior with WiQuery's Tabs-component:
> after reload
Hi,
has no-one observed this yet? Shall I file an issue?
Bye
Stefan
Stefan Renz wrote:
> Hi,
>
> I've observed the following behavior with WiQuery's Tabs-component:
> after reloading a page with a tabs component on it (or by navigating the
> browser history), one ca
Hi guys,
I'm desparate for your help: I just can't figure out how to suppress an
Image in case its IResource yields nothing.
Here's some context:
A customer may have a custom logo image (in fact, there's some logic
involved in determining which exact logo to use, but that's beside the
point) loc
Hi Sven,
Sven Meier wrote:
>> apart from asking the database _again_ for the data or presence thereof
>
> Whether the image is visible must be determined when the page is
> rendered. The actual loading of the image is done in another request.
> Thus two times to ask the databse.
thanks for remin
serves to show or hide the Image component using that Resource.
Thanks for your time and suggestions.
Bye
Stefan
Stefan Renz wrote:
> Hi guys,
>
> I'm desparate for your help: I just can't figure out how to suppress an
> Image in case its IResource yields nothing.
Hi Jeff,
could you use an AjaxSubmitLink and treat unauthenticated users as a validation
failure so that you end up in #onError() of your link? That way, you can keep
the submission login in Form#onSubmit()...
Bye
Stefan
Jeff Schneller wrote:
> Easy enough to implement when 1 form with subm
50 matches
Mail list logo