Re: Overriding builtin error messages

2008-11-12 Thread Igor Vaynberg
javadocs refer to wicket id unless its called html id.

-igor

On Wed, Nov 12, 2008 at 3:05 AM, Steve Swinsburg
[EMAIL PROTECTED] wrote:
 Yeah it matches, I just often wonder what ID the docs refer to when they say
 form-id. The actual HTML ID of the form element or the wicket:id. But got it
 sorted. Thanks all.


 cheers,
 Steve







 On 11 Nov 2008, at 18:25, Charlie Dobbie wrote:

 Unless I'm missing something, hopefully your wicket:id in markup matches
 the
 id you're giving the component... :-)

 Charlie.



 2008/11/11 Steve Swinsburg [EMAIL PROTECTED]

 Ah so is the form-id in the docs the wicket:id which is static in the
 HTML
 or is it the markup id of the form which is dynamic?  Does this then mean
 that in my Application properties I should put:

 myForm.uploadTooLarge=No way dude, far too large!

 What about including the actual size ( ie 2M) like the Form component
 does?



 cheers,
 Steve
 4 (0) 1524 594870








 On 11 Nov 2008, at 15:55, [EMAIL PROTECTED] wrote:

 How dynamic is your form's id?

 Shouldn't be static because of HTML reference?

 On Nov 11, 2008 1:53pm, Steve Swinsburg [EMAIL PROTECTED]
 wrote:

 I'd like to override the default form feedback messages (also so I can

 localise them). ie

 'Upload must be less than'

 In Form.java I found this :
 // Resource key should be .uploadTooLarge to
 // override default message


 But I'm still not sure how to override it in a Properties file if the

 form-id is dynamic?



 Any help much appreciated.


 Steve
















-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to use TextTemplateHeaderContributor.forCss method?

2008-11-12 Thread shetc

Been looking into this issue in more detail via my QuickStart application:

If HeaderContributor.forCss is used then the HTML output is:
  link rel=stylesheet type=text/css
href=resources/com.mycompany.WicketApplication/skins/style.css /

If TextTemplateHeaderContributor.forCss is used then the HTML output is:
  style type=text/css!--
  #someDiv {
  width: 100px;
  height: 100px;
  background: #fff url('brandX/image.jpg') 100% 100% no-repeat;
  }--/style

The second case 'fails' since brandX/image.jpg is kept under
resources/com.mycompany.WicketApplication/skins.

Shouldn't the output be as follows?
  style type=text/css!--
  #someDiv {
  width: 100px;
  height: 100px;
  background: #fff
url('resources/com.mycompany.WicketApplication/skins/brandX/image.jpg') 100%
100% no-repeat;
  }--/style


-- 
View this message in context: 
http://www.nabble.com/How-to-use-TextTemplateHeaderContributor.forCss-method--tp20411565p20462410.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ModalWindow and Component.writeObject

2008-11-12 Thread Stefan Lindner
Blush! I had an instance of Session in my Component, so the complete Session 
object was serialized on each klick onto the button! Excuse my question and 
thanks for the quick answer!

Stefan

-Ursprüngliche Nachricht-
Von: Johan Compagner [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 12. November 2008 15:39
An: users@wicket.apache.org
Betreff: Re: ModalWindow and Component.writeObject

I guess somehow the pages hold references to each other so if you
press the button on the inner page, and do your stuff, after that
wicket serializes that page it also encounters the other pages and
those are also serialized.

On 11/12/08, Stefan Lindner [EMAIL PROTECTED] wrote:
 I have a ModalWindow with a page as content, not a panel. Wn Ajax button on
 this modal window starts another modal window inside the first modal window
 (Page as content not a panel). This second modal window holds a Button. The
 Button has an AjaxEventBehavior

   Button mybutton = new button(...);
   mbyButton.add(new AjaxEventBehavior(onclick) {
   private static final long serialVersionUID = 1L;
   @Override
   public void onEvent(AjaxRequestTarget target) {

 each time the button is clicked an onEvent is called, ab bunch of
 Component.writeObject is fired. But not only the components of the current,
 sedonc, top level ModalWindow are serialized and stored. All components of
 all underlying pages call writeObject().
 In Wicket 2.0 this was not the case, in 1.4 trunk it is.
 Is this a bug or a feature? Does the button try something like a get/post
 even if there is no form surrounding it?

 Stefan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Progress Bar

2008-11-12 Thread Francisco Diaz Trepat - gmail
Hi all, I am using the progress bar found at extensions.
Is it possible to translate the words of the message that appear at the
status (Upload Starting... and 34% finished, 71.3M of 209.7M at 5.9M/s; 23
seconds) ??

Or put my own version of messages?

f(t)


Re: How to use TextTemplateHeaderContributor.forCss method?

2008-11-12 Thread Srikanth.NT

Check whether you get some value from getStyle() method. If it is null, then
the variable ${brand} wont be substituted.




shetc wrote:
 
 I created a QuickStart project and TextTemplateHeaderContributor.forCss 
 doesn't work in there either.
 


-
http://ntsrikanth.blogspot.com/
-- 
View this message in context: 
http://www.nabble.com/How-to-use-TextTemplateHeaderContributor.forCss-method--tp20411565p20463240.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to use TextTemplateHeaderContributor.forCss method?

2008-11-12 Thread shetc

There is a style and it still doesn't work.
-- 
View this message in context: 
http://www.nabble.com/How-to-use-TextTemplateHeaderContributor.forCss-method--tp20411565p20463348.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to use TextTemplateHeaderContributor.forCss method?

2008-11-12 Thread Srikanth.NT

Try...

IModel skinModel = new AbstractReadOnlyModel() {
private static final long serialVersionUID = 1L;

@Override
public Map getObject() {
MapString, CharSequence variables = new 
HashMapString,
CharSequence(1);
variables.put(brand, urlFor(new 
ResourceReference(HomePage.class, ))
+ brandxx);
return variables;
}
};

add(TextTemplateHeaderContributor.forCss(HomePage.class, 
style.css,
skinModel));




shetc wrote:
 
 There is a style and it still doesn't work.
 


-
http://ntsrikanth.blogspot.com/
-- 
View this message in context: 
http://www.nabble.com/How-to-use-TextTemplateHeaderContributor.forCss-method--tp20411565p20463802.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pretty url for tabs

2008-11-12 Thread Matej Knopp
This is not possible to do with Wicket unless you have each tab on
different page.

-Matej

On Wed, Nov 12, 2008 at 12:46 AM, rmoskal [EMAIL PROTECTED] wrote:

 I'm familiar with the a lot of the strategies that make for nicer urls in
 Wicket, but am at a loss for how to make the urls for a tabpanel friendlier.

 Instead of /Home:1:1, /Home:2:1, etc.

 I'd like to have  /Home:Account:1, /Home:Alerts:1, etc.

 It would be nice to lose the last bit on the right, but I could live with it
 if it messes with wickets state maintaining ability.

 Has anyone had a client pester them for this?

 Thanks and regards,

 Robert Moskal
 Brooklyn, USA
 --
 View this message in context: 
 http://www.nabble.com/Pretty-url-for-tabs-tp20451052p20451052.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Issue with FileUpload.writeToTempFile()

2008-11-12 Thread Steve Swinsburg
Its just the line endings that are causing the issues with the  
formatting. There is an app called FLIP (http://ccrma-www.stanford.edu/~craig/utility/flip/ 
) which I just used on both files and it reformatted with proper Unix  
file endings (it converts between all variants).


I've attached the formatted files to the Jira as well.


cheers,
Steve




On 12 Nov 2008, at 07:58, Johan Compagner wrote:


If you use eclipse you should use the project specific format we have
defined for it. You should have a .settings dir or something like
that. Look at the wicket project preferences and look what formatter
you use there

On 11/12/08, Bruno Borges [EMAIL PROTECTED] wrote:

sure igor... :-) your opinion is more than welcome.

about the binary search specially. I will keep that in mind for  
future codes

:-) (and not just for wicket)

but, about the formatting, I really don't know what's going on. I'm  
using
Ganymede and I've been applying the EclipseCodeFormat.xml without  
success.
Whenever I save  the file or just format it manually, it does that  
with the
code. Sorry about that. I will disable it for future patches and  
will try to

format by hand. At least, the whole code won't be messed up.

and about the name of that method, I never would feel sad if you  
decide to

change it, really. :-) I took the first shot so I had  to come with
something, but there's no reason to not change it.

with everything said, I'll try to improve the quality (or the lack of
premature quality) of submited patches... :-D

