Something along those lines yeh.On 11/23/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
so you want to specify the optgroup tags in your model? something likeclass Category { String name; List choices }and provide List as the model? so that the name of categories become optgroup tags?
so you want to specify the optgroup tags in your model? something likeclass Category { String name; List choices }and provide List as the model? so that the name of categories become optgroup tags?
right now - no.what i am working on is very general and it will be trivial to build the above using a
Igor,Did you adjust the changes.xml?wicket-extensions doesnt have
changes.xml. should i put it into wicket's changes? i thought we were talking about extensions having its own release cycle so maybe we should have a separate changes file for it.
BTW, I also stumbled upon this one. But it wasn't re
Do you also have a solution for the scenario when you don't want the
HTML to explicitly define group1, group2 etc. as shown in the sample
code I see mentioned previously in the thread?
I don't know the code currently works (I've only started looking
at wicket) so not entirely sure what instances I
Igor,
Did you adjust the changes.xml?
BTW, I also stumbled upon this one. But it wasn't reproducable ;-).
Martijn
On 11/23/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> nah, dont worry about it :)
>
> -Igor
>
>
> On 11/22/05, Andrew Berman <[EMAIL PROTECTED]> wrote:
> > Hahahayou seem to
working on it right now :) how did you know?-IgorOn 11/22/05, Andrew Berman <[EMAIL PROTECTED]> wrote:
Igor, did you ever make a decision on how you wanted to proceed with this?
On 11/6/05, Andrew Berman <[EMAIL PROTECTED]
> wrote:Sounds and looks good to me.
On 11/6/05, Igor Vaynberg <[EMAIL PRO
Igor, did you ever make a decision on how you wanted to proceed with this?On 11/6/05, Andrew Berman <[EMAIL PROTECTED]
> wrote:Sounds and looks good to me.
On 11/6/05, Igor Vaynberg <[EMAIL PROTECTED]
> wrote:
I think the way to go would be to have a set of components that work like CheckGroup/Ch
nah, dont worry about it :)-IgorOn 11/22/05, Andrew Berman <[EMAIL PROTECTED]> wrote:
Hahahayou seem to always do this to me Igor. Thanks as always. You still want the bug?
--AndrewOn 11/22/05, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:
ok its fixed in cvs 1.2 and 1.1-IgorOn 11/22/05, Igor Va
Hahahayou seem to always do this to me Igor. Thanks as always. You still want the bug?
--AndrewOn 11/22/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
ok its fixed in cvs 1.2 and 1.1-IgorOn 11/22/05, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:
please do.-Igor
On 11/22/05, Andrew Berman <[EMAIL P
ok its fixed in cvs 1.2 and 1.1-IgorOn 11/22/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
please do.-Igor
On 11/22/05, Andrew Berman <[EMAIL PROTECTED]
> wrote:
I am using the DataView component exactly how it is shown in the
repeater examples in wicket-example except that I'm using
Hibernate. Whe
please do.-IgorOn 11/22/05, Andrew Berman <[EMAIL PROTECTED]> wrote:
I am using the DataView component exactly how it is shown in the
repeater examples in wicket-example except that I'm using
Hibernate. When I look at the Hibernate logs I notice that on the
first creation of the DataView component
I am using the DataView component exactly how it is shown in the
repeater examples in wicket-example except that I'm using
Hibernate. When I look at the Hibernate logs I notice that on the
first creation of the DataView component the count query is being run
twice. Everything else seems to be wor
ok i think i have fixed it. Must check it out but now you can do setModelObject on youre root component:if (!getComparator().compareValue(this, object)) { modelChanging();
if (getFlag(FLAG_HAS_ROOT_MODEL)) { getRootModel(model).set
That is a bug.for example Component.getModelObject() does this:// If this component has the root model for a compound model if (getFlag(FLAG_HAS_ROOT_MODEL)) { // we need to return the root model and not a property of the
// model
or use a url rewriting filter to change the url to a bookmarkable page ierewrite all www.example.com/shortcut/(expr)to
www.example.com/app?bookmarkablePage=Shortcut¶m=expr-IgorOn 11/22/05, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:I think you can do stuff like that now, at least partially. I'm ju
I think you can do stuff like that now, at least partially. I'm just
now starting to work on further improving this (or at least exploring
some ideas).
Eelco
On 11/22/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to create a URL that looks like:
> http://www.example.com/app
Two options (may be 3):
- see WebRequest/ResponseWithCryptedUrl for an example
- subclass WebRequestCycle.doParseRequest (a user hook)
- wait until we defined and implemented a revised URL strategy
Juergen
On 11/22/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to create a U
On 11/22/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> >> == Scott Sauyet <[EMAIL PROTECTED]>
> > == Juergen Donnerstag <[EMAIL PROTECTED]>
>
> Thanks for the info, Juergen.
>
> >> So my first question is why don't I get an exception when there is a
> >> "wicket:id" attribute on the BODY tag and
Hi,
I would like to create a URL that looks like:
http://www.example.com/app/1F83C6D3A
or even:
http://www.example.com/app/annual_shareholder_meeting
Is there a way to easily access the "/1F83C6D3A" portion of that URL
within Wicket and use it as a page parameter? I suppose the other
option cou
Johan,
what does you browser reports in what kind of content type is does get it
back?
UTF-8.
Please go to my web site to see for yourself:
http://drdb.fsa.ulaval.ca/urls/
At the end of the page click on Spiral09 to execute the application. Then click
on the French flag. The code is in Url
>> == Scott Sauyet <[EMAIL PROTECTED]>
> == Juergen Donnerstag <[EMAIL PROTECTED]>
Thanks for the info, Juergen.
So my first question is why don't I get an exception when there is a
"wicket:id" attribute on the BODY tag and no corresponding Component on
the Page?
It all has to do with and p
This is a duplicate. I'm already working on it.
Juergen
-- Forwarded message --
From: SourceForge.net <[EMAIL PROTECTED]>
Date: Nov 22, 2005 8:20 PM
Subject: [Wicket-develop] [ wicket-Patches-1364072 ] New Resource Stream Locator
To: [EMAIL PROTECTED]
Patches item #1364072, was
It all has to do with and panels being able to
contribute attributes to the page. In order to
support that feature, a webmarkupcontainer is automatically created
and associated with the body tag of the page (in case of an exception,
on the exception page you can see a _body component being a chil
I updated to rc4 a while back, and now that rc5 is out, we should do
another update. can you file an issue to get some visibility on this?
I'll probably tackle the upgrade, unless someone else wants to hop in
and get it done. It might take me a couple days before I can get this
in.
On 11/22/05,
Why does the BODY allow an unused wicket:id attribute?
I was trying to implement an enhancement to my markup-inheritance-based
pages to add a "class" attribute to the body tag in order to make it a
little easier to apply my CSS. I added 'wicket:id="body"' to the body
tag, and started adding a
The serializeable/transient explained the exceptions. That was easy to fix.
I have read the wiki entry on models (several times) but there is
obviously something I don't get.
I don't think that the difference between
this.getForm().get(ID_SPAN).setModelObject(mySelectedView);
and
this.getFo
In the getResponse() method of the
AutocompleteEventHandler
formComponent.validate();if
(formComponent.isValid()) {
formComponent.updateModel();} String
value = formComponent.getValue();
the above lines can be replaced by
String value =
getRequest().getParameter(getInp
scriptaculous provides the inner-frame support for
autocomplete out of the box, we don't have to do it ourselves.
I just replaced the control.js file in the
wicket-contrib-scriptaculous project with the latest version and the problem
vanished.
Can anyone with commit rights to the CVS repla
On Tue, 22 Nov 2005 16:10:23 +0100, Anders Peterson
<[EMAIL PROTECTED]> wrote:
Hi,
There are a couple of things I don't understand.
1) I have a form using a CompoundPropertyModel with a HashMap as the
initial model object. When I later (after having made a choice in a
DropDownChoice) call
what does you browser reports in what kind of content type is does get it back?On 11/22/05, Dzenan Ridjanovic <
[EMAIL PROTECTED]> wrote:Juergen,>For me it looks like your editor is not saving the html document in
UTF-8 format but your computers default locale. Which editor are youusing?I use Eclip
Thanks for the answer, johan.
I fully understand that you miss time to do all that, but since I had no acknowledgement, I was not sure of what to do.
see you,
--
laurent
On 11/22/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
Sorry I will look at youre things this week!I just haven't had th
Juergen,
For me it looks like your editor is not saving the html document in
UTF-8 format but your computers default locale. Which editor are you
using?
I use Eclipse. And I see French accents in Eclipse.
With or without meta tag I have the same problem. In one of previous
versions of Wicket
Looks right-IgorOn 11/22/05, Manuel Corrales <[EMAIL PROTECTED]> wrote:
I have this session:
public final class UserSession extends WebSession
{
private Usuario user;
/**
* Constructor.
* @param app
*/
public UserSession(Application app)
{
super(app);
Sorry I will look at youre things this week!I just haven't had the time yet! I will get back to you and others who also where sending patches for these thingsAnd then try to find the best possible solution.
johanOn 11/22/05, Laurent PETIT <[EMAIL PROTECTED]> wrote:
Hello the list,
I think this po
I went through the scriptaculous
js code and found that scriptaculous is generating an IFRAME, when the
browser is IE, to sit behind the autocomplete component.
But for some reason it has no effect in
my page.
Cheers
Dipu
- Original Message -
From: "Marco van de Haar" <[EMAI
Hello the list,
I think this post is more intended to Johan, as I think I have identified him as the one working on the "Form aware things" stuff.
I was bit disappointed that nobody replied to the patches attempts I've submitted on the list.
Now I think this is because my post was lost at the
everything that is inside a Model as its model objectThat is not detached (so not converted to a serializeable id or something like that) must be serializeable of its own.so youre DiffusionProcess must implement Serializeable
Or must be transient (then you must be able to recreate it from null)Or m
Works like a charm!
getSession().setStyle("soylent");
will use PageName_soylent.html if it exists, otherwise it will use
PageName.html.
- Johannes.
Johannes Fahrenkrug wrote:
Ok, thank you Christian and Juergen, I'll try using style!
- Johannes.
Juergen Donnerstag wrote:
Yes, Christian
Hi,
There are a couple of things I don't understand.
1) I have a form using a CompoundPropertyModel with a HashMap as the
initial model object. When I later (after having made a choice in a
DropDownChoice) call
this.getForm().setModelObject(aNewModelObject);
nothing in the gui is updated. T
For me it looks like your editor is not saving the html document in
UTF-8 format but your computers default locale. Which editor are you
using?
And
why iso-8859-1? As far as I can tell browsers, firewalls, filters etc
behave differently. Some use wrote:
> Hi,
>
> I use a simple approach to i18n.
Using BigDecimal instead of Double solved my current problem.
Later I'll have to make something like a PercentageConverter. Actually
that could be a generic conveter that multiplies/divides by a factor and
applies a unit.
Thanks...
/Anders
Christian Essl wrote:
If you use BigDecimals this
Hi,
I use a simple approach to i18n.
HomePage.html for English
HomePage_fr.html for French
Problem: French accents do not appear properly.
In my app class I use
getSettings().setDefaultMarkupEncoding("UTF-8");
In HomePage.java I use
add(new Link("english") {
public void onClick() {
getSessi
Try using an inner-frame. I don't have the code available, but googling
should provide enough info. The two wicket-contrib-dojo guys (Ruud and
Marko) also had some problems regarding this, and have posted a similar
question two weeks ago.
Martijn
On 11/22/05, Dipu <[EMAIL PROTECTED]> wrote:
Dipu wrote:
Hi Ryan,
I am using the ajax autocomplete text box you have developed for
wicket. But in my case the div layer spans over a select box,
so on IE it goes behind the select box. I tried nesting it in another
div with postion:relative as in scriptaculous autocomplete example,
but i
I have this session:
public final class UserSession extends WebSession
{
private Usuario user;
/**
* Constructor.
* @param app
*/
public UserSession(Application app)
{
super(app);
}
/**
*
* @return true si existe un usuario logead
Ok, thank you Christian and Juergen, I'll try using style!
- Johannes.
Juergen Donnerstag wrote:
Yes, Christian is right. Variation is something different. Style
should be what you are looking for.
Juergen
On 11/22/05, Christian Essl <[EMAIL PROTECTED]> wrote:
I am not sure but I think w
Hi Ryan,
I am using the ajax autocomplete text box you have
developed for wicket. But in my case the div layer spans over a select box,
so on IE it goes behind the select box. I tried
nesting it in another div with postion:relative as in scriptaculous autocomplete
example,
but it didn't w
Yes, Christian is right. Variation is something different. Style
should be what you are looking for.
Juergen
On 11/22/05, Christian Essl <[EMAIL PROTECTED]> wrote:
> I am not sure but I think what you are looking for is Component.getStyle()
> and Session.getStyle().
> See in MarkupCache.getMarkup
I am not sure but I think what you are looking for is Component.getStyle()
and Session.getStyle().
See in MarkupCache.getMarkup() ==>markupKey(). According to this the
format should be name_local_style.html. (Have not tested it so).
Christian
On Tue, 22 Nov 2005 11:37:12 +0100, Johannes Fahren
Hi,
We're building an online booking application using Wicket. Our company
offers trips through 2 different brands. The application will be exactly
the same, but needs 2 different designs.
I was nice and searched the archive for this topic and came up with the
get/setVariation solution, but I
Uh, I forgot, PdfDataSource is final, so option B is not even an option
now ;)
Matej Knopp wrote:
Btw, there's a problem with current implementation. After the report is
done, you can't generated another report (e.g. clicking twice on the
same link). Because datasource is the same and it's at
Btw, there's a problem with current implementation. After the report is
done, you can't generated another report (e.g. clicking twice on the
same link). Because datasource is the same and it's at the end. So all
further calls to datasource.next() will result in false.
The solution now is eithe
52 matches
Mail list logo