Re: ATOM display in wicket?

2011-10-12 Thread Peter Karich
 Hi,

I'm using it with wicket 1.4.18. Not sure if it works or exists for >1.5

For 1.4 this intro was useful (with my comment there):
http://it-essence.xs4all.nl/roller/technology/entry/rss_feeds_with_wicket_and

Regards,
Peter.

> Is wicketstuff-rome still a usable package with recent Wicket versions, or 
> does anyone have an alternative simple way to display an ATOM or RSS feed on 
> a wicket page?
>
> Thanks!
>
> Boris


-- 
http://jetsli.de news reader for geeks


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Recommended way for wicket:for and markupIDs

2011-10-12 Thread Matthias Keller

Hi

I really like the wicket:for feature; makes writing the HTML pages much 
less tedious -- except that it appears I have to use  
setOutputMarkupId() on each and every referenced Component - is this how 
it is expected to work? I expected that those IDs should be set 
automatically without a warning in the log every time?

The wicket XHTML-Page also doesn't mention anything about that.
We're using Wicket 1.5.1

We will also have to access certain input fields by javascript methods, 
what's the recommended way to do this since we cannot determine the IDs 
beforehand?


Thank you very much

Matt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Is there ModalWindow alternative options

2011-10-12 Thread nhsoft.yhw
I've got no problems with the quickstart application, I do not know how to
reproduce, I think this issue and modalwindow matter, because all broken
pages are used modalwindow components

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Is-there-ModalWindow-alternative-options-tp3896443p3900495.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



How to attach treelink to pages

2011-10-12 Thread pen
Hi all,

I am building a tree component, with the list of pages,

 
  -Page1
  -page2
  -page3

onclick it should navigate to respective page accordingly. some thing like
this,
add(new BookmarkablePageLink("page1", UserList.class));
add(new BookmarkablePageLink("page2", RoleList.class));

How to get this in tree component and set the responsepage ?

