Re: TextField to ArrayList

2013-03-04 Thread Sven Meier
Write your own IConverter that converts List to comma separated 
string and vice-versa.


Sven

On 03/05/2013 02:20 AM, Stephen Walsh wrote:

I have an object that has a List which is a simple object with a name,
id, etc.  I'm attempting to use wicketstuff tagit, and my form has a
tagittextfield for this item.  I'm hoping to get the comma separated string
into List.

If I pre-populate the new object with a list, I get something like: [tag1,
tag2].  If I try to submit the form though it fails because it's getting a
string instead of an array list.  Makes sense.  Is there a way to convert
this comma separated list into an array before the validator runs on the
object which is bound to the form?

Thanks as always!
___
Stephen Walsh | http://connectwithawalsh.com




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



TextField to ArrayList

2013-03-04 Thread Stephen Walsh
I have an object that has a List which is a simple object with a name,
id, etc.  I'm attempting to use wicketstuff tagit, and my form has a
tagittextfield for this item.  I'm hoping to get the comma separated string
into List.

If I pre-populate the new object with a list, I get something like: [tag1,
tag2].  If I try to submit the form though it fails because it's getting a
string instead of an array list.  Makes sense.  Is there a way to convert
this comma separated list into an array before the validator runs on the
object which is bound to the form?

Thanks as always!
___
Stephen Walsh | http://connectwithawalsh.com


Re: How to redirect an external web site and where is setRequestTarget method?

2013-03-04 Thread mike.hua
It is good to throw the RedirectToUrlException!

@Override
public void onSubmit() {
RedirectToUrlException objRedirect;
objRedirect = new RedirectToUrlException("http://www.163.com/";);
throw objRedirect;
}

Thanks for Vineetsemwal and Stephen's help!



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-redirect-an-external-web-site-and-where-is-the-setRequestTarget-method-tp4656924p4656963.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: 42lines CDI injection failure fallback - set to null?

2013-03-04 Thread Igor Vaynberg
this is how cdi works, if it cannot inject something it fails. notice
the top frame is inside weld not wicket nor wicket-cdi.

if you have things that can be optional you should inject
Instance and query that for thing.

-igor

On Mon, Mar 4, 2013 at 1:25 PM, Ondrej Zizka  wrote:
> Hi all,
>
> I use the CDI integration.
>
>new
> CdiConfiguration(bm).setPropagation(ConversationPropagation.NONE).configure(this);
>
> When the injection fails, it happens in . Can I configure it to set
> the field to null,  as a NPE during page rendering is easier to handle than
> init exception?
> I didn't find anything in the lib itself.
>
> The stacktrace is:
>
>  at
> org.jboss.weld.manager.SimpleInjectionTarget.inject(SimpleInjectionTarget.java:102)
>  at net.ftlines.wicket.cdi.NonContextual.inject(NonContextual.java:141)
>  at
> net.ftlines.wicket.cdi.NonContextualManager.inject(NonContextualManager.java:49)
>  at
> net.ftlines.wicket.cdi.AbstractInjector.inject(AbstractInjector.java:38)
>  at
> net.ftlines.wicket.cdi.ComponentInjector.onInstantiation(ComponentInjector.java:43)
>  at
> org.apache.wicket.application.ComponentInstantiationListenerCollection$1.notify(ComponentInstantiationListenerCollection.java:36)
>  at
> org.apache.wicket.application.ComponentInstantiationListenerCollection$1.notify(ComponentInstantiationListenerCollection.java:34)
>  at
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>  at
> org.apache.wicket.application.ComponentInstantiationListenerCollection.onInstantiation(ComponentInstantiationListenerCollection.java:32)
>  at org.apache.wicket.Component.(Component.java:679)
>
>
> Thanks,
> Ondra
>
> -
> 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: Processing form input at the start of a session?

2013-03-04 Thread Bernard
Hi,

On Mon, 04 Mar 2013 22:16:06 +0100, you wrote:

>Thanks, I thought this answer will come. Let me ask differently:
>
>What is it which prevents Wicket applying the input on the first request?
>
Please see the comments in ListenerInterfaceRequestHandler#respond()

Wicket ignores the input if the page is re-created after expiry.

>What's the conceptual difference between creating a page, rendering a 
>page, receiving a request and applying the incoming data,
>versus creating a page and applying the incoming data? Regardless of 
>whether there are stateful components or not.

Please see ListenerInterfaceRequestHandler#respond()

A stateful page might get fetched from the page store if it is not
expired. Alternatively, after expiry, it is created with its page
constructor.

A page is rendered after the incoming data and any other model data is
applied to the page instance.

>
>Is this going to be targetted in the future?
>

Please see the jira links below.

>I believe this has been discussed, so a link to such conversation is 
>appreciated.

Please see for an example discussion (AJAX)
http://stackoverflow.com/questions/10582601/how-can-i-make-wickets-ajaxlink-stateless



There are jira issues to improve Wicket's response to various page
expiry scenarios:

Optionally execute Callback Behavior on Re-construction after Expiry
https://issues.apache.org/jira/browse/WICKET-5070

PageParameters missing from re-created Page
https://issues.apache.org/jira/browse/WICKET-5068

Mounted bookmarkable Page not recreated on Session Expiry
https://issues.apache.org/jira/browse/WICKET-4997