thanks for your comments,
Bruno Borges
blog.brunoborges.com.br
+55 21 76727099

The glory of great men should always be
measured by the means they have used to
acquire it.
- Francois de La Rochefoucauld


On Tue, Nov 11, 2008 at 9:25 PM, Igor Vaynberg
[EMAIL PROTECTED]wrote:


hi bruno.

first off let me say that we really appreciate the patches...

but :) i would like to make a couple of small comments:

it would be nice if you used the same formatting settings as us.  
your

patches contain 90% noise which makes them hard to read.

try to use simpler names. normalizeFilename doesnt really say  
much.

what is normalize mean.

and this is the most important one, do not prematurely optimize and
know when to optimize. this method is called extremely rarely so the
requirement of maintaining the array ordered vs the speed  
improvement
doesnt make sense - too much of a maintenance headache, easy to  
make a

mistake, etc. further, in this particular case, a binary search is
slower then a linear search by, i would venture, about 5x.

thanks,

-igor

On Tue, Nov 11, 2008 at 11:03 AM,  [EMAIL PROTECTED] wrote:

JIRA issue created - *with patch included*

https://issues.apache.org/jira/browse/WICKET-1930

cheers,
Bruno

On Nov 11, 2008 4:11pm, Igor Vaynberg [EMAIL PROTECTED]  
wrote:


please open a jira issue.



-igor



On Tue, Nov 11, 2008 at 1:59 AM, Lauri Piispanen - Conmio Ltd

wrote:


Hi all,







I seem to be having a small portability glitch with


FileUpload.writeToTempFile(). Looking at the source code it  
seems to

be



using item.getFieldName(), which on my page translates to



filefields:1:upload. Windows doesn't really like colons, which
gives


me



the following stacktrace:







...snip until root cause...







Caused by: java.io.IOException: The parameter is incorrect



at java.io.WinNTFileSystem.createFileExclusively(Native Method)



at java.io.File.checkAndCreate(File.java:1704)



at java.io.File.createTempFile(File.java:1793)



at java.io.File.createTempFile(File.java:1830)



at







org 
.apache 
.wicket 
.markup 
.html.form.upload.FileUpload.writeToTempFile(FileUpload.java:189)







...snip...







On mac  linux this works just fine. I know that more elegant way

would


be



using the InputStream, but having a file is much more useful for

reading


image dimensions and file length etc. than juggling things in  
memory.







Sincerely,







--



Lauri Piispanen



Senior Product Architect



Conmio Ltd











-



To unsubscribe, e-mail: [EMAIL PROTECTED]



For additional commands, e-mail: [EMAIL PROTECTED]












-

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





smime.p7s
Description: S/MIME cryptographic signature


Re: Static injection not working (wicket-guice)

2008-11-12 Thread francisco treacy
hi,

imho this is a wicket (wicket-guice) issue. we are trying to
accomplish the same as edgar, having the same result:

InjectorHolder.getInjector().inject(this);

java.lang.IllegalStateException: InjectorHolder has not been assigned
an injector. Use InjectorHolder.setInjector() to assign an injector.
In most cases this should be done once inside SpringWebApplication
subclass's init() method.
at 
org.apache.wicket.injection.web.InjectorHolder.getInjector(InjectorHolder.java:64)