tree = new LinkTree("tree", createTreeModel()){ 
@Override
protected void onNodeLinkClicked(Object node, BaseTree tree,
AjaxRequestTarget target) {
super.onNodeLinkClicked(node, tree, target);

final DefaultMutableTreeNode treeNode = 
(DefaultMutableTreeNode) node;
final IModel model = (IModel) treeNode.getUserObject(); 

setResponsePage(  ?  );

}

Thanks.
Pen


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-attach-treelink-to-pages-tp3900319p3900319.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: creating a textarea with a radiobutton using Listview

2011-10-12 Thread wholalotta
Hi Manuelbarzi,

I still cant figure out why the texts in the textareas are removed when I
unset the checkbox that I selected.

I think the following line is used to prevent this problem but it doesnt
work. Do you have any idea?

listView.setReuseItems(true); 


Thanks


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/creating-a-textarea-with-a-radiobutton-using-Listview-tp3829602p3899670.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Detect Connection speed with Wicket or something similar

2011-10-12 Thread Brown, Berlin [GCG-PFS]
For our wicket applications, we want to detect the browser connection
speed, do you know of a library or approach for detecting the browser
speed.
 
There is a thing in wicket called AjaxTimerBehavior that I could use but
it is a little flaky and not built for the purpose of detetching browser
speed.
 
Do you have any ideas how to check this?
 
I thought about using jQuery also, but wouldn't know how?


ATOM display in wicket?

2011-10-12 Thread Boris Goldowsky
Is wicketstuff-rome still a usable package with recent Wicket versions, or does 
anyone have an alternative simple way to display an ATOM or RSS feed on a 
wicket page?

Thanks!

Boris



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Configurable Resource's url (use CDN or not)

2011-10-12 Thread Fabio Cechinel Veronez
Hello all,

I would like to implement my resources references (css files, js files
like jquery and sfuff) instances in a way that I could change the URL
it uses at head tag at runtime.

My goal is to easily change whether my references are fetched from a
CDN repository or internally by my own wicket application (or even if
it is minified or not).

And i was thinking about exposing those ResourceReferences instances
using JMX or something like that so I could change it with no need to
restart my application.

What would be the best solution for that?

Thanks in advance.

-- 
Fabio Cechinel Veronez

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: missing page

2011-10-12 Thread Miroslav F.
Thanks Martin, finaly my java code is:
public PageNotFound(PageParameters params)
{
ServletWebRequest servletWebRequest = (ServletWebRequest)
this.getRequest();
HttpServletRequest request =
servletWebRequest.getHttpServletRequest();
this.add(new Label("missingPage", (String)
request.getAttribute("javax.servlet.error.request_uri")));
} 
and corresponding markup:
Page [missing page name] which you were
looking for is not here.

Works.

Supplement question is: do I need raw servlet request to make lookup for
atributes or there is more
wicket way to do it?



> -Original Message-
> From: Martin Grigorov [mailto:mgrigo...@apache.org] 
> Sent: 12. October 2011 10:55
> To: users@wicket.apache.org
> Subject: Re: missing page
> 
> javax.servlet.error.request_uri
> google this for more information
> 
> On Wed, Oct 12, 2011 at 11:18 AM, Martin Funk 
>  wrote:
> > is
> >
> > RequestCycle.get().getRequest().getUrl()
> >
> > what you are looking for?
> >
> > mf
> >
> > 2011/10/11 Miroslav F. 
> >
> >> Hi guys,
> >>
> >> I need a help - have my custom class PageNotFound based on 
> this help:
> >> 
> https://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.htm
> >> l
> >>
> >> In my PageNotFound class I have:
> >> this.add(new Label("missingPage", 
> >> _put_pagename_which_was_not_found));
> >> but I have no idea how to find-out pagename. I just know 
> that somehow 
> >> system must know this pagename.
> >>
> >> Any ideas please?
> >>
> >> Miro
> >>
> >>
> >> 
> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >
> 
> 
> 
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



ModalWindow, IFrame and source

2011-10-12 Thread Nelson Segura
Hello everyone:

Looking back at issue:

https://issues.apache.org/jira/browse/WICKET-2207

I noticed that the fix was done against certain version of IE. In
other cases, like firefox, a request to http://:/ is still performed.
I have got some complains from users that their proxies are blocking
that particular call as invalid/suspicious, causing a blocked content
page to show instead of the modal window. I cannot reproduce this
myself, by have seen it in at least one of our QA machines.

My question is, is there a reason why this was not changed other than
certain versions of IE? Having the "src" of the iframe for modal
windows be "//:" still causes random problem for us in other browsers.

-Nelson Segura

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Is there ModalWindow alternative options

2011-10-12 Thread Martin Grigorov
attach a quickstart to the ticket and I'll reopen it

On Wed, Oct 12, 2011 at 12:54 PM, nhsoft.yhw  wrote:
>
> Martin Grigorov-4 wrote:
>>
>> This looks like https://issues.apache.org/jira/browse/WICKET-4119
>> which is fixed in trunk
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com
>>
>
> I just checkout lastest wicket snapshot code and build my application, but
> use the IE8 browser "Connection reset by peer: socket write error" error is
> still there; as before, chrome browser, no problem
>
> In my application, only some of the page/panel used ModalWindow page has
> problems in IE browser, other have found no problems.
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Is-there-ModalWindow-alternative-options-tp3896443p3897418.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Is there ModalWindow alternative options

2011-10-12 Thread nhsoft.yhw

Martin Grigorov-4 wrote:
> 
> This looks like https://issues.apache.org/jira/browse/WICKET-4119
> which is fixed in trunk
> 
> -- 
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
> 

I just checkout lastest wicket snapshot code and build my application, but
use the IE8 browser "Connection reset by peer: socket write error" error is
still there; as before, chrome browser, no problem

In my application, only some of the page/panel used ModalWindow page has
problems in IE browser, other have found no problems.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Is-there-ModalWindow-alternative-options-tp3896443p3897418.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Same link, multiple response

2011-10-12 Thread coincoinfou
Page is mounted like this : mount(new MountedMapper("/mount", MyPage.class));
With one parameter : pageid



click on tab 3 : i see panel3 and this url :
https://localhost/web/mount?57-3.ILinkListener-tabs-tabs~container-tabs-3-link&pageid=766978

click on tab4, i see panel1 and this url :
https://localhost/web/mount?58-4.ILinkListener-tabs-tabs~container-tabs-4-link&pageid=766978

Click to another link and return to normal for all



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Same-link-multiple-response-tp3896354p3897383.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [wicketstuff-push] How to disconnect cleanly?

2011-10-12 Thread vineet semwal
thank you martin !

 herald ,i have opened a issue for you
https://github.com/wicketstuff/core/issues/66
thank you !

On Wed, Oct 12, 2011 at 2:19 PM, Martin Grigorov  wrote:
> On Wed, Oct 12, 2011 at 11:13 AM, vineet semwal
>  wrote:
>> there is no need for the api change,its a bug and i think wicket-stuff
>> push developers will make that change there in
>> uninstallNode(component,node) ,they might be busy ..
> they should be notified
> add an issue in GitHub
>>
>> On Wed, Oct 12, 2011 at 12:50 PM, Harald Wellmann
>>  wrote:
>>> I'm currently doing timer.stop() in my application code before calling
>>> uninstallNode(), but that requires copying code from the private
>>> method TimerPushService._findPushBehavior(). So it seems the API could
>>> do with a couple of extensions for this case...
>>>
>>> Best regards,
>>> Harald
>>>
>>> 2011/10/11 vineet semwal :
 i think its better to do timerpushbehavior.stop() instead of
 component.remove(behavior)
 inside uninstallNode(component,node) but it might require other changes 
 too ..
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>>
>>
>> --
>> thank you,
>>
>> regards,
>> Vineet Semwal
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: missing page

2011-10-12 Thread Martin Grigorov
javax.servlet.error.request_uri
google this for more information

On Wed, Oct 12, 2011 at 11:18 AM, Martin Funk  wrote:
> is
>
> RequestCycle.get().getRequest().getUrl()
>
> what you are looking for?
>
> mf
>
> 2011/10/11 Miroslav F. 
>
>> Hi guys,
>>
>> I need a help - have my custom class PageNotFound based on this help:
>> https://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html
>>
>> In my PageNotFound class I have:
>> this.add(new Label("missingPage", _put_pagename_which_was_not_found));
>> but I have no idea how to find-out pagename. I just know that somehow
>> system must know this pagename.
>>
>> Any ideas please?
>>
>> Miro
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Same link, multiple response

2011-10-12 Thread Martin Grigorov
On Wed, Oct 12, 2011 at 11:34 AM, coincoinfou  wrote:
> I click link for tab2,
> first time I have tab2
> second time tab3
> third time tab1
>
> Strange !
Indeed!

We will need more details to be able to help you.
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Same-link-multiple-response-tp3896354p3897184.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Returning MIME-type for CSS-file

2011-10-12 Thread Martin Grigorov
Fixed with https://issues.apache.org/jira/browse/WICKET-4119

On Wed, Oct 12, 2011 at 11:49 AM, Kalle Rannikko
 wrote:
> Hi all,
>
> We are trying to migrate wicket from version 1.4.8 to 1.5.1. While other 
> browsers work fine, IE9 has issue with linking CSS-files 
> (http://blogs.msdn.com/b/ie/archive/2010/10/26/mime-handling-changes-in-internet-explorer.aspx).
>  To fix this, Content-Type: text/css must be returned for CSS-files. Is there 
> a way to do that?
>
> The original link in html file is:
>
> 
>
> And the error in IE9 console (using IE9 native mode):
>
> SEC7113: CSS was ignored due to mime type mismatch
> main.css?-royalblue&ver=408E40DEC658C9BFBC0B666CFBB1BB0B<0>
>
> -royalblue is a style setting and actual file referenced is 
> main_royalblue.css.
>
> With QueryStringWithVersionResourceCachingStrategy this almost works but 
> AbstractResource.setResponseHeaders(...) could not get content-type. For 
> CSS-files both filename and contentType are not set while 
> AbstractResource$ResourceResponse.getContentType() needs at least filename to 
> use Application.getMimeType() for finding correct contentType.
>
> Regards,
>  Kalle Rannikko
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Mounting external pages to root

2011-10-12 Thread Martin Grigorov
setup custom RootRequestMapper that delegates to the original and if
the original doesn't resolve any IRequestHandler then return
RenderPageRequestHandler(ExternalPage.class)

On Tue, Oct 11, 2011 at 5:00 PM, heikki  wrote:
> hi,
>
> forgive me for re-posting this, but it seems my code snippets in 
> tags are invisible in email ..
>
> I have a similar question, not sure if quite the same though. The pageflow
> is like this:
>
>
> (1) my app's homepage goes to a page with a loginform, SignInPage. On
> logging in the user gets to a page SignedInPage.
>
> (2) SignedInPage has a logout form, which logs out the user and should go
> back to SignInPage.
>
> (3) any other URL should be accepted and go to a page MainPage, which
> detects which URL path was used by checking PageParameters and could take
> action depending on its value.
>
>
> What is working fine are (1) and (3).  However on the SignedInPage, when
> submitting the logout form, an exception occurs indicating that it's trying
> to find the logout form on MainPage:
>
> Last cause: Could not find component 'logoutform' on page 'class
> my.package.page.MainPage
>
> Of course it isn't on MainPage, the logoutform is on SignedInPage.
>
> Can anyone tell me how to achieve a setup like this ? My current code is
> like this :
>
>
> In my Application init() I have
>
>      mountPage("/${username}", MainPage.class);
>      mountPage("/secure", SignedInPage.class);
>      mountPage("/", SignInPage.class);
>
> and I have also this method
>
>        public Class getHomePage() {
>             return SignInPage.class;
>        }
>
> The logoutform on SignedInPage has this in onSubmit() :
>
>      setResponsePage(SigninPage.class);
>
> Thanks in advance for your response,
> kind regards
> Heikki Doeleman
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Mounting-external-pages-to-root-tp3890756p3894513.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Returning MIME-type for CSS-file

2011-10-12 Thread Kalle Rannikko
Hi all,

We are trying to migrate wicket from version 1.4.8 to 1.5.1. While other 
browsers work fine, IE9 has issue with linking CSS-files 
(http://blogs.msdn.com/b/ie/archive/2010/10/26/mime-handling-changes-in-internet-explorer.aspx).
 To fix this, Content-Type: text/css must be returned for CSS-files. Is there a 
way to do that?

The original link in html file is:



And the error in IE9 console (using IE9 native mode):

SEC7113: CSS was ignored due to mime type mismatch
main.css?-royalblue&ver=408E40DEC658C9BFBC0B666CFBB1BB0B<0>

-royalblue is a style setting and actual file referenced is main_royalblue.css.

With QueryStringWithVersionResourceCachingStrategy this almost works but 
AbstractResource.setResponseHeaders(...) could not get content-type. For 
CSS-files both filename and contentType are not set while 
AbstractResource$ResourceResponse.getContentType() needs at least filename to 
use Application.getMimeType() for finding correct contentType.

Regards,
  Kalle Rannikko


Re: [wicketstuff-push] How to disconnect cleanly?

2011-10-12 Thread Martin Grigorov
On Wed, Oct 12, 2011 at 11:13 AM, vineet semwal
 wrote:
> there is no need for the api change,its a bug and i think wicket-stuff
> push developers will make that change there in
> uninstallNode(component,node) ,they might be busy ..
they should be notified
add an issue in GitHub
>
> On Wed, Oct 12, 2011 at 12:50 PM, Harald Wellmann
>  wrote:
>> I'm currently doing timer.stop() in my application code before calling
>> uninstallNode(), but that requires copying code from the private
>> method TimerPushService._findPushBehavior(). So it seems the API could
>> do with a couple of extensions for this case...
>>
>> Best regards,
>> Harald
>>
>> 2011/10/11 vineet semwal :
>>> i think its better to do timerpushbehavior.stop() instead of
>>> component.remove(behavior)
>>> inside uninstallNode(component,node) but it might require other changes too 
>>> ..
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
>
> --
> thank you,
>
> regards,
> Vineet Semwal
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Same link, multiple response

2011-10-12 Thread coincoinfou
I click link for tab2,
first time I have tab2
second time tab3
third time tab1

Strange !


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Same-link-multiple-response-tp3896354p3897184.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: missing page

2011-10-12 Thread Martin Funk
is

RequestCycle.get().getRequest().getUrl()

what you are looking for?

mf

2011/10/11 Miroslav F. 

> Hi guys,
>
> I need a help - have my custom class PageNotFound based on this help:
> https://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html
>
> In my PageNotFound class I have:
> this.add(new Label("missingPage", _put_pagename_which_was_not_found));
> but I have no idea how to find-out pagename. I just know that somehow
> system must know this pagename.
>
> Any ideas please?
>
> Miro
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: [wicketstuff-push] How to disconnect cleanly?

2011-10-12 Thread vineet semwal
there is no need for the api change,its a bug and i think wicket-stuff
push developers will make that change there in
uninstallNode(component,node) ,they might be busy ..

On Wed, Oct 12, 2011 at 12:50 PM, Harald Wellmann
 wrote:
> I'm currently doing timer.stop() in my application code before calling
> uninstallNode(), but that requires copying code from the private
> method TimerPushService._findPushBehavior(). So it seems the API could
> do with a couple of extensions for this case...
>
> Best regards,
> Harald
>
> 2011/10/11 vineet semwal :
>> i think its better to do timerpushbehavior.stop() instead of
>> component.remove(behavior)
>> inside uninstallNode(component,node) but it might require other changes too 
>> ..
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Is there ModalWindow alternative options

2011-10-12 Thread Martin Grigorov
This looks like https://issues.apache.org/jira/browse/WICKET-4119
which is fixed in trunk

On Wed, Oct 12, 2011 at 5:48 AM, nhsoft.yhw  wrote:
> for example:
> wicket version 1.5.0 or 1.5.1
> DataView with each row having Modalwindow
> int chrome, all works;
> in IE8 with X-UA-Compatible mode can not display row data, and server side
> did not receive browser request;
> in IE8 with normal mode can not display row data, and server side throw
> connection lost excepiton;
>
> ERROR - DefaultExceptionMapper     - Connection lost, give up responding.
> org.apache.wicket.protocol.http.servlet.ResponseIOException:
> ClientAbortException:  java.net.SocketException: Connection reset by peer:
> socket write error
>        at
> org.apache.wicket.protocol.http.servlet.ServletWebResponse.write(ServletWebResponse.java:126)
>        at
> org.apache.wicket.protocol.http.HeaderBufferingWebResponse.write(HeaderBufferingWebResponse.java:181)
>        at
> org.apache.wicket.request.resource.PackageResource$1.writeData(PackageResource.java:281)
>        at
> org.apache.wicket.request.resource.AbstractResource.respond(AbstractResource.java:497)
>        at
> org.apache.wicket.request.handler.resource.ResourceRequestHandler.respond(ResourceRequestHandler.java:77)
>        at
> org.apache.wicket.request.handler.resource.ResourceReferenceRequestHandler.respond(ResourceReferenceRequestHandler.java:92)
>        at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)
>        at
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
>        at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)
>        at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)
>        at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
>        at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399)
>        at
> org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
>        at
> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>        at
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
>        at
> org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188)
>        at
> org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
>        at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
>        at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>        at java.lang.Thread.run(Thread.java:662)
> Caused by: ClientAbortException:  java.net.SocketException: Connection reset
> by peer: socket write error
>        at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
>        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:354)
>        at
> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)
>        at 
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
>        at
> org.apache.catalina.connector.CoyoteOutputStream.wr

