Re: Job(s) for Wicket developers

2010-07-28 Thread Oleg Taranenko
Hi Michael,

habe ich Diene Anzeige nicht zu spät erfahren? Ist das Position schon 
geschlossen? Wenn nicht, melde Dich
bitte an.

Gruß aus Lahr/Schwarzwald,

Oleg Taranenko,


am Dienstag, 22. Juni 2010 um 10:34 schrieben Sie:
 Hi,

 The company I work at currently has two open permanent positions for 
 middleware/frontend developers in my team. A
 sound knowledge of Javascript, CSS etc. is a must-have, and Wicket experience 
 is a big plus as current and future projects are developed with Wicket.

 We are located in the southwest of Germany and it is necessary to work 
 on-site. If you are interested or know anyone
 who might be interested please feel free to get in touch with me and I will 
 tell you some more details.

 By the way, I'm one of the developers you would work with, not an HR guy or 
 something  

 Cheers,

 Michael

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Oleg Taranenko
Hmm...

some time ago (approx 1,5 year ) was attempts to marry JBoss Seam and
Wicket. Was it successful? May be this is an example, why wicket should to
be treated as a standard?

Oleg

On Fri, Feb 13, 2009 at 4:59 PM, Hoover, William whoo...@nemours.orgwrote:

 First of all, thank you for entertaining this idea :o)

 See comments below...

 -Original Message-
 From: Johan Compagner [mailto:jcompag...@gmail.com]
 Sent: Friday, February 13, 2009 9:38 AM
 To: users@wicket.apache.org
 Subject: Re: Wicket at ApacheCon EU'09 in Amsterdam

 
  From a developers point-of-view standardization can often be a thorn
  in our side, but for management it can offer a
  vendor-independent/implementation-independent solution.
  Maintaining/upgrading infrastructure is difficult, expensive and time
  consuming. From the point-of-view of management a standard can often
  minimize the risk of vender lock-in.



 But the examples you gave me have multiply implementations. But wicket
 doesnt have multiply implementations, what would that mean?
 That we have IComponent, IRequestCycle, ISession and IApplication and so
 on?
 And that IBM would make its own implementation of all the components
 including the base? And JBoss and X and Y?

 Answer: They do not have multiple implementations now, but they could
 potentially have them in the future. It would mean that other
 communities could follow a standard and mangement could be satisfied
 that Wicket has the backing of a recognized standard.

 There is no vendor locking for wicket.. (and all other open source web
 frameworks by the way) what is the locking?

 Answer: I agree that other frameworks that have a standard have been
 disastrous as far as portability between implementations (such as the
 loosly organized JSF specification), but the locking I'm referring to is
 in realation to the vendor (Wicket in this case) from a business
 standpoint. I for one do not have an issue with being tightly coupled to
 Wicket, but I can see why managment may have an issue with it. A
 question we need to ask ourselves from a management standpoit is if for
 whatever reason we had to migrate from Wicket to another framework, what
 revenue impact would that have on our organization in doing so? If we
 chose a standards base solution would this minimize the risk due to
 multiple vendor offerings?

 And wicket runs pretty much on all simple servlet containers.. Some bugs
 in some not counting...
 So give me a concreet example what a standardized wicket would look
 like.
 What vendor-independent/implementation-independent solutions there would
 be then..

 Answer: This is a preliminary concept, but the Swing-like architecture
 for the web could be a starting point?


 
  Another thing to consider is that a broader multi-community
  involvement could also bread innovation. There may be other innovators

  from other communities that may have valuable input that could improve

  Wicket in ways that may have not been previously considered. IMHO, the

  biggest argument for JSR/JCP is that there is often a broader
 involvement in the process.
  Hibernate, for instance, was in a similar position a few years back
  when they introduced a new persistence concept. They have since become

  heavily involved in the JPA specification process. When I first worked

  with Hibernate, like many, I was very impressed (similar to the first
  time I worked with Wicket :o), but looking back at how Hiberante
  initially did things to how they do them now there are some huge
  improvements due to the JPA specification.
 
 
 look hibernate is an implementation of a persistence.. And they adapted
 (and where involved) into the specifications yes
 Ok now translate that to wicket..
 What is wicket an implementation of? a webframework? ahh.. tapestry is
 also a webframework and struts is also a webframework
 They all implement the standard webframework spec.. which is the servlet
 spec..
 So

 JPA Spec == Servlet Spec
 Hibernate == Wicket
 TopLink == Tapestry

 So wicket is already in the JSR/JCP ! we are an
 enhancement/implementation of the servlet spec :)
 ok ok. Maybe you say.. sevlet spec implementation == servlet .jar and
 tomcat  ;) not the thing you would build on top of that again
 But then if you have wicket,tapestry and struts (and x and y) and then
 you want to define a Web Framework spec that all of them can adapt to
 what would that then be? What would that then gain? Would that mean that
 tapestry components/pages could run inside wicket?
 It is just not as easy to do as with a persistence spec. Which is pretty
 easy because so many things kind of already work the same way before
 they where under the same spec..
 web frameworks differ quite a bit

 Answer: Ironically, the same argument that Wicket follows the Servlet
 specification is the same one I used in some of the dicusssions with my
 colleagues ;o) I think there is a lot to gain in standardizing a
 Swing-like architecture such as Wicket. The 