Page not bookmarkable with WebApplication#mountPackage
https://issues.apache.org/jira/browse/WICKET-5043

Recovery of bookmarkable Page after Session Expiry
https://issues.apache.org/jira/browse/WICKET-5001

Validation and Code Quality Issues with "Default Constructor" on
Re-creation after Page Expiry
https://issues.apache.org/jira/browse/WICKET-5069

I think that for best results, only minimal cooperation of the
application with the framework, e.g. some configuration in the page
object is required.

IMHO Wicket is in the position to eliminate most existing issues
related to PageExpiredException. So far, Wicket has adopted a black
and white approach to server state which is basically denial of
service. The justification has been that Wicket does not know whether
the component state is valid after reconstruction of the page
(re-construction being is a relatively recent addition since
https://issues.apache.org/jira/browse/WICKET-4014)

So not knowing whether the component state after re-constructing the
page is valid, Wicket currently refuses to invoke behavior of links
and form submits.

My idea for an approach is to keep some vital state e.g. record ID,
edit/view mode, in PageParameters client side and manage the loss of
the remaining state gracefully. In this context, it is interesting to
know that AJAX components make the page stateful but often such state
is not vital for invocation of behavior after expiry.

Wicket server side component state provides a great advantage compared
with having to encode all state in parameters and pass it to and from
the client.

However this advantage is over-compensated by the effort one has to
spend on testing and fixing the expiry behavior of every single page
of a site. The effort can be enormous.

Regards,

Bernard

>
>Thanks!
>Ondra
>
>
>
>On 03/04/2013 03:27 PM, Martin Grigorov wrote:
>> Hi,
>>
>> Make the page stateless, i.e. StatelessForm instead and avoid any other
>> stateful components.
>>
>>
>> On Mon, Mar 4, 2013 at 4:23 PM, Ondrej Zizka  wrote:
>>
>>> Hi all,
>>>
>>> let's have a bookmarkable page with a form.
>>> This form is submitted after session expiration.
>>> The result is that Wicket ignores the input and renders the page as it was
>>> just loaded by URL.
>>>
>>> How can I make Wicket process the POST body and do the whole cycle - fill
>>> the models, validate, etc.?
>>>
>>> Thanks,
>>> Ondra
>>>
>>> --**--**-
>>> To unsubscribe, e-mail: 
>>> users-unsubscribe@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


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



Re: Rendering HTML from String

2013-03-04 Thread Stephen Walsh
Nevermind, found setEscapeModelStrings(false)

___
Stephen Walsh | http://connectwithawalsh.com


On Mon, Mar 4, 2013 at 4:41 PM, Stephen Walsh  wrote:

> I am having a heck of a time trying to find any examples on this.  I have
> saved a string in a TextArea with the TinyMCE behavior in my database.  I
> want to output it with the associated HTML tags.
>
> Any direction on this?
>
> ___
> Stephen Walsh | http://connectwithawalsh.com
>


Rendering HTML from String

2013-03-04 Thread Stephen Walsh
I am having a heck of a time trying to find any examples on this.  I have
saved a string in a TextArea with the TinyMCE behavior in my database.  I
want to output it with the associated HTML tags.

Any direction on this?

___
Stephen Walsh | http://connectwithawalsh.com


42lines CDI injection failure fallback - set to null?

2013-03-04 Thread Ondrej Zizka

Hi all,

I use the CDI integration.

   new 
CdiConfiguration(bm).setPropagation(ConversationPropagation.NONE).configure(this);


When the injection fails, it happens in . Can I configure it to 
set the field to null,  as a NPE during page rendering is easier to 
handle than init exception?

I didn't find anything in the lib itself.

The stacktrace is:

 at 
org.jboss.weld.manager.SimpleInjectionTarget.inject(SimpleInjectionTarget.java:102)
 at net.ftlines.wicket.cdi.NonContextual.inject(NonContextual.java:141)
 at 
net.ftlines.wicket.cdi.NonContextualManager.inject(NonContextualManager.java:49)
 at net.ftlines.wicket.cdi.AbstractInjector.inject(AbstractInjector.java:38)
 at 
net.ftlines.wicket.cdi.ComponentInjector.onInstantiation(ComponentInjector.java:43)
 at 
org.apache.wicket.application.ComponentInstantiationListenerCollection$1.notify(ComponentInstantiationListenerCollection.java:36)
 at 
org.apache.wicket.application.ComponentInstantiationListenerCollection$1.notify(ComponentInstantiationListenerCollection.java:34)
 at 
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
 at 
org.apache.wicket.application.ComponentInstantiationListenerCollection.onInstantiation(ComponentInstantiationListenerCollection.java:32)
 at org.apache.wicket.Component.(Component.java:679)


Thanks,
Ondra

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



Re: Processing form input at the start of a session?

2013-03-04 Thread Ondrej Zizka

Thanks, I thought this answer will come. Let me ask differently:

What is it which prevents Wicket applying the input on the first request?

What's the conceptual difference between creating a page, rendering a 
page, receiving a request and applying the incoming data,
versus creating a page and applying the incoming data? Regardless of 
whether there are stateful components or not.


Is this going to be targetted in the future?

I believe this has been discussed, so a link to such conversation is 
appreciated.


Thanks!
Ondra



On 03/04/2013 03:27 PM, Martin Grigorov wrote:

Hi,

Make the page stateless, i.e. StatelessForm instead and avoid any other
stateful components.


On Mon, Mar 4, 2013 at 4:23 PM, Ondrej Zizka  wrote:


Hi all,

let's have a bookmarkable page with a form.
This form is submitted after session expiration.
The result is that Wicket ignores the input and renders the page as it was
just loaded by URL.

How can I make Wicket process the POST body and do the whole cycle - fill
the models, validate, etc.?

Thanks,
Ondra

--**--**-
To unsubscribe, e-mail: 
users-unsubscribe@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: inmethod-grid refresh issue

2013-03-04 Thread saty
Thanks Marc, This is indeed the issue, i am going to make it light weight for
now and provide an alternate mechanism to launch the other features that are
stuffed in here at present.

Thank for helping me out.







--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656957.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: Wicket Tester with BookmarkablePageLink

2013-03-04 Thread yka
Sure, this is the test code:

public class AbstractBasePageTester {
private WicketTester tester;

private StartApplication app;

@Mock
private CustomerService aService;

@Before
public void setUp() {
MockitoAnnotations.initMocks(this);
app = new StartApplication() {
@Override
public ServletContext getServletContext() {
ServletContext servletContext = 
super.getServletContext();
XmlWebApplicationContext applicationContext = 
new
XmlWebApplicationContext();
applicationContext

.setConfigLocation("classpath:applicationContext.xml");

applicationContext.setServletContext(servletContext);
// applicationContext.refresh();
servletContext
.setAttribute(

WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE,

applicationContext);

return servletContext;
}
};

org.apache.log4j.Logger logger = org.apache.log4j.Logger
.getLogger("org.apache.wicket.util.tester");
logger.setLevel(Level.DEBUG);

tester = new WicketTester(app);
}

@Test
public void homepageRendersSuccessfully() {
// start and render the test page
tester.startPage(Start.class);
tester.assertRenderedPage(Start.class);
tester.assertNoErrorMessage();
tester.debugComponentTrees();
tester.assertComponent("createCustomerLink", 
BookmarkablePageLink.class);
tester.assertComponent("showCustomersLink", 
BookmarkablePageLink.class);
tester.clickLink("createCustomerLink");
}

}



And this the normal code:
public class Start extends WebPage {

public Start() {
BookmarkablePageLink customerLink = new
BookmarkablePageLink(
"createCustomerLink", CreateCustomer.class);
customerLink.add(new Label("createCustomerLabel",
getString("createCustomerLabel")));
add(customerLink);
BookmarkablePageLink showCustomersLink = new
BookmarkablePageLink(
"showCustomersLink", ShowCustomers.class);
showCustomersLink.add(new Label("showCustomersLabel",
getString("showCustomersLabel")));
add(showCustomersLink);
}
}

public class StartApplication extends WebApplication {

@Override
public Class getHomePage() {
return Start.class;
}

@Override
protected void init() {
super.init();
SpringComponentInjector springComponentInjector = new
SpringComponentInjector(
this);

getComponentInstantiationListeners().add(springComponentInjector);

}

}



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Tester-with-BookmarkablePageLink-tp4656921p4656954.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: inmethod-grid refresh issue

2013-03-04 Thread Marc Nuri San Félix
I bet we are getting to the source of the problem.

Non light-weight columns like yours, create the components just once when
the grid is first rendered. So the model instances you pass when you create
the Component will remain the same even if you update the grid.

I believe non-lightweight columns where designed as a means to create
editable rows and shouldn't be used otherwise.

I don't think you really need to use a component for what you are trying to
accomplish.
Maybe you should override "public IRenderable newCell(IModel
rowModel)" instead and write whatever markup you need directly to the
response.