i don't want to use ((GuiceInjectorHolder)
(RequestCycle.get().getApplication().getMetaData(GuiceInjectorHolder.INJECTOR_KEY))).getInjector().injectMembers(this);
because it returns the actual instances - not proxies. and because of
serialization issues this is not desirable in our case.

i tried in my app's init():

InjectorHolder.setInjector(new ConfigurableInjector() {

@Override
protected IFieldValueFactory getFieldValueFactory() {
return new AnnotProxyFieldValueFactory();
}

});

with a basic implementation of AnnotProxyFieldValueFactory (copied
from wicket-spring - i don't really know what i'm doing here):

public class AnnotProxyFieldValueFactory implements IFieldValueFactory {

public Object getFieldValue(Field field, Object fieldOwner) {

if (field.isAnnotationPresent(Inject.class)) {

// had to wrap this one cause it has 
package-private visibility
GuiceBeanLocator locator = new 
GuiceBeanLocator(field.getType(), null);

return 
LazyInitProxyFactory.createProxy(field.getType(), locator);

}
else
{
return null;
}
}

public boolean supportsField(Field field) {
return field.isAnnotationPresent(Inject.class);
}
}


... but i was getting missing binding to guice Provider, so i decided
to stop there :)

are there any workarounds?  kristof and edgar, did you arrive to some
conclusion, perhaps when you emailed privately?
we should be able to use this as we do with spring.  i'm (really)
aware of salve but for some reason we can't use it here.

pointers much appreciated. thanks,

francisco



On Mon, Oct 27, 2008 at 9:27 AM, Kristof Jozsa [EMAIL PROTECTED] wrote:
 Hi Edgar,

 can you share some details with me about what you're trying to
 accomplish? You can write me privately, this doesn't sound like a
 wicket issue so better not load the wicket-users list with the topic.

 Kristof

 On Wed, Oct 22, 2008 at 8:02 AM, Edgar Merino [EMAIL PROTECTED] wrote:
 Hello,

   I've been trying to inject a service to some classes that are not wicket
 components, I've asked here and was suggested to use static injection:
 InjectorHolder.getInjector().inject(this); however this is not working with
 guice, I always get an illegalstateexception, injectorholder has not been
 assigned an injector. I've tried ((GuiceInjectorHolder)
 (RequestCycle.get().getApplication().getMetaData(GuiceInjectorHolder.INJECTOR_KEY))).getInjector().injectMembers(this);
 however that gives me serialization problems, since wicket is not creating a
 proxy for my service. I'm on my way to give salve a try but I'm having some
 problems there too (waiting for a response from the Discussion group), what
 suggestions can you make?

 Thanks in advance,
 Edgar Merino

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicketstuff-push is over, wickestuff-dojo-1.1 is born ???

2008-11-12 Thread Julien Graglia
Le samedi 08 novembre 2008 à 08:56 -0400, Rodolfo Hansen a écrit :
 I'm currently using wicketstuff-push on a small app I have.
 The only bug I am aware of is related to the RemoveListener.
 
 What exactly is the issue you are having?
I have some javascript errors with the trunk (rev 4309): 

dojo is not defined
http://jgr-pc:8080/WicketTestProject/pages/HomePage/
Line 59
dojox is not defined
http://jgr-pc:8080/WicketTestProject/pages/HomePage/
Line 30
dojox is not defined
http://jgr-pc:8080/WicketTestProject/pages/HomePage/
Line 59


But with an older version (rev 4245) it works. The most visible
difference is the presence of folders  dojo, and dojox in the old
revision : 
[EMAIL PROTECTED]:~/workspaceOLD/push$ ls -alh
src/main/resources/org/wicketstuff/push/cometd/dojo/
total 24K
drwxr-xr-x 6 julien julien 4,0K 2008-09-19 18:37 .
drwxr-xr-x 4 julien julien 4,0K 2008-09-19 18:37 ..
drwxr-xr-x 5 julien julien 4,0K 2008-09-19 18:37 dijit
drwxr-xr-x 5 julien julien 4,0K 2008-09-19 18:37 dojo
drwxr-xr-x 4 julien julien 4,0K 2008-09-19 18:37 dojox
drwxr-xr-x 6 julien julien 4,0K 2008-09-30 21:14 .svn


In the trunk : 
[EMAIL PROTECTED]:~/workspace/wicketstuff-push$ ls -alh
src/main/resources/org/wicketstuff/push/
total 16K
drwxr-xr-x 4 julien julien 4,0K 2008-11-12 13:29 .
drwxr-xr-x 4 julien julien 4,0K 2008-11-12 13:29 ..
drwxr-xr-x 4 julien julien 4,0K 2008-11-12 13:29 dojo
drwxr-xr-x 6 julien julien 4,0K 2008-11-12 13:29 .svn


The
org.wicketstuff.push.cometd.CometdAbstractBehavior.getInitCometdScript() , 
getSubscriberScript seems to inject invalid js links...

I just notice that the folder stucture changed...

My test app is basically  : 
A Wicket Application with a channel service and and update thread: 
private final IChannelService cometdService;

public AddressBookApplication() {
cometdService = new CometdService(this);

final Thread thread = new Thread(new Runnable() {
@Override
public void run() {
update(cometdService);
}
});
thread.start();
}

public void update(final IChannelService service) {
try {
int counter = 0;
while (true) {
counter++;
Thread.sleep(1000);
final ChannelEvent event = new 
ChannelEvent(chat);
final String msg = counter + counter;
event.addData(message, msg);
/* xxx */System.out.println(JGr  Publishing 
 + event.getData() +
 on channel : chat);
service.publish(event);
}
} catch (final Exception exc) {
//...
}
}