Re: [OT] wicket users around the world

2008-12-12 Thread Oleg Taranenko
Hi,

native russian, i'm living and working in Germany. Not working with Wicket
right now, but love and endorse it, and hopefully become soon a wicket-based
project.

Oleg

On Thu, Dec 11, 2008 at 7:57 PM, francisco treacy 
francisco.tre...@gmail.com wrote:

 to know a little bit more of our great (and vast) community, i was
 just wondering if you're keen on sharing where you come from and/or
 where you work with wicket...

 for instance, here argentinian/belgian working with wicket in antibes,
 france

 francisco

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: [offtop] need help with eclipse and m2eclipse

2008-08-21 Thread Oleg Taranenko
Hello all,

sorry for reviving archaic thread, but right now i've tried the
combinamtion eclipse + m2eclipse again.

Eclipse Ganymede JEE (3.4) + m2eclipse 0.9.5 works perfect!

I can now under eclipse launch mvn jetty:run and comfortable
debugging all sources including the wicket core. 

One suggestion, may establish the maven archetype to generate the
m2eclipse ready Wicket Quickstart? 
Thoughts? Doubts?


Saturday, December 1, 2007, 4:32:02 PM, you wrote:

  
 Hello all,


 Sorry for bothering, may be somebody could help. I'm developing
 web apps under Eclipse. Early I'm using the mvn eclipse:eclipse +
 jetty launcher plugn. Now i try to use m2eclipse plugin and webapp
 is started using m2's goal mvn jetty:run. The application works, but
 when I want to trace through the wicket core code (in wicket.jar)
 the debug window shows (for example):


 Source not found for WebRequestCycle(RequestCycle).steps() line: 1248


 I see Eclipse log:
 !ENTRY org.eclipse.debug.ui 4 0 2007-11-30 23:47:48.546
 !MESSAGE Problem detected with part
 org.eclipse.debug.ui.NoSourceFoundEditor (class =
 org.eclipse.debug.internal.ui.views.launch.SourceNotFoundEditor):
 Editor is not firing a PROP_INPUT event in response to
 IReusableEditor.setInput(...)
 !SESSION 2007-12-01 07:39:24.265
 ---
 eclipse.buildId=M20071023-1652
 java.version=1.6.0_03
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
 Command-line arguments:  -os win32 -ws win32 -arch x86 -clean




 This is very strange, while if i walking the tree in project
 explorer, i can see the java code as usually. 
 Could any has the same effects? Should I ask a m2 commutity?


 Eclipse SDK
 Version: 3.3.1.1
 Build id: I20070503-1400
 Java 1.6.0.3


 m2 version 0.0.12.20071107-2300


 Thanks for any tips.





-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]


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



Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-17 Thread Taranenko

Hi *,

My point of view, static type checking is more important as API cleareness.
In any case using modern IDE make more help in this area. 
Some exercises in also useful for programmers (but not coders though :).
Wicket was born as a framework for the qualified programmers. I think no
reason why wicket should demote self for anybody, who can not understand
generics.

1) Generifying* Wicket
   [x] Can best be done like currently in the 1.4 branch, where models
and components are both generified. I care most about the improved
static type checking generified models and components give Wicket.
   [ ] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
   [ ] Should be avoided, I prefer the way 1.3 works. Because... (fill
in your opinion here).
   [ ]  (anything other than these choices?)