Hope it helps
--
Marc Nuri
www.marcnuri.com


On Mon, Mar 4, 2013 at 7:13 PM, saty  wrote:

> Actually i have overridden
> public Component newCell(WebMarkupContainer parent, String componentId,
> IModel rowModel)
> {
> ...
> }
>
> to use a separate panel for cell content, due to other functions, will not
> make any difference?
>
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656952.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: inmethod-grid refresh issue

2013-03-04 Thread saty
Actually i have overridden 
public Component newCell(WebMarkupContainer parent, String componentId,
IModel rowModel) 
{
...
}

to use a separate panel for cell content, due to other functions, will not
make any difference?

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656952.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: inmethod-grid refresh issue

2013-03-04 Thread Marc Nuri San Félix
You should start debugging your project instead of using "print" to see
what is really happening (call stack, variable values...).

PropertyColumn always calls the get method of your model object:

@Override
public IRenderable newCell(IModel rowModel)
{
return new IRenderable()
{
public void render(IModel rowModel, Response response)
{
CharSequence value = getValue(rowModel);
if (value != null)
{
response.write(value);
}
}
};
}

private CharSequence getValue(IModel rowModel)
{
I rowObject = getModelObject(rowModel);
P property = null;
if (rowObject != null)
{
try
{
property = getProperty(rowObject, getPropertyExpression());
}
catch (NullPointerException e)
{

}
}
CharSequence string = convertToString(property);
if (isEscapeMarkup() && string != null)
{
string = Strings.escapeMarkup(string.toString());
}
return string;
}





On Mon, Mar 4, 2013 at 6:11 PM, saty  wrote:

