To all,
I have some problem with wicket, I'm newbie.
Condition
- A form with a CompoundPropertyModel
- 2 RequiredTextField
- 1 FileUploadField
- 1 TextArea with a CustomValidator
when I input string value with comma (,) in either or bothrequiredTextField with an invalid value of textArea
yes that is a problem.
If we knew that a IModel always had one real data object then we should only serialize that one
so instead of doing this:
f (cloneModel)
{
model.detach();
originalModel = (IModel)Objects.clone(model);
}
this:
if (cloneModel)
{
model.detach();
Eelco Hillenius wrote:
Thanks for the hint. I didn't sign up, but I always liked magnolia.
Maybe it's time to check it out :)
Eelco
Hi,
Check again, http://jira.magnolia.info/browse/MAGNOLIA-588
Some progress :)
--
Janne Hietamäki
Cemron Ltd
http://www.cemron.com/
I don't know... It could be that because the 1.1 build was done on my Mac, and the RC builds were done on my MS laptop.
Can you file a bug report, with a more precise description on what you think is wrong?
MartijnOn 11/3/05, jan_bar [EMAIL PROTECTED] wrote:
Hi,I compared results of rendered
What are you saying exactly?
Are you saying that you input a value with a , in a textfield in youre browser
and that , will be replaced with ; when you read it in at the serverside?
Or are you saying that the model value does have a , in the string and it is displayed as a ; in the browser?
What are you exactly trying to do?On 11/3/05, Alex Chew [EMAIL PROTECTED] wrote:
I found this message
http://sourceforge.net/mailarchive/message.php?msg_id=12880137
formerly, i tested this kind of solution, but couldn't work.
It seems strange,Does wicket and iframe coexist?
I have a form that do loading list of customers.
User can upload afile or just fill in datawith a textarea (separate each customer with comma).
List of customers is required.
Souser have to fill in either (or both) data of these 2 fields (FileUploadField or TextArea).
How to do required
Which version are you using? There is a test in cvs head which tests
it and it seems to work. Defaults can be defined if the key is just
RequiredValidator (the validators class name without any prefix). In
case no other key is found, it'll be used as default.
Juergen
On 11/3/05, Matej Knopp
This occure on browser, the value of textfield changed when form is invalid and return.
I just found that this is not problem with customValidator, but with RequiedTextField with multipart form (I'm not sure this will ocurred with only requiedValidator or other validator else, and also withany
can you make a bug report for this with a copy of the mail below?
On 11/3/05, blackboy zabaha [EMAIL PROTECTED] wrote:
This occure on browser, the value of textfield changed when form is invalid and return.
I just found that this is not problem with customValidator, but
with RequiedTextField with
Hello,
I don't know how to correctly preview a markup html only when it
refers to css, javascript files, that are meant to be relative to the
webapp context.
I think this should be done by viewing the html markup from a running
instance of the webapp only ?
And also, I'd like to have this
Hello,
I wonder if it is possible to create mutable form components, e.g. for
my application the same administration page is shown but depending on
the rights of the user, an element :
- may be editable ( e.g. rendered as a textarea / TextArea )
- may be read-only ( e.g. rendered as a div /
That is part of 1.2 and currently under development
Juergen
On 11/3/05, Laurent PETIT [EMAIL PROTECTED] wrote:
Hello,
I wonder if it is possible to create mutable form components, e.g. for
my application the same administration page is shown but depending on
the rights of the user, an
If I put there something like RequiredValidator=XYZ it works. But that's
not what I mean.
The problem is, that I want to see in feedback something like
* entry1.RequiredValidator value is missing
* entry2.RequiredValidator value is missing
So that I know which values should I add.
Not the
Great news!
What would you suggest as a temporary solution, as long as 1.2 isn't out ?
On 11/3/05, Juergen Donnerstag [EMAIL PROTECTED] wrote:
That is part of 1.2 and currently under development
Juergen
On 11/3/05, Laurent PETIT [EMAIL PROTECTED] wrote:
Hello,
I wonder if it is
Try RequiredValidator = ${label} is missing
${label} will either be replace with the component id or in case it is
defined, the formComponent's label, which is defined like
myPage.myInput = Price
Juergen
On 11/3/05, Matej Knopp [EMAIL PROTECTED] wrote:
If I put there something like
Sorry, How to make a bug report? I'm so new and never subscribe to any mail-list before.
BR,
blackJohan Compagner [EMAIL PROTECTED] wrote:
can you make a bug report for this with a copy of the mail below?
On 11/3/05, blackboy zabaha [EMAIL PROTECTED] wrote:
This occure on browser, the value of
you can report bugs here:
http://sourceforge.net/tracker/?group_id=119783atid=684975On 11/3/05,
blackboy zabaha [EMAIL PROTECTED] wrote:
Sorry, How to make a bug report? I'm so new and never subscribe to any mail-list before.
BR,
blackJohan Compagner [EMAIL PROTECTED] wrote:
can you make a bug
Hi,
I know with getPages().setPageExpiredErrorPage(Class) I can redirect
users to a customized page when a page is expired. But I want to do
more when this event occurs. Like logging and some bit of business
logic before sending the user to the page expired page. I have
looked at ApplicationPages
Thank you very much, I must have overlooked this functionality.
-Matej
Juergen Donnerstag wrote:
Try RequiredValidator = ${label} is missing
${label} will either be replace with the component id or in case it is
defined, the formComponent's label, which is defined like
myPage.myInput = Price
I'm sure this is Igor's territory, but I was wondering if, like how Check/CheckGroup and Radio/RadioGroup was done, if we could also add something to permit optgroups. My thought was to have something like a Select object which takes a list of OptGroup components. The OptGroup component then takes
Filled as #1347101. Thanks for your work on Wicket. It would be nice if you
don't change line endings in Wicket sources (this is not related to the
reported bug) between releases of Wicket. When I use source comparing just
to see differences between versions, all files differ.
Thanks, Jan
I don't change the line endings, CVS does that for me. So basically you are suggesting I should stop using my mac ;-).
Long live the differences between Mac, Linux and Dos... CR/LF/CRLF.
Just curious, why don't you use CVS diff's? Check out Wicket 1.1 from
CVS, and compare it to another version.
I've solved the problem!
FrancisOn 11/3/05, Francis Amanfo [EMAIL PROTECTED] wrote:
Hi,
I know with getPages().setPageExpiredErrorPage(Class) I can redirect
users to a customized page when a page is expired. But I want to do
more when this event occurs. Like logging and some bit of business
You should just stop using youre mac yes. That would be make everything much better :)
On 11/3/05, Martijn Dashorst [EMAIL PROTECTED] wrote:
I don't change the line endings, CVS does that for me. So basically you are suggesting I should stop using my mac ;-).
Long live the differences between
readonly can also be done with an attribute modifier (readonly=readonly attribute)
But different html output can only be done by panels.
So just have 2 panels one with an text area and one with just a label
And switch between those panels.
On 11/3/05, Laurent PETIT [EMAIL PROTECTED] wrote:
Great
Write youre own special validator that has references the FileUploadField
and add it to the TextArea.
Then you can check both when the validation of the area happens.
On 11/3/05, blackboy zabaha [EMAIL PROTECTED] wrote:
I have a form that do loading list of customers.
User can upload afile or just
I dont really understant what you mean.
If you want to do it like the Check/CheckGroup is done you would have a
SelectGroup and Select components that you would put into your html and
then you can manually insert optgroup
ie
select wicket:id=selectGroup
optgroupwicket doesnt care/optgroup
select
+1 on stopping the use of the mac :)
-Igor
On 11/3/05, Johan Compagner [EMAIL PROTECTED] wrote:
You should just stop using youre mac yes. That would be make everything much better :)
On 11/3/05, Martijn Dashorst [EMAIL PROTECTED]
wrote:
I don't change the line endings, CVS does that for me. So
OK, I'll do that with 2 panels for the moment.
Thanks Johan,
--
Laurent
On 11/3/05, Johan Compagner [EMAIL PROTECTED] wrote:
readonly can also be done with an attribute modifier (readonly=readonly
attribute)
But different html output can only be done by panels.
So just have 2 panels one
It would be similar to Check/CheckGroup because you could create a Select object, which is like the CheckGroup object, and an Option object, which is similar to the Check object. By doing that, then I can manually insert the optgroup tag either directly in the HTML or using a WebMarkupContainer in
yeah sorry, think of it as pseudo html :)
-Igor
On 11/3/05, Andrew Berman [EMAIL PROTECTED] wrote:
It would be similar to Check/CheckGroup because you could create a
Select object, which is like the CheckGroup object, and an Option
object, which is similar to the Check object. By doing that, then
I just created it for you:
https://sourceforge.net/tracker/index.php?func=detailaid=1347328group_id=119783atid=684975
Eelco
On 11/3/05, Johan Compagner [EMAIL PROTECTED] wrote:
you can report bugs here:
http://sourceforge.net/tracker/?group_id=119783atid=684975
On 11/3/05, blackboy zabaha
+1 also.
I think that settles it... Martijn... if you would
be so kind as to destroy your Mac immediatly and post some photos to the list to
prove that you have done so.
A sledgehammer ought to suffice.
Thanks,
Adam.
- Original Message -
From:
Igor
Vaynberg
To:
nobody for this one ? ;-)
On 11/3/05, Laurent PETIT [EMAIL PROTECTED] wrote:
Hello,
I don't know how to correctly preview a markup html only when it
refers to css, javascript files, that are meant to be relative to the
webapp context.
I think this should be done by viewing the html markup
Hi,
I am trying to use wicket.markup.html.tree.Tree. In my case, I allowed the user to select the node on the tree andchangethedescription of the node in a text box. When saving the changes, I wanted to getthe currentnode selected.
Does wicket already providea method to get the last selected
TORCH IT...FIRE FIRE!
-Igor
On 11/3/05, Adam Chesney [EMAIL PROTECTED] wrote:
+1 also.
I think that settles it... Martijn... if you would
be so kind as to destroy your Mac immediatly and post some photos to the list to
prove that you have done so.
A sledgehammer ought to suffice.
Who is Mac? A cute cat? Then I will survive with
any line endings he likes.
Jan
"Igor Vaynberg" [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]...TORCH
IT...FIRE FIRE!-Igor
On 11/3/05, Adam
Chesney [EMAIL PROTECTED] wrote:
+1 also.
I think that settles
Just for your information, I have a JUnite test that compares rendering
result to stored file (as you do in Wicket test). That test ceased to work
in with 1.1. I spent some time finding where the difference is. I stored the
new file and compared to the old one with CVS. It showed that the files
On 11/3/05, Juergen Donnerstag [EMAIL PROTECTED] wrote:
in order to be pre-viewable the html editor must be able to find the
css file without the help of wicket. The easiest way to accomplish it
is to put the css into your source path and by means of wicket:link
(autolinks) wicket is able to
Sounds to me like envy.
Admit it, you all wish you had a Mac and are jealous of those of us who
do!
(My one and only useful(??) contribution to this list...)
On Thu, 2005-11-03 at 09:04 -0800, Igor Vaynberg wrote:
TORCH IT...FIRE FIRE!
-Igor
On 11/3/05, Adam Chesney [EMAIL
Hello!
I have read the doc and looked at the examples, but there are still a
few things that I don't get. Probably, I have the Tapestry approach
stuck too much in my head...
How do I write a component that takes parameters?
This is an example of what I'd like to do:
span
havent decided what the best way to do this is. one problem i see with
passing a list of optgroups is that the optgroup will have to have an
IModel for its label in case someone wants to i18n it, but then how do
we handle attaching and detaching that model since its not attached to
any component.
43 matches
Mail list logo