2) How strongly do you feel about your choice above?
   [x] Whatever choice ultimately made, I'll happily convert/ start
using 1.4 and up.
   [ ] I might rethink upgrading if my choice doesn't win.
   [ ] I definitively won't be using 1.4. if Wicket doesn't go for my
preference.

Thanks 
-- 
View this message in context: 
http://www.nabble.com/users%2C-please-give-us-your-opinion%3A-what-is-your-take-on-generics-with-Wicket-tp17589984p17902256.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: maven repository for wicketstuff

2007-12-03 Thread Taranenko


Or install the wicket-contrib-gmap2.jar locally from sources.

Cheers, Oleg


ryantxu wrote:
 
 Hello-
 
 I am stumbling through learning wicket and am hitting some things I 
 don't grock about maven.
 
 I want to run the gmap2 example.  When I check it out and then run:
 $ mvn jetty:run (or mvn install)
 
 I get an error that says Missing: 
 org.wicketstuff:wicket-contrib-gmap2:jar:1.3.0-SNAPSHOT
 
 How do I fix that?
 
 Also, I want to try the wicketstuff-jmx-panel component.  How do I add 
 that to the quickstart app?  I tried adding:
 
 
dependency
  groupIdorg.wicketstuff/groupId
  artifactIdwicketstuff-jmx-panel/artifactId
  version${wicket.version}/version
/dependency
 
 and
 
repository
  repository
idwicket-stuff-repository/id
nameWicket-Stuff  Repository/name
urlhttp://www.wicketstuff.org/maven/repository//url
  /repository
/repositories
 
 to pom.xml, but that does not seem to work.  Do I have the repository
 wrong?
 
 thanks
 ryan
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/maven-repository-for-wicketstuff-tf4934328.html#a14133266
Sent from the Wicket - User mailing list archive at Nabble.com.


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



[offtop] need help with eclipse and m2eclipse

2007-12-01 Thread Oleg Taranenko




Helloall,

Sorry for bothering, may be somebody could help. I'm developing web apps under Eclipse. Early I'm using the mvn eclipse:eclipse + jetty launcher plugn. Now i try to use m2eclipse plugin and webapp is started using m2's goal mvn jetty:run. The application works, but when I want to trace through the wicket core code (in wicket.jar) the debug window shows (for example):

Source not found for WebRequestCycle(RequestCycle).steps() line: 1248

I see Eclipse log:
!ENTRY org.eclipse.debug.ui 4 0 2007-11-30 23:47:48.546
!MESSAGE Problem detected with part org.eclipse.debug.ui.NoSourceFoundEditor (class = org.eclipse.debug.internal.ui.views.launch.SourceNotFoundEditor): Editor is not firing a PROP_INPUT event in response to IReusableEditor.setInput(...)
!SESSION 2007-12-01 07:39:24.265 ---
eclipse.buildId=M20071023-1652
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Command-line arguments: -os win32 -ws win32 -arch x86 -clean


This is very strange, while if i walking the tree in project explorer, i can see the java code as usually.
Could anyhas the same effects? Should I ask a m2 commutity?

Eclipse SDK
Version: 3.3.1.1
Build id: I20070503-1400
Java 1.6.0.3

m2 version 0.0.12.20071107-2300

Thanks for any tips.

--
Bestregards,
Oleg




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



Re[2]: [offtop] need help with eclipse and m2eclipse

2007-12-01 Thread Oleg Taranenko




Hello Martijn,

Jetty launcher has some advantages though, i.e. it allows to set up different context path/port for the projects without changing source code. Thus i can simultaneously run and debug its. If not this annoying bug, i found development with m2eclipse more convenient. I hope the m2 community will resolve this.

Anyway thank you for answer.

Cheers, Oleg.


Youdon'tneedthejettylauncherplugin,infactI'drecommendusingthe
embeddedjettystarterweprovidewiththequickstarts.
Rightclickthestartclass,selectdebugasapplicationandgo...

Alsothemvnjetty:runpluginisnotreallyusefulfordevelopmentinmy
opinion.Itisanicemavenplugintoquicklyrunaprojectfromsource,but
asadevelopmentoptionIfinditcumbersome.

Martijn