And a page displaying the message pushed in a label
public HomePage() {
final IChannelService service = ((AddressBookApplication)
WebApplication.get()).getCometdService();
...
service.addChannelListener(this, chat, new IChannelListener() {
 public void onEvent(final String channel, final Map datas, final
IChannelTarget target) {
  labelModel.strvalue =String.valueOf(datas.entrySet().toArray()[0]);
  target.addComponent(label);
 }
});


I you need more informations, you can contact me!

-- 
Julien Graglia
NetCeler


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Sample App w/ Wicket

2008-11-12 Thread akahn

I'm new to Wicket and am interested in developing a small, 4-page web app.
Can anyone point me to an online resource or sample app I can look at to
understand full page flow, logic, presentation, etc.?

I've taken a look at the live examples, but they're too simplistic for me,
as I need a bit more meat to understand a full app, end-to-end.

Thanks in advance.

-- 
View this message in context: 
http://www.nabble.com/Sample-App-w--Wicket-tp20465611p20465611.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sample App w/ Wicket

2008-11-12 Thread Ryan Gravener

www.databinder.net is a good start (5+ examples).

also wicket-phonebook is useful: 
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook

On Nov 12, 2008, at 12:49 PM, akahn wrote:



I'm new to Wicket and am interested in developing a small, 4-page  
web app.
Can anyone point me to an online resource or sample app I can look  
at to

understand full page flow, logic, presentation, etc.?

I've taken a look at the live examples, but they're too simplistic  
for me,

as I need a bit more meat to understand a full app, end-to-end.

Thanks in advance.

--
View this message in context: 
http://www.nabble.com/Sample-App-w--Wicket-tp20465611p20465611.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Progress Bar

2008-11-12 Thread Pointbreak
http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html

On Wed, 12 Nov 2008 12:37:07 -0300, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] said:
 Hi all, I am using the progress bar found at extensions.
 Is it possible to translate the words of the message that appear at the
 status (Upload Starting... and 34% finished, 71.3M of 209.7M at 5.9M/s;
 23
 seconds) ??
 
 Or put my own version of messages?
 
 f(t)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bugs in wicket

2008-11-12 Thread TahitianGabriel

Please can you give us the bug number (Wicket-) so we can vote for this
bug and follow it?

Regards.


I've reported it to wicket JIRA.
Jens


TahitianGabriel wrote:
 
 Yes it seems to have a bug with datepicker in ModalWindows with IE7 (works
 with firefox 3).
 In file calendar-min.js line : this.oDomContainer.innerHTML=B.join(\n)
 I think that innerHTML property is readonly in IE7.
 
 

-- 
View this message in context: 
http://www.nabble.com/Bugs-in-wicket-tp20377171p20466558.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to use TextTemplateHeaderContributor.forCss method?

2008-11-12 Thread shetc

Thank you, sir!

I arrived at a similar result but I am not sure if it is the correct
solution or if it's a work-around for something missing from
TextTemplateHeaderContributor.forCss code.
-- 
View this message in context: 
http://www.nabble.com/How-to-use-TextTemplateHeaderContributor.forCss-method--tp20411565p20466790.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ModalWindow and Component.writeObject

2008-11-12 Thread Stefan Lindner
I have a ModalWindow with a page as content, not a panel. Wn Ajax button on 
this modal window starts another modal window inside the first modal window 
(Page as content not a panel). This second modal window holds a Button. The 
Button has an AjaxEventBehavior

Button mybutton = new button(...);
mbyButton.add(new AjaxEventBehavior(onclick) {
private static final long serialVersionUID = 1L;
@Override
public void onEvent(AjaxRequestTarget target) {

each time the button is clicked an onEvent is called, ab bunch of 
Component.writeObject is fired. But not only the components of the current, 
sedonc, top level ModalWindow are serialized and stored. All components of all 
underlying pages call writeObject().
In Wicket 2.0 this was not the case, in 1.4 trunk it is.
Is this a bug or a feature? Does the button try something like a get/post even 
if there is no form surrounding it?

Stefan


Re: What is best practice for overriding settings in ModalWindow modal.css file?

2008-11-12 Thread Nino Saturnino Martinez Vazquez Wael

hi Steve

Wrap it in a class that overrides the property.

shetc wrote:

Hi All,

What is best practice for overriding the properties in the ModalWindow
modal.css file?
For example, I would like to change the font of the text used for the title.

Thanks,

Steve
  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



gmap2 and helper classes / methods?

2008-11-12 Thread Nino Saturnino Martinez Vazquez Wael

Hi

I seem to be lacking some helper methods for finding out if a glatlng 
are in a gbounds etc.. Are there someone out there who has implemented 
anything or do I need to roll my own, and if the latter I guess I should 
provide a patch?


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Progress Bar

2008-11-12 Thread Nino Saturnino Martinez Vazquez Wael

Francisco, feel free to provide a patch :)

Francisco Diaz Trepat - gmail wrote:

Could you be more specific?
You send me the Wicket internationalization link.

The word progress, of Progress Bar, doesn't even exist in the page.

And finally I found that it is not possible through regular (framework)
means to i18n the Progress Bar due to the fact that the text I referred to
is inside (hardcoded) the JavaScript file profress.js

f(t)

On Wed, Nov 12, 2008 at 3:00 PM, Pointbreak
[EMAIL PROTECTED][EMAIL PROTECTED]
  

wrote:



  

http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html

On Wed, 12 Nov 2008 12:37:07 -0300, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] said:


Hi all, I am using the progress bar found at extensions.
Is it possible to translate the words of the message that appear at the
status (Upload Starting... and 34% finished, 71.3M of 209.7M at 5.9M/s;
23
seconds) ??

Or put my own version of messages?

f(t)
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What is best practice for overriding settings in ModalWindow modal.css file?

2008-11-12 Thread shetc

Hi Nino,

Thanks for responding! I'm still going through the newbie stage so I'm not
quite sure what
your are suggesting. Further hints would be most appreciated.

Steve

-- 
View this message in context: 
http://www.nabble.com/What-is-best-practice-for-overriding-settings-in-ModalWindow-modal.css-file--tp20467689p20468210.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: AjaxFallbackDefaultDataTable with ajax lazy loading - sorting and paging throws an IllegalStateException

2008-11-12 Thread Yazeed Isaacs
Hi Igor

A basic example of this would be the following:

You have a LazyLoadPanel and override getLazyLoadComponent() to return a
AjaxTabbedPanel with at least 1 tab. Click on a tab and the same
IllegalStateException is thrown. 

java.lang.IllegalStateException: Ajax render cannot be called on
component that has setRenderBodyOnly enabled.
Component id = content,...
tabs:panel:webContainer:lazyLoadPanel:content.AjaxTabbedPanel

The same as with the AjaxFallbackDefaultDataTable:

Component id = content,... form:
lazyLoadPanel:content.AjaxFallbackDefaultDataTable


I assume that the LazyLoadComponent with id content is the problem,
but I cannot seem to solve this one. Is there any other way that I may
use the AjaxTabbedPanel or AjaxFallbackDefaultDataTable and have them
lazyloaded?


Oh yes, did I mention that WICKET is AWESOME !!!

Yazeed Isaacs - Java Developer
[EMAIL PROTECTED]



-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED] 
Sent: 11 November 2008 06:54 PM
To: users@wicket.apache.org
Subject: Re: AjaxFallbackDefaultDataTable with ajax lazy loading -
sorting and paging throws an IllegalStateException

