I'm wondering about ComponentTag.writeOutput() [line653]:
if (value != null)
{
response.write(=\);
value = Strings.replaceAll(value, \, \\\);
response.write(value);
response.write(\);
}
Shouldn't the escaping be something more sensible to
Take a look on IComponentResolver.
If your Page implements this interface, it can serve optional components
requested by the markup or it can serve hidden components in case you
want to exclude something from some targets.
Sven
Jan Kriesten wrote:
hi,
is it possible to have wicket
Sourceforge changed their URLs for the mailing list archives. It has to be:
http://sourceforge.net/mailarchive/forum.php?forum_name=wicket-user
Note the parameter 'forum_name' instead of 'forum'. Could someone
correct the links please?
Sven
Thomas Singer wrote:
Unfortunately, searching the
CheckGroup selectedPensCheckGroup = new CheckGroup(selectedPens,
selectedPensModel);
add(selectedPensCheckGroup);
ListView pensList = new ListView(pens, pensModel)
{
protected void populateItem(ListItem item)
{
item.add(new Check(check, item.getModel()));
Could it be that you slipped our CheckGroup/Check components? Cannot get
simpler than that.
Sven
GS-ikiini wrote:
this part of the concept i understand...what i don't get is a little
deeper...from your example i am accessing a property in input. however, I
don't have such a property in my
Yes, the value of the checkbox doesn't matter, as long as the input name
is unique.
Sven
Timo Stamm wrote:
Johan Compagner schrieb:
what whould happen if you have a checkgroup inside a listview again?
how would you differentiate the 2 or 3 checkgroups values?
You don't have to. The
Thanks, but one additional thing:
To be able to mix in some special messages, I want to construct
FeedbackMessages on my own.
But the FeedbackMessage constructor is package protected :(.
Any chance that the modifier could be changed to public?
BTW what's the 'sessionStored' property meant
How would you handle a submit of a form that originates from outside of
Wicket?
Let me explain:
In many web applications some forms (e.g. 'search a product') are
replicated on other pages of the same application or even on other sites
of business partners or advertisers.
For our
Hello Dave,
some thoughts on your 'problem':
-why don't you let your content authors write these external links
explicitly (i.e. the full URL) into the HTML template?
Ok, you probably have your reason why you don't use this. Do your
content authors use a separate tool to edit these links in
To be honest I don't need it at the moment, but I think it's reasonable
to return null on conversion.
Converter (line 167) does it:
public Object convert(Object value, Class c)
{
// Null is always converted to null
if (value == null)
{
return null;
Ok, maybe I wasn't clear enough with my description:
The current display of component sizes on the error page is bogus.
Many component instances are based on anonymous inner classes and have a
reference to their enclosing component. If asked for their size they'll
always include the size of
Thanks Johan, I really think this change will prove itself useful.
I don't want to be picky, but one additional thing:
The converted value should be escaped too. Otherwise we might end up with
invalid HTML, since AFAIK converters are not required to produce escaped
strings.
This is why my
Globally registered converters are a great way to format values
consistently throughout an application.
But regretfully these converters are not used to format choices of a
DropDownChoice. Setting a custom converter explicitly on the
DropDownChoice doesn't help either.
IMHO ChoiceRenderer
.
Thanks to the Wicket guys - 1.2 is great.
Sven Meier
Frank Silbermann wrote:
When Wicket 1.2 is released, how much work is likely to be required to
upgrade a project written for Wicket 1.1?
/Frank Silbermann
---
This SF.net email is sponsored
I would like to repeat my request for additional hooks in Wicket, preferrably
allowing WebRequestCycle#invokeInterface() to be overriden.
I've written before that I don't like the current hooks
WebPage#beforeCallComponent() and WebPage#afterCallComponent() in scope of
dependecy injection, but
in the formComponents properties
file, do you? You start with the parent component containing text1. A
key text1 expresses that text1 is a child of the parent.
Juergen
On 11/5/05, Sven Meier [EMAIL PROTECTED] wrote:
Hello Juergen,
I've taken a short look on your code in the CVS
Hello Igor,
I must object to your statement that my proposed page factory is not IoC:
Nobody says that a Spring context is the only valid container in an
application. The page factory just becomes part of the this logical
container, it is aware of and cooperates with the Sprint context.
.
I'll check it in tonight.
Juergen
On 10/29/05, Sven Meier [EMAIL PROTECTED] wrote:
I've opened a bug, see:
http://sourceforge.net/tracker/index.php?func=detailaid=1339904group_id=119783atid=684975
Sven
Juergen Donnerstag wrote:
Did you open a bug or RFE already? If not, please
I've opened a bug, see:
http://sourceforge.net/tracker/index.php?func=detailaid=1339904group_id=119783atid=684975
Sven
Juergen Donnerstag wrote:
Did you open a bug or RFE already? If not, please do so, otherwise
there is always a risk that it'll be forgotten.
Juergen
On 10/27/05, Martijn
import wicket.markup.html.WebPage;
if (page instanceof WebPage)
{
((WebPage)page).beforeCallComponent(component, method);
}
.
if (page instanceof WebPage)
{
((WebPage)page).afterCallComponent(component, method);
}
Is that realy a problem? It is not a dependency to another
Igor Vaynberg wrote:
I am simply questioning the automatic injection into pages, does it really
make sense if it only takes you half way there. If in my panel i need
to do a
((MyPage)getPage()).getService()
then i might as well do
((MyApp)getApplication).getService().
IMHO this makes a great
Hello Martin,
I have added a JavaBean-compliant setPageFactory() to my settings
subclass (because of the return type of setDefaultPageFactory()) so my
Spring configuration is correct.
Thanks for the tipp with MethodInvokingFactoryBean, but IMHO this is way
too much wordy.
So quoting
22 matches
Mail list logo