Hello, Wicket users,
Please, help me to find the difference between theese two
ComponentPropertyModel's (inside some Panel):
add(new Label(currencyPayed, new
ComponentPropertyModelString(currentPriceSumCurrency)));
and this (inside some border):
border.add(new Label(currencyPayed, new
On Fri, 13 Feb 2009, Warren Bell wrote:
I have a simmilar situation where I want to put a panel nested in a
panel nested in a page. The panel that is nested in the page stays the
same for many different pages, but the panel nested into the panel
changes. Would you do an anonymous panel
I've been using this on 1.3. You could generify to 1.4.
public class DateTimePropertyColumn extends PropertyColumn {
private DateFormat df;
/* ... Constructors */
@Override
protected IModel createLabelModel(IModel itemModel) {
Date date = (Date)
Hello,
I have a situation that keeps coming up. All of my solutions have
seemed clumsy, which makes me think that there's a better way of
approaching this that I just haven't figured out. Can someone point
me in the right direction?
What I want is to have a Page that uses
User's of my application will upload, edit, and delete files. For
this, I'd like to have a simple file repository with the following
features:
- Files are stored on the file system.
- Files are distributed over several folders (to avoid a single folder
with 10,000 files, say).
- Support
Why not store files into database as bytearray / blob?
**
Martin
2009/2/15 Kaspar Fischer fisch...@inf.ethz.ch:
User's of my application will upload, edit, and delete files. For this, I'd
like to have a simple file repository with the following features:
- Files are stored on the file
Hi,
Have you tried using an expression as the name of your Label component which
match your object model hierarchy.
i.e:
add(new Label(smallObject.name));
Willis Blackburn wrote:
Hello,
I have a situation that keeps coming up. All of my solutions have
seemed clumsy, which makes
Alfresco. And you have also lucene indexing.
Just deploy the repository and upload files via webservice...
2009/2/15 Martin Makundi martin.maku...@koodaripalvelut.com
Why not store files into database as bytearray / blob?
**
Martin
2009/2/15 Kaspar Fischer fisch...@inf.ethz.ch:
User's of
On 15.02.2009, at 17:57, Martin Makundi wrote:
Why not store files into database as bytearray / blob?
In my case, these are movies and I'll have to run ffmpeg on them to
convert them to appropriate formats. For this, it is more convenient
to have them on the file system.
Kaspar
yep, thats how it works. any component can implement iheadercontributor.
-igor
On Sat, Feb 14, 2009 at 11:29 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
unless you are planning to reuse such snippets it is cleaner to let
your component implement IHeaderContributor.
So if I
he said he wanted a compile time reference. if you are ok with a
runtime reference, then getpage() will do.
-igor
On Fri, Feb 13, 2009 at 2:54 PM, Warren Bell warrenbe...@gmail.com wrote:
I have a simmilar situation where I want to put a panel nested in a panel
nested in a page. The panel that
public class smallcomponent extends component {
protected imodel initmodel() {
imodel model=super.initmodel();
return new compoundpropertymodel(model);
}
}
-igor
On Sun, Feb 15, 2009 at 8:19 AM, Willis Blackburn wbo...@panix.com wrote:
Hello,
I have a situation that keeps
On 15.02.2009, at 18:00, francesco dicarlo wrote:
Alfresco. And you have also lucene indexing.
Just deploy the repository and upload files via webservice...
That is certainly an option: Alfresco even offers Content
Transformers; writing one to convert the movies would be easy.
Anything
Thanks for your reply.
I could do that, but then SmallComponent would effectively depend on
BigObject. The idea is that SmallComponent should work regardless of
where its model object actually lives. It could be a standalone
object, or part of another object such as BigObject.
W
On
Igor,
Are you sure that will work? I don't think that SmallComponent's
initModel method is ever called, because when the Label that is part
of SmallComponent is searching for a model (in Component.initModel),
it invokes the getModelImpl method of SmallComponent, which doesn't
call
Jackrabbit is also great and does all of this and more with a nice
friendly API wrapped around it.
http://jackrabbit.apache.org/
And its an apache project..
I don't recommend rolling your own. Any Simple Content Repository soon
gets User Permissions, Versioning, Search, Mixed Content and will
Tnx. :) Why don't the component implement iheadercontributor already?
It would be more obvious then..
**
Martin
2009/2/15 Igor Vaynberg igor.vaynb...@gmail.com:
yep, thats how it works. any component can implement iheadercontributor.
-igor
On Sat, Feb 14, 2009 at 11:29 PM, Martin Makundi
Sorry - I should've been more clear. Images work fine with timers.
Specifically, I was asking if your page had any img tags that had an empty
source - that causes similar behavior.
--
Jeremy Thomerson
http://www.wickettraining.com
On Sat, Feb 14, 2009 at 8:25 AM, Adriano dos Santos Fernandes
and there's brix, a wicket cms framework written on top of jackrabbit
John Armstrong-3 wrote:
Jackrabbit is also great and does all of this and more with a nice
friendly API wrapped around it.
http://jackrabbit.apache.org/
And its an apache project..
I don't recommend rolling your
Hello everyone,
I have a question about a SubmitLink. I am using wicket 1.4.rc2 and am
trying to add some logic to the onSubmit() of the link. However when I
do not use the constructor where you need to pass the Form to it, it
generates really 'weird' html and the link does not work. The link is
The examples for an editable inmethod datagrid show how to add validation
when adding a new column. The firstName and lastName components are
required. (component.setReqired(true)) And, indeed, if one edits a first
name and blanks it out and press the save icon, the row is not updated.
But no
Hi Willis
The quickest solution to this one I've found is to use a normal
PropertyModel, which doesn't seem to drill down through the nested
models.
In your case
public class BigPage {
public BigPage(BigObject object) {
setModel(new CompoundPropertyModel(object))
Kaspar Fischer wrote:
User's of my application will upload, edit, and delete files. For
this, I'd like to have a simple file repository with the following
features:
- Files are stored on the file system.
- Files are distributed over several folders (to avoid a single folder
with 10,000
I had some issue when opening multiple tabs. But I should revisit this,
because my page was with a serialization problem this time.
Adriano
Johan Compagner wrote:
That settings just triggers some code that checks if the pagemap name
is equal to the window name if that isnt the case then it
Hi
Using Apache Wicket:
I have a form.In that form i have Radio button group like:
Country
- USA
- UK
I dont have any submit buttons for the form. I have added Only RadioButton
Group.
But i want to write some logic based on selection of Radio button selection.
do we have any method to
Hi Wicket users,
Is there any effects library integrated in Wicket? In the Wicket examples
they just use the reference of the javascript files in the head of the page
and then append the javascript causing the effect to the component like:
target.appendJavascript(new Effect.Highlight($(' +
See some of the JS integrations in:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/
--
Jeremy Thomerson
http://www.wickettraining.com
On Sun, Feb 15, 2009 at 8:04 PM, Azzeddine Daddah waarhei...@gmail.comwrote:
Hi Wicket users,
Is there any effects
Swapna,
You can set up the radio buttons to submit the form via ajax when the
user clicks on. See AjaxFormSubmitBehavior.
W
On Feb 15, 2009, at 8:13 PM, Swapna Rachamalla wrote:
Hi
Using Apache Wicket:
I have a form.In that form i have Radio button group like:
Country
- USA
- UK
On Sun, 15 Feb 2009, Will Jaynes wrote:
So, how would one show those error messages? And where would such code get
hooked in?
I'm not sure about the place but basically you have to add a
FeedbackPanel and update it in the ajax event that causes
the error,
final Component feedback = new
quickstart please
-igor
On Sun, Feb 15, 2009 at 2:00 PM, Martijn Reuvers
martijn.reuv...@gmail.com wrote:
Hello everyone,
I have a question about a SubmitLink. I am using wicket 1.4.rc2 and am
trying to add some logic to the onSubmit() of the link. However when I
do not use the constructor
hrm, looks like johan changed it here
526472 4/7/07 12:13 PM 3 jcompagner component initModel will not
call
getModel on the parent, but will directly use the field (so that not
all kinds of inbetween models are created) if model is an iwrapmodel
and the wrapped modes is an inherited
Thank you
On Sun, Feb 15, 2009 at 6:48 PM, Willis Blackburn wbo...@panix.com wrote:
Swapna,
You can set up the radio buttons to submit the form via ajax when the user
clicks on. See AjaxFormSubmitBehavior.
W
On Feb 15, 2009, at 8:13 PM, Swapna Rachamalla wrote:
Hi
Using Apache
Hi!
Just wondering how this works, precisely, since I've been having some
intermittent problems.
I have a link that has an onClick() method that looks something like
this (in principle):
public void onClick()
{
String token = checkForToken();
if( token == null )
// Do something that
33 matches
Mail list logo