Problem with InlineFrame and IPageProvider

2015-02-05 Thread Taag
I have a InlineFrame that is showing a some content in a webpage, or it
should until we took up wicket from 6.x to 7.0.0-M4. when i tri to show the
page in the InlineFrame i get an 

ObjectCheckException: The object type is not Serializable!

on 

 private final org.apache.wicket.core.request.handler.IPageProvider
org.apache.wicket.markup.html.link.InlineFrame.pageProvider
[class=org.apache.wicket.core.request.handler.PageProvider] - field
that is causing the problem

Is there something obvious i'm missing? Can i do somehting to serialize the
PageProverder that is build up in the IFrame constructor: 

public InlineFrame(final String id, final Page page)
{
this(id, new PageProvider(page.getPageId(), page.getClass(),
page.getRenderCount()));
}

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-InlineFrame-and-IPageProvider-tp4669311.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: Problem with InlineFrame and IPageProvider

2015-02-05 Thread Taag
https://issues.apache.org/jira/browse/WICKET-5828

Done, and thank you!

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-InlineFrame-and-IPageProvider-tp4669311p4669313.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



add feedback message a to new panel.

2012-05-16 Thread Taag
I have a Button, which replaces parent panel with a new panel. In the new
panel I want to display an error/warn/info, but I can't seem to figure out
how. I've tried with getSession.error(..), but that ain't working.

What's the best way to do this? Should I use an AjaxButton instead for
instance?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/add-feedback-message-a-to-new-panel-tp4640997.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



remove /wicket in front of url Wicket 1.5

2012-04-17 Thread Taag
Hey, I'm haveing a problem one url. Is there a way to remove the /wicket that
is added to the url when this is run. The page opens up in a new window,
from the popup settings added to the link:

setResponsePage( new OwnWindowPage( object ) );

The url i get is ...wicket/page?5
I only want it like /page?5

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/remove-wicket-in-front-of-url-Wicket-1-5-tp4564704p4564704.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: remove /wicket in front of url Wicket 1.5

2012-04-17 Thread Taag
Maby a dumb question, but i can't seem to find the right place to do this.
And do i need a prefix? Is there a code example with this? =)

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/remove-wicket-in-front-of-url-Wicket-1-5-tp4564704p4564757.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: remove /wicket in front of url Wicket 1.5

2012-04-17 Thread Taag
The easy one. I only need this for a popupwindow that I want to change the
path on. from /wicket/.. to /..

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/remove-wicket-in-front-of-url-Wicket-1-5-tp4564704p4564787.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



Change input tag to span, what about value?

2012-02-24 Thread Taag
I'm overrideing onComponentTag for a textfield. I check if the field is
enabled, if not I want to replace the input tag with a span tag. It's
working nicely, except that I lose the value attatched to the input tag

@Override
protected void onComponentTag( ComponentTag tag ) {
super.onComponentTag( tag );
if (!isEnabledInHierarchy()) {
tag.setName( span );
tag.getXmlTag().setType( TagType.OPEN );
}
}

Anyone know how I can add this value between the open and close tag?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Change-input-tag-to-span-what-about-value-tp4417174p4417174.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: Change input tag to span, what about value?

2012-02-24 Thread Taag
Had a look on onComponentTagBody, and got it to work by overrideing that
method aswell =)

Here is the solution, fro those wondering:

@Override
protected void onComponentTag( ComponentTag tag ) {
super.onComponentTag( tag );
if (!isEnabledInHierarchy()) {
tag.setName( span );
tag.getXmlTag().setType( TagType.OPEN );
}
}

@Override
public void onComponentTagBody( MarkupStream markupStream, ComponentTag
openTag ) {
replaceComponentTagBody( markupStream, openTag,
getDefaultModelObjectAsString() );
super.onComponentTagBody( markupStream, openTag );
}

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Change-input-tag-to-span-what-about-value-tp4417174p4417196.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



AutoCompleteBehavior dont work with AbstractTransformerBehavior

2012-02-23 Thread Taag
I have a class that extends AutocompleteTextfield, to give me a list of users
avaliable based on input. 
An object of this owndefined class also addes a class with
AbstractTransformerBehavior. This is done to change the html of the input,
to a span, for display purposes.

It seems that there is some problems between these two? Because when i
comment out the class with AbstractTransformerBehavior, the autocomplete
pops up, with possible choices. But with the AbstractTransformerBehavior the
code never enters the getChoices method, which shoudl return the list with
users avaliable.

Anyone know a fix around this, or by doing it another way? 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteBehavior-dont-work-with-AbstractTransformerBehavior-tp4414031p4414031.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: AutoCompleteBehavior dont work with AbstractTransformerBehavior

2012-02-23 Thread Taag
It's only changed to span when the input field is disabled. To avoid haveing
the textfield visible.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteBehavior-dont-work-with-AbstractTransformerBehavior-tp4414031p4414135.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