> Also i put a print on every getter but it only prints on first call on a
> set
> of rows, if you filter among those rows its never get called, i suspect the
> grid has rows cached and its assuming nothing changed so using those rows
> again as a subset of previously created rows.
>
> Thanks
>
>
>
>
>
>


Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Also i put a print on every getter but it only prints on first call on a set
of rows, if you filter among those rows its never get called, i suspect the
grid has rows cached and its assuming nothing changed so using those rows
again as a subset of previously created rows.

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656950.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: inmethod-grid refresh issue

2013-03-04 Thread saty
yes i am using property columns in grid to map columns to properties of
model.

Data Source is a very simple implementation just filter model objects in a
cache into a list of filtered model objects.

Context is user and also his filter settings.

If a user can not see value from source x so his calculated value would be
total value minus what he can not see, there are several other parameter to
this context but this is what it is for all parameters. Also if he has
filtered the view on XYZ, the calculated value will exclude everything that
comes from XYZ (including rows).

Its like total sales coming from multiple accounts but user may be seeing
only one or few accounts (not all) so sales should show what is the sale
from those selected accounts (in view).

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656949.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: inmethod-grid refresh issue

2013-03-04 Thread Marc Nuri San Félix
In your IDataSource code, you left out the implementation "public
IModel model(MyModel object);", I'm quite suspicious that your
models are the source of the problem.
I'm assuming that you are using PropertyColumns in your grid, with these
columns, your getter method should be getting called every time.
You also say "...that may return different value if the context changes..."
what does "context" stand for?
--
Marc Nuri
www.marcnuri.com


On Mon, Mar 4, 2013 at 5:39 PM, saty  wrote:

> Its a regular java bean with properties and setter and getter methods.
> Grid uses the expression to map a column to a particular property on row
> model (MyModel).
>
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656945.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: inmethod-grid refresh issue

2013-03-04 Thread saty
Just managed to get a workaround to fix the problem.
I have to add a dummy property to the model object and calculate that
property within my data source and than use that property to map to the
calculated column.
However since i can not change the state of original shared model object, so
i have to clone it first (for every user, not a good idea ) and it
introduces whole set of new problems.

Does that ring a bell, how the problem can be solver without all this?

When the model expose a getCalculatedValue method, why would not the grid
call that method to render the row every time on a column that is mapped to
an expression 'calculatedValue' ?

Thanks




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656947.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: 404 error in nested ModalWindow IE 7

2013-03-04 Thread Jered Myers

This problem is not replicating in Wicket 1.4.21.

On 03/01/2013 09:36 AM, Jered Myers wrote:

I added this problem to JIRA.

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

On 03/01/2013 08:29 AM, Jered Myers wrote:
The page is stateless, so it has the same value being set for 
settings.ie8_src and settings.src in getWindowOpenJavaScript().  It 
seems that only pages with setStatelessHint(false) hit the second 
path in the code...


IRequestHandler handler = new 
RenderPageRequestHandler(new PageProvider(page));


pageUrl = requestCycle.urlFor(handler);
String ie8_pageUrl = 
requestCycle.getUrlRenderer().renderRelativeUrl(

requestCycle.mapUrlFor(handler));
appendAssignment(buffer, "settings.ie8_src", 
ie8_pageUrl);


When I set the stateless hint to false, the value is the same for 
pageUrl and ie8_pageUrl.  I would expect it to be different as that 
makes having two URLs for window.location pointless.  My guess is 
that I am not replicating the reason for the two different settings 
or there is a bug.


I will add this as a bug in JIRA and clean up my notes to clarify my 
testing results.


On 03/01/2013 01:09 AM, Martin Grigorov wrote:

Hi,

See 
org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow#getWindowOpenJavaScript().

There is such code:
appendAssignment(buffer, "settings.ie8_src", pageUrl);

which is used in modal.js:

if(Wicket.Browser.isIELessThan9()){
this.content.contentWindow.location.replace(this.settings.ie8_src);
  }else{
this.content.contentWindow.location.replace(this.settings.src);
}

I guess this code breaks for you.

I don't have IE 7/8 around to test it.


On Fri, Mar 1, 2013 at 12:43 AM, Jered Myers
wrote:

It appears that the request is different between IE7 and Chrome 
once it
hits the Jetty server with the inner modal window.  modal.js is 
calling
window.location.replace in load with the same value no matter what 
browser

I am using.  The first window in the Quickstart has a location of
"./wicket/bookmarkable/com.qs.**NestedModals.**OuterModalContent" 
and the

second modal is missing "wicket/bookmarkable" and is only
"./com.qs.NestedModals.**InnerModalContent".  I didn't mount 
anything (no
changes in the Application class).  The original problem was on a 
Tomcat6
server and I tried several versions of Jetty and didn't see a 
change.  I
did find that if I mount the content page in the Quickstart the 
problem is
resolved; however, this is not fixing my primary application. It 
appears

that the mappers are not able to locate the page for the class.

Please help if you can.


On 02/26/2013 04:47 PM, Jered Myers wrote:


I am attaching a Quickstart that replicates the problem.

On 02/25/2013 09:48 AM, Jered Myers wrote:

I put a break point in CompoundRequestMapper at line 149 (the 
mapRequest

function). Here are the results of request.getURL.toString():
IE7:
- wicket/page?8 (first ModalWindow)
- page?9 (nested ModalWindow)

