Johan Compagner jcompagner at gmail.com writes:
jip that is what i meant
But ofcourse eelco's method is also fine to use.
On 11/15/05, Scott Sauyet lists at sauyet.com wrote:
= James Yong i_yongbl at yahoo.com.sg
= Johan Compagner jcompagner at gmail.com If you can do that then
i
Johan Compagner jcompagner at gmail.com writes:
ok you do write in the webapplication directory..
You do have always complete control over it where youre webapp will be
installed on? And what kind of application server is used?
Because you do know that writeable access isn't guarenteed?
Eelco Hillenius eelco.hillenius at gmail.com writes:
Or use
public class SimpleImage extends WebComponent {
public SimpleImage(String id, String imgSrc) {
super(id, new Model(imgSrc));
}
public SimpleImage(String id, IModel imgSrcModel) {
= James Yong [EMAIL PROTECTED]
= Johan Compagner jcompagner at gmail.com
If you can do that then i would just have the img tag directly in
the html with a wicket id and then you use a label componet which
only has a attribute modifier to set the src attribute.
That looks to me as the
jip that is what i meant
But ofcourse eelco's method is also fine to use.On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote:
= James Yong [EMAIL PROTECTED]
= Johan Compagner jcompagner at gmail.com If you can do that then i would just have the img tag directly in the html with a wicket id and
Although that shouldn't be a label as there is no body to replace.
Just a WebMarkupContainer, or in this case even better a WebComponent
suffices.
Eelco
On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote:
= James Yong [EMAIL PROTECTED]
= Johan Compagner jcompagner at gmail.com
If you
Johan Compagner jcompagner at gmail.com writes:
Of course you save youre files to a server you have to know the folder where
you have write access.
Then you can load them from that location just as fine as reading them from a
database.
Hi,
I used a label to generate the img tag. It
Another option could be to use Image and override onComponentTag
Juergen
On 11/14/05, James Yong [EMAIL PROTECTED] wrote:
Johan Compagner jcompagner at gmail.com writes:
Of course you save youre files to a server you have to know the folder where
you have write access.
Then you can
Or use
public class SimpleImage extends WebComponent {
public SimpleImage(String id, String imgSrc) {
super(id, new Model(imgSrc));
}
public SimpleImage(String id, IModel imgSrcModel) {
super(id, imgSrcModel);
}
protected