create a quickstart and i will take a look.

-igor

On Tue, Nov 11, 2008 at 12:38 AM, Yazeed Isaacs
[EMAIL PROTECTED] wrote:
 Hi Igor

 I am still having a problem with the paging  sorting of the
 AjaxFallbackDefaultDataTable when it is used within a LazyLoadPanel
ie.
 LazyLoadPanel.getLazyLoadComponent() returns the
 AjaxFallbackDefaultDataTable.

 The AjaxFallbackDefaultDataTable loads correctly within the
 LazyLoadPanel, but when I sort a column or navigate to the next page,
 the IllegalStateException is thrown and the error message is: Ajax
 render cannot be called on component that has setRenderBodyOnly
enabled
 - Component id: content.

 lazyloadpanel:content.AjaxFallbackDefaultDataTable

 Please help.

 Yazeed Isaacs - Java Developer
 [EMAIL PROTECTED]



 -Original Message-
 From: Yazeed Isaacs [mailto:[EMAIL PROTECTED]
 Sent: 10 November 2008 03:04 PM
 To: users@wicket.apache.org
 Subject: RE: AjaxFallbackDefaultDataTable with ajax lazy loading -
 sorting and paging throws an IllegalStateException

 I understand that the markupid needs to be there in order for ajax to
 update the component.

 The component that it complains about is called content which is the
 inner content of the AjaxLazyLoadPanel.

 I have set the ajaxlazyloadpanel to setRenderBodyOnly(false) and
 setOutputMarkupId(true) and I did the same for the
 AjaxFallbackDefaultDataTable, but I still get the same error.

 This is my component layout:

 Form  - AjaxButton
- AjaxLazyLoadPanel returns AjaxFallbackDefaultDataTable


 Component id = content, page =
 za.co.transactionjunction.transpector.pages.TransactionQueryPage, path
=

8:transactionQueryForm:transactions:content.AjaxFallbackDefaultDataTable


 Any ideas?

 Yazeed Isaacs - Java Developer
 [EMAIL PROTECTED]



 -Original Message-
 From: Ernesto Reinaldo Barreiro [mailto:[EMAIL PROTECTED]
 Sent: 06 October 2008 10:01 AM
 To: users@wicket.apache.org
 Subject: Re: AjaxFallbackDefaultDataTable with ajax lazy loading -
 sorting and paging throws an IllegalStateException

 The problem is, as Igor pointed, you cannot re-render a component via
 AJAX
 if it has set setRenderBodyOnly(true)... Why?
 div wicket:id=testAjax
  pContent.../p
 /div

 will be renderend as

 pContent.../p

 instead of

 div id=someid
  pContent.../p
 /div

 So, there is no way wicket AJAX js can replace the div with something
 else... Additionally you have to set setOutputMarkupId(true) on the
 component you want to replace..

 Ernesto

 On Mon, Oct 6, 2008 at 9:41 AM, Yazeed Isaacs 
 [EMAIL PROTECTED] wrote:

 Hi Igor

 Here is the java code:

 add(new AjaxButton(ajaxSubmitButton, this) {

protected void onSubmit(AjaxRequestTarget target, Form form) {

AjaxLazyLoadPanel transactions = new
AjaxLazyLoadPanel(
transactions) {

private static final long serialVersionUID =
 1L;

@Override
public Component getLazyLoadComponent(String
 id)
 {

TransactionQuery transactionQuery =
new
 TransactionQuery();


 transactionQuery.setCardNumber(cardNumberField
.getInput());

 transactionQuery.setDateFrom(dateFromField
.getInput());

 transactionQuery.setDateTo(dateToField.getInput());

 transactionQuery.setStoreId(storeIdsDropDownChoice
.getInput());
transactionQuery

 .setTerminalId(terminalIdsDropDownChoice

 .getInput());
int transactionNumber = 0;
if (transNumberField.getInput() !=
 null)
 {
if
 ((transNumberField.getInput().length()  0))

AW: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-12 Thread Agent Mahone
Hello Igor,
I just right now came back to my point.
Followed your hint and thinking once about it. You´re right, it works with 
vanilla spring :-)
Thank you very much for your great help!!!






Von: Igor Vaynberg [EMAIL PROTECTED]
An: users@wicket.apache.org
Gesendet: Dienstag, den 11. November 2008, 23:45:33 Uhr
Betreff: Re: SessionHandling: WicketRuntimeException: There is no application 
attached to current thread http-8080-1

you can retrieve the application context via the servlet context and
use vanilla spring to do whatever it is you are trying to do. you only
need the proxies when dealing from inside wicket - which you do not
appear to be doing.

-igor

On Tue, Nov 11, 2008 at 1:06 PM, Agent Mahone [EMAIL PROTECTED] wrote:
 Hello guys

 The only thing what I was trying to do was, to execute some code
 if a time out occurs. (mark that user is not anymore available or online).
 How then can I achieve this behaviour?

 Am I forced to use the classic instantiation through the new operator?
 Or is there any other solution?



 
 Von: Igor Vaynberg [EMAIL PROTECTED]
 An: users@wicket.apache.org
 Gesendet: Dienstag, den 11. November 2008, 18:48:24 Uhr
 Betreff: Re: SessionHandling: WicketRuntimeException: There is no application 
 attached to current thread http-8080-1

 wouldnt say its a bug, looks like a method invocation is done on a
 wicket-spring proxy outside a wicket request and it cannot find the
 application when it tries to resolve the application context. those
 proxies are not mean to be used outside wicket requests.

 -igor

 On Tue, Nov 11, 2008 at 7:11 AM, Martijn Dashorst
 [EMAIL PROTECTED] wrote:
 I guess 
 org.apache.wicket.spring.SpringWebApplication$1.getSpringContext(SpringWebApplication.java:51)
 has a bug because it assumes it is always called inside the scope of a
 wicket request.

 Martijn

 On Tue, Nov 11, 2008 at 12:59 PM, Agent Mahone [EMAIL PROTECTED] wrote:
 Hi guys

 I´m just trying to execute some code after a session timeout occurs.
 I´m using spring / wicket / hibernate frameworks.
 Why do I get this error WicketRuntimeException: There is no application 
 attached to current thread http-8080-1?
 I´m not getting it...I appreciate any hints. Thanks in advance !!!

 Here is my application class:

 public class MyApplication extends SpringWebApplication implements 
 HttpSessionListener {

 protected void init() {
 //some code
 }

 public Session newSession(Request request, Response response) {
return new MySession(request);
 }

 public ClassIndexPage getHomePage() {
return IndexPage.class;
  }

 public Object getBean(Class? clazz, String beanName) {
return createSpringBeanProxy(clazz, beanName);
 }

  @Override
 public void sessionCreated(HttpSessionEvent arg0) {
//nothing sepcial
 }

 @Override
 public void sessionDestroyed(HttpSessionEvent arg0) {
  String sessionId = arg0.getSession().getId();

  IRegistrationLoginUseCase bean = 
 (ILoginService)getBean(ILoginService.class, loginService);

  bean.logout(sessionId);
 }

 Here is my error stack trace:

 org.apache.wicket.WicketRuntimeException: There is no application attached 
 to current thread http-8080-1
at org.apache.wicket.Application.get(Application.java:166)
at 
 org.apache.wicket.spring.SpringWebApplication$1.getSpringContext(SpringWebApplication.java:51)
at 
 org.apache.wicket.spring.SpringBeanLocator.getSpringContext(SpringBeanLocator.java:176)
at 
 org.apache.wicket.spring.SpringBeanLocator.locateProxyTarget(SpringBeanLocator.java:162)
at 
 org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:412)
at org.apache.wicket.proxy.$Proxy3.logout(Unknown Source)
at 
 com.studentcv.web.MyApplication.sessionDestroyed(StudentCVApplication.java:82)
at 
 org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
at 
 org.apache.catalina.session.StandardSession.isValid(StandardSession.java:592)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2287)
at org.apache.catalina.connector.Request.getSession(Request.java:2075)
at 
 org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
at 
 org.apache.wicket.protocol.http.AbstractHttpSessionStore.getSessionId(AbstractHttpSessionStore.java:180)
at 
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:303)
at 
 org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 

Re: Progress Bar

2008-11-12 Thread Francisco Diaz Trepat - gmail
Hi nino, I'm on it. Very simple at first, English default text and
javascript function parameters for other values.
But I think latter on it could bring all text from server, although it could
increase traffic unnecessarily.

f(t)

On Wed, Nov 12, 2008 at 4:43 PM, Nino Saturnino Martinez Vazquez Wael 
[EMAIL PROTECTED] wrote:

 Francisco, feel free to provide a patch :)

 Francisco Diaz Trepat - gmail wrote:

 Could you be more specific?
 You send me the Wicket internationalization link.

 The word progress, of Progress Bar, doesn't even exist in the page.

 And finally I found that it is not possible through regular (framework)
 means to i18n the Progress Bar due to the fact that the text I referred to
 is inside (hardcoded) the JavaScript file profress.js

 f(t)

 On Wed, Nov 12, 2008 at 3:00 PM, Pointbreak
 [EMAIL PROTECTED] [EMAIL PROTECTED]
 [EMAIL PROTECTED] [EMAIL PROTECTED]


 wrote:






 http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html

 On Wed, 12 Nov 2008 12:37:07 -0300, Francisco Diaz Trepat - gmail
 [EMAIL PROTECTED] said:


 Hi all, I am using the progress bar found at extensions.
 Is it possible to translate the words of the message that appear at the
 status (Upload Starting... and 34% finished, 71.3M of 209.7M at 5.9M/s;
 23
 seconds) ??

 Or put my own version of messages?

 f(t)


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]








 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Progress Bar

2008-11-12 Thread Francisco Diaz Trepat - gmail
Could you be more specific?
You send me the Wicket internationalization link.

The word progress, of Progress Bar, doesn't even exist in the page.

And finally I found that it is not possible through regular (framework)
means to i18n the Progress Bar due to the fact that the text I referred to
is inside (hardcoded) the JavaScript file profress.js

f(t)

On Wed, Nov 12, 2008 at 3:00 PM, Pointbreak
[EMAIL PROTECTED][EMAIL PROTECTED]
 wrote:


 http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html

 On Wed, 12 Nov 2008 12:37:07 -0300, Francisco Diaz Trepat - gmail
 [EMAIL PROTECTED] said:
  Hi all, I am using the progress bar found at extensions.
  Is it possible to translate the words of the message that appear at the
  status (Upload Starting... and 34% finished, 71.3M of 209.7M at 5.9M/s;
  23
  seconds) ??
 
  Or put my own version of messages?
 
  f(t)

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




What is best practice for overriding settings in ModalWindow modal.css file?

2008-11-12 Thread shetc

Hi All,

What is best practice for overriding the properties in the ModalWindow
modal.css file?
For example, I would like to change the font of the text used for the title.

Thanks,

Steve
-- 
View this message in context: 
http://www.nabble.com/What-is-best-practice-for-overriding-settings-in-ModalWindow-modal.css-file--tp20467689p20467689.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Wicket upload example in latest snapshot (1.4) has exception

2008-11-12 Thread NickCanada

In the bleeding edge SVN update (1.4) I can the following error when using
the file upload field. I get the same error in the Wicket Examples built
with the above:

WicketMessage: Method onFormSubmitted of interface
org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component
[MarkupContainer [Component id = simpleUpload]] threw an exception

Root cause:

java.lang.IllegalStateException: Attempt to set model object on null model
of component: simpleUpload:fileInput
at org.apache.wicket.Component.setDefaultModelObject(Component.java:2936)
at
org.apache.wicket.markup.html.form.FormComponent.updateModel(FormComponent.java:1149)
at
org.apache.wicket.markup.html.form.Form$FormModelUpdateVisitor.component(Form.java:223)
at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:495)
at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrderHelper(FormComponent.java:474)
at
org.apache.wicket.markup.html.form.FormComponent.visitComponentsPostOrder(FormComponent.java:451)
at
org.apache.wicket.markup.html.form.Form.internalUpdateFormComponentModels(Form.java:1947)
at
org.apache.wicket.markup.html.form.Form.updateFormComponentModels(Form.java:1915)
at org.apache.wicket.markup.html.form.Form.process(Form.java:957)
at org.apache.wicket.markup.html.form.Form.process(Form.java:905)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:873)
...


I hope it is not a configuration error on my part. I don't have enough
expertise to submit a patch. Hopefully some person greater have a look.
Cheers

-- 
View this message in context: 
http://www.nabble.com/Wicket-upload-example-in-latest-snapshot-%281.4%29-has-exception-tp20469979p20469979.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Overriding builtin error messages

2008-11-12 Thread Steve Swinsburg
Yeah it matches, I just often wonder what ID the docs refer to when  
they say form-id. The actual HTML ID of the form element or the  
wicket:id. But got it sorted. Thanks all.



cheers,
Steve







On 11 Nov 2008, at 18:25, Charlie Dobbie wrote:

Unless I'm missing something, hopefully your wicket:id in markup  
matches the

id you're giving the component... :-)

Charlie.



2008/11/11 Steve Swinsburg [EMAIL PROTECTED]

Ah so is the form-id in the docs the wicket:id which is static in  
the HTML
or is it the markup id of the form which is dynamic?  Does this  
then mean

that in my Application properties I should put:

myForm.uploadTooLarge=No way dude, far too large!

What about including the actual size ( ie 2M) like the Form  
component does?




cheers,
Steve
4 (0) 1524 594870








On 11 Nov 2008, at 15:55, [EMAIL PROTECTED] wrote:

How dynamic is your form's id?


Shouldn't be static because of HTML reference?

On Nov 11, 2008 1:53pm, Steve Swinsburg  
[EMAIL PROTECTED]

wrote:

I'd like to override the default form feedback messages (also so  
I can



localise them). ie


