JOSSO wicket and Glassfish v2.1.1

2010-03-14 Thread Stevenson Cunanan
Hi,
I have a number of apps running in glassfish(but i also need them running on
other servers like JBOSS and TOMCAT). So I am currently trying to integrate
JOSSO with wicket and Glassfish. The single sign on works perfectly fine on
all other servers except glassfish. I actually had to add an extra filter to
allow a simple page to load properly. However, It takes so much longer if I
add more resources and I mean really long. in fact when I stop glassfish
that is when the resources quickly loads and the page displays. Can anyone
advice on how I should go about this problem?

Best regards,
Stevenson Lee


Re: Looking for a less chatty auto-complete component?

2010-03-14 Thread Peter Thomas
On Mon, Mar 15, 2010 at 7:12 AM, Ben Hutchison  wrote:
> Hi all,
>
> We're developing a wicket web-application that makes heavy use of
> auto-complete text fields populated from slow back-end (mainframe) web
> services.
>
> Concerned that standard auto-complete behavior will be too chatty and result
> in many calls to slow services, we're keen on an alternative less chatty
> model:
>
> - No autocomplete behavior is triggered until at least N (eg 3) characters
> have been entered.
> - When N characters are entered, a query is performed, once.
> - These results are cached client-side, and subsequent character entry
> simply narrows the search in the pre-retrieved results.
> - If any of the first N characters in the string are altered, the cache
> results are discarded and a new query is performed.
>
> Does anything like this exist in open source that could be reused?
>
> -Ben
>

You could use this blog post as a starting point, the YUI autocomplete
component allows for a lot of customization on the client side like
you need:

http://ptrthomas.wordpress.com/2009/08/12/wicket-tutorial-yui-autocomplete-using-json-and-ajax/

> --
>
>
>
> *Ben Hutchison
> Senior Developer
> * Level 2 476 St Kilda Road Melbourne VIC 3004
> T 613 8807 5252 | F 613 8807 5203 | M 0423 879 534 | www.ibsglobalweb.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



Looking for a less chatty auto-complete component?

2010-03-14 Thread Ben Hutchison

Hi all,

We're developing a wicket web-application that makes heavy use of 
auto-complete text fields populated from slow back-end (mainframe) web 
services.


Concerned that standard auto-complete behavior will be too chatty and 
result in many calls to slow services, we're keen on an alternative less 
chatty model:


- No autocomplete behavior is triggered until at least N (eg 3) 
characters have been entered.

- When N characters are entered, a query is performed, once.
- These results are cached client-side, and subsequent character entry 
simply narrows the search in the pre-retrieved results.
- If any of the first N characters in the string are altered, the cache 
results are discarded and a new query is performed.


Does anything like this exist in open source that could be reused?

-Ben

--



*Ben Hutchison
Senior Developer
* Level 2 476 St Kilda Road Melbourne VIC 3004
T 613 8807 5252 | F 613 8807 5203 | M 0423 879 534 | 
www.ibsglobalweb.com 




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



Wicket with Jquery jqGrid

2010-03-14 Thread Verma Shalini (HCTM/ETA)
Has anybody tried integrating Jquery jqGRid with wicket?

Thanks
Shalini



Integrating Wicket with Jquery Flexigrid

2010-03-14 Thread Verma Shalini (HCTM/ETA)
Hi,

I was trying to search if anybody has integrated the Jquery Felxigrid plugin 
with Wicket.As the tool is very powerful.

Thanks
Shalini



Re: LDM, Forms, and Ajax

2010-03-14 Thread Juha Palomäki
Could you post the source code for the page that is having the problems?

On Fri, Mar 12, 2010 at 4:47 AM, Matthew Welch  wrote:
> I'm experimenting with a domain model that extremely interconnected. It's
> being persisted using a graph database which handles this high degree of
> interconnectivity with aplomb, however because my each of my domain objects
> is so tighly tied to the others, I have to be very careful to always use
> LoadableDetachableModels or I can easily end up serializing quite a bit of
> unintended data with the page.
>
> So far, this hasn't been too bad. In the past, I never used LDMs for forms,
> and I ran into a few initial issues at first, but they were mostly just me
> relearning some of my former habits. However, I have no run into an a corner
> case that I'm hoping someone with more knowledge of Wicket or a good
> creative stream might be able to help me figure out.
>
> I have a form backed by a LDM. Three of the fields (select fields) are
> cascading in the sense that I need to fill out one before the second is
> enabled and the options for the second are determined by the first. The
> cascade continues from the second to the third. I attached a
> AjaxFormComponentUpdatingBehavior tied to the "onblur" event for the first
> and second fields. I used this update the second and third fields when
> appropriate. This seemed to work fine, but then suddenly I ran into problems
> with the fields reverting back to the values they held before I modified
> them. I'm embarrassed to admin that I was stumped by this for a good thirty
> minutes until I remembered that this was all backed by a LDM. Obviously,
> when the ajax request would hit the server, the model would be reloaded from
> the back end with it's original values.
>
> I'm a bit stuck. I can make the form a little less fancy and not limit the
> items in the second and third fields from the value in the first and second
> respectively, but I'd prefer not to have to do that. Any ideas?
>
> Matt
>

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



Re: ClassLoader (Serialization?) error

2010-03-14 Thread Jonas
As stated in my previous mail, I really doubt this is a classloader
issue, since the class name is
'mypackage.MyClass-%20fi%20usuari%20--%3E%20%20%3C'
which decodes to
'mypackage.MyClass- fi usuari -->  <'
which obviously isn't just a class name, but a class name
plus some 'garbage', which will make any classloader choke.