Chrome, IE9 (browser IE7, document IE7):
- wicket/page?8 (first ModalWindow)
- wicket/page?9 (nested ModalWindow)

I will keep digging.  Any help is appreciated!

On 02/25/2013 09:17 AM, Jered Myers wrote:


I do see this in my log if I turn on DEBUG in log4j:
[08:43:03] DEBUG 
[org.apache.wicket.request.**mapper.CompoundRequestMapper]

- No compatible mapper found for URL 'page?6'
[08:43:03] DEBUG 
[org.apache.wicket.request.**cycle.RequestCycle] - No
suitable handler found for URL page?6, falling back to container 
to process

this request

I don't see that message when I run in Chrome.

On 02/25/2013 09:13 AM, Jered Myers wrote:


It looks like it was a bug fixed in a 1.5 release candidate (
https://issues.apache.org/**jira/browse/WICKET-3982). 


The example in my link (http://www.wicket-library.**
com/wicket-examples/ajax/**modal-window) 

appears to be using Wicket 1.5.9, so it should be fixed in that 
code and it
isn't.  I am replicating the problem in my own code using 
Wicket 6.5.  I am
going to keep digging, but I am suspicious that tests may have 
been done
using the developer tools in IE9.  I know that using the IE9 
developer
tools and changing the document and browser modes will not 
replicate the

problem.

On 02/23/2013 04:53 AM, Martin Grigorov wrote:


Hi,

There was such issue before but as far as I remember it was 
fixed.

Look in Jira. There is also a special code for IE7/8 in
ModalWindow.java


On Sat, Feb 23, 2013 at 2:40 AM, Jered Myers
**wrote:

  The same problem happens in IE 8. Using development mode 
(F12) in

IE9+ to
lower the browser version will not replicate the problem.


On 02/22/2013 03:23 PM, Jered Myers wrote:

  Wicket 6.5

I am getting a 404 error in IE 7 when I open a ModalWindow in a
ModalWindow.  Both windows use page creators. Has anybody 
run into

this
before?  The code works fine in Firefox, Ch

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Its a regular java bean with properties and setter and getter methods.
Grid uses the expression to map a column to a particular property on row
model (MyModel).

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656945.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: Dynamic Sidebar

2013-03-04 Thread Nick Pratt
List links = new ArrayList();

ListView listView = new ListView("linksId", links")
{
void populateItem(  )
{
IModel model = getModel(); (or whatever its called)
Link link = new Link("linkId", model );
item.add(link);
}
}

Markup will be something like:







Nick

On Sat, Mar 2, 2013 at 5:26 PM, Stephen Walsh  wrote:

> I think that's what I'm having trouble with.  I have created the list view
> like this:
>
> //define menu items
> final List sidebarMenu = new ArrayList();
> sidebarMenu.add(new Link("new") {
> public void onClick() {
> setResponsePage(new EditBlogEntry(new Blog()));
> }
> });
>
> //put them into a model
> IModel sidebarLDM = new LoadableDetachableModel() {
> @Override
> protected Object load() {
> return sidebarMenu;
> }
> };
>
> //pass the model to the panel constructor
> add(new SidebarPanel("sidebar", sidebarLDM));
>
> public SidebarPanel(String id, IModel sidebarMenu) {
> super(id, sidebarMenu);
>
> add(new ListView("sidebarMenuItems", sidebarMenu) {
> @Override
> protected void populateItem(ListItem item) {
> item.add((Link)item.getModelObject());
> }
> });
> }
>
> I'm not sure what the markup needs to look like for the html
>
> For my base page I have this to include the panel with the repeater:
> 
>
> 
>
> But I'm not sure what to put in the html for the actual panel with the list
> view
>
> 
> 
> 
> 
>
> This is what I started with and it's not working currently.
>
> Thanks for the help.
>
>
>
> ___
> Stephen Walsh | http://connectwithawalsh.com
>
>
> On Sat, Mar 2, 2013 at 3:45 PM, Nick Pratt  wrote:
>
> > You can use a ListView or any of the other repeaters to achieve this.
> >
> > Your repeated markup will be an anchor.
> >
> > N
> > On Mar 2, 2013 3:35 PM, "Stephen Walsh" 
> > wrote:
> >
> > > I want to create a sidebar panel that is dynamic based on the links
> > attach
> > > to it.  So far I have created a LDM that gets the list view of links
> > that I
> > > create.  I pass the LDM the sidebar panel constructor and Wicket is
> > > complaining about not having the markup for the link that is passed.
> > >  Obviously this makes sense, but I'm not quite sure how to markup the
> > html
> > > when I don't know what it's going to look like necessarily?
> > >
> > > I've been looking at containers and enclosures but I'm not quite
> getting
> > > it.
> > >
> > > Any thoughts on this?  I search all over google and couldn't find
> exactly
> > > what I was looking for.
> > >
> > > Thanks!
> > > ___
> > > Stephen Walsh | http://connectwithawalsh.com
> > >
> >
>


Re: inmethod-grid refresh issue

2013-03-04 Thread Marc Nuri San Félix
What's the code for MyModel?
--
Marc Nuri
www.marcnuri.com


On Mon, Mar 4, 2013 at 5:14 PM, saty  wrote:

> public class DataSource implements IDataSource {
> private Filter myModelFilterChain;
> public DataSource(FilterChain myModelFilterChain)
> {
> this.myModelFilterChain= myModelFilterChain;
>
> }
>
> @Override
> public void detach() {//.
>
> }
>
> @Override
> public void query(com.inmethod.grid.IDataSource.IQuery query,
>
> com.inmethod.grid.IDataSource.IQueryResult result) {
>
>  //all rows are already cached..use myModelFilterChain
> above to filter
> List MyModels...
> result.setTotalCount(MyModels.size());
> int from = MyModels.size() > query.getFrom() ?
> query.getFrom() :
> MyModels.size();
> int to = MyModels.size() > from + query.getCount() ? from +
> query.getCount() : MyModels.size();
> List resultList = MyModels.subList((int)from,
> (int)to);
> result.setItems(resultList.iterator());
> stopWatch.stop();
> }
>
> }
>
>
> copied relevant potion above, i can see query method is called every time,
> no issues there.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656942.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: inmethod-grid refresh issue

2013-03-04 Thread saty
public class DataSource implements IDataSource {
private Filter myModelFilterChain; 
public DataSource(FilterChain myModelFilterChain) 
{
this.myModelFilterChain= myModelFilterChain;

}

@Override
public void detach() {//.

}

@Override
public void query(com.inmethod.grid.IDataSource.IQuery query,
com.inmethod.grid.IDataSource.IQueryResult 
result) {

 //all rows are already cached..use myModelFilterChain above to 
filter  
List MyModels...
result.setTotalCount(MyModels.size());
int from = MyModels.size() > query.getFrom() ? query.getFrom() :
MyModels.size();
int to = MyModels.size() > from + query.getCount() ? from +
query.getCount() : MyModels.size(); 
List resultList = MyModels.subList((int)from, 
(int)to);
result.setItems(resultList.iterator()); 
stopWatch.stop();   
}   

}


copied relevant potion above, i can see query method is called every time,
no issues there.

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656942.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: inmethod-grid refresh issue

2013-03-04 Thread Marc Nuri San Félix
The problem must be in your row models.
What does your IDataSource implementation look like?
--
Marc Nuri
www.marcnuri.com


On Mon, Mar 4, 2013 at 4:55 PM, saty  wrote:

> grid.markAllItemsDirty();
> grid.update();
> This does not help, for some reason grid is smart not to regenerate a row
> for a model it already did.
> I can see my getXXX method is called by grid only first time and than its
> never get called again so the column shows what was calculated for the
> first
> call.
>
> To be more specific, if the grid shows 20 rows and than i filter to show 10
> out of those 20 rows, it does not call the getXXX methods on my model
> object.
>
> However If i change filter setting so it has to now show 30 rows (20
> previous and say 10 other rows) , it does call the getXXX methods again.
>
> Not really sure what controls this behaviors and how to override it.
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656940.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: inmethod-grid refresh issue

2013-03-04 Thread saty
grid.markAllItemsDirty();
grid.update();
This does not help, for some reason grid is smart not to regenerate a row
for a model it already did. 
I can see my getXXX method is called by grid only first time and than its
never get called again so the column shows what was calculated for the first
call.

To be more specific, if the grid shows 20 rows and than i filter to show 10
out of those 20 rows, it does not call the getXXX methods on my model
object.

However If i change filter setting so it has to now show 30 rows (20
previous and say 10 other rows) , it does call the getXXX methods again.

Not really sure what controls this behaviors and how to override it.
Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656940.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: inmethod-grid refresh issue

2013-03-04 Thread Marc Nuri San Félix
Ok, I see.
Either way if it is a DataGrid, calling markAllItemsDirty() and update()
from your ajax request should do the job.
--
Marc Nuri
www.marcnuri.com


On Mon, Mar 4, 2013 at 4:35 PM, saty  wrote:

> Thanks Marc, i will take a look at these methods if they can help, however
> my
> equals method can not help here as i said previously some columns are
> derived in the sense they dont return an attribute of the object but a
> value
> which is derived from the context (and object state) in which the method is
> called.
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656938.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: inmethod-grid refresh issue

2013-03-04 Thread saty
Thanks Marc, i will take a look at these methods if they can help, however my
equals method can not help here as i said previously some columns are
derived in the sense they dont return an attribute of the object but a value
which is derived from the context (and object state) in which the method is
called.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656938.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: inmethod-grid refresh issue

2013-03-04 Thread Marc Nuri San Félix
Hello Saty

You should check methods "markItemDirty(IModel model)",
"markAllItemsDirty()" and "update()". This are the methods you are supposed
to be calling when refreshing the grid's content.

You should also make sure that the equals() method of your model objects
return false when both objects aren't equal...

Cheers
--
Marc Nuri
www.marcnuri.com


On Mon, Mar 4, 2013 at 4:20 PM, saty  wrote:

> Any thoughts on this please?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656936.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: inmethod-grid refresh issue

2013-03-04 Thread saty
Any thoughts on this please?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656936.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: Dynamic Sidebar

2013-03-04 Thread Stephen Walsh
Any thoughts on this?

___
Stephen Walsh | http://connectwithawalsh.com


On Sat, Mar 2, 2013 at 4:26 PM, Stephen Walsh  wrote:

> I think that's what I'm having trouble with.  I have created the list view
> like this:
>
> //define menu items
> final List sidebarMenu = new ArrayList();
> sidebarMenu.add(new Link("new") {
> public void onClick() {
> setResponsePage(new EditBlogEntry(new Blog()));
> }
> });
>
> //put them into a model
> IModel sidebarLDM = new LoadableDetachableModel() {
> @Override
> protected Object load() {
> return sidebarMenu;
> }
> };
>
> //pass the model to the panel constructor
> add(new SidebarPanel("sidebar", sidebarLDM));
>
>  public SidebarPanel(String id, IModel sidebarMenu) {
> super(id, sidebarMenu);
>
> add(new ListView("sidebarMenuItems", sidebarMenu) {
> @Override
> protected void populateItem(ListItem item) {
> item.add((Link)item.getModelObject());
> }
> });
> }
>
> I'm not sure what the markup needs to look like for the html
>
> For my base page I have this to include the panel with the repeater:
> 
>
> 
>
> But I'm not sure what to put in the html for the actual panel with the
> list view
>
> 
> 
> 
> 
>
> This is what I started with and it's not working currently.
>
> Thanks for the help.
>
>
>
> ___
> Stephen Walsh | http://connectwithawalsh.com
>
>
> On Sat, Mar 2, 2013 at 3:45 PM, Nick Pratt  wrote:
>
>> You can use a ListView or any of the other repeaters to achieve this.
>>
>> Your repeated markup will be an anchor.
>>
>> N
>> On Mar 2, 2013 3:35 PM, "Stephen Walsh" 
>> wrote:
>>
>> > I want to create a sidebar panel that is dynamic based on the links
>> attach
>> > to it.  So far I have created a LDM that gets the list view of links
>> that I
>> > create.  I pass the LDM the sidebar panel constructor and Wicket is
>> > complaining about not having the markup for the link that is passed.
>> >  Obviously this makes sense, but I'm not quite sure how to markup the
>> html
>> > when I don't know what it's going to look like necessarily?
>> >
>> > I've been looking at containers and enclosures but I'm not quite getting
>> > it.
>> >
>> > Any thoughts on this?  I search all over google and couldn't find
>> exactly
>> > what I was looking for.
>> >
>> > Thanks!
>> > ___
>> > Stephen Walsh | http://connectwithawalsh.com
>> >
>>
>
>


Re: Processing form input at the start of a session?

2013-03-04 Thread Martin Grigorov
Hi,

Make the page stateless, i.e. StatelessForm instead and avoid any other
stateful components.


On Mon, Mar 4, 2013 at 4:23 PM, Ondrej Zizka  wrote:

> Hi all,
>
> let's have a bookmarkable page with a form.
> This form is submitted after session expiration.
> The result is that Wicket ignores the input and renders the page as it was
> just loaded by URL.
>
> How can I make Wicket process the POST body and do the whole cycle - fill
> the models, validate, etc.?
>
> Thanks,
> Ondra
>
> --**--**-
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


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


Processing form input at the start of a session?

2013-03-04 Thread Ondrej Zizka

Hi all,

let's have a bookmarkable page with a form.
This form is submitted after session expiration.
The result is that Wicket ignores the input and renders the page as it 
was just loaded by URL.


How can I make Wicket process the POST body and do the whole cycle - 
fill the models, validate, etc.?


Thanks,
Ondra

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



Re: Wicket, Heroku and scaling

2013-03-04 Thread Cedric Gatay
Hi,
I recently needed to deploy a quickstart to Heroku. By reading this
question, I made a quick implementation of IDataStore using Redis, you can
find the blog post regarding this at the following URL :
http://www.bloggure.info/work/wicket-6-cdi-on-heroku.html

Hope it'll help.
Regards,

Cedric

__
Cedric Gatay
http://www.bloggure.info | http://cedric.gatay.fr |
@Cedric_Gatay


On Fri, Jan 11, 2013 at 4:13 PM, Jens Jahnke  wrote:

>
> On Fri, 11 Jan 2013 09:59:35 -0500
> William Speirs  wrote:
>
> WS> @Jens Jahnke if you do create an ISessionStore for redis, please
> WS> post back if you're willing to share. I could see the use in that!
> WS>
> WS> Thanks...
>
> Of course I'll do that. But it will take some time because I can only
> work on it in my spare time which is very limited in the next weeks.
>
> Regards,
>
> Jens
>
> --
> 11. Hartung 2013, 16:12
> Homepage : http://www.jan0sch.de
>
> Whom the gods wish to destroy they first call promising.
>


Re: Error with Hidden Field and its enum value

2013-03-04 Thread Oscar Besga Arcauz
Thanks Andrea !!

Yes, I could store the value on the Panel which holds the form - but then I 
couldn't use it as stateless. Or in WebSession, but it's not adequate...
Also. I could use a String and make the conversion hardcoded..

But I searched the converters, and I tried this (maybe a little complicated) 
and it worked allright !


public class MyWebApplication extends WebApplication {

    @Override
    protected IConverterLocator newConverterLocator() {
    ConverterLocator locator = (ConverterLocator) 
super.newConverterLocator();
    locator.set(MyEnum.class, new MyEnumConverter());
    return locator;
    }

}


   public class MyEnumConverter implements IConverter {
   

  @Override
   public MyEnumconvertToObject(String s, Locale locale) {
   try {
return MyEnum.valueOf(s);
} catch (Exception e) {
log_error("MyEnum.valueOf(s) " + s, e);
return null;
}
   }

   @Override
   public String convertToString(MyEnum myEnum, Locale locale) {
   return myEnum.name();
   } 
   }

> > > Oscar Besga Arcauz  < < < 

-Andrea Del Bene  escribió: -
Para: users@wicket.apache.org
De: Andrea Del Bene 
Fecha: 01/03/2013  17:55
Asunto: Re: Error with Hidden Field and its enum value

The error occurs because Wicket convert your enum to a string when the 
form is rendered, then it tries to do the opposite converting the string 
to your enum. And here we have the problem. Wicket doesn't fin a valid 
converter (see JAvaDoc of FormComponent.convertInput) to obtain your 
enum from its string value. But the real question is: do you really need 
to have such hidden field in your form? Why can't you simply get rid of it?
>   Hi wickers  !!
>
> I've a problem with a form and a hidden field.
> The form has a CompoundPropertyModel of a data class. This class has an enum 
> propertiy, which I want to store into a HiddenField and later retrieve (with 
> the whole data class and the rest of the data).
>
> When the panel is rendered, the hidden field gets the correct value - the 
> enum name() (or toString()? ) value.
> But when I retrieve the form, with the AjaxSubmitLink, I get this error in 
> the feedback messagges
>
>      DEBUG - FeedbackMessages           - Adding feedback message 
> '[FeedbackMessage message = "The value of 'myType' is not a valid MyType.", 
> reporter = myType, level = ERROR]'
>
>
> Any ideas ?
>
> Thanks a lot
>
>   
>
>      > > > Oscar Besga Arcauz  < < <
>
>
> EXAMPLE CODE
>
>
> //Enumerated
> public enum MyType { myTypeOne, myTypeTwo, andSoOn }
>
> // Data class
> public class MyData implements Serializable { 
>   MyType myType;
> }
>
> //Panel with form
> public class MyPanel extends Panel {
>
>      public MyPanel(String id) {
>          super(id);
>   MyData data = new MyData();
>   data.myType = MyType.myTypeTwo;
>          Form form = new Form("form",new 
> CompoundPropertyModel(data));
>   form.add(new HiddenField("myType"); //data
>          AjaxSubmitLink submit = new AjaxSubmitLink("Submit"){
>
>              @Override
>              protected void onError(AjaxRequestTarget target, Form form) {
>                  //ALWAYS GETS ME AN ERROR !!!
>   super.onError(target,form);
>              }
>
>              @Override
>              protected void onSubmit(AjaxRequestTarget target, Form form) {
>                  super.onSubmit(target, form);
>              }
>          };   
>      }
>
> }
>
>
>      > > > Oscar Besga Arcauz  < < <
> -
> 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


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



Re: ToolTips with Panel

2013-03-04 Thread Martin Grigorov
Hi,

There is a feature request for this in wicket-bootstrap project:
https://github.com/l0rdn1kk0n/wicket-bootstrap/issues/128
You can implement it yourself for other types of tooltips.


On Mon, Mar 4, 2013 at 1:48 PM, anton wrote:

> 
>
> A toolpit with page or panel. Any ideas¿?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/ToolTips-with-Panel-tp4656871p4656929.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 


Re: inmethod grid cachedPageCount

2013-03-04 Thread Ciocoiu Elvis
Thank you Paul,

But in my case I'm using IDataSource from immethod grid to retrieve the
current page. In client code after inserting the new record in the database
I'm obtaining the corresponding page number (greater than the one cached by
inmethod grid) and let the grid display itself (internally calls get page
from IDataSource). What I need is the easiest way to update the inmethod
grid to know that there is one more page). The most appropiate idea was to
set the current grid page to the last one but even if the grid let me do
that through its api (used also by the navigator) crashes because of this
internally cached page count. All the logic to retrieve the page based on
the current sort and filter is implemented. I don't want to change the
widget for the moment (inmethod grid is ok except this usecase) so I must
stick to IDataSource and it's usage.
On Feb 28, 2013 3:50 AM, "Paul Bors"  wrote:

> Well, reading your post a second time around...
>
> If you really want to add a record and then paginate to the page that
> contains it, you'd have to re-run your SQL right?
>
> I think it would make more sence to KISS it. Change your DataProvider by
> re-running the SQL and provide the record ID (primary key, hash or
> something
> unique to your new saved record) then add a new constructor for your table
> or DataProvider to handle the pagination by looking through your collection
> for the element with that unique ID page by page or by implementing the
> pagination in SQL (search with the record ID given your fileters and sort
> order and forward your cursor to the page that contains your record).
>
> Mersi mult, si chiar am nevoie mare :)
>
>
>
> -
> ~ Thank you,
> p...@bors.ws
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-cachedPageCount-tp4656739p4656875.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: acces denied on AjaxFormSubmitBehavior on ie

2013-03-04 Thread cosmindumy
hi again,
I realized this happens if the open dialog for file is triggered by a js,
not by pressing the browse button. 
if I press the browse button, it works fine. 
Probably is something wrong with the logic in my js.
if you have any idea, let me know. 
Thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/acces-denied-on-AjaxFormSubmitBehavior-on-ie-tp4656894p4656927.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