'Upload must be less than'

In Form.java I found this :
// Resource key should be .uploadTooLarge to
// override default message


But I'm still not sure how to override it in a Properties file if  
the



form-id is dynamic?




Any help much appreciated.


Steve


















smime.p7s
Description: S/MIME cryptographic signature


Re: gmap2 and helper classes / methods?

2008-11-12 Thread Jeremy Thomerson
I haven't, but if you find it, I could definitely use it, too.  I just
haven't had time to move on it.  So be sure to submit a patch!

Thanks Nino!

-- 
Jeremy Thomerson
http://www.wickettraining.com

On Wed, Nov 12, 2008 at 1:45 PM, Nino Saturnino Martinez Vazquez Wael 
[EMAIL PROTECTED] wrote:

 Hi

 I seem to be lacking some helper methods for finding out if a glatlng are
 in a gbounds etc.. Are there someone out there who has implemented anything
 or do I need to roll my own, and if the latter I guess I should provide a
 patch?

 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




[ANN] Brix 1.0 beta 2 Released

2008-11-12 Thread Igor Vaynberg
i would like to announce Brix 1.0 beta2.

for those of you who do not know what Brix is, it is an embeddable CMS
for wicket apps based on wicket and jcr. this release focused mainly
on stabilizing the system.

brix: http://code.google.com/p/brix-cms/
archives: http://code.google.com/p/brix-cms/downloads/list
maven repo: http://brix-cms.googlecode.com/svn/maven2
change log: http://code.google.com/p/brix-cms/issues/list?can=1q=label%3Abeta2
release tag: 1.0-beta2