Re: OT: slides from JavaOne 2011 about web frameworks comparison

2011-10-12 Thread Martin Grigorov
On Wed, Oct 12, 2011 at 10:46 AM, Andrea Del Bene  wrote:
> Hi Chris,
>
> Martijn is working on both website and examples style. You can follow him
> and give feedbacks at https://issues.apache.org/jira/browse/WICKET-3341 and
> https://issues.apache.org/jira/browse/WICKET-3435.
>>
Martijn also accepts Pull Requests at https://github.com/dashorst/wicket-site
And I guess donations but contact him personally for this :-)

>> Wicket is clearly the best framework as we all know :) but newcomers
>> might not think that with the "retro style" Wicket website. It could
>> really benefit from an artistic/design update. I'd offer to help but as
>> a software engineer all my design skills exist below the presentation
>> layer :)
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: OT: slides from JavaOne 2011 about web frameworks comparison

2011-10-12 Thread Andrea Del Bene

Hi Chris,

Martijn is working on both website and examples style. You can follow 
him and give feedbacks at 
https://issues.apache.org/jira/browse/WICKET-3341 and 
https://issues.apache.org/jira/browse/WICKET-3435.

Wicket is clearly the best framework as we all know :) but newcomers
might not think that with the "retro style" Wicket website. It could
really benefit from an artistic/design update. I'd offer to help but as
a software engineer all my design skills exist below the presentation
layer :)




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: jqWicket or wiQuery

