Hi!
Can a wicket component be rendered to string in the following use case:
1. I have a table (multiple columns and rows). Each row corresponds to
a person. The columns could represent for rexample a calendar for the
person. Monda, tuesday, etc.
2. For each row, I have summary information. I
I'm still eager to make WicketTester a first class citizen.
Martijn
On Thu, Oct 29, 2009 at 7:01 PM, dtoffe dto...@yahoo.com.ar wrote:
Thanks for your answer,
Daniel
igor.vaynberg wrote:
the focus of this release is to rewrite url and page handling. the
focus is on flexibility and
I am care about Can I upgrade all my applications from 1.4.3 to 1.5 as
easy as possible.
On Fri, Oct 30, 2009 at 4:27 PM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
I'm still eager to make WicketTester a first class citizen.
Martijn
On Thu, Oct 29, 2009 at 7:01 PM, dtoffe
I'm still eager to make WicketTester a first class citizen.
I'm keen on this too -- is there a 'voting' mechanism in the bug
tracker for this sort of thing?
Cheers,
Dave
On Fri, Oct 30, 2009 at 7:27 PM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
I'm still eager to make WicketTester
yes, except the fact that I am trying to use a Memcache-based
implementation of the IPageStore instead of the HTTPSessionStore (based
on the TerracottaPageStore. However, in my case the exception occurs
when I am trying to serialize the page using the provided method of the
AbstractPageStore.
Hello again,
I am getting only the check box and not the tree structure. Instead of
markupcontainer i am using panels.
Could you telll, how to get the tree structure along with check box in the
same column.
--
View this message in context:
Hello again,
Could you tell how to add dynamic column in the DefaultDataTable
--
View this message in context:
http://old.nabble.com/Generate-dynamic-tables-tp26080641p26127900.html
Sent from the Wicket - User mailing list archive at Nabble.com.
When you construct it, you give it a list of columns. If the columns
need to change, just reconstruct it and replace it.
On Fri, Oct 30, 2009 at 6:37 AM, vela vela@gmail.com wrote:
Hello again,
Could you tell how to add dynamic column in the DefaultDataTable
--
View this message in
Is the Wicket Ajax Next Generation work going into 1.5?
Also, is there plans for an event bus, sort of like what you see in Jonathan
Locke's 26 wicket tricks source code? I've seen some really nice use of
event bus in GWT that I think Wicket could benefit from.
-Richard
On Fri, Oct 30, 2009 at
Hi Martijn,
What ideas do you have for this area ?
I'll be glad to help if I can.
El vie, 30-10-2009 a las 09:27 +0100, Martijn Dashorst escribió:
I'm still eager to make WicketTester a first class citizen.
Martijn
On Thu, Oct 29, 2009 at 7:01 PM, dtoffe dto...@yahoo.com.ar wrote:
Hi there,
i would like to find out if the date format for java.util.Date property
is customizable in DataTable.
Could anyone point me how to set it?
Regards,
Wojtek
-
To unsubscribe, e-mail:
Mostly component selectors a la JDave/wicket, to ensure your tests
don't fail when you modify your component hierarchy.
Martijn
On Fri, Oct 30, 2009 at 1:29 PM, Martin Grigorov mcgreg...@e-card.bg wrote:
Hi Martijn,
What ideas do you have for this area ?
I'll be glad to help if I can.
El
Are you using PropertyColumn? If yes... Why not override
protected IModel? createLabelModel(IModelT rowModel)
{
return new PropertyModel(rowModel, propertyExpression);
}
and return a model that formats the date as you need?
Best,
Ernesto
2009/10/30 zabian zabia...@gmail.com
Hi there,
i
I do use PropertyColumn. I will try it out and let you know.
Thanks for help.
Wojtek
Ernesto Reinaldo Barreiro pisze:
Are you using PropertyColumn? If yes... Why not override
protected IModel? createLabelModel(IModelT rowModel)
{
return new PropertyModel(rowModel, propertyExpression);
}
and
or
public void populateItem(ItemICellPopulatorT item, String componentId,
IModelT rowModel)
{
item.add(new Label(componentId, createLabelModel(rowModel)));
}
and you create directly a the label with the formated date
Ernesto
On Fri, Oct 30, 2009 at 1:55 PM, zabian zabia...@gmail.com wrote:
Hello,
Yesterday I've faced with problem with generating javascript code.
On page I've inserted code:
i.e.:
wicket:extend
formscript type=text/javascript
appInitialize(here should be generated string); //
generated string should be pasted as a param
/wicket:extend
I want to
make script element a Wicket citizen :-)
script wicket:id=myScript.../script
El vie, 30-10-2009 a las 14:32 +0100, pawel wolanski escribió:
Hello,
Yesterday I've faced with problem with generating javascript code.
On page I've inserted code:
i.e.:
wicket:extend
formscript
some of the html is generated by wicket like AjaxFallbackDataTable ,
pagination , AjaxTabs , DatePicker etc if these components have provision
to make them 508 that will be really helpful.
kinabalu wrote:
Wicket uses HTML as its template markup. So as long as you code your
HTML
It worked out.
My solution is:
private static final String DATE_FORMAT = -MM-dd HH:mm:ss;
private static final SimpleDateFormat sdf = new
SimpleDateFormat(DATE_FORMAT);
...
@Override
protected IModel createLabelModel(IModel rowModel) {
return new ModelString(sdf.format(new
We use the following class for date columns:
import org.apache.wicket.WicketRuntimeException;
import
org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn;
import org.apache.wicket.model.IModel;
import org.joda.time.DateTime;
import java.text.ParseException;
import
If you have to do the same trick in several places maybe it would be better
to use James' solution. Or role a classes like
public abstract class FormatedDateModel extends ModelString {
private static final long serialVersionUID = 1L;
private IModelDate model;
public
possibly. i think i would like this release to be as small as
possible, centered around the new url stuff. once that is in release
1.5 and put the new ajax support from ng into 1.6.
trying to release more and more often instead of taking over a year
and a half like we did with 1.4.0
-igor
On
Hi.
I have a stateless form and a button inside to reset all fields like this:
...
add(new Button(clear) {
private static final long serialVersionUID = 1L;
public void onSubmit() {
getForm().clearInput();
};
What's the benefit of this approach instead of using input
type=reset/ without involving Wicket at all (it is stateless form) ?
El vie, 30-10-2009 a las 12:42 -0300, Tomás Rossi escribió:
Hi.
I have a stateless form and a button inside to reset all fields like this:
...
That's a very good question. I'll use that.
But then, if it weren't a stateless form, should I involve Wicket and
use clearInput()? Why?
Tom;
Martin Grigorov escribió:
What's the benefit of this approach instead of using input
type=reset/ without involving Wicket at all (it is stateless
Wait a minute... Because I need a reset button which effectively clean
all fields and feedback messages. Reset button doesn't do that so it's
not what I want.
Tomás Rossi escribió:
That's a very good question. I'll use that.
But then, if it weren't a stateless form, should I involve Wicket
Hello Martin,
Hmmm it looks like a little bit dirty trick, because I will have to print
out whole initialization between script tags...
I'll try to find another way to resolve that.
Thank you for help Martin.
I appreciate that.
Cheers,
Paul
martin-g wrote:
make script element a Wicket
Override their HTML or make your own components. Simple. Done.
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Oct 30, 2009 at 9:06 AM, fachhoch fachh...@gmail.com wrote:
some of the html is generated by wicket like AjaxFallbackDataTable ,
pagination , AjaxTabs , DatePicker
May be a bug. Please file a JIRA. In the meantime, the signinpanel is
pretty generic and not meant for every usecase. You can easily create your
own - even copying the code and modifying it.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Oct 29, 2009 at 1:43 AM, wicketnewuser
Ok, I did it. I needed to clean the model object like this...
...
add(new Button(clear) {
private static final long serialVersionUID = 1L;
public void onSubmit() {
getForm().modelChanging();
data.clear(); // data is
you can use TextTemplateHeaderContributor to externalize the template
and define replacement vars.
-igor
On Fri, Oct 30, 2009 at 10:09 AM, paul wolanski mikola...@gmail.com wrote:
Hello Martin,
Hmmm it looks like a little bit dirty trick, because I will have to print
out whole initialization
Hi,
I am getting this error when i try to get the Session using
getWebRequestCycle().getSession(); or even with Session.get() inside my WebPage.
Also this is happening only when request goes through the Http Serevr and then
to Oracle Application server which was our production setup. The error
Hi Yasa, can you make sure that getWebRequestCycle().getSession() is called
on the same thread that WicketFilter is responding the request? RequestCycle
use thread locals to keep his reference, if you are working in an multi
thread response, you can get that exception.
On Fri, Oct 30, 2009 at
Hi,
at a short glance (http://www.webaim.org/standards/508/checklist) I
didn't find anything inherent in Wicket violating this standard.
Of course you will have to provide most of the required markup by
yourself (how should Wicket know values for alt attributes?).
Nevertheless if you're able
I am not complaining that wicket violates that .
for example AjaxDefaultDataTable it creates the whole table with Sortable
Table column, pagination etc, I am asking to provide some methods which
takes values for alt attribute . Like the sortable columns , If I can set
value for alt attribute
Looking at AjaxRequestTarget, maybe something like this might work?
// substitute our encoding response for the real one so we can
capture
// component's markup in a manner safe for transport inside
CDATA block
final Response originalResponse =
Can you be more specific please.
How did you created the treetable. How the columns.
How the panel etc.
Code helps to understand your problem.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
Almost still needs some tweaking:
org.apache.wicket.WicketRuntimeException: Unable to find the markup
for the component. That may be due to transparent containers or
components implementing IComponentResolver: [MarkupContainer
[Component id = -]]
at
Hi,
Anyone encountered that AjaxSelfUpdatingTimerBehavior doesn't update
markup when site is inside iframe on Opera browser?
When outside iframe there is no problem.
And it is floating - some markup is updated fine and when it is more
complex, page become frozen.
Opera versions tested: 9.64,
39 matches
Mail list logo