enjoy,

-igor

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pretty url for tabs

2008-11-12 Thread Jeremy Thomerson
It's been a while since I used TabbedPanel, so I could be wrong, but I think
you could accomplish something very similar to what you are requesting this
way:

final PageParameters params = getPageParameters();
TabbedPanel tp = new TabbedPanel(id, tabs) {
private static final long serialVersionUID = 1L;
@Override
protected WebMarkupContainer newLink(String linkId, int index) {
PageParameters tabParams = new PageParameters(params);
tabParams.remove(tabName);
tabParams.add(tabName, your-tab-name);
return new BookmarkablePageLink(linkId, getPage().getClass(),
tabParams);
}
};
tp.setSelectedTab(getIndexForTab(getPageParameters().getString(tabName)));

This would result in the tabname not being colon-delimited as you show, but
instead being a query parameter.  Depending on the URL strategy you are
using, that might be /tabName/foo or ?tabName=foo

Obviously, you would need to implement getIndexForTab yourself based on the
tabs you create.
Hope this helps.

-- 
Jeremy Thomerson
http://www.wickettraining.com



On Wed, Nov 12, 2008 at 7:46 AM, Matej Knopp [EMAIL PROTECTED] wrote:

 This is not possible to do with Wicket unless you have each tab on
 different page.

 -Matej

 On Wed, Nov 12, 2008 at 12:46 AM, rmoskal [EMAIL PROTECTED] wrote:
 
  I'm familiar with the a lot of the strategies that make for nicer urls in
  Wicket, but am at a loss for how to make the urls for a tabpanel
 friendlier.
 
  Instead of /Home:1:1, /Home:2:1, etc.
 
  I'd like to have  /Home:Account:1, /Home:Alerts:1, etc.
 
  It would be nice to lose the last bit on the right, but I could live with
 it
  if it messes with wickets state maintaining ability.
 
  Has anyone had a client pester them for this?
 
  Thanks and regards,
 
  Robert Moskal
  Brooklyn, USA
  --
  View this message in context:
 http://www.nabble.com/Pretty-url-for-tabs-tp20451052p20451052.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