OnDec1,20073:32PM,OlegTaranenko[EMAIL PROTECTED]wrote:

Helloall,


Sorryforbothering,maybesomebodycouldhelp.I'mdevelopingwebapps
underEclipse.EarlyI'musingthemvneclipse:eclipse+jettylauncher
plugn.Nowitrytousem2eclipsepluginandwebappisstartedusingm2's
goalmvnjetty:run.Theapplicationworks,butwhenIwanttotracethrough
thewicketcorecode(inwicket.jar)thedebugwindowshows(forexample):


SourcenotfoundforWebRequestCycle(RequestCycle).steps()line:1248


IseeEclipselog:

!ENTRYorg.eclipse.debug.ui402007-11-3023:47:48.546

!MESSAGEProblemdetectedwithpart
org.eclipse.debug.ui.NoSourceFoundEditor(class=
org.eclipse.debug.internal.ui.views.launch.SourceNotFoundEditor):Editor
isnotfiringaPROP_INPUTeventinresponsetoIReusableEditor.setInput
(...)

!SESSION2007-12-01
07:39:24.265---

eclipse.buildId=M20071023-1652

java.version=1.6.0_03

java.vendor=SunMicrosystemsInc.

BootLoaderconstants:OS=win32,ARCH=x86,WS=win32,NL=ru_RU

Command-linearguments:-oswin32-wswin32-archx86-clean



Thisisverystrange,whileifiwalkingthetreeinprojectexplorer,i
canseethejavacodeasusually.

Couldanyhasthesameeffects?ShouldIaskam2commutity?


EclipseSDK

Version:3.3.1.1

Buildid:I20070503-1400

Java1.6.0.3


m2version0.0.12.20071107-2300


Thanksforanytips.


--

Bestregards,

Oleg

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








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



Re[2]: RequestCycle?

2007-10-05 Thread Oleg Taranenko




HelloChuckDeal,