2011-10-12 Thread Martin Grigorov
On Wed, Oct 12, 2011 at 10:19 AM, Chris Colman
 wrote:
> Did I read somewhere recently that Wicket itself was starting to use
> some of jQuery directly for some of its js? If the use of jQuery
> directly by Wicket were to become more pervasive would that mean we
> would not need a separate
> jqWicket or wiQuery or is the Wicket library only using a small subset
> of jQuery and not intending to expose the entire jQuery API?
Wicket will use JQuery as a backing library for its wicket-ajax.js
initially. This involves - ajax, events, DOM manipulation.

Both Wiquery and jqWicket provide integration with JQuery UI, not plain JQuery.
Wicket core may provide some abstractions to make integrations with
JQuery UI at some later point.
>
>>-Original Message-
>>From: armandoxxx [mailto:armando@dropchop.com]
>>Sent: Wednesday, 12 October 2011 6:11 PM
>>To: users@wicket.apache.org
>>Subject: Re: jqWicket or wiQuery
>>
>>Hey ..
>>
>>I've had a hope someone else allready did it .. so that's why I asked.
>>
>>Regards
>>
>>Armando
>>
>>--
>>View this message in context: http://apache-
>>wicket.1842946.n4.nabble.com/jqWicket-or-wiQuery-tp3895432p3897026.html
>>Sent from the Users forum mailing list archive at Nabble.com.
>>
>>-
>>To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>For additional commands, e-mail: users-h...@wicket.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [wicketstuff-push] How to disconnect cleanly?

