How to make comment mandatory in Kaleo Workflow in Liferay 6.05? - workflow

I have created one workflow in my project. I am done with the workflow but i need to make some changes in that. In this when anyone click on Assign to Me button then it will display one pop-up for comments. Now here i need to make some validation. Currently if you don't write any comment then also it allows but i need to make the comments mandatory. How can i achieve this? I made some r&d in this and get to know that hook should be used. If anyone having any idea please kindly let me know.
Thanks

Yes,
you need to use hook to extend the functionality. you need to add your code to achieve this inside workflow_task_action jsp file....if u stuck anywhere feel free to ask me..

Related

2sxc 10+, is it possible to add menu/commands to the TinyMCE WYSIWYG Editor?

I have a client hoping that we can get 1 or more custom menu commands added in to the default or advanced TinyMCE toolbar used in 2sxc. Is that possible? If yes, how/where do I get started?
There is no quick & simple way to do it, as there is no "injection" point for this. There is so much you could do with tinymce it's a difficult to provide a clear place to inject changes.
So as of now the best way would be to replicate the existing input-component and register your modified one as another input-field. For 2sxc 9 there are some blogs explaining how to do this, in 10.x the API isn't official yet - we want to be really sure it will be long term.

Django Custom Admin Popup

I need to resend an email to a user in case the user requests it, from the back-end.
I want to handle the logic in a separate template than the one I trigger the view from.
I figured using a Pop-up would be the best approach for this, but Django doesn't seem to provide any documentation on this.
I have checked out a few posts similar to what I am looking for like, http://www.hoboes.com/Mimsy/hacks/replicating-djangos-admin/ , but they are either too old or too different.
I would really appreciate a nudge in the right direction.
I rolled my own version using guidelines from this links, Open link in Popup Window with Javascript. I hope somebody else finds it helpful.

Captch Integration

Is there any particular way to integrate Captch code validation in iPhone application?
is this possible to create captcha? (with or without web-service / any API)
If any kind of external library or any source is required to be imported, then also please let me know.
Any kind of link or source code is available then please suggest me.
Also suggest from where to start to do this, if possible.
Thanks in advance.
I know you probably don't want to hear this, but why do you need captcha on iPhone? It's completely useless since there are no bots or something.
But if you really need it then make some image with white background and then use this code
http://iphonesdksnippets.com/post/2009/05/05/Add-text-to-image-%28UIImage%29.aspx
to add text to the image... once you'll have this, then just check if the entered string is equal to the randomly generated one on the image and you are good to go.
I didn't find any libraries which could be used as a captcha, so I think this is probably the best solution right now.
Cya,
Nick

Adding a New Event manually in kalCalender

I just want to add a event manually in my prog from using the kalcalender from add button. But basically i have no idea of that.
https://github.com/klazuka/Kal
I try to understand from the nativecal, But i cant get it.
thanks in advance.
Hopefully someone else can help you on your question, but I assume you've already considered using Apple's EKEventEditViewController. The Event Kit Programming Guide explains is pretty well. I add calendar events in the user's calendar incredibly easily with that, but perhaps you're trying to do something that I don't understand.

GWT - area selection/imagemap

So, I'm starting to use GWT and I am having a little problem.
I have to retrieve some information about a building and I want to show to the user a floorplan for him to choose from where does he want information to be shown.
So, I tried an imagemap, but Iit is not working. Do someone has any suggestion or example of that?
Thank you,
Mauricio
I'm sure there are a couple ways of going about this. You might want to try some extension of the an already existing class as was done here with ComplexPanel http://www.koders.com/java/fid1ACE81656C6F49C2E81126751E938A61215D6A6F.aspx?s=mdef%3ainsert