databinder.net is down for a while... :((

C:\opensource\net\databinder\trunkping www.databinder.net

Pinging databinder.net [66.108.186.60] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 66.108.186.60:
  Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),





Thursday,October4,2007,10:09:57PM,youwrote:


CIdon'tknowthat1.1hasatar.Myprojectusesmaven,soitwasasnapto
CaddtheDatabinderbitstoourpom.

CHereisthepagethatgivesthedatabindersnapshotrepoinfo:
Chttp://databinder.net/site/show/faq#updates

CIfyoudon'tusemaven,Icouldalwayssenda1.1-SNAPSHOTdirectlyto
Cyou...

CFYI,Thedatabindersitehassomeexamplesthathelpwithlearninghowto
Cuseandadaptthecodetoyourownproject.

CChuck


CStanczakGroupwrote:

Probablynot.I'llprobablyuseitwhenIgetachance.Ijust
downloadedthe1.0tarandsawit'susing1.2Wicket.Shotmethelink
andI'llseeifIcangiveitashottonight.

ChuckDealwrote:
StanczakGroupwrote:

I'mnotforsurewhattouse.ItriedtooverridethenewRequestCycle()
butIhadtroubleunderstandingit.I'mdoingsomethinglikewhat
DataBinderdoes,butwith1.3.DataBinderseemstobe1.2.Eitherway
I'dratherusemyown.Doesanyonehaveanexampleofprovidingmyown
requestcycle,oristhereaneasierway?

SamHoughwrote:

IthinkitissetupwithThreadLocalsoyoucangetiteasilywith
RequestCycle.get().Youcanalsoprovideyourownversionfrom
Application.newRequestCyclewhichmightbemorewhatyouneedtohook
in
start/endevents.



StanczakGroupwrote:


HowcanIaccesstherequestcyclesoIcanopenandcloseaHibernate
sessiononeachrequest?

--
JustinStanczak
StanczakGroup
812-735-3600


DataBinder(1.1-SNAPSHOT)definitelyworkswith1.3.Databinderalso
doesa
prettygoodjobofintegratingHibernateintotheWicketmodels.Is
therea
usecaseforwhichDatabinderdoesnotworkforyou?

Chuck


--
JustinStanczak
StanczakGroup
812-735-3600

"Allthatisnecessaryforthetriumphofevilisthatgoodmendo
nothing."
EdmundBurke


-
Tounsubscribe,e-mail:[EMAIL PROTECTED]
Foradditionalcommands,e-mail:[EMAIL PROTECTED]







--
Bestregards,
Olegmailto:[EMAIL PROTECTED]




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



Re[4]: RequestCycle?

2007-10-05 Thread Oleg Taranenko




Yeah web server is alive... what about svn server? I can not update sources :(


C:\opensource\net\databinder\trunksvn update
svn: Can't connect to host 'databinder.net': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

svn checkout svn://databinder.net/databinder/trunk does not respond too.



MDWorksforme...ApparentlyNathan(orhisISP)hasshutdownthe
MDpingd.Thewebsiteisstillalive!

MDMartijn

MDResultofthepageinmybrowser:

MDToolkitoverview
MDDatabinderisaJavaprogrammingtoolkitfordatadrivenWeb
MDapplications.It'sbasedupontheWicketWebcomponentframeworkand
MDHibernateobject-relationalmappingservice.Generallypreferring
MDcreativityoverconvention,Databinder'saimistofacilitatedatabase
MDprogrammingfortheWebthatisstraightforward,pleasant,and
MDflexible.
MDHowitworks
MDDatabinderprovidesyouwithWicketmodelsthatpopulatethemselves
MDusingalightlymanagedHibernatesession,andacollectionofview
MDcomponentsthatbindtothemautomatically.Inyourapplication,
MDinstancesofannotateddataclassesrestinthesemodels,rendering
MD(andupdating)throughaviewcomponenttreeandplainHTMLtemplates.
MDScreencasts




--
Bestregards,
Olegmailto:[EMAIL PROTECTED]




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



Re[2]: JDK version

2007-09-25 Thread Oleg Taranenko




HelloAl,

Tuesday,September25,2007,7:05:34PM,youwrote:

SomeoftheunittestscurrentlyfailunderJDK1.6duetotheordering
ofiteratorsoverhashmapschanging.Thisdoesn'taffectrealapps,
merelythetests(weputtheattributesfortagsintoaMap,andthe
testisexpectingsomethinga="foo"b="bar"butgetssomething
b="bar"a="foo"andfailsduetothat-nothing
b="bar"a="foo"toworryabout).We'll
fixthisinduecourse.

To eliminate such type of failures i think we need to explore xmlunit facilities (http://xmlunit.sourceforge.net/).
Pity i'm not an expert in this tools :)

Cheers,

Oleg





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



Re: not able to get selected ListMultipleChoice values

2007-08-30 Thread Oleg Taranenko
Hello bhupat,

you shows only the the top of the iceberg, better show all, what
is under waterline.

This error can be initiated by many reasons. Most likely of
mismatching in you markup and corresponding declared java objects
hierarchy.

Write carefully what you want to expect from you code and also how you
tied to achive. Welcome are code snippet (not full java codebase, but
related to encountered problem), html fragments, exception stack
trace, debug messages...

With this info locating of your errors might brings pleasure.
Short, be more verbose, and people will like you.

Cheers,

Oleg

Thursday, August 30, 2007, 2:10:41 PM, you wrote:

 ERROR - AjaxRequestTarget  - Error while responding to an AJAX
 request: [EMAIL PROTECTED] markupIdToComponent
 [{tabs=[MarkupContainer [Component id = tabs, page = wicket.quickstart.Index,
 path = 0:tabs.AjaxTabbedPanel, isVisible = true, isVersioned = false]]}],
 prependJavascript [[]], appendJavascript [[]]
 wicket.WicketRuntimeException: Exception in rendering component:
 [MarkupContainer [Component id = tagList, page = wicket.quickstart.Index,
 path = 0:tabs:panel:simpleUpload:tagList.ListMultipleChoice, isVisible =
 true, isVersioned = false]]



-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]


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



Re: Urgent : how can i design get all input of a single form with TextField, ListMultiplechoice and FileUpload components

2007-08-30 Thread Oleg Taranenko




Hellobhupat,

using FileUploadField component in the form, you can get a its model - FileUpload. This fileUpload variable contains _all_data_ of uploaded file, including file name.

Then you can save it in any path on your server.

this snippet pasted from upload example:
In the example it is a system temporary directory

protectedvoidonSubmit()
{
finalFileUpload upload = fileUploadField.getFileUpload();
if(upload !=null)
{
// Create a new file
File newFile =newFile(getUploadFolder(), upload.getClientFileName());

// Check new file, delete if it allready existed
checkFileExists(newFile);
try
{
// Save to new file
newFile.createNewFile();
upload.writeTo(newFile);

UploadPage.this.info("saved file: " + upload.getClientFileName());
}
catch(Exception e)
{
thrownewIllegalStateException("Unable to write file");
}
}
}

Cheers,

Oleg


Thursday,August30,2007,7:18:06PM,youwrote:

bpHi,
bpAnyonepleaseguidemetofituploadexampleinForminputexample,
bpmyrequirementisiwantadevelop

bpasingleformwithfollowingcomponents

bpTextField
bpListMultiplechoice
bpFileUpload

bpiamfacingaproblemingettingfileuploadpathdata.

bpThanksinadvance
bpBhupat



--
Bestregards,
Olegmailto:[EMAIL PROTECTED]




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



Re: Urgent : how can i design get all input of a single form with TextField, ListMultiplechoice and FileUpload components

2007-08-30 Thread Oleg Taranenko




Hellobhupat,

publicclassMyApplicationextendsWebApplication
String rootPath;

@Override
protectedvoidinit() {
//TODOAuto-generated method stub
super.init();
// rootPath contains what you want.
rootPath = getServletContext().getRealPath("/");
}


have I got you?


Thursday,August30,2007,7:18:06PM,youwrote:

Hi,
AnyonepleaseguidemetofituploadexampleinForminputexample,
myrequirementisiwantadevelop

asingleformwithfollowingcomponents

TextField
ListMultiplechoice
FileUpload

iamfacingaproblemingettingfileuploadpathdata.

Thanksinadvance
Bhupat



--
Bestregards,
Lobicmailto:[EMAIL PROTECTED]




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



Re[2]: Alternative to Wicket data binding

2007-08-26 Thread Oleg Taranenko




Hi Igor and Eelco,

Sorry, for interventing in your discussion :)

May java annotations can help us?

Say [EMAIL PROTECTED]/Write
or [EMAIL PROTECTED] or ever to protect all bean.

It would protect the field from accidently access in Wicket models
without any assumption on set/get functions.

How it lead to additional lag on processing the model, i can't estimate.

Cheers,

Oleg


alliaskedjohantodowastotweakpropertyresolvertoallowaccessto
privatestuff.iwasundertheimpressionthatthepropertyresolveralways
triestoaccessthegetter/setterfirst,thenthefield.

halfofthisthreadyouarearguingthatweshouldntallowaccesstoprivate
fields/methodsandhalfofityouarearguingthatweshouldbuttrythe
getterfirst,soimprettyconfused.

No,again,I'marguingto*either*allowingaccesstoallprivate,or
don'tallowitatall.Iamnotagainstprivatememberaccessperse,
justwantittobeconsistent.

Eelco

-
Tounsubscribe,e-mail:[EMAIL PROTECTED]
Foradditionalcommands,e-mail:[EMAIL PROTECTED]



--
,
Olegmailto:[EMAIL PROTECTED]




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



Re: conditional markup change

2007-08-24 Thread Oleg Taranenko
Hello Konstantin,

Your code snippet is from panel constructor, is not it? So far it
executed only first time, by creating page!

Your need explicitly use in the link handler replaceWith() method. See
Component's javadoc.

Cheers,

Oleg.

Friday, August 24, 2007, 8:46:01 AM, you wrote:

 I need to change presentation dynamically depending on
 object status and I can do it with conditionally using
 different panels like this:
 if( getWSSession().getVisit().isSaved( v.getId() ) ){
 add( new VehicleUncompareControl(
 compareControl, new Model( v ), new Component[]{
 ajaxTarget, VehicleItem.this}));
 } else{
 add( new VehicleCompareControl(
 compareControl, new Model( v ), new Component[]{
 ajaxTarget, VehicleItem.this}));
 }

 so far so good, BUT, when I click on the AjaxLink
 inside of those panels they change status of the
 component (vehicle), so I would like the item to
 reflect the change - and THAT does not happens. It is
 sort of understandable because component already has
 been created...

 But the question is: How can I do that in Wicket:
 conditionally change markup and see effect of those 
 changes for Ajax updates too?

 Konstantin Ignatyev




 PS: If this is a typical day on planet earth, humans will add
 fifteen million tons of carbon to the atmosphere, destroy 115 square miles of
 tropical rainforest, create seventy-two miles of desert, eliminate
 between forty to one hundred species, erode seventy-one million tons of
 topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their 
 population by 263,000

 Bowers, C.A.  The Culture of Denial:  Why the Environmental
 Movement Needs a Strategy for Reforming Universities and Public Schools.  New
 York:  State University of New York Press, 1997: (4) (5) (p.206)

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



-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]


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