2010/3/13 François Meillet :
> sounds like a classloading effect.
>
> Have a look to the classloader hierarchy
>
> Here is a good doc:
> http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html
>
> Especially this one : Resource Loading Order
> http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html#wp1097288
>
> François
>
>
> Le 12 mars 2010 à 17:30, Igor Vaynberg a écrit :
>
>> ive seen this once before on the list. also with weblogic i think.
>> search the list.
>>
>> -igor
>>
>> On Fri, Mar 12, 2010 at 3:16 AM, Xavier López  wrote:
>>> Hi,
>>>
>>> From time to time I see the following error in my deployed application's
>>> log. The application is running clustered on Weblogic 9.2 MP3.
>>>
>>> It seems to be messing up with the classloading of class mypackage.MyClass
>>> (this error comes up in many different classes). I can guess from the stack
>>> trace that something is going wrong maybe serializing that page, it can be
>>> seen that the class name is being messed with some content of the page (div
>>> tags, text displayed in the page,...).
>>>
>>> Has anyone been in this situation before ? Any tip on how to address the
>>> issue ?
>>>
>>> 2010-03-11 22:31:10,506 ERROR ap16_s1_IX_II [[ACTIVE] ExecuteThread: '2' for
>>> queue: 'weblogic.kernel.Default (self-tuning)']
>>> org.apache.wicket.request.target.resource.SharedResourceRequestTarget
>>> 579910|vJS0LZhR01NKqxLWh6QbpWm77g3jHJ96Y4GYV6KB996NfHnHLb5t!-619140133!
>>> 1268343057...@192.168.131.142 - unable to lazily register shared resource
>>> mypackage.MyClass%20fi%20usuari%20--%3E%20%20%3C/div%3E%3Cdiv%20id=
>>> java.lang.ClassNotFoundException:
>>> mypackage.MyClass-%20fi%20usuari%20--%3E%20%20%3C
>>>    at
>>> weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)
>>>    at
>>> weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
>>>    at
>>> weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
>>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>    at
>>> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)
>>>    at
>>> weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
>>>    at
>>> org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:103)
>>>    at
>>> org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:149)
>>>    at
>>> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
>>>    at
>>> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1181)
>>>    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
>>>    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
>>>    at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
>>>    at
>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
>>>    at
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
>>>    at mypacakge.MyFilter.doFilter(ANetFilter.java:37)
>>>    at
>>> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
>>>    at
>>> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
>>>    at
>>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>>>    at
>>> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>>>    at
>>> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
>>>    at
>>> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
>>>    at
>>> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
>>>    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
>>>    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>>> 2010-03-11 22:31:10,511 ERROR ap16_s1_IX_II [[ACTIVE] ExecuteThread: '2' for
>>> queue: 'weblogic.kernel.Default (self-tuning)']
>>> org.apache.wicket.request.target.resource.SharedResourceRequestTarget
>>> 579910|vJS0LZhR01NKqxLWh6QbpWm77g3jHJ96Y4GYV6KB996NfHnHLb5t!-619140133!
>>> 1268343057...@192.168.131.142 - shared resource
>>> mypackage.MyClass-%20fi%20usuari%20--%3E%20%20%3C/div%3E%3Cdiv%20id= not
>>> found
>>>
>>> Thanks,
>>> Xavier
>>>
>>
>> -
>> To unsubs

testing a wicket panel

2010-03-14 Thread ayman elwany
Hi all,

I had this AutoCompleteform.html




 






my question : how can i test setting a value in this input textfield
"autoOne"?

I only started the panel in the wicket tester :

  tester.startPanel(new TestPanelSource() {
public Panel getTestPanel(String panelId) {
return new AutoCompleteform(panelId, inputMap, employer);
}
});


but I don't know what to do next?


Re: Page reload after submit action

2010-03-14 Thread Manfred Bergmann

Hello Vinnet.

Thank you. Upgrading to Wicket 1.4.7 fixed the problem.


Cheers,
Manfred


vineet semwal wrote:
> 
> Hi,
> It appears you are on 1.4.6,upgrade to 1.4.7 and see if the problem
> disappears.
> 
> 
> On Sun, Mar 14, 2010 at 5:15 AM, Bergmann Manfred
> wrote:
> 
>> Hi there.
>>
>> I have the following problem with reloading the same page that is
>> currently
>> loaded.
>> I'm working on a blog application. Normally the URL in the browser for a
>> specific blog entry is like this:
>> http:///blog/id/
>> where /blog is mounted as bookmarkable in Application to Blog WebPage
>> subclass which has a constructor with PageParameters which accepts
>> "id=" which then is translated to /blog/id/ by
>> Wicket.
>>
>> Now there is an add comment panel on the page that, when a user submits
>> it,
>> should load the Blog page for the same .
>> In onSubmit I tried with: setResponsePage(Blog.class, new
>> PageParameters("id="+) which ends up that a page with this
>> URL
>> is loaded /blog/id/blog/id/ which of course doesn't work.
>> Reloading the same page using setResponsePage(getWebPage) doesn't work
>> either.
>>
>> I'm probably missing the obvious but I'd appreciate if someone could help
>> me here.
>>
>>
>> Manfred
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> 
> -- 
> regards,
> Vineet Semwal
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Page-reload-after-submit-action-tp27891746p27894271.html
Sent from the Wicket - User 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