OFF TOPIC - all-in-one wysiwyg website package?

2008-11-12 Thread Jeremy Thomerson
This is off-topic, but I figured there couldn't be a better pool of people
to ask.  I have several friends and family members that want to set up small
websites for their businesses or hobbies.  Of course, then they'll want to
customize them and make them look like this or like that.  And add a page,
and edit a page, etc.  You've probably been in the same spot - you're the
computer guy in the family - obviously I can't build them something custom
(we're talking free).  And I don't want to maintain it for them forever,
etc...

So - do you know of any good website packages out there?  I'm not even sure
what the right name would be.  But it would need to have these requirements:

   - Total non-technical control over adding and editing pages / content
   (wysiwyg)
   - Control looks by using themes that can be downloaded or maybe editing
   CSS
   - Possibly plugins for things like RSS feeds / contact pages / and/or
   e-commerce stores
   - Can be any language - I have a server to put it on, so I'm not adverse
   to PHP / Python / MySQL / etc...
   - Preferably I unzip a copy of it to a directory for them, give them
   access to the admin (maybe setup a MySQL DB for them), and I'm DONE!

I've even thought of trying to build this out of BRIX, but I'm not sure
that's the right answer, plus then there wouldn't be any plugins already
available.

Any tips?

-- 
Jeremy Thomerson
http://www.wickettraining.com


page refresh cleans my page

2008-11-12 Thread miro

I have page with search and several links which sort data etc for all these
actions i am using ajax  and any of this action will change the page data 
now if i ckick on  browsers refersh button all changes are lost how to
handle refresh ?
-- 
View this message in context: 
http://www.nabble.com/page-refresh-cleans-my-page-tp20474951p20474951.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Progress Bar

2008-11-12 Thread Nino Saturnino Martinez Vazquez Wael
You could also just do the js with an texttemplate, that way it should 
be somewhat the same:)


I wrote something on it on my blog...

http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/

If you have any questions just ask...

Francisco Diaz Trepat - gmail wrote:

Hi nino, I'm on it. Very simple at first, English default text and
javascript function parameters for other values.
But I think latter on it could bring all text from server, although it could
increase traffic unnecessarily.

f(t)

On Wed, Nov 12, 2008 at 4:43 PM, Nino Saturnino Martinez Vazquez Wael 
[EMAIL PROTECTED] wrote:

  

Francisco, feel free to provide a patch :)

Francisco Diaz Trepat - gmail wrote:



Could you be more specific?
You send me the Wicket internationalization link.

The word progress, of Progress Bar, doesn't even exist in the page.

And finally I found that it is not possible through regular (framework)
means to i18n the Progress Bar due to the fact that the text I referred to
is inside (hardcoded) the JavaScript file profress.js

f(t)

On Wed, Nov 12, 2008 at 3:00 PM, Pointbreak
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]


  

wrote:





  

http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html

On Wed, 12 Nov 2008 12:37:07 -0300, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] said:




Hi all, I am using the progress bar found at extensions.
Is it possible to translate the words of the message that appear at the
status (Upload Starting... and 34% finished, 71.3M of 209.7M at 5.9M/s;
23
seconds) ??

Or put my own version of messages?

f(t)


  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







  

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-12 Thread Martijn Dashorst
rapidweaver, iweb on apple platforms. Just static html :)

Martijn

On Thu, Nov 13, 2008 at 3:48 AM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
 This is off-topic, but I figured there couldn't be a better pool of people
 to ask.  I have several friends and family members that want to set up small
 websites for their businesses or hobbies.  Of course, then they'll want to
 customize them and make them look like this or like that.  And add a page,
 and edit a page, etc.  You've probably been in the same spot - you're the
 computer guy in the family - obviously I can't build them something custom
 (we're talking free).  And I don't want to maintain it for them forever,
 etc...

 So - do you know of any good website packages out there?  I'm not even sure
 what the right name would be.  But it would need to have these requirements:

   - Total non-technical control over adding and editing pages / content
   (wysiwyg)
   - Control looks by using themes that can be downloaded or maybe editing
   CSS
   - Possibly plugins for things like RSS feeds / contact pages / and/or
   e-commerce stores
   - Can be any language - I have a server to put it on, so I'm not adverse
   to PHP / Python / MySQL / etc...
   - Preferably I unzip a copy of it to a directory for them, give them
   access to the admin (maybe setup a MySQL DB for them), and I'm DONE!

 I've even thought of trying to build this out of BRIX, but I'm not sure
 that's the right answer, plus then there wouldn't be any plugins already
 available.

 Any tips?

 --
 Jeremy Thomerson
 http://www.wickettraining.com




-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]