Re[2]: [Wicket-user] Wicket in Action now available through Manning Early Access Program

2007-08-24 Thread Oleg Taranenko

moreover the payment through a paypal account, that withdraws money from card 
emitted by a
russian bank, failed too! :|


Friday, August 24, 2007, 1:36:25 PM, you wrote:

 Well, i had the same bad luck as  India is not in the choice.
 They asked me to get a paypal account

 -swaroop


 On 8/24/07, Gabor Szokoli  [EMAIL PROTECTED] wrote:

 On 7/26/07, Martijn Dashorst  [EMAIL PROTECTED] wrote:
  Eelco and I are really happy to announce the availability of our first
  two chapters of our forthcoming book Wicket in Action.

 Manning does not accept orders from Hungary, where I happen to live and
 work.
 Normally we don't bother with such businesses and buy from amazon.com
 instead, but the online preview of the Wicket book is worth making an
 exception.
 Any suggestions?


 Gabor Szokol

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





-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]



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



Ajax version of DropDownChice/Select

2007-08-24 Thread Oleg Taranenko




Hi * *,

I can not find subj neither in wicket nor in extensions codabases.
Must I write it or there is a workaround (AjaxLink?)

Cheers,

Oleg






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



Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Oleg Taranenko
Hello Nino,

It seems to be the same issue as i've encountered a week ago.