2011-10-12 Thread Harald Wellmann
I'm currently doing timer.stop() in my application code before calling
uninstallNode(), but that requires copying code from the private
method TimerPushService._findPushBehavior(). So it seems the API could
do with a couple of extensions for this case...

Best regards,
Harald

2011/10/11 vineet semwal :
> i think its better to do timerpushbehavior.stop() instead of
> component.remove(behavior)
> inside uninstallNode(component,node) but it might require other changes too ..

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: jqWicket or wiQuery

2011-10-12 Thread Chris Colman
Did I read somewhere recently that Wicket itself was starting to use
some of jQuery directly for some of its js? If the use of jQuery
directly by Wicket were to become more pervasive would that mean we
would not need a separate
jqWicket or wiQuery or is the Wicket library only using a small subset
of jQuery and not intending to expose the entire jQuery API?

>-Original Message-
>From: armandoxxx [mailto:armando@dropchop.com]
>Sent: Wednesday, 12 October 2011 6:11 PM
>To: users@wicket.apache.org
>Subject: Re: jqWicket or wiQuery
>
>Hey ..
>
>I've had a hope someone else allready did it .. so that's why I asked.
>
>Regards
>
>Armando
>
>--
>View this message in context: http://apache-
>wicket.1842946.n4.nabble.com/jqWicket-or-wiQuery-tp3895432p3897026.html
>Sent from the Users forum mailing list archive at Nabble.com.
>
>-
>To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: jqWicket or wiQuery

2011-10-12 Thread armandoxxx
Hey .. 

I've had a hope someone else allready did it .. so that's why I asked. 

Regards

Armando

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/jqWicket-or-wiQuery-tp3895432p3897026.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org