That depends on how much you value the landing experience. There will be an
extra page rendering and redirect for each new session. I haven't noticed
this pattern from any big online retailers, for example, but it may make
sense for you.
On Thu, Apr 26, 2012 at 6:56 PM, infiniter wrote:
> So, no
Hello,
how do you solved the problem exactly?
kind regards
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Trying-to-use-IAjaxCallDecorator-after-Modal-Window-close-tp4081142p4589548.html
Sent from the Users forum mailing list archive at Nabble.com.
So, no risk of a poor user experience?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/getting-client-s-TimeZone-and-performace-tp4590597p4591533.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Once per session
infiniter wrote:
when setting getRequestCycleSettings().setGatherExtendedBrowserInfo(true),
"it lets Wicket do a sneaky redirect to BrowserInfoPage (and back again)" to
get the extended browser info including the timezone from the client.
I wanted to know if that occurs on eve
when setting getRequestCycleSettings().setGatherExtendedBrowserInfo(true),
"it lets Wicket do a sneaky redirect to BrowserInfoPage (and back again)" to
get the extended browser info including the timezone from the client.
I wanted to know if that occurs on every request or just once per session
'
Thanks all for the reply, You were right...I did the change and it worked.
And also, SelectOption is not wicket one but a class created by me only:
package WalknShine;
import java.io.Serializable;
public class SelectOption implements Serializable{
/**
*
*/
I would like to aggregate all javascript and move to the bottom of the
page. I looked into the resource aggregation example and also filtering
header response. If I understand correctly header response filter
methods are called only when the scripts are added explicitly through
IHeaderResponse meth
Perfect, it works.
Thanks!
On Thu, Apr 26, 2012 at 3:52 PM, Martin Grigorov wrote:
> Hi,
>
> All you need is #renderHead() that does:
> response.render(OnDomReadyHeaderItem.forScript(getInitJavaScript())
>
> initJS will be delivered to the page after each re-render of the
> component - both Aj
Hi,
All you need is #renderHead() that does:
response.render(OnDomReadyHeaderItem.forScript(getInitJavaScript())
initJS will be delivered to the page after each re-render of the
component - both Ajax and non-Ajax.
On Thu, Apr 26, 2012 at 4:46 PM, Jordi Deu-Pons wrote:
> Hi,
>
> I'm developin
Hi,
I'm developing a component that needs to call a javascript function
after it's rendered (throw and AJAX update or a normal request).
I get it running like this:
@Override
protected void onBeforeRender() {
super.onBeforeRender();
AjaxRequestTarget target =
RequestCyc
Hi,
Works fine now :).
Melinda, Martin! Thank you for your help. I really appreciate that!
Just for the archive.
I add a panel overriding the getFilter method.
-
IColumn crdCol=new TextFilteredPropertyColumn(new ResourceModel("contentlisttable.crd"), "crd", "crd") {
@Ove
Good!
Wicket 1.4 implements this a bit differently and honestly I don't
quite understand how it works exactly.
My version requires Ajax behavior, this is OK for your case but may
not be OK for other people...
Let's see what the reporter of the ticket thinks about it and then we
can discuss adding i
Works great man!
Honestly, I wanted to write somekind of javascript like yours but I thought
that something like this must already be in Wicket to support multiple
window instances (and I am sure that it was there in W 1.4).
Nevertheless, thank you very much!
David
--
View this message in context:
Hi David,
I just attached a demo app with a behavior to
https://issues.apache.org/jira/browse/WICKET-4308 that implements the
requested functionality.
Please try it and give feedback.
On Thu, Apr 26, 2012 at 8:30 AM, David Rain wrote:
> Hello Martin!
>
> I do not use it right now but I would lik
Hi Martin,
done. https://issues.apache.org/jira/browse/WICKET-4519
Bert
On Thu, Apr 26, 2012 at 13:18, Martin Grigorov wrote:
> File a ticket please.
>
> On Thu, Apr 26, 2012 at 2:17 PM, Bert wrote:
>> Hi list,
>>
>> the JavaDoc for MarkupContainer#visitChildren() states that
>> "@param claz
File a ticket please.
On Thu, Apr 26, 2012 at 2:17 PM, Bert wrote:
> Hi list,
>
> the JavaDoc for MarkupContainer#visitChildren() states that
> "@param clazz The class of child to visit, or null to visit all children"
>
> The parameter clazz is used to create a new ClassVisitFilter which in
> i
Hi list,
the JavaDoc for MarkupContainer#visitChildren() states that
"@param clazz The class of child to visit, or null to visit all children"
The parameter clazz is used to create a new ClassVisitFilter which in
its visitObject() does not check for clazz == null, leading to a NPE.
regards
Be
It should work even with the Page variant.
Please create a quickstart and attach it to a ticket.
On Thu, Apr 26, 2012 at 1:58 PM, Jürgen Lind wrote:
> Hi Martin,
>
> thnaks for your reply and the explanation, I have now switched to the
> class-based
> variant and it works like it should.
>
> J.
>
Hi Martin,
thnaks for your reply and the explanation, I have now switched to the
class-based
variant and it works like it should.
J.
On 26.04.2012 12:05, Martin Grigorov wrote:
On Thu, Apr 26, 2012 at 12:50 PM, Jürgen Lind wrote:
Thanks for the quick responses... First of all the code sampl
As Melinda said earlier you need to use a Panel.
The idea is that this way you can use more complex components for
filtering, e.g. from-to dates, a Panel with two date fields.
On Thu, Apr 26, 2012 at 1:26 PM, Sandor Feher wrote:
> Ok, np.
> Here is what I did:
>
> c
>
> IColumn crdC
Ok, np.
Here is what I did:
c
IColumn crdCol=new TextFilteredPropertyColumn(new
ResourceModel("contentlisttable.crd"), "crd", "crd") {
@Override
public Component getFilter(String componentId, FilterForm
form) {
DateConverter dc=new DateCo
Sorry, I didn't understand that you want to do that for the filter field.
Override
org.apache.wicket.extensions.markup.html.repeater.data.table.filter.TextFilteredPropertyColumn#getFilter()
instead.
On Thu, Apr 26, 2012 at 12:36 PM, Sandor Feher wrote:
> Hi,
>
> If I do it in this way, then all
On Thu, Apr 26, 2012 at 12:50 PM, Jürgen Lind wrote:
> Thanks for the quick responses... First of all the code sample: in my
> LoginPanel
> I have a method that is invoked if the user authentication succeeds:
>
> protected void onSuccess(AuthenticatedUser user, AjaxRequestTarget
> target) {
>
Can't use a conditional statement? If filter add panel if not call
super.populateItem?
On Thu, Apr 26, 2012 at 11:36 AM, Sandor Feher wrote:
> Hi,
>
> If I do it in this way, then all of my cells in that column will change to
> input textfield. But I only want to change the cell which in the fil
Thanks for the quick responses... First of all the code sample: in my LoginPanel
I have a method that is invoked if the user authentication succeeds:
protected void onSuccess(AuthenticatedUser user, AjaxRequestTarget
target) {
EmobWebSession.get().setAuthenticatedUser(user);
Hi,
If I do it in this way, then all of my cells in that column will change to
input textfield. But I only want to change the cell which in the filter form
row.
Regards, Sandor
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/FilterForm-Date-column-formatting-tp458655
Hi Juergen,
This scenario should work just fine.
Wicket returns ./some/relative/url in the Ajax
response and uses window.location=url to do the "redirect"
Please try with 1.5.5 and create a ticket with a quickstart if it
still fails for you.
On Thu, Apr 26, 2012 at 12:05 PM, Jürgen Lind wrote:
>
Please provide some code-samples to show us what you are doing.
If it's related to an older issue it would be great if you could give more
details (link to the issue).
Am 26.04.12 11:05 schrieb "Jürgen Lind" unter :
>Hi,
>
>I have difficulties in using the setResponsePage in ajax call as Wicket
>
Hi,
I have difficulties in using the setResponsePage in ajax call as Wicket seems
to direct the
call to a relative URL. As a result, the request is made to the root context an
that gives me
a 404.
The scenario is as follows: I have a login form and would like to provide user
feedback on
submi
Ok, I will have try...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/FilterForm-Date-column-formatting-tp4586557p4589073.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsub
I think the problem is markup for cells is a . You need to create a
panel
.. Your date file code
and add that panel to table cell.
Regards,
Melinda
On Thu, Apr 26, 2012 at 8:48 AM, Sandor Feher wrote:
> Hi,
>
> Yes, sorry for that.
>
> ---
31 matches
Mail list logo