see thread Order-Items master detail page started at 16 august


Possible Solution in you case:

declare anywhere posible in page
private Phone selectedItem;

in function
protected void onUpdate(AjaxRequestTarget target) {
...
   selectedItem = (Phone) phoneA.getObject();
...
}

And than everythingService.findAllStandardFeatures() (or other function) shoud 
get access to the
 field selectedItem.
Possible you need to create your own new IDataProvider.


Cheers,

Oleg.


am 23 August 2007 um 09:08 schrieben Sie:

 Hi

 I have a page where theres two dropdownchoices and two panels 
 acordingly. when you click dropdown a and select a new item panel a 
 should be updated to the new item, I've used 
 ajaxformComponentupdatingbehavior( have also tried 
 ajaxformsubmittingbehavior).

 However it seems as the model of the dropdown are never updated, im 
 using compoundpropertymodel (have also tried reverting and just using a
 simple model).

 I just cant figure out whats wrong. Please take a look any hints will be
 appreciated

 http://papernapkin.org/pastebin/view/1386



 Havent had the chance yet to tryout beta 3, not sure if its gone there.

 regards Nino

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



-- 
Mit freundlichen Grüßen
Oleg Taranenko
mailto:[EMAIL PROTECTED]



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



Re[2]: Can we do straight print in a java web application?

2007-08-20 Thread Oleg Taranenko
Hello Igor,

Or applet. Right now i've completed prototype project that prints labels on
barcode printer under web application. It uses Java Print Service API
on client side to submit appropriate print jobs. It works with some 
restrictions.

Cheers,

Oleg

Saturday, August 18, 2007, 6:02:41 PM, you wrote:

 i think its a little out of scope of wicket :)

 prob what you would need is a browser plugin

 -igor


 On 8/18/07, Eko S.W. [EMAIL PROTECTED] wrote:

 Dear all,

 I would like to found out about something : can we do straight print in a
 java web application?
 That is, we do not rely on window.print(), because we rely on browser to
 print them.

 I have an idea, silly perhaps, that we build another daemon that listen
 to
 something.
 That daemon wait, and when printing request from java web application does
 occur, it will do the printing.

 Is it applicable?
 Because as a matter of moving from desktop to web, maybe printing is one
 aspect that as an application developer, will be of some challenge.

 Thanks in advance

 --
 Best wishes,
 Eko SW
 http://swdev.blogs.friendster.com/my_